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
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
Resident Rockstar
Resident Rockstar

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
Resident Rockstar
Resident Rockstar

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
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.