Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello All,
I'm am trying to return a text based off of IFS in two columns. I'm not sure how I go about it. The "Score Rank" column was fairly easy to do, but I'm not sure about adding another column to the equasion.
Thank you.
Solved! Go to Solution.
hi @michaelhaga
this info is critical, try this:
Score_Rank =
SWITCH(
TRUE(),
[Type]="Issue", [Type],
[Probability]<8, "low",
[Probability]<15, "medium",
"high"
)
Thank you for the quick response, but I'm not sure if I'm understanding.
This is how I created the Score Rank column:
hi @michaelhaga
this info is critical, try this:
Score_Rank =
SWITCH(
TRUE(),
[Type]="Issue", [Type],
[Probability]<8, "low",
[Probability]<15, "medium",
"high"
)
Thank you. That's got me about 90% there.
I should have been more specific with calculation explanation. If the type is "Issue", then the only value it can return is "Issue" For "Risk", it follows the below criteria:
Low = 0-8
Med = 9-14
High = 14+
RS
Mike
The formula is returning incorrect values for the Score_Rank column.
Example of what's its returning:
Type Prob Score Rank Score_Rank
Risk 9 Medium Low
Risk 5
@michaelhaga , What is logic use
One is
Switch( True() ,
[Rank] <= 5, "Low",
[Rank] <= 10, "Med",
"High"
)
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
10 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
13 | |
12 | |
11 | |
8 |