Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. 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
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 48 | |
| 46 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 32 | |
| 27 | |
| 26 |