Is It possible to keep the groupby field list dynamic in transform type “aggregate” and allow the user to pass one or more fields to groupby operation during usage time ?
Hi
I solved similar problem with creating multiple data sources with type as formula column, then filter it based on signal input:
signals: [
{
name: Zobrazení
value: Celkově
bind: {
input: radio
options: ["Celkově", "Po zaměstnancích"]
}
]
...
{
name: table_zam
source: ["funkce_zam"]
transform: [...
{type: "formula", expr: "('Po zaměstnancích')", as: "tab"}
]
}
{
name: table_all
source: ["funkce_all"]
transform: [...
{type: "formula", expr: "('Celkově')", as: "tab"}
]
}
{
name: table
source: ["table_all", "table_zam"]
transform: [
{type: "filter", expr: "datum.tab === Zobrazení"}
]
}
Misa
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.