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
Beyondforce
Helper I
Helper I

Adding a new column but the IF formula doesn't work!

Hey Guys,

 

I'm trying to add a new column and I'm also adding this formula, but it's not working! What's wrong with it?

=IF([LateStart]= 0, && ([LateEnd] = 0),0))

 

Thanks.

Ben.

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hello, the sintaxis is incorrect

 

=IF('TableName'[LateStart]= 0 && 'TableName'[LateEnd] = 0, 0)
Or you can consider using AND function

=IF( AND('TableName'[LateStart]= 0 , 'TableName'[LateEnd] = 0), 0)

 

Remember I copy your example. You should put an else statement.

 

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

1 REPLY 1
ibarrau
Super User
Super User

Hello, the sintaxis is incorrect

 

=IF('TableName'[LateStart]= 0 && 'TableName'[LateEnd] = 0, 0)
Or you can consider using AND function

=IF( AND('TableName'[LateStart]= 0 , 'TableName'[LateEnd] = 0), 0)

 

Remember I copy your example. You should put an else statement.

 

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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