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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

how to make tooltip sort differently than legend sort

I have a line chart with a legend.  I have noticed that the sort order of the legend values in the tooltip is identical to that in the legend itself.  I want to achieve a sort order in the tooltip that is different than the legend.  Is this possible?

 

Here is an example of PBI sorting the tooltip according to the legend sort order:

Screenshot 2021-09-01 134546.png

 

In this particular example, I want the sort order of [Fiscal Year] to be descending in the tooltip (but still ascending in the legend).

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , For that You can create a tooltip page and there you can control the sorting. Color you have to manage

https://docs.microsoft.com/en-us/power-bi/desktop-tooltips

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , For that You can create a tooltip page and there you can control the sorting. Color you have to manage

https://docs.microsoft.com/en-us/power-bi/desktop-tooltips

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors