cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
160475
Helper I
Helper I

CUSTOM COLUMN

HI 

can anyone fix this formula for me ?

 

if [CUSTOMER_TYPE_DESC]="Individual"
and [CIFSegment]="NL" AND "MASS"
then MASS

 

160475_0-1647963130799.png

thank you

1 ACCEPTED SOLUTION
Thejeswar
Super User
Super User

Hi @160475 ,

You can try this

 

if [CUSTOMER_TYPE_DESC]="Individual"
and ([CIFSegment]="NL" OR [CIFSegment]="MASS")
then MASS

else null

 

Regards,

 

View solution in original post

3 REPLIES 3
v-eqin-msft
Community Support
Community Support

Hi @160475 ,

 

If the condition returns true ,then put  a text value "MASS" ,right?

if so, please try:

if [CUSTOMER_TYPE_DESC]="Individual" and [CIFSegment]="NL" or [CIFSegment]="MASS" then "MASS" else null

Eyelyn9_0-1648189070940.png

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thejeswar
Super User
Super User

Hi @160475 ,

You can try this

 

if [CUSTOMER_TYPE_DESC]="Individual"
and ([CIFSegment]="NL" OR [CIFSegment]="MASS")
then MASS

else null

 

Regards,

 

amitchandak
Super User
Super User

@160475 ,  I think it should be like

if [CUSTOMER_TYPE_DESC]="Individual"
and ( [CIFSegment]="NL" or  [CIFSegment]= "MASS")
then MASS

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors