multiple functions on a column?
AnsweredHi, I'm new to datameer. Is there a way to execute multiple functions on a column, or is it one function per column?
For example:
Two columns:
FORMATDATE(#parsedata!reporting_month_date;"MMM yyyy")
CONCAT(#parsedata!reporting_month_date_string;" - Sales")
Can this instead be written as something like this?
CONCAT((FORMATDATE(#parsedata!reporting_month_date;"MMM yyyy");" - Sales")
-
Official comment
Hello!
Yes, it is possible to nest functions just as you have described. The order of operations will be from inside to out.
In your above example, the FORMATDATE() function would format the 'reporting_month_date' and would then CONCAT() ' - Sales'. Do keep in mind column type casting as it may come into play when attempting to append a STRING to a DATE type.
For additional information, please review our documentation pertaining to Datameer Functions:
https://documentation.datameer.com/documentation/display/DAS70/Datameer+Functions
Cheers,
Brian
Comment actions
Please sign in to leave a comment.
Comments
2 comments