web-app-demos/apps/reporter/reports/pivot_table.toml
2025-03-17 16:11:01 -06:00

143 lines
No EOL
2.7 KiB
TOML

title = "Pivot Table"
description = "A pivot table is a data summary using aggregate functions (like sum, average, count, etc) by one or more categories."
[[columns]]
#This space intentionally left blank
[[options]]
name = "Order Date"
group = "date"
[[options.controls]]
type = "date"
label = "From"
key = "from"
default = "1996-07-04"
[[options.controls]]
type = "date"
label = "To"
key = "to"
default = "1997-02-12"
[[options]]
name = "Rows"
group = "rows"
[[options.controls]]
label = "Month"
type = "option"
key = "month"
default = "checked"
[[options.controls]]
label = "Year"
type = "option"
key = "year"
[[options.controls]]
label = "Employee"
type = "option"
key = "employee"
[[options.controls]]
label = "Shipper"
type = "option"
key = "shipper"
[[options.controls]]
label = "Customer"
type = "option"
key = "customer"
[[options.controls]]
label = "Supplier"
type = "option"
key = "supplier"
[[options.controls]]
label = "Category"
type = "option"
key = "category"
[[options.controls]]
label = "Product"
type = "option"
key = "product"
[[options]]
name = "Columns"
group = "columns"
[[options.controls]]
label = "None"
type = "option"
key = "none"
default = "checked"
[[options.controls]]
label = "Month"
type = "option"
key = "month"
[[options.controls]]
label = "Year"
type = "option"
key = "year"
[[options.controls]]
label = "Employee"
type = "option"
key = "employee"
[[options.controls]]
label = "Shipper"
type = "option"
key = "shipper"
[[options.controls]]
label = "Category"
type = "option"
key = "category"
[[options]]
name = "Values"
group = "values"
[[options.controls]]
label = "Order Value"
type = "option"
key = "sales"
default = "checked"
[[options.controls]]
label = "Item Quantity"
type = "option"
key = "qty"
[[options]]
name = "Product Category"
group = "category"
helper = "checkbox"
[[options.controls]]
type = "checkbox"
label = "Beverages"
key = "1"
default = "checked"
[[options.controls]]
type = "checkbox"
label = "Condiments"
key = "2"
default = "checked"
[[options.controls]]
type = "checkbox"
label = "Confections"
key = "3"
default = "checked"
[[options.controls]]
type = "checkbox"
label = "Dairy Products"
key = "4"
default = "checked"
[[options.controls]]
type = "checkbox"
label = "Grains/Cereals"
key = "5"
default = "checked"
[[options.controls]]
type = "checkbox"
label = "Meat/Poultry"
key = "6"
default = "checked"
[[options.controls]]
type = "checkbox"
label = "Produce"
key = "7"
default = "checked"
[[options.controls]]
type = "checkbox"
label = "Seafood"
key = "8"
default = "checked"