Tableau Desktop snippets
How to calculate first day of next two Months
Suppose to start from a Tableau Desktop workbook with the data of Star Wars saga movies release date.
// Number of days next Month DAY( DATEADD('day', -1, DATEADD('month', 2, DATETRUNC('month', [US Release Date]) ) ) )
You can download a working example of this Tableau Desktop workbook in the Resources area.