Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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
User | Count |
---|---|
98 | |
90 | |
82 | |
73 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
67 |