Forum Discussion
Nathanael04
3 years agoFrequent Visitor
IF function Need Help
I've been having this issue for days already and i hope someone can help me with this. = Table.AddColumn(#"Removed Columns", "Custom", each if[order_estimated_delivery_date] >0 then "Early Delive...
- 3 years ago
See attached file. It's the same code as earlier. Do note that the [order_estimated_delivery_date] column in the data you have shared is of type date but it is an integer in the data you showed on your initial post. Integer is what makes sense here so I have replaced the dates with some random numbers in the data for the example
Please accept the solution when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
AlB
3 years agoCommunity Champion
The code is correct. The function Table.AddColum is being passed 3 arguments so perhaps you have not copied it in full or the error is coming from somewhere else. If you can share the query I can have a look
|
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |