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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
juhoneyighot
Helper III
Helper III

Need help converting this Excel Formula to DAX language

I need help for this Excel Formula to be converted to DAX

1. =IF(ColumnA<>"","Y","N")

 

2. =IF(OR(ColumnD="00Test 00TestLast",ColumnD="00test newcon"),"Y","N")

 

Thank you.

1 ACCEPTED SOLUTION

Hello! @Dangar332 

the formula works in a "new column' not in a 'measure'.
It is solved already.

Thanks

View solution in original post

4 REPLIES 4
Dangar332
Super User
Super User

hi, @juhoneyighot 

 

try below code 

 

measure1 =
   if('yourtablename'[columnname that you compare(columnA)]<>"","y","n")

measure 2 =
   if('yourtablename'[columnname where you compare(columnD)]="00Test 00TestLast" ||
    'yourtablename'[columnname where you compare(columnD)]="00test newcon","y","n")

Hello! @Dangar332 

the formula works in a "new column' not in a 'measure'.
It is solved already.

Thanks

Hi, @juhoneyighot 

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. and don't forget to give kudos.

juhoneyighot_0-1698419429847.png

Hello! This is the error when I'm trying to enter the formula

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.