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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.