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
Harris021
Frequent Visitor

Show the highest value

Hi all,

 

I am super new to Power BI and want someone to help me.
How can I always show the True value at the top? It seems that Power BI always puts the highest number at the top.

 

In the below example I want the True value be on the top at all the time?

 

 

Harris021_0-1739846355646.png

 

Kind regards .

2 ACCEPTED SOLUTIONS
Shravan133
Super User
Super User

 

  • Create a calculated column in your table that assigns a numeric order to your True/False values:
     SortOrder = IF([YourBooleanColumn], 1, 2)
     
    Sort your column by this new column:
    • Go to Data View.
    • Select the Boolean column.
    • Click Sort by Column and choose SortOrder.
    • Now, in your bar chart, the True values should always be on top

Or try sorting using the true/false column:

Click the ellipsis (⋮) in the top-right corner of the visual and adjust the sorting.

View solution in original post

Anonymous
Not applicable

Thanks for the reply from Shravan133 , please allow me to add some more information:

Hi  @Harris021 ,

 

Here are the steps you can follow:

If you select Sort by Column and get a circular dependency error message, you can create a new table with de-duplication, join the original table to the new table, and use Sort by Column again to place the new table's columns into visual.

1. Create calculated table.

Table 2 =
SUMMARIZE(
    'Table',[Group2],[Index])

vyangliumsft_0-1739928808768.png

2. Connecting two tables.

vyangliumsft_1-1739928842588.png

vyangliumsft_2-1739928842592.png

3. Result:

vyangliumsft_3-1739928860179.png

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thanks for the reply from Shravan133 , please allow me to add some more information:

Hi  @Harris021 ,

 

Here are the steps you can follow:

If you select Sort by Column and get a circular dependency error message, you can create a new table with de-duplication, join the original table to the new table, and use Sort by Column again to place the new table's columns into visual.

1. Create calculated table.

Table 2 =
SUMMARIZE(
    'Table',[Group2],[Index])

vyangliumsft_0-1739928808768.png

2. Connecting two tables.

vyangliumsft_1-1739928842588.png

vyangliumsft_2-1739928842592.png

3. Result:

vyangliumsft_3-1739928860179.png

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Shravan133
Super User
Super User

 

  • Create a calculated column in your table that assigns a numeric order to your True/False values:
     SortOrder = IF([YourBooleanColumn], 1, 2)
     
    Sort your column by this new column:
    • Go to Data View.
    • Select the Boolean column.
    • Click Sort by Column and choose SortOrder.
    • Now, in your bar chart, the True values should always be on top

Or try sorting using the true/false column:

Click the ellipsis (⋮) in the top-right corner of the visual and adjust the sorting.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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