Example

{% pivot value="date" date_grain="year" /%}

Attributes

value
String
required
fmt
String
date_grain
String
Time grain for date truncation (default: day for date columns)
sort
String
Sort direction for this pivot column. When specified, the table will be sorted by this column.

Allowed Parents