KNOWLEDGE BASE

Set Date Format Parameter In mm/yyyy


Published: 30 Oct 2020
Last Modified Date: 02 Nov 2020

Question

Configure date parameter in mm/yyyy format

Environment

  • Tableau Desktop

Answer

Option1 :

Creating a calculation : STR(DATEPART('month',[Order Date]))+"-"+STR(DATEPART('year',[Order Date]))

Using this as a String parameter 
User-added image

Option 2:

Date Parameter with custom format

User-added image
Did this article resolve the issue?