Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

How to Sort Axis for Vizusalisations?

  1. Hover over a numerical axis to bring up the sort icon.
  2. Click the icon to sort.

Sort Ascending or Descending:Click on the column header and use the sorting icons to sort the data in ascending or descending order. Sort by Column Using the Ribbon:In the "Data" view, select the column, and you can use the "Sort Ascending" or "Sort Descending" buttons in the ribbon.

  • Anonymous Hey,
    1st way - You can add a conditional column in Power query based on specific column and go data view sort it by a column like this.

     

     

    or you can create a  disconnected table using enter data or using dax . Create a relationship in between both table and use related dax function to get value based on specific column. like this

     

     

    Then you can select a specific column (In my case country) then sort it by country sort to get desired result.

     

     

    Thanks

    Harish 

    Did I answer your question? Kindly give kudos and Mark my post as a solution!

1 Reply

  • Anonymous Hey,
    1st way - You can add a conditional column in Power query based on specific column and go data view sort it by a column like this.

     

     

    or you can create a  disconnected table using enter data or using dax . Create a relationship in between both table and use related dax function to get value based on specific column. like this

     

     

    Then you can select a specific column (In my case country) then sort it by country sort to get desired result.

     

     

    Thanks

    Harish 

    Did I answer your question? Kindly give kudos and Mark my post as a solution!