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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.