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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors