multiple functions on a column?

Answered

Comments

2 comments

  • Official comment
    Brian Junio

    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 Permalink
  • Sharon

    Thank you, Brian!  I asked because when I ran my nested version, it returned blanks with no error.  I'm not sure why.  Thank you for the confirmation!

    0
    Comment actions Permalink

Please sign in to leave a comment.