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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
PeterRLC
Frequent Visitor

Matrix out of memory with new measure

I have a large table, 2.5M rows and have had no problems with creating a huge variety of visualizations with straight forward grand totals.  I am trying to do a Trial Balance and sort Debits and Credits based on highly summarized totals, maybe a 500 row table with 3 columns.  I finally figured out how to compute the grand totals from these 500 rows and suddenly I am running out of memory.  The formula computes correctly when I filter to just part of the table.  The offending formula is:

 

TB. Ending Balance Dr =
if(
HASONEVALUE( xFMS_iFAMS_Base_Journal_FY19[FMS-iFAMS GL]),[TB. Dr S1],
sumx(SUMMARIZE( xFMS_iFAMS_Base_Journal_FY19, [FMS-iFAMS GL], "TB Total", [TB. Dr S1]), [TB Total])
)
1 ACCEPTED SOLUTION
dax
Community Support
Community Support

Hi PeterRLC, 

Did this occur by accident? Or occur each time when you use that measure? Based on error information, this is more related to memory, you could try to increse memory by end other task. And you also  could try to delete columns which is not needed in model. By the way,  you also could  use 64 bit version, it allow you to use more memory resource on power bi desktop. You could refer to Power BI 32 bit version - Exception of type "System.OutOfMemoryException" was thrown for details.

Best Regards,
Zoe Zhi

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

View solution in original post

3 REPLIES 3
dax
Community Support
Community Support

Hi PeterRLC, 

Did this occur by accident? Or occur each time when you use that measure? Based on error information, this is more related to memory, you could try to increse memory by end other task. And you also  could try to delete columns which is not needed in model. By the way,  you also could  use 64 bit version, it allow you to use more memory resource on power bi desktop. You could refer to Power BI 32 bit version - Exception of type "System.OutOfMemoryException" was thrown for details.

Best Regards,
Zoe Zhi

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

PeterRLC
Frequent Visitor

Upgraded to 64 bit version and the measure opened with the full data, filter off

PeterRLC
Frequent Visitor

Thanks Zoe!  This occurs when I remove or reduce the filters on the visual.  It works fine when filtered to a small sample.  I will research your other questions and get back to you.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.