Forum Discussion
aslan
Helper I
9 years agoGrand Total is not correct
Grand total must be 73,85 but it shows 73,78. Why is it? Can you please help?
- 9 years ago
This solved my issue
https://www.mrexcel.com/forum/power-bi/625617-grand-total-average-sum-sales-per-month.html
aslan
Helper I
9 years agoHi MarcelBeug 73.78% is correct but client want to see 73.85% by calculating average. But couldn't create calculated column and because of that can't calculate average.
MarcelBeug
Community Champion
9 years agoThis is what I did in Power Query:
let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Value1", Int64.Type}, {"Value2", Int64.Type}}),
#"Inserted Division" = Table.AddColumn(#"Changed Type", "Inserted Division", each [Value1] / [Value2], type number),
#"Changed Type1" = Table.TransformColumnTypes(#"Inserted Division",{{"Inserted Division", Percentage.Type}})
in
#"Changed Type1"