Forum Discussion

mvi's avatar
mvi
Regular Visitor
5 years ago
Solved

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:

 

 

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!

  • 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)

     

     

     

10 Replies

  • 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. 

     

  • mvi's avatar
    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.

    • Tahreem24's avatar
      Tahreem24
      Icon for Super User rankSuper User

      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. 

       

       

      • mvi's avatar
        mvi
        Regular Visitor

        "just remove the column from that table visual"

         

        How do I do that?