Forum Discussion
AlvWib
2 years agoNew Member
Expression Error, we cannot convert the value 0 to typle List
Hi all, I am quite new with PowerQuery and need your help to identify the mistake of my PowerQuery Codes. The case is about doing Running Total. I have a dataset / table containing column "Materi...
AlexisOlson
Super User
2 years agoThis part looks suspicious to me:
each [Index] <= List.Max([Index]),
List.Max expects a list, not a 0.
I'd recommend checking out this article for ideas on how to fix your running total more generally:
https://gorilla.bi/power-query/running-total-by-category/