Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All,
I am trying to calculate the total of measure that is created using two other measures. But I am not able to achieve it.
The difference column is calculated by subtracting Previous month values from Total CWIP values for each row. I am getting correct difference but the total should have -ve. Instead I am getting +ve.
I am suspecting that instead of total of Difference column it is subtracting Total of Previous Month from Total of Total CWIP column.
Solved! Go to Solution.
Hi @Anonymous
You can use
Measure =
SUMX(
SUMMARIZE(
'Table',
'Table'[Year],
'Table'[Month]
),
[Difference]
)
Hi,
Please try this:
Measure = SUMX ( GROUPBY ( 'Table', 'Table'[Year], 'Table'[Month] ), [Difference] )
Hope this helps.
Best Regards,
Giotto
Hi @Anonymous
You can use
Measure =
SUMX(
SUMMARIZE(
'Table',
'Table'[Year],
'Table'[Month]
),
[Difference]
)
Thanks Mariusz.
It worked
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
100 | |
99 | |
80 | |
77 | |
66 |
User | Count |
---|---|
130 | |
106 | |
105 | |
86 | |
72 |