cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors