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
Hyperchef1969
Helper V
Helper V

Multiple if statement

Hi,

 

In our query tool beneeth multiple if statement is made. Can some one advice how to build this in Power BI?

 

I am especially interested in how to code the multiple if statement (I get the message that not more than 2 are acceptable) and how to code the validation on certain text in a certain column, so the 'not like' rows in the picture.

 

Conditions.png

 

 

 

 

 

 

 

 

 

 

 

Thanks in advance!

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Hyperchef1969,

 

For another option, you also could have a good look at this blog Multi Condition Logic In Power Query.

 

Best  Regards,
Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Hyperchef1969,

 

For another option, you also could have a good look at this blog Multi Condition Logic In Power Query.

 

Best  Regards,
Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@Hyperchef1969,

You can create a Conditional column and select begins with in Operator section in Query EditorConditionalColumn.PNG

 

 

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.