Issue while trying to create a sample partition in SSAS Tabular Model with DirectQuery mode

ArunRaaman 996 Reputation points
2021-07-23T15:38:44.533+00:00

Hello There,

I am trying to create a sample partition to a tabular model database in DirectQuery mode, and I got the following error after setting the filter and trying to import:

"Failed to save modifications to the server: Error returned: 'A table that has partitions using DirectQuery mode and a Full DataView can have only one partition in DirectQuery mode. In this mode, table 'FactInternetSales' has invalid partition settings. You might need to merge or delete partitions so that there is only one partition in DirectQuery mode with Full Data View."

Would anyone please help me understand the issue. Thank you117524-partitioncreationerror.jpg

SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,283 questions
0 comments No comments
{count} votes

Accepted answer
  1. CarrinWu-MSFT 6,871 Reputation points
    2021-07-26T02:18:02.867+00:00

    Hi @ArunRaaman ,

    Welcome to Microsoft Q&A!

    SSAS Tabular supports multiple partitions per table, but DirectQuery mode can only access data in a single partition. And the error returned: 'In this mode, table 'FactInternetSales' has invalid partition settings. You might need to merge or delete partitions so that there is only one partition in DirectQuery mode with Full Data View'. So you should check the partition of table 'FactInternetSales'. Please refer to Define partitions in DirectQuery models to get more information.

    Best regards,
    Carrin


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.