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

The Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more

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

Hi @Anonymous 

Try

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

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

Anonymous
Not applicable

Hi @Anonymous 

Try

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

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Users online (1,156)