Forum Discussion
Difference between two measure: SUM wrong in table
Hi all,
I have a problem with some DAX Measure: I have 2 different Measure (Importo_Budget_Corrente and Importo_Budget_Corr_Att).
This is the DAX code:
CALCULATE(
SUM('SCHEDE'[Importo_Report]),
FILTER(SCHEDE, SCHEDE[TipoSpesa] = "Budget Corrente" && SCHEDE[Data Rif] = [Data_AnnoCorrente]
))
They work currently well: now I need to create a new measure, where I always programmatically select Importo_Budget_Corr_Att if it contains a valid number (column Bud Ric).
It seems easy 😉 and row by row, values seem right: but as you can easily verify in the screenshot below, sum produced in Total is not right for this new column.
Some suggests?
BR,
1 Reply
- lbendlinSuper User
Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Please show the expected outcome based on the sample data you provided.
https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523