cancel
Showing results for 
Search instead for 
Did you mean: 
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.

View solution in original post

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
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

March Update

Check it Out!

Click here to read more about the March 2021 Updates!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

secondImage

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.