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
Anonymous
Not applicable

IF

Hi trying to create 

 

=IF(table[ordertypeD] = "Normal Order"), table[feild],"")

 

Getting an error on "Normal Order" 

Yet Normal Order exists in table[ordertypeD]

 

In fact I get an error as soon as i enter " 

 

suggestions ? 

 

 

1 ACCEPTED SOLUTION
pranit828
Community Champion
Community Champion

Hi @Anonymous 

Try

=IF(table[ordertypeD] = "Normal Order", table[feild],blank())





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile

View solution in original post

6 REPLIES 6
Tahreem24
Super User
Super User

@Anonymous ,

There is an Parenthesis error. It should be like:

=IF(table[ordertypeD] = "Normal Order", table[feild],"")

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
Anonymous
Not applicable

ParabolicStock_0-1613534622130.png

 

 

Anonymous
Not applicable

@Anonymous  check the datatype once in the data tab....some times it could be datatype issue as well. or paste the sample data 

 

Regards,

Husna

pranit828
Community Champion
Community Champion

Hi @Anonymous 

Try

=IF(table[ordertypeD] = "Normal Order", table[feild],blank())





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile
Anonymous
Not applicable

Thanks mate....Syntax worked though was still getting the feilds appear red....Forgot to mention was DAX being used in Excel....The feilds stayed RED but the syntax worked and returned the desired result...thank you....! 

Anonymous
Not applicable

Hi Pranit, no mate issue is not the blank "".....DAX is not recognising "Normal Order" 

 

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.