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.
Hello,
I want to calculate the running total based on a measure.
Here is my measure,
As you can see it is repeating the same value after July(till we have actuals). I want to calculate the running total based on the "AmountE &2021-Actual" measure(highlighted in green).
Thanks
Solved! Go to Solution.
@Gaurav_Lakhotia
Change your 1st Measure as follows and try:
AmountE &2021 - Actuals =
SUMX(
ALLSELECTED('MonthMapping'[Month],'MonthMapping'[Month Priority]),
var __act = CALCULATE(SUM ( 'PO_Data'[2021 - Actuals] ) )
var __2021e = CALCULATE( SUM ( '2021E'[Amount2021E] ) )
return
IF( __act = BLANK (), __2021e + __act , __act )
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Gaurav_Lakhotia
Change your 1st Measure as follows and try:
AmountE &2021 - Actuals =
SUMX(
ALLSELECTED('MonthMapping'[Month],'MonthMapping'[Month Priority]),
var __act = CALCULATE(SUM ( 'PO_Data'[2021 - Actuals] ) )
var __2021e = CALCULATE( SUM ( '2021E'[Amount2021E] ) )
return
IF( __act = BLANK (), __2021e + __act , __act )
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
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 |
---|---|
104 | |
96 | |
80 | |
67 | |
62 |
User | Count |
---|---|
137 | |
106 | |
104 | |
81 | |
63 |