Forum Discussion
Anonymous
6 years agoNot applicable
Power Query - Loop calculating
Hi, I have the following Excel table: The column A and B are given data. The column A represents a duration of tasks in decimal format. And the column B represents the end date of the f...
- 6 years ago
Hi Anonymous ,
First, create a index column and this code for a custom column:
let _b = #"Added Index"[B]{0} in
List.Accumulate(
List.Combine(
{{_b},
List.Range(#"Added Index"[A], 0, [Index] + 1)}),
0, (s, c) => s + c)Change the bold part with your last step name.
Ashish_Mathur
Super User
6 years agoHi,
If you are intersted in a DAX solution, then please share the link from where i can download your PBI file.
Anonymous
6 years agoNot applicable
This tool will run by Excel, so I need to use the Power Query especifically. But thanks!!