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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors