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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
anabianco09
Helper II
Helper II

Error when creating a CUSTOM COLUMN

Hi, I am trying to create the following column:

anabianco09_0-1700237159768.png

and it shows up an error message that the name IF wasn't recognized. How to Solve?

1 ACCEPTED SOLUTION
SumitChandra
New Member

Please refer the screenshot and modify your formula, it will works👍Kindly mark my post as solution, Appreciate your Kudos .

if [Condition1] = "Value1" and [Condition2] = "Value2" then "Result1"
else "Result2"

 

Solution.png

 

View solution in original post

3 REPLIES 3
SumitChandra
New Member

Please refer the screenshot and modify your formula, it will works👍Kindly mark my post as solution, Appreciate your Kudos .

if [Condition1] = "Value1" and [Condition2] = "Value2" then "Result1"
else "Result2"

 

Solution.png

 

It worked! Thanks @SumitChandra 

DOLEARY85
Super User
Super User

Hi,

 

try a lower case if

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.