Fluxo UIFluxo UIv0.6.2

Parameters

Parameters are host-owned inputs. The host passes them in via parameterValues; the user edits them in the parameter panel and confirms with Apply. Nothing inside the viewer writes to parameters — drills / clicks go to Variables instead.

Each section below is a live report. Toggle the parameter panel via the Settings icon in the viewer toolbar, enter values, and press Apply to refresh.

1 · Simple types (text, numeric, date, date-range)

The text, numeric, date-picker, and date-range-picker parameter types combined into a multi-clause rowVisibleExpr.

All four inputs are parameters. Enter values in the panel and press Apply. The table's rowVisibleExpr combines them with IsEmpty guards so leaving a field blank disables its filter.

Order
Date
Units
Revenue
ORD-10002025-04-0113$689
ORD-10012025-07-211$70
ORD-10022025-06-251$60
ORD-10032025-07-165$357
ORD-10042025-08-0614$4,942
ORD-10052025-04-2910$470
ORD-10062025-09-293$261
ORD-10072025-04-089$738
ORD-10082025-04-1416$888
ORD-10092025-05-174$1,392
ORD-10102025-10-138$440
ORD-10112025-01-1615$5,073
ORD-10122025-02-2612$492
ORD-10132025-06-1313$949
ORD-10142025-08-187$413
ORD-10152025-09-259$540
ORD-10162025-03-108$584
ORD-10172025-06-1714$812
ORD-10182025-10-1714$588
ORD-10192025-08-0215$5,895
ORD-10202025-05-2612$936
ORD-10212025-05-217$296
ORD-10222025-02-1819$779
ORD-10232025-08-2012$432
ORD-10242025-01-262$71
ORD-10252025-10-0211$3,080
ORD-10262025-09-257$315
ORD-10272025-04-1213$728
ORD-10282025-10-0413$689
ORD-10292025-09-0115$915
ORD-10302025-05-199$3,078
ORD-10312025-10-0414$3,485
ORD-10322025-02-0213$585
ORD-10332025-09-1614$859
ORD-10342025-04-2313$3,302
ORD-10352025-09-129$477
ORD-10362025-09-125$1,350
ORD-10372025-11-1212$451
ORD-10382025-06-174$204
ORD-10392025-02-2220$1,180
ORD-10402025-01-1218$1,188
ORD-10412025-08-0617$697
ORD-10422025-08-221$72
ORD-10432025-07-0710$500
ORD-10442025-01-0319$779
ORD-10452025-11-2020$1,180
ORD-10462025-08-1316$656
ORD-10472025-01-173$186
ORD-10482025-08-1418$1,134
ORD-10492025-06-2420$760
ORD-10502025-07-144$303
ORD-10512025-01-202$122
ORD-10522025-04-254$228
ORD-10532025-05-1612$402
ORD-10542025-08-0820$1,060
ORD-10552025-11-2111$526
ORD-10562025-06-198$256
ORD-10572025-10-2414$1,008
ORD-10582025-07-269$341
ORD-10592025-06-0114$3,780
ORD-10602025-09-272$122
ORD-10612025-09-0619$1,292
ORD-10622025-06-2611$3,729
ORD-10632025-10-318$392
ORD-10642025-03-2012$852
ORD-10652025-02-211$37
ORD-10662025-04-2615$960
ORD-10672025-09-0612$684
ORD-10682025-01-078$2,056
ORD-10692025-03-0414$714
ORD-10702025-01-0117$1,037
ORD-10712025-07-2914$600
ORD-10722025-07-035$1,275
ORD-10732025-04-296$216
ORD-10742025-07-259$489
ORD-10752025-05-219$2,718
ORD-10762025-06-1016$688
ORD-10772025-10-262$90
ORD-10782025-01-2119$1,501
ORD-10792025-02-216$336

2 · Selection types (dropdown, radio, multi-select, chips, checkbox)

Single-value and multi-value selection types. Note the chips type accepting free text in addition to its suggestions.

Selection controls feeding a rowVisibleExpr. Multi-select returns an array, so InList() is the right combinator; chips are the same shape. Checkbox defaults to false; use IIf to turn it into a filter clause only when checked.

Order
Region
Category
Product
Status
Revenue
ORD-1000EastSportsWater Bottleshipped$689
ORD-1001WestApparelT-Shirtpending$70
ORD-1002EastApparelT-Shirtcancelled$60
ORD-1003WestApparelT-Shirtshipped$357
ORD-1004WestElectronicsWireless Budspaid$4,942
ORD-1005WestSportsYoga Matpaid$470
ORD-1006EastApparelSneakersshipped$261
ORD-1007SouthApparelSneakerscancelled$738
ORD-1008WestHomeThrow Pillowpending$888
ORD-1009NorthElectronicsSmart Watchpaid$1,392
ORD-1010EastApparelJacketpaid$440
ORD-1011WestElectronicsSmart Watchpaid$5,073
ORD-1012NorthSportsWater Bottlepaid$492
ORD-1013SouthApparelJeanspaid$949
ORD-1014SouthApparelSneakerspaid$413
ORD-1015EastApparelJeansrefunded$540
ORD-1016WestApparelT-Shirtcancelled$584
ORD-1017WestHomeDesk Lamppaid$812
ORD-1018EastSportsWater Bottleshipped$588
ORD-1019SouthElectronicsWireless Budspaid$5,895
ORD-1020EastApparelT-Shirtpaid$936
ORD-1021NorthHomeThrow Pillowshipped$296
ORD-1022EastHomeThrow Pillowpaid$779
ORD-1023EastSportsYoga Matpaid$432
ORD-1024EastHomeCandle Setpaid$71
ORD-1025EastElectronicsWireless Budspaid$3,080
ORD-1026SouthSportsRunning Shoesshipped$315
ORD-1027EastHomeCandle Setcancelled$728
ORD-1028WestSportsDumbbellsshipped$689
ORD-1029SouthApparelJeanscancelled$915
ORD-1030EastElectronicsWireless Budspending$3,078
ORD-1031NorthElectronicsLaptop Procancelled$3,485
ORD-1032SouthHomeCandle Setpaid$585
ORD-1033SouthHomeThrow Pillowpaid$859
ORD-1034SouthElectronicsUSB Hubcancelled$3,302
ORD-1035SouthSportsWater Bottlepaid$477
ORD-1036WestElectronicsSmart Watchpaid$1,350
ORD-1037EastSportsWater Bottlepaid$451
ORD-1038WestSportsDumbbellspending$204
ORD-1039NorthHomeRug 5x8pending$1,180
ORD-1040EastApparelJeansshipped$1,188
ORD-1041EastHomeDesk Lampcancelled$697
ORD-1042SouthApparelJeanspaid$72
ORD-1043WestHomeCandle Setpaid$500
ORD-1044NorthHomeCandle Setshipped$779
ORD-1045EastHomeCandle Setrefunded$1,180
ORD-1046NorthSportsYoga Matrefunded$656
ORD-1047WestApparelT-Shirtcancelled$186
ORD-1048EastApparelJacketpaid$1,134
ORD-1049SouthSportsWater Bottleshipped$760
ORD-1050EastApparelSneakerspaid$303
ORD-1051EastHomeCandle Setpaid$122
ORD-1052NorthHomeDesk Lampcancelled$228
ORD-1053EastSportsWater Bottlepending$402
ORD-1054SouthSportsDumbbellspaid$1,060
ORD-1055WestSportsYoga Matpaid$526
ORD-1056WestSportsYoga Matpaid$256
ORD-1057SouthApparelJeansshipped$1,008
ORD-1058WestHomeThrow Pillowpending$341
ORD-1059SouthElectronicsSmart Watchpaid$3,780
ORD-1060SouthApparelJeansshipped$122
ORD-1061WestApparelT-Shirtpending$1,292
ORD-1062WestElectronicsLaptop Propaid$3,729
ORD-1063EastSportsRunning Shoespaid$392
ORD-1064SouthApparelSneakersrefunded$852
ORD-1065EastSportsYoga Matpaid$37
ORD-1066EastApparelJacketshipped$960
ORD-1067NorthApparelT-Shirtpaid$684
ORD-1068NorthElectronicsUSB Hubpaid$2,056
ORD-1069SouthSportsRunning Shoespaid$714
ORD-1070WestHomeRug 5x8paid$1,037
ORD-1071NorthSportsWater Bottlepaid$600
ORD-1072EastElectronicsWireless Budsrefunded$1,275
ORD-1073WestSportsRunning Shoespaid$216
ORD-1074EastHomeDesk Lamppending$489
ORD-1075WestElectronicsSmart Watchshipped$2,718
ORD-1076NorthHomeRug 5x8cancelled$688
ORD-1077SouthSportsRunning Shoesrefunded$90
ORD-1078SouthApparelSneakersrefunded$1,501
ORD-1079SouthApparelT-Shirtpending$336

3 · Validation rules

Declarative rules: mandatory, regex + regexMessage, min/max value, min/max length, min/max items, allowedFileTypes.

    Enter the required parameters to run this report.

    Every rule is declarative: mandatory, regex, min/max value, min/max length, min/max items, allowedFileTypes, maxFileSize. The parameter panel shows inline errors and disables Apply until all mandatory + valid rules pass.

    ID
    Name
    Department
    Salary
    No data available.

    4 · Dataset-bound options

    A dropdown and an autocomplete each draw their options from a datasource. Ideal for long lists that live server-side.

    Parameters can draw options from a datasource instead of hard-coding them. Set datasetId + displayField + valueField on the parameter. The viewer rebuilds the options on every datasource fetch, so parameter-driven datasets compose naturally.

    Order
    Region
    Country
    Product
    Revenue
    ORD-1000EastGermanyWater Bottle$689
    ORD-1001WestAustraliaT-Shirt$70
    ORD-1002EastUKT-Shirt$60
    ORD-1003WestJapanT-Shirt$357
    ORD-1004WestIndiaWireless Buds$4,942
    ORD-1005WestIndiaYoga Mat$470
    ORD-1006EastFranceSneakers$261
    ORD-1007SouthBrazilSneakers$738
    ORD-1008WestIndiaThrow Pillow$888
    ORD-1009NorthCanadaSmart Watch$1,392
    ORD-1010EastFranceJacket$440
    ORD-1011WestAustraliaSmart Watch$5,073
    ORD-1012NorthUSAWater Bottle$492
    ORD-1013SouthBrazilJeans$949
    ORD-1014SouthMexicoSneakers$413
    ORD-1015EastUKJeans$540
    ORD-1016WestAustraliaT-Shirt$584
    ORD-1017WestAustraliaDesk Lamp$812
    ORD-1018EastFranceWater Bottle$588
    ORD-1019SouthBrazilWireless Buds$5,895
    ORD-1020EastUKT-Shirt$936
    ORD-1021NorthCanadaThrow Pillow$296
    ORD-1022EastGermanyThrow Pillow$779
    ORD-1023EastUKYoga Mat$432
    ORD-1024EastFranceCandle Set$71
    ORD-1025EastFranceWireless Buds$3,080
    ORD-1026SouthBrazilRunning Shoes$315
    ORD-1027EastGermanyCandle Set$728
    ORD-1028WestJapanDumbbells$689
    ORD-1029SouthBrazilJeans$915
    ORD-1030EastGermanyWireless Buds$3,078
    ORD-1031NorthUSALaptop Pro$3,485
    ORD-1032SouthBrazilCandle Set$585
    ORD-1033SouthBrazilThrow Pillow$859
    ORD-1034SouthMexicoUSB Hub$3,302
    ORD-1035SouthMexicoWater Bottle$477
    ORD-1036WestJapanSmart Watch$1,350
    ORD-1037EastUKWater Bottle$451
    ORD-1038WestJapanDumbbells$204
    ORD-1039NorthUSARug 5x8$1,180
    ORD-1040EastFranceJeans$1,188
    ORD-1041EastUKDesk Lamp$697
    ORD-1042SouthBrazilJeans$72
    ORD-1043WestJapanCandle Set$500
    ORD-1044NorthCanadaCandle Set$779
    ORD-1045EastGermanyCandle Set$1,180
    ORD-1046NorthUSAYoga Mat$656
    ORD-1047WestIndiaT-Shirt$186
    ORD-1048EastFranceJacket$1,134
    ORD-1049SouthMexicoWater Bottle$760
    ORD-1050EastFranceSneakers$303
    ORD-1051EastGermanyCandle Set$122
    ORD-1052NorthCanadaDesk Lamp$228
    ORD-1053EastGermanyWater Bottle$402
    ORD-1054SouthBrazilDumbbells$1,060
    ORD-1055WestIndiaYoga Mat$526
    ORD-1056WestJapanYoga Mat$256
    ORD-1057SouthBrazilJeans$1,008
    ORD-1058WestIndiaThrow Pillow$341
    ORD-1059SouthMexicoSmart Watch$3,780
    ORD-1060SouthBrazilJeans$122
    ORD-1061WestAustraliaT-Shirt$1,292
    ORD-1062WestIndiaLaptop Pro$3,729
    ORD-1063EastGermanyRunning Shoes$392
    ORD-1064SouthMexicoSneakers$852
    ORD-1065EastGermanyYoga Mat$37
    ORD-1066EastGermanyJacket$960
    ORD-1067NorthCanadaT-Shirt$684
    ORD-1068NorthCanadaUSB Hub$2,056
    ORD-1069SouthMexicoRunning Shoes$714
    ORD-1070WestJapanRug 5x8$1,037
    ORD-1071NorthUSAWater Bottle$600
    ORD-1072EastGermanyWireless Buds$1,275
    ORD-1073WestIndiaRunning Shoes$216
    ORD-1074EastGermanyDesk Lamp$489
    ORD-1075WestJapanSmart Watch$2,718
    ORD-1076NorthCanadaRug 5x8$688
    ORD-1077SouthMexicoRunning Shoes$90
    ORD-1078SouthBrazilSneakers$1,501
    ORD-1079SouthMexicoT-Shirt$336

    Apply-on-click flow

    The parameter panel buffers edits locally until the user presses Apply. That one-shot commit is on purpose:

    • Single datasource refetch per user intent. Every parameter flows into every datasource plugin’s fetch(config, parameters). Applying once avoids hammering the plugin on every keystroke of a free-text filter.
    • URL hash stays stable. When syncParamsToHash is on, the hash updates only on Apply, so a shared link exactly reproduces what the user intended.
    • Validation runs before commit. Apply is disabled until every mandatory / regex / min-max rule passes — no intermediate invalid state leaks into parameterValues.
    • onParameterChange fires on Apply, not on keystroke. The host-visible state is always valid.