Forum Discussion

DBricklin1979's avatar
DBricklin1979
Regular Visitor
4 years ago
Solved

How can i summerize all values from one column in Power Query?

Hi,   I cannot figure out how to summerize all values from one column (calculate the total) and add them to a new column ("total") using Power Query. In Excel I am used to simply use the "=SUM" for...
  • Anonymous's avatar
    Anonymous
    4 years ago

    HI DBricklin1979  - Sorry my mistake, I was thinking of the syntax for a Group By function.  You need to replace the "_" with the table name from the previous step.  It would look like this:

    = Table.AddColumn(#"Andrad typ", "Anpassad", each List.Sum( #"Andres typ"[Value] ) )