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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.