Search results

How to show Timestamp data in widget’s title

You can show Timestamp information in the widget’s title by using the corresponding timestamp column in Label Parameter and that timestamp column should be present in the data source.

The following is the list of supported date formatting. If you did not apply any formatting, the actual value of the timestamp column will be rendered in the widget’s title.

Date Foramtting Type Syntax
Date Time {{:DateTime(Column_Name)}}
Date {{:Date(Column_Name)}}
Year {{:Year(Column_Name)}}
Quarter Year {{:QuarterYear(Column_Name)}}
Month Year {{:MonthYear(Column_Name)}}
Week Year {{:WeekYear(Column_Name)}}
Day Month Year {{:DayMonthYear(Column_Name)}}
Month Day Year {{:MonthDayYear(Column_Name)}}

Follow these steps to achieve this requirement:

  1. Configure any widget with the required fields. In this example, we have configured the KPI Card with the required fields in the Assign Data tab

    Configure KPI Card widget

  2. Navigate to the Properties tab and in the widget title and add a label parameter with the timestamp column name.

    Syntax: {{:ColumnName}}

    Timestamp Column in Datasource

    Add Timestamp in Label Parameter

  3. In preview, you can view the data of a widget with the corresponding timestamp like the screenshot below:

    KPI Card with Timestamp