Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi! I need help with creating Dax measure/calculated column. In Column "Value" first row is always 100. Other rows are calculated the following way: The value from the previous row * rate of the curren row + 100. The example is in the attachement.
Solved! Go to Solution.
Hi , @Anonymous
According to your description, you can try calculated column as below after creating a index:
Value =
VAR m = [Index]
RETURN
100
* (
SUMX (
FILTER ( 'Table', [Index] >= 2 && [Index] <= m ),
VAR i = [Index]
VAR t =
FILTER ( ALL ( 'Table' ), [Index] >= i && [Index] <= m )
RETURN
CALCULATE ( PRODUCTX ( t, [Rate] ) )
)
+ CALCULATE ( VALUES ( 'Table'[Rate] ), FILTER(ALL('Table'),'Table'[Index] = 1 )
))Here is a sample :
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi , @Anonymous
According to your description, you can try calculated column as below after creating a index:
Value =
VAR m = [Index]
RETURN
100
* (
SUMX (
FILTER ( 'Table', [Index] >= 2 && [Index] <= m ),
VAR i = [Index]
VAR t =
FILTER ( ALL ( 'Table' ), [Index] >= i && [Index] <= m )
RETURN
CALCULATE ( PRODUCTX ( t, [Rate] ) )
)
+ CALCULATE ( VALUES ( 'Table'[Rate] ), FILTER(ALL('Table'),'Table'[Index] = 1 )
))Here is a sample :
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
It worked! Thank you!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!