Forum Discussion
IF Statement Custom Column
- 9 years ago
thank you that worked after I figured out I had to be in the Data tab not the report tab...
What would the IF statement look like? I have tried several variations to no avail.
I'm not at all a DAX-expert, but this looks pretty straightforward, so I wonder what you tried?
Column = IF(Query1[New Target Delivery Date]>Query1[Original Target Delivey Date];"Late";"On Schedule")
Or are you looking for a Power Query solution?
- AKA3339 years agoRegular Visitor
semi-colons are not allowed. So here is what I entered...
Column5 = IF(BuildTracker[New_TargetDeliveryDate]>BuildTracker[DeliveryDate],"Late","On Schedule")
But when I hit enter, I do not see a new column nor does that come back with an error?
- MarcelBeug9 years ago
Community Champion
Ah, I was on Dutch culture code with semicolons as delimiters.
After switching to en-US, your formula works fine with me (although I had to press ENTER twice):
- AKA3339 years agoRegular Visitor
thank you that worked after I figured out I had to be in the Data tab not the report tab...