KNOWLEDGE BASE

Show the Latest Date of Data Source as Default Value in Parameter


Pubblicato: 13 Oct 2020
Data dell'ultima modifica: 09 Dec 2022

Domanda

How to set a parameter to show the latest Date in the data source.

Ambiente

  • Tableau Desktop 2020.1 and later

Risposta

Use Dynamic Parameter (available in Tableau Desktop 2020.1 and later).

1. Create a calculation field to get the latest date in the data source
Field name: ! Max Date
Calculation: {MAX([Order Date])}

2. Create a Parameter, set the [Data type] to [Date], and set [Value when workbook opens:] to [! Max Date]
Con questo articolo hai risolto il problema?