Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi I have question how to substract from previous row and input it in current row and for the 1st row we have 1,000,000 as starting value
Thank
Solved! Go to Solution.
Hi @Anonymous ,
You can create two measures as below to achieve it:
FORECAST REDUCER = SUM('Table'[PRODUCTIVITY])*SUM('Table'[PEOPLE])*30FORECAST =
VAR _tab =
SUMMARIZE (
'Table',
'Table'[DATE],
"Forecast",
1000000
- SUMX (
FILTER ( ALL ( 'Table' ), 'Table'[DATE] <= SELECTEDVALUE ( 'Table'[DATE] ) ),
[FORECAST REDUCER]
)
)
RETURN
SUMX ( _tab, [Forecast] )
Best Regards
Hi @Anonymous ,
You can create two measures as below to achieve it:
FORECAST REDUCER = SUM('Table'[PRODUCTIVITY])*SUM('Table'[PEOPLE])*30FORECAST =
VAR _tab =
SUMMARIZE (
'Table',
'Table'[DATE],
"Forecast",
1000000
- SUMX (
FILTER ( ALL ( 'Table' ), 'Table'[DATE] <= SELECTEDVALUE ( 'Table'[DATE] ) ),
[FORECAST REDUCER]
)
)
RETURN
SUMX ( _tab, [Forecast] )
Best Regards
Use the List.Accumulate function. You need some sort of an index column that makes each row unique and sortable.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |