Forum Discussion

nr83's avatar
nr83
Regular Visitor
3 years ago

HELP! Multiple Statements in one Formula

Hello Everyone - I am  hoping you wonderful people can help me. I feel like this should be super simple but ive been looking at it for so long I just cant get it to work. 

 

I have 2 columns, one contains a date, and the other contains a status. I am trying to create a new column called overdue that will return the value of "overdue" when the Date is less than today, and the Status equals "Incomplete". 

This is as close as I have got but still getting an error:

 

Overdue = IF('MyCsvFile (1)'[Delivery Date]<TODAY(), AND ('MyCsvFile (1)'[Status]="Incomplete", "Overdue"))
 
"Cannot convert calue 'Overdue' of type Text to type True/False"
 
Can anyone help?

1 Reply

  • Overdue = IF( 
              'MyCsvFile (1)'[Delivery Date] < TODAY() && 
              'MyCsvFile (1)'[Status]="Incomplete", "Overdue")

     

    Try this!