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
Anonymous
Not applicable

IF statement selected values

i need a frormula if an employee has only step ID "Plan+DO+Act"then give me as result succeed. see picture below

if statement selected values.JPG

1 ACCEPTED SOLUTION
tex628
Community Champion
Community Champion

I would say create a numeric column, converting the text values of Step ID to numeric values. Then sum them together to determine which combination it is. 

For example 
6 + 2 + 8 = 16 = "Pending" 
1 + 3 + 5 = 9 = "Initiated"

You just have to make sure that the combinations aren't intersecting, so i wouldn't use something so simple as 1-10!


Connect on LinkedIn

View solution in original post

3 REPLIES 3
tex628
Community Champion
Community Champion

How many different distinct values are there in "Step ID"?


Connect on LinkedIn
Anonymous
Not applicable

We have in total 10. and every time it's another formula. so one formula is step ID 1,3 and 5. other formula is step ID 6,2,8

tex628
Community Champion
Community Champion

I would say create a numeric column, converting the text values of Step ID to numeric values. Then sum them together to determine which combination it is. 

For example 
6 + 2 + 8 = 16 = "Pending" 
1 + 3 + 5 = 9 = "Initiated"

You just have to make sure that the combinations aren't intersecting, so i wouldn't use something so simple as 1-10!


Connect on LinkedIn

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.