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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
hoosha_11
Helper I
Helper I

Visual loading time issue

Hi,

 

I need to optimize the performance of the reports. After investigating using Performance Analyzer and DAX Studio, I think many of the measures need optimization. Most of the measures use the Calculate(Count(...)) or Calculate(DistinctCount(...)) plus some UseRelationship functions, which I haven't been able to optimize much.

 

Can I create a view in SQL Server and transfer all those measures into that view while maintaining the same logic? Would that improve performance and reduce the visuals' loading time?

 

Thanks a lot!

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @hoosha_11 - Obviously we will better impact in Power BI when we creating a view in SQL Server and moving complex calculations there can often improve performance in Power BI, especially when dealing with large datasets. 

moving complex calculations to SQL Server, you leverage the database's optimized query processing capabilities, potentially improving the performance of your Power BI reports. Just ensure that the logic in your SQL Server view matches your DAX measures to maintain the integrity of your calculations.

 

Modify your Power BI reports to use the pre-aggregated columns from the SQL Server views instead of the original DAX measures.

 

 

 

Hope it helps.

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

1 REPLY 1
rajendraongole1
Super User
Super User

Hi @hoosha_11 - Obviously we will better impact in Power BI when we creating a view in SQL Server and moving complex calculations there can often improve performance in Power BI, especially when dealing with large datasets. 

moving complex calculations to SQL Server, you leverage the database's optimized query processing capabilities, potentially improving the performance of your Power BI reports. Just ensure that the logic in your SQL Server view matches your DAX measures to maintain the integrity of your calculations.

 

Modify your Power BI reports to use the pre-aggregated columns from the SQL Server views instead of the original DAX measures.

 

 

 

Hope it helps.

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.