Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Interactive Sorting for Power BI Metric Visual

Hi all,

 

I have a data visulaization in the below format in a Metrix visual.

 

Sales AgentJan-22Feb-22Mar-22
A101100
B1865
C1599
D033
E1000267

 

I want to sort the individual columns in Power Bi desktop and service. For example if I click on the Feb-2022 column the matrix should be formatted ascending/ descending based on the numbers.

 

Could you please let me know if there is an alternative otherthan the paginated reports.

 

Aju

  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Anonymous ,

     

    As a workaround, you could pivot the YearMonth column in the Power Query. If your YearMonth column is a calculated column using DAX. You need to create a custom column using M in the Power Query first.

    Then you can sort by Feb-22.

     

     

     

     

    Best Regards,

    Stephen Tao

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

     

    As a workaround, you could pivot the YearMonth column in the Power Query. If your YearMonth column is a calculated column using DAX. You need to create a custom column using M in the Power Query first.

    Then you can sort by Feb-22.

     

     

     

     

    Best Regards,

    Stephen Tao

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.