The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
Solved! Go to Solution.
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,
Happy to help!
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,
Happy to help!