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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.