Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
GRedhead
Helper I
Helper I

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.

GRedhead_0-1651825684207.png

 

1 ACCEPTED SOLUTION
GRedhead
Helper I
Helper 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.

View solution in original post

4 REPLIES 4
GRedhead
Helper I
Helper 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.

sanalytics
Solution Sage
Solution Sage

@GRedhead 

 

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

Shishir22
Solution Sage
Solution Sage

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

Cheers,
Shishir

Sorry not sure I understand the above, all 3 lines have values please see my screenshot and the data on the left.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.