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

Sorting legend in grouped bar chart by sort order column

I want to make a grouped bar chart with Percent on the y-axis, and Lot Number on the x-axis, with each Lot Number grouped into four different bars each representing a different step in a process. I would like the steps within the Lot Numbers to be ordered based on their order within the process. I have included some sample data at the bottom of the post, and here is a picture of the desired outcome:

 

Desired OutcomeDesired Outcome

 

I made a sort order column and put this into the tooltip field but it still doesn't gice the option to sort the legend with it. At the moment the legend, and bars within each lot number, sort in alphabetical order. Is this possible to change?

 

Any help would be appreciated.

 

Regards,

Steven

 

PS: Here is an example of how the data might look:

 

Lot NumberFieldValueSort Order
1harv861
2harv821
3harv811
4harv821
5harv811
6harv821
7harv861
8harv841
9harv781
10harv801
11harv841
12harv821
13harv501
14harv821
15harv811
16harv821
17Chrom812
18Chrom1072
19Chrom822
20Chrom1332
21Chrom802
1Chrom692
2Chrom792
3Chrom802
4Chrom712
5Chrom742
22Chrom1222
8Chrom842
6Chrom692
7Chrom782
9Chrom822
10Chrom642
11Chrom852
12Chrom932
23Lo pH843
24Lo pH983
17Lo pH723
18Lo pH803
19Lo pH723
20Lo pH733
21Lo pH793
1Lo pH773
2Lo pH723
3Lo pH843
4Lo pH803
5Lo pH863
6Lo pH763
22Lo pH743
7Lo pH713
8Lo pH693
9Lo pH703
10Lo pH773
11UF/DF255874
11Lo pH773
12UF/DF784
12Lo pH673
13Chrom812
13Lo pH623
13UF/DF784
14Chrom782
14Lo pH653
15Chrom832
15Lo pH673
14UF/DF774
16Chrom712
16Lo pH693
16UF/DF804
1 ACCEPTED SOLUTION
PowerUserR
Solution Supplier
Solution Supplier

Hi,

Just a quick thouht would be to use the "sort by column" option in the data tab of your report. You could then sort the desired column by the created sort column.

View solution in original post

2 REPLIES 2

Perfect, thanks @PowerUserR .

PowerUserR
Solution Supplier
Solution Supplier

Hi,

Just a quick thouht would be to use the "sort by column" option in the data tab of your report. You could then sort the desired column by the created sort column.

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.