Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi community,
I have the database with cumulative amount and i want to calculate the non-accumulated amount.
Do you have any idea ?
Thx in advance
Solved! Go to Solution.
@nasolme , Create a new column
=
var _year = Year([Date])
var _last = maxx(filter(Table, [Date] < earlier([Date]) && Year([Date]) =_year), [Date])
return
[cumulative amount] - maxx(filter(Table, [Date] =_last ), [cumulative amount])
@nasolme , Create a new column
=
var _year = Year([Date])
var _last = maxx(filter(Table, [Date] < earlier([Date]) && Year([Date]) =_year), [Date])
return
[cumulative amount] - maxx(filter(Table, [Date] =_last ), [cumulative amount])
User | Count |
---|---|
123 | |
69 | |
67 | |
58 | |
52 |
User | Count |
---|---|
185 | |
92 | |
67 | |
62 | |
52 |