How do I find the last date and first date for a given month?
Solved! Go to Solution.
Hi - There is no direct function to do this. However, you'll need multiple steps to achieve this.
Hope this helps
Best
Vardan
@Gabby Deal? Does this answer your query or is it something else you are looking for?
Thanks for the work around approach. I wish there was a simple transformation to do this instead of doing in so many steps. Can't Trifacta add this?
You can create a Macro of the 4 steps I described and use them across the flows. That way you don't have to write these steps and just use 1 step to invoke the Macro. However, i'll take your request as a feedback and channel it across to Product Management team.
@Gabby Deal? I forgot to mention this, but you can also choose multiple First Day on Month and Last Day Macros from our public macros repo.
Here's the link https://community.trifacta.com/s/wrangle-exchange
You can also navigate from the tool and select ? --> Wrangle Exchange