Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Result based on the values

Hi Team,

I want to create a column as Score from the risk score

0 - 4 as Low 

5-6 as Medium

7-8 as High,

Here is my table

IDLocationProject StatusRisk Score
1001INDAACompleted0
1002USABIn Progress1
1003INDACDelayed2
1004UKADCompleted3
1005GlobalAEIn Progress4
1006USAFDelayed4
1007GermanyAACompleted5
1008INDAFIn Progress5
1009USAHDelayed6
1010UKBBCompleted6
1011GermanyABIn Progress7
1012INDACDelayed7
1013USAFCompleted8
1014UKARIn Progress8
1015USAGDelayed8
2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Anonymous , A new column 

 

Switch(true() ,

[Risk] <= 4, "Low" ,

[Risk] <= 6, "Medium" ,

"High"

)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

aj1973
Community Champion
Community Champion

Hi @Anonymous 

aj1973_0-1625488739841.png

here is the formula

Risk Type =
VAR _Risk =
SELECTEDVALUE ( Sheet1[Risk Score] )
RETURN
IF ( _Risk <= 4, "Low", IF ( _Risk <= 6, "Medium", "High" ) )

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

2 REPLIES 2
aj1973
Community Champion
Community Champion

Hi @Anonymous 

aj1973_0-1625488739841.png

here is the formula

Risk Type =
VAR _Risk =
SELECTEDVALUE ( Sheet1[Risk Score] )
RETURN
IF ( _Risk <= 4, "Low", IF ( _Risk <= 6, "Medium", "High" ) )

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

amitchandak
Super User
Super User

@Anonymous , A new column 

 

Switch(true() ,

[Risk] <= 4, "Low" ,

[Risk] <= 6, "Medium" ,

"High"

)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors