Forum Discussion
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 for projects. See image below where I have highlighted the score column.
I'd like to present this data in the graph, using a greater than formula.
E.g. projects with a score >=75 are a high priority.
projects with a score >=50 are a medium priority.
etc.
Could someone please assist me with this? I am a beginner so a simple and complete explanation is appreciated!
Thank you
- Anonymous1 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 Languageif [Score] >= 75 then "High" else if [Score] >= 50 then "Medium" else "Low"Best Regards,
Yang
Community Support TeamIf 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
8 Replies
- Ashish_Mathur
Super User
Hi,
I am not sure whether you will be able to build a prioritisation matrix with this suggestion but create a calculated column formula
Column = if(Priorities[Score]>=75,"High",if(Priorities[Score]>=75,"Medium","Low"))
Hope this helps.
- NSKDNew Member
Hi Ashish,
Thanks for your comment. I keep running into errors when I try similar formulas.- Ashish_Mathur
Super User
Write that as a calculated column (not as a measure)
- AnonymousNot applicable
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 Languageif [Score] >= 75 then "High" else if [Score] >= 50 then "Medium" else "Low"Best Regards,
Yang
Community Support TeamIf 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