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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Calculation group performance issue

Hello everyone,

 

I face an issue about performance when I use calculation groups in my model. To give some context items, my dataset is quite complex (around 40 tables) and is stored on a premium capacity P2. It's a composite model that is using the user defined agregation feature of Power BI so we manage a detailed fact table and an aggregated one.

 

To simplify my case, please consider the example below :

 

- I have one measure "Amount" (sum of my fact table)

- I have one measure "Amount Last Year"

R_LB_1-1666181843678.png

- I have a calculation group with one item that calculate Last Year value for the selected KPI 

R_LB_0-1666181496908.png

 

 

 

 

- Then, I create two matrix on my report : 
      - One is using the measure "Amount Last Year" to display last year amount per fiscal period

      - One is using the measure "Amount" on which I apply the calculation item "Last Year" to display last year amount per fiscal period 

 

When I compare the performance of the two visuals, I face a very big gap in term of performance.

R_LB_2-1666182176742.png

 

This example is a lot more simplified than the visual i'm creating for my reporting purpose. In real situation, visuals are taking to much time when I use calculation groups so it's not possible to use them.

 

Does someone have any idea about where this performance gap could come from ?

 

Thanks,

 

R_LB

 

 

2 REPLIES 2
Anonymous
Not applicable

Thanks for your answer @johnt75 ! Unfortunately, this not solved our issue as all our sub-queries are on the wholesale part. We are currently investigating on RI violations to see if it's could generate a performance issue on calculation groups vs. measures.

johnt75
Super User
Super User

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.