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! Get ahead of the game and start preparing now! Learn more
I need to calculate a value based on its own previous value. I would prefer to do it in DAX.
Any help is appreciated
I figured it out, but thanks for the hint
@rp2022 ,
I think it is a measure like
=2000 + (2000-1000)/20 * calculate(distinctcount(Table[date]) , filter(allselected(Table), Table[Date] < = Max(Table[Date]) ) )
or
=[measure1]+ ([measure1]-[measure2])/20 * calculate(distinctcount(Table[date]) , filter(allselected(Table), Table[Date] < = Max(Table[Date]) ) )
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |