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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
pi355113
Frequent Visitor

Returning value based on multiple criteria

Please could you kindly help, I am trying to get a column to return a number based on: 

pi355113_0-1685518640831.png

 

IF

[High Potential?] = No and blank 

[Severity#] = 37

Return 7

AND

[High Potential?] = Yes

[Severity#] = 37

Return 3

AND

[Severity#] = any other numbers

Return [Severity#] value

 

Thank you very much

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @pi355113 
Please try

Value =
IF (
    'Table'[Severity#] = 37,
    IF ( 'Table'[High Potential?] = "Yes", 3, 7 ),
    'Table'[Severity#]
)

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

Hi @pi355113 
Please try

Value =
IF (
    'Table'[Severity#] = 37,
    IF ( 'Table'[High Potential?] = "Yes", 3, 7 ),
    'Table'[Severity#]
)

Thank you so much for your help, much appreciated.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors