Forum Discussion
Group Columns in Stacked Column Chart
Hi,
Does anyone know how I can group the following columns?
If I look at the data in a table I see the same Year and Qtr the same Case Type and want to sum the cases.
But for some reason, I cannot see it is not combining the rows highlighted.
Hi, i think we have worked it out, it appears to be because of the sort on the Year & Qtr column, it was on the month sort order but when we switch it to itself the column displays as I expected, a bit weird.
4 Replies
- GRedheadHelper I
Hi, i think we have worked it out, it appears to be because of the sort on the Year & Qtr column, it was on the month sort order but when we switch it to itself the column displays as I expected, a bit weird.
- GRedheadHelper I
Sorry not sure I understand the above, all 3 lines have values please see my screenshot and the data on the left.
- sanalyticsSuper User
You can grouped the data in Power Query.Below are the steps
let
Source = Source,
#"Grouped Rows" = Table.Group(Source, {"Year qtr", "CaseType"}, {{"Count", each List.Sum([Count]), type nullable number}})
in
#"Grouped Rows"Hope this will help you
Regards
sanalytics