Skip to main content
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

Frequent Visitor

Memory Error with simple SUM measures


Last week an user had an error on a report that only compares real turnover with budget.  My model has two different currencies, one in local currency and one in USD.  Both fact tables, sales and budget has two columns for each currency, so all I needed to do was create the measures as SUM(Sales LC) and SUM(Sales USD). Then, the user can choose wich currency need to see. For this I made a measure with a SWITCH statement

The problem is that the measure in USD takes until 3x times that the LC.  But it is just the column next to the other one!
I thought the problem was the SWICTH, but then I performed some tests in Dax Studio, only with the SUM measures and the behaviour is as I say, one SUM is much slower than the other
I also checked the datatypes and both are decimal


Kudo Kingpin
Kudo Kingpin

Hi @agangas , could you provide some sample of the data, or screenshots of the measures, columns, or Dax Studio outputs?

If you need any additional help please @ me in your reply.

Helpful resources

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.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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