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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
jamespereira
New Member

Problem for Optimizing Memory Usage in .pbi File

I'm dealing with a .pbi file that has a massive memory issue due to a 134-line switch function, with each line representing a measure (yes, help). Any ideas on how to improve performance? The idea is to create a table with all measures being filtered by quarter.

I've tried improving performance in every possible way and still haven't found a solution.

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @jamespereira 
I don't think that there is a way to help without a deep understanding of your model.
Maybe you can use other functionalities like field parameters/calculation groups.
Or to solve it from the data source by preparing an aggregated view...
I don't see how it is possible to recommend something more specific without a deep examination of your model.

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

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.