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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
mvi
Regular Visitor

Hide a column but retain sorting

Hi there!

 

I am very new to Power BI. I have built a report by using a SQL query and it looks like this:

 

mvi_1-1612802486729.png

 

I don't want the visitid column to be visible, but I do want to sort by that column. Sorting by the Visit column is not acceptable. Is there any way to achieve this?

 

Thank you in advance!

1 ACCEPTED SOLUTION

@mvi ,

So apply my second approach, which is setting Sorting column to white color. Go to Field Formatting property of that table visual and select Sorting Column name from drop down then Set Font Color to White and also click on Apply to header. (see the attached screen shot)

 

Capture.PNG

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

View solution in original post

8 REPLIES 8
mvi
Regular Visitor

To clarify, the Sort by Column is working, but I just don't want to display that column, visitid, to the user. But that is exactly the column I want to sort by. Hope this sheds a little more light now.

Of sort by column is working well so no worries at all just remove the column from that table visual. It won't affect the sorting order. 

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

"just remove the column from that table visual"

 

How do I do that?

@mvi ,

Just click on the cross sign  as per below screen shot.

Capture.PNG

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

I did that and it lost the sorting. I need the "CO01_Remote" row to the the first one in the list. Any other ideas?

 

mvi_0-1612804248526.png

 

@mvi ,

So apply my second approach, which is setting Sorting column to white color. Go to Field Formatting property of that table visual and select Sorting Column name from drop down then Set Font Color to White and also click on Apply to header. (see the attached screen shot)

 

Capture.PNG

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
Tahreem24
Super User
Super User

I first recommend you to use the "Sort by Column" Feature. I don't know why this is not working for you. 

 

Else, just set the color of the Visited column to white to make invisible by formatting option of that table visual. 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
amitchandak
Super User
Super User

@mvi , check if you can make visit id sort column for visit

refer : https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.