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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
AnthonyJoseph
Resolver III
Resolver III

Calculation groups possibility to improve performance

Hi Champs,

 

My dashboard report page has two overview boxes (one for the selected year and another for prior year) for different category values (such as Sales, Revenue, Profit, and Margin).

Right now, we are using two measures for calculating each of the category values as mentioned below:

 

Sales = sum(Data[sales])
Revenue = sum(Data[revenue])
Profit = sum(Data[profit])
Selected year = Year[Year]  //Disconnected table to "Data" table

Selected year sales = Calculate(Sales,Data[Year] = Selected year)
Prior year sales = Calculate(Sales,Data[Year] = Selected year - 1)

Selected year revenue = Calculate(Revenue,Data[Year] = Selected year)
Prior year revenue = Calculate(Revenue,Data[Year] = Selected year - 1)

Selected year Profit = Calculate(Profit,Data[Year] = Selected year)
Prior year Profit = Calculate(Profit,Data[Year] = Selected year - 1)

 

Now, the request is to reduce the number of measures. As the number of categories are increasing, would using calculation groups be a better option to improve performance?

If yes, please can someone point in the direction to implement the calculation group.

 

Thanks,

AnthonyJoseph

1 REPLY 1
ppm1
Solution Sage
Solution Sage

Calculation Groups will make your life as the report developer easier and also give you some good options for functionality, but they won't really improve performance of your report pages. Here are a couple good links to get started.

Calculation Groups - SQLBI

Add DAX calculation groups to Power BI Desktop models - Training | Microsoft Learn

 

Pat

Microsoft Employee

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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