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
RvdHeijden
Post Prodigy
Post Prodigy

What am I doing wrong ?!

Why wont this formula work ?

 

I need to change the format of a date value IF a certain value is not R40 or R41

 

2017-07-24_1510.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, it looks to me like the syntax for OR() is incorrect. the OR function takes two logicals as the inputs so it should look more like

IF( OR( ADDRESSEN[...] = "R41", ADDRESSEN[...] = "R40"), result if true, result if false)

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi, it looks to me like the syntax for OR() is incorrect. the OR function takes two logicals as the inputs so it should look more like

IF( OR( ADDRESSEN[...] = "R41", ADDRESSEN[...] = "R40"), result if true, result if false)

@Anonymous

you were right, i had to tweak the formula a bit but this one did the trick.

 

Civiel geplande datum = IF(OR(Adressen[R.N.A.]="R41";(Adressen[R.N.A.]="R40"));"";(Format(Adressen[civiel begin];"DD-MM-YYYY")))

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.

Top Solution Authors
Top Kudoed Authors