Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

DirectQuery - create variances?

Hi everyone,

 

I am pretty new to Power BI Desktop and just started exploring DirectQuery.  We have very large data tables so Import doesn't seem like a practical option to use, however, it looks like I cannot create variances with DirectQuery.  How would I show year-over-year variances if I linked directly to our SQL server db?  (I would normally create the time-intelligence 'groups' (ex.  TTM/YTD curr yr and TTM/YTD prior Yr via calculated measures and then create a third calculated measure to generate the variance between the two.  However, this is not an option in DirectQuery). 

 

What do the rest of you who are referencing databases do - create some type of import instead?  Isn't that very time-consuming?

 

Thank you very much in advance.

1 ACCEPTED SOLUTION

@Anonymous Tabular models are a SSAS (SQL Server Analysis Services) solution by Microsoft. Details here

Tabular models require BI or Enterprise SQL editions and are built in SSDT (SQL Server Data Tools) in Visual Studio.

The same technology is behind the Power BI Desktop, but there are currently limitations on file size etc.

Using an SSAS Tabular model solution offers the greatest scalability and flexibility within Power BI. For large scale datasets it is the only complete modeling solution for Power BI at the moment.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

View solution in original post

4 REPLIES 4

@Anonymous This is a known issue with DirectQuery. There is no capability currently to create measures or calculated columns... I use tabular models for all large scale models where I can build whatever I need, then direct connect to that from Power BI.

Importing will not work either with large data sets as you are capped at 250mb for your entire PBIX file... 


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG
Anonymous
Not applicable

Hi Eno1978,

 

What do you mean when you say that you use 'tabular models for all large scale models'? 

 

Thanks,

 

 

Anonymous
Not applicable

...just adding onto my follow-up question - what do you use to build the tabular model?

 

Thanks...

 

@Anonymous Tabular models are a SSAS (SQL Server Analysis Services) solution by Microsoft. Details here

Tabular models require BI or Enterprise SQL editions and are built in SSDT (SQL Server Data Tools) in Visual Studio.

The same technology is behind the Power BI Desktop, but there are currently limitations on file size etc.

Using an SSAS Tabular model solution offers the greatest scalability and flexibility within Power BI. For large scale datasets it is the only complete modeling solution for Power BI at the moment.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.