Forum Discussion

NSKD's avatar
NSKD
New Member
1 year ago
Solved

Greater Than for Prioritisation system

Hello,   I'd like to prepare a prioritisation matrix similar to the example image at the bottom of this post. My data includes an excel table titled 'Priorities' which has an inbuilt scoring system...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi, NSKD 

    Thanks for Ashish_Mathur's reply. You can try to use following dax to achieve your need.

    In Report View:
    Choose a table name and right-click, click the New Column button, then input the dax to create a new column.

     

    Column = 
    SWITCH(
        TRUE(),
        'Table'[Score]>=75,"High",
        'Table'[Score]>=50,"Medium",
        "low"
    )

     


    In Power Query: Click Custom Column and input the following M Language

     

    if [Score] >= 75 then "High" else if [Score] >= 50 then "Medium" else "Low"

     

     

    Best Regards,
    Yang

    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    If I misunderstand your needs or you still have problems on it, please feel free to let us know.
    Thanks a lot!

    How to get your questions answered quickly --  How to provide sample data in the Power BI Forum