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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
randyrettig
Helper I
Helper I

If, Then formula

Hi all,

 

I need help with a formula/new column.  Basically, if orderprocess[groupno] = 9, and orderprocess[vendorID] has a value, and orderprocess[partnumber] is not 0, return YES, else No.

 

What I'm trying to do is create a new column that just says Yes or No according the above rules.

 

I need some inspiration, I'm stuck!

 

Thanks!

1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

Hello @randyrettig ,

 

use the following calculated column

new column = IF(orderprocess[groupno] = 9 && orderprocess[vendorID] <> BLANK() && orderprocess[partnumber] <>0 , "Yes","No")

 

Idrissshatila_0-1706638534452.png

 

The pbix file that I used to create the formula for your reference.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Idrissshatila
Super User
Super User

Hello @randyrettig ,

 

use the following calculated column

new column = IF(orderprocess[groupno] = 9 && orderprocess[vendorID] <> BLANK() && orderprocess[partnumber] <>0 , "Yes","No")

 

Idrissshatila_0-1706638534452.png

 

The pbix file that I used to create the formula for your reference.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Awesome, thank you!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.