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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi Experts
I would like to repeat the value 202 for 0 index value in a new column for all the corresponding values in the Value_ column. The Value_ column is a calculated column.
| Previous Index | Value_ | Result |
| 0 | 202 | 202 |
| 1 | 191.9 | 202 |
| 1 | 191.9 | 202 |
| 1 | 191.9 | 202 |
| 0 | 202 | 202 |
| 1 | 191.9 | 202 |
| 1 | 191.9 | 202 |
| 1 | 191.9 | 202 |
| 0 | 202 | 202 |
| 1 | 191.9 | 202 |
| 1 | 191.9 | 202 |
| 1 | 191.9 | 202 |
Solved! Go to Solution.
Hi @Anonymous ,
Add an index column in Power Query, then create a calculated column.
Result = CALCULATE(SUM('Table'[Value_]),'Table'[Index]=1,ALL('Table'))
You can check more details from here.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Add an index column in Power Query, then create a calculated column.
Result = CALCULATE(SUM('Table'[Value_]),'Table'[Index]=1,ALL('Table'))
You can check more details from here.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , Add an index column
https://stackoverflow.com/questions/45715963/creating-an-index-column-for-power-bi
Then add new column n dax
new column = maxx(filter(Table, [index] <=[Index] && [Previous Index] =0),[Value_])
Hi Amit - this is my problem when i add a index
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 49 | |
| 46 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 88 | |
| 75 | |
| 41 | |
| 26 | |
| 26 |