Forum Discussion

sakamotothais's avatar
sakamotothais
Helper III
8 years ago
Solved

customize filter in column in matrix table

Hello

 

I have a matrix table, and I would like to sort the columns filter according to volume / value

Example:

Today my table looks like this:

It is necessary to classify this way, customized by acronym:

 

 

But in the matrix table I can not.
When I put the date filter too.

Any idea?

thanks

 

  • Anonymous's avatar
    Anonymous
    8 years ago

    You need to include a column in your table that is a Sort Order for that column.  Power BI defaults all text columns to sort alphabetically.  If you have another column with a different number corresponding to each value, you can click the "Sort by Column" button in the Modeling tab and choose the correct column to sort by.

     

    This is commonly done with months in a calendar table.  You need a column called [Month Number] that is 1 - 12 where 1 corresponds to January, 2 to February, etc.  Otherwise the Month column will always put April first...

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    You need to include a column in your table that is a Sort Order for that column.  Power BI defaults all text columns to sort alphabetically.  If you have another column with a different number corresponding to each value, you can click the "Sort by Column" button in the Modeling tab and choose the correct column to sort by.

     

    This is commonly done with months in a calendar table.  You need a column called [Month Number] that is 1 - 12 where 1 corresponds to January, 2 to February, etc.  Otherwise the Month column will always put April first...

    • Anonymous's avatar
      Anonymous
      Not applicable
      Hi chris,

      I need to have a filter in the header of my matrix or table....like in excel to be able to filter with any column....is that possible?
      • Anonymous's avatar
        Anonymous
        Not applicable

        Anonymous , the only way to do this is to put a "Visual Level filter" on the matrix.  This is reachable in the Visualizations pane (left most icon) after clicking on the matrix (may need to scroll down a little bit.