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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
agangas
Frequent Visitor

Memory Error with simple SUM measures

Hello,

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

Regards

1 REPLY 1
joaoribeiro
Impactful Individual
Impactful Individual

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

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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