This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
running sum m- query The Code
( ) as list =>
let
pList = {1,2,3,4,5,6,7,8,9} ,
runSum=List.Generate(
()=>[ xx =0 , zz=pList{0} ],
each [xx] <=List.Count(pList) ,
each [ xx=[xx]+1 , zz = [zz] + pList{ [xx]+1 } ] , each [zz]
)
in
runSum
the output will be {1,3,6,10,15,21,28 ...}
on filtering the list on index value >3
i have to start from values {4,9,15,22...}
insted of {10,15,21,28}
it to work like ranking that recreate the index from start or dax exp
???
Solved! Go to Solution.
Hi @project101 ,
First convert list to table:
Then remove errors,filter rows is greater than 3:
And you will see:
Check my sample .pbix file attached.
Best Regards,
Kelly
Did I answer your question? Mark my reply as a solution!
Hi @project101 ,
First convert list to table:
Then remove errors,filter rows is greater than 3:
And you will see:
Check my sample .pbix file attached.
Best Regards,
Kelly
Did I answer your question? Mark my reply as a solution!
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 26 | |
| 25 | |
| 22 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 42 | |
| 41 | |
| 40 | |
| 21 | |
| 20 |