Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet 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
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
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.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.