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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ManuSacchetti
Helper I
Helper I

TreeMap sorted by Words

Hello Comunnity, I have a doubt about the Treemap Filter. I need to sort it by words, so in my case, I need the word "YES" to be in the left and the word "NO" to be in the right:

 

ManuSacchetti_0-1656000067677.png

¿Do you know if this is possible in PBI?

 

Kind regards.

1 ACCEPTED SOLUTION
Seanan
Solution Supplier
Solution Supplier

Hi @ManuSacchetti,

This may not be the best way to get the result you are looking for but I tend to find sorting in a treemap can be a bit of a pain. 

But a quick way to get it to show Yes then No would be to transform the yes or no column.

uVFQs9JpP1.pngNVIDIA_Share_O7PmXnxX70.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

If you replace all of the Yes values with a space in front of it then it will sort the treemap with yes then no.

NVIDIA_Share_oGrLKeWZ6L.png

 

 

 

As I said this is by no means the cleanest option and it may not be a viable option depending on how your report looks but I hope this may be able to help if there are no better alternatives.

View solution in original post

4 REPLIES 4
Seanan
Solution Supplier
Solution Supplier

Hi @ManuSacchetti,

This may not be the best way to get the result you are looking for but I tend to find sorting in a treemap can be a bit of a pain. 

But a quick way to get it to show Yes then No would be to transform the yes or no column.

uVFQs9JpP1.pngNVIDIA_Share_O7PmXnxX70.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

If you replace all of the Yes values with a space in front of it then it will sort the treemap with yes then no.

NVIDIA_Share_oGrLKeWZ6L.png

 

 

 

As I said this is by no means the cleanest option and it may not be a viable option depending on how your report looks but I hope this may be able to help if there are no better alternatives.

Thank you Seanan!! It worked 🙂

amitchandak
Super User
Super User

@ManuSacchetti , If you sorting on the text column it should work

Hello @amitchandak , thank you for your answer!

 

What do you mean with text column? I can't find it.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors