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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Seth_C_Bauer
Community Champion
Community Champion

@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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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