Forum Discussion

vinodDrinkPak's avatar
vinodDrinkPak
Icon for Helper II rankHelper II
3 years ago
Solved

Sort Stacked Bar chart

Hi,   I want to sort , my stacked bar chart, while keeping the "Other" Category as last Bar and ofcourse the rest of the company should be sorted in descending order   here is my link to pbix fil...
  • johnyip's avatar
    johnyip
    3 years ago

    vinodDrinkPak 

    My closest answer is to create this measure and then put it in tooltip, and sort it descendingly.

     

    No of Pallets_RANK = 
    IF(MAX(LOCATION_INVENTORY[Customer Name for Sorting])="Other",-99999,[No of Pallets])