Forum Discussion

jtooke's avatar
jtooke
Icon for Helper I rankHelper I
2 years ago
Solved

Sorting Multiple Text-Based Measures

Hi,   I have a series of measures that form KRI's calculated from my dataset. Each KRI is associated with a threshold, where if the threshold is not met, the measure returns blank. If the threshold...
  • parry2k's avatar
    2 years ago

    jtooke I don't think what you are trying to achieve is going to work with card visual - it needs some disconnected tables and you will need to use table/matrix visual

  • jtooke's avatar
    jtooke
    2 years ago

    Okay, thank you for the reply! I was able to find a workaround solution. I created a new table with a column "KRI" with values 1 through 8 (I have 8 KRI's). In this table I used a switch measure titled Indicator to call the measure values according to their priority rank in the KRI table. 

     

    In the measure DAX, instead of resulting in blank I changed the output to 0 if the criteria is not being met. I then input the KRI and Indicator columns into a table, and put a filter on the table to where Indicator does not equal 0, and then sorted based on the KRI priority.

     

    Thanks again!