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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.