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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
R_LB
Frequent Visitor

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
R_LB
Frequent Visitor

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors