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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
lhassett
Frequent Visitor

Is it possible to cache the outputs of a matrix in the dataset refresh

TLDR: I want to pre calculate matrix outputs dictated by slicers in the report so they are effectively cached with the dataset, we update our dwh every morning so once the data is there the values won't need to change but the matrix visual can use slicers to display different granularity configurations.

 

I've been given a requirement to calculate a matrix of KPIs which can use slicers to adjust the granularity of the output. Each of these columns are then conditionally formatted against an average for the given granularity.

I.e YTD at a Region Level where each site is formatted against the average for the given region, or Last 12 Months at a Territory level where the Territory

 

The logic works fine until I publish it to the service which then generates a memory error and upon digging have seen I'm exceeding the 1gb memory on visual calculation.

 

I have been working on this for about 2 months and have tuned my DAX queries but have failed to get it working within the memory requirements. This made me wonder if there is a way to calculate the 30 or so different combinations of this matrix as part of the refresh and then just display the desired version when the user accesses the report rather than trying to calculate it.

 

Google seems to push me towards calculated columns/tables but as I understand it, due to the order of execution these can't be impacted by slicers so is the same as passing a table to the dataset and using measures to return the appropriate values. Though I'm new to Power BI so may have misunderstood this.

 

I'm really grateful for any ideas or suggestions as have been struggling with this for over 2 months.

1 REPLY 1
Anonymous
Not applicable

Hi @lhassett ,

Sorry, so far, to my knowledge, this may not be achieveable.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Kudoed Authors