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!Get Fabric certified for FREE! Don't miss your chance! Learn more
Solved! Go to Solution.
@Anonymous , OR
new column =
var _max = maxx(filter(Table, [Index] <earlier([Index])), [Index])
var _value = minx(filter(Table, [Index] =_max), [Number])
return
divide([Number]-_value,_value)
//or use divide(_value-[Number],[Number])
Hello @Anonymous ,
You have to create two index columns in Power Query, sort the data first. An index starting from 0 and an index starting from 1. Then in a formula, you have to use the EARLIER function to perform the calculation in a calculated column.
Please replace with a higher quality image of screenshot.
@Anonymous , You need add an index column in power query https://stackoverflow.com/questions/45715963/creating-an-index-column-for-power-bi
and then add new column in dax
new column =
var _max = minx(filter(Table, [Index] >earlier([Index])), [Index])
var _value = minx(filter(Table, [Index] =_max), [Number])
return
divide(_value-[Number],[Number])
@Anonymous , OR
new column =
var _max = maxx(filter(Table, [Index] <earlier([Index])), [Index])
var _value = minx(filter(Table, [Index] =_max), [Number])
return
divide([Number]-_value,_value)
//or use divide(_value-[Number],[Number])
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 68 | |
| 59 | |
| 47 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 106 | |
| 102 | |
| 38 | |
| 27 | |
| 27 |