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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Syndicate_Admin
Administrator
Administrator

Sorting columns in a graph

Good morning

I have a chart with x number of columns but one of them I want to always appear first, as if it were independent of the order of the rest of the columns.

Let me explain:

RWRW_1-1681266843400.png

As you can see the columns are ordered from highest to lowest.

Objective: To ensure that the first column is always the E and then the rest of the columns are ordered from highest to lowest or from lowest to highest.

the order from highest to lowest would be E, A, B, C, D

the order from lowest to highest would be E, D, C, B, A

I hope you can help me, thanks and greetings

4 REPLIES 4
Syndicate_Admin
Administrator
Administrator

And it also appears in the title of the graph

RWRW_1-1681352712660.png

Seria Utilization by Department

Hi,

Unfortunately, that's a drawback of this method, and this caption cannot be easily removed from the tooltip.

With the title, it is pretty easy to fix: 

barritown_0-1681369788064.png

 

Back to the tooltip, you have two options I guess:

1) You can create a custom tooltip and leave only the parameters you want to be there. Check the video in my vlog on this topic if you like - https://youtu.be/C498utF7Ldg.

2) You can simply turn off the tooltip so it won't bother you. Here:

barritown_1-1681370902185.png

Best Regards,

Alexander

My YouTube vlog in English

My YouTube vlog in Russian

Syndicate_Admin
Administrator
Administrator

Good morning

Everything was perfect, I did it and it works properly. The only doubt I have is that when adding tooltip that information is displayed in the tooltip, how could I hide the text? Thanks a lot

RWRW_0-1681352257687.png

I just want to visualize Department and utilization. Thanks again

barritown
Solution Sage
Solution Sage

Hi,

 

If it is okay to perform sorting using an auxiliary slicer, I can propose such a solution.

 

1. We create an additional table with the options "asc" and "desc". It will be used in a slicer.

barritown_0-1681288957383.png

 

2. We create a measure like this:

Parameter for sorting = 
VAR factor = IF ( SELECTEDVALUE('order'[order]) = "desc", 1, -1 )
VAR res = IF ( SELECTEDVALUE ( data[Parameter] ) = "E", 
                   factor * SUM ( data[Value] ) + 1000,
                   factor * SUM ( data[Value] ) )
RETURN res

 

3. We add this measure to the Tooltips section of our bar chart - thus, it will appear in the "Sort axis" list.

barritown_1-1681289068642.png

 

4. Then we choose this measure in the sorting options and choose "Sort descending."

 

Here is the result for both options:

 

barritown_2-1681289112183.pngbarritown_3-1681289135452.png

Should you need any clarifications, please let me know.

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.