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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
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.