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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Aykut
Frequent Visitor

Hide Sorted Column - Table Chart

Hi There,

 

I have a source of table, it contains 3 columns.

 

IDFruitActive
4AppleY
3BananeY
2OrangeY
1MangoY
5KiwiN

 

I am using the visualization "Table".

I want to show only Fruit column, like a table, because user will select the fruit.

It will affect other charts later on.

 

I want to show only Active Fruits.

I want to show Fruits in Sorted Order 1...5

 

However I do not want to workaround such

- set the color of column header and value to white color.

- set the column width to 0

 

How I can show active, sorted Fruits without doing any workarounds?

 

I am using Power BI - desktop - Version: 2.110.1085.0 64-bit (October 2022)

 

Many Thanks,
Aykut

 

3 ACCEPTED SOLUTIONS

Hi,

In the Data tab, sort the Fruit column by the Sort Order column. 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

Aykut
Frequent Visitor

Hi,

It works just fine.  See the screenshots below

Untitled.pngUntitled1.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

7 REPLIES 7
Aykut
Frequent Visitor

And finally I found the solution here at  powerbi.com 🙂
Solved: Sort Slicer Value By A Different Column - Microsoft Power BI Community

AbbasG
Memorable Member
Memorable Member

@Aykut 

If I understand your question clearly. The below can be the possible solution.

 

If you only want to show the active fruits, you can set the page filter as below.

I want to show only Active Fruits.

AbbasG_0-1667652443487.png

I want to show Fruits in Sorted Order 1...5
I want to show only Fruit column, like a table, because user will select the fruit.

 

AbbasG_1-1667652539106.png

Hope it helps, if not please provide a sample output that you desire.

Aykut
Frequent Visitor

Hi AbbasG,


Thank you for your feedback.

 

This was the original list.

 

SortOrderFruitActive
4AppleY
3BananaY
2OrangeY
1MangoY
5KiwiN

 

I want to show the Fruits in Sorted Order 

 

Fruit
Mango
Orange
Banana
Apple

 

So, how can I make the sort without showing the column?

 

Thanks, Aykut

Hi,

In the Data tab, sort the Fruit column by the Sort Order column. 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi Ashish,

 

thanks providing this approach.

 

Applying a sort on the "Sort Order" column under Data tab has no impact on the visual. 😞

 

I now have also applied the visualization "Slicer",
which looks pretty. But also not be able to sort on a hidden column.


I will go with the workaround hiding: the column by setting the column size to 0

 

Thanks, Aykut

Hi,

It works just fine.  See the screenshots below

Untitled.pngUntitled1.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

I now understand what to do ...

you 1st select the column you want to be ordered,

you then select in the Picklist "Sort by Column" the column which order should be taken.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.