Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
Solved! Go to Solution.
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.
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.
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
Hello @GRedhead ,
Can you please check data. There might be blanks or spaces or NULL or "" but all looks similar.
You can use Len(), ISBLANK() functions to rectify.
Please mark it as answer if it solves your issue. Kudos are also appreciated.
Cheers,
Shishir
Sorry not sure I understand the above, all 3 lines have values please see my screenshot and the data on the left.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 119 | |
| 100 | |
| 72 | |
| 69 | |
| 65 |