Fluxo UIFluxo UIv0.4.1

Report Builder Examples

Eight worked examples showing how parameters, grouping, column trees, conditional visibility, cell items, head/footer rows, validation, and sub-report inclusion compose into real-world reports. Every example ships with its full JSON definition and a list of the key expressions used.

Tip: open the Definition tab inside each example to see the exact JSON that drives it. Copy-paste into your own ReportViewer as a starting point.

1 · Parameter-driven filtering

Date-range + multi-select + dropdown + numeric + chips parameters combine into a single rowVisibleExpr. Leave any filter blank to skip it.

Order Search

Use the filters on the left to narrow down the results. Leave a filter blank to ignore it.

Order
Date
Region
Category
Product
Status
Revenue
ORD-10002025-04-01EastSportsWater Bottleshipped$689
ORD-10012025-07-21WestApparelT-Shirtpending$70
ORD-10022025-06-25EastApparelT-Shirtcancelled$60
ORD-10032025-07-16WestApparelT-Shirtshipped$357
ORD-10042025-08-06WestElectronicsWireless Budspaid$4,942
ORD-10052025-04-29WestSportsYoga Matpaid$470
ORD-10062025-09-29EastApparelSneakersshipped$261
ORD-10072025-04-08SouthApparelSneakerscancelled$738
ORD-10082025-04-14WestHomeThrow Pillowpending$888
ORD-10092025-05-17NorthElectronicsSmart Watchpaid$1,392
ORD-10102025-10-13EastApparelJacketpaid$440
ORD-10112025-01-16WestElectronicsSmart Watchpaid$5,073
ORD-10122025-02-26NorthSportsWater Bottlepaid$492
ORD-10132025-06-13SouthApparelJeanspaid$949
ORD-10142025-08-18SouthApparelSneakerspaid$413
ORD-10152025-09-25EastApparelJeansrefunded$540
ORD-10162025-03-10WestApparelT-Shirtcancelled$584
ORD-10172025-06-17WestHomeDesk Lamppaid$812
ORD-10182025-10-17EastSportsWater Bottleshipped$588
ORD-10192025-08-02SouthElectronicsWireless Budspaid$5,895
ORD-10202025-05-26EastApparelT-Shirtpaid$936
ORD-10212025-05-21NorthHomeThrow Pillowshipped$296
ORD-10222025-02-18EastHomeThrow Pillowpaid$779
ORD-10232025-08-20EastSportsYoga Matpaid$432
ORD-10242025-01-26EastHomeCandle Setpaid$71
ORD-10252025-10-02EastElectronicsWireless Budspaid$3,080
ORD-10262025-09-25SouthSportsRunning Shoesshipped$315
ORD-10272025-04-12EastHomeCandle Setcancelled$728
ORD-10282025-10-04WestSportsDumbbellsshipped$689
ORD-10292025-09-01SouthApparelJeanscancelled$915
ORD-10302025-05-19EastElectronicsWireless Budspending$3,078
ORD-10312025-10-04NorthElectronicsLaptop Procancelled$3,485
ORD-10322025-02-02SouthHomeCandle Setpaid$585
ORD-10332025-09-16SouthHomeThrow Pillowpaid$859
ORD-10342025-04-23SouthElectronicsUSB Hubcancelled$3,302
ORD-10352025-09-12SouthSportsWater Bottlepaid$477
ORD-10362025-09-12WestElectronicsSmart Watchpaid$1,350
ORD-10372025-11-12EastSportsWater Bottlepaid$451
ORD-10382025-06-17WestSportsDumbbellspending$204
ORD-10392025-02-22NorthHomeRug 5x8pending$1,180
ORD-10402025-01-12EastApparelJeansshipped$1,188
ORD-10412025-08-06EastHomeDesk Lampcancelled$697
ORD-10422025-08-22SouthApparelJeanspaid$72
ORD-10432025-07-07WestHomeCandle Setpaid$500
ORD-10442025-01-03NorthHomeCandle Setshipped$779
ORD-10452025-11-20EastHomeCandle Setrefunded$1,180
ORD-10462025-08-13NorthSportsYoga Matrefunded$656
ORD-10472025-01-17WestApparelT-Shirtcancelled$186
ORD-10482025-08-14EastApparelJacketpaid$1,134
ORD-10492025-06-24SouthSportsWater Bottleshipped$760
ORD-10502025-07-14EastApparelSneakerspaid$303
ORD-10512025-01-20EastHomeCandle Setpaid$122
ORD-10522025-04-25NorthHomeDesk Lampcancelled$228
ORD-10532025-05-16EastSportsWater Bottlepending$402
ORD-10542025-08-08SouthSportsDumbbellspaid$1,060
ORD-10552025-11-21WestSportsYoga Matpaid$526
ORD-10562025-06-19WestSportsYoga Matpaid$256
ORD-10572025-10-24SouthApparelJeansshipped$1,008
ORD-10582025-07-26WestHomeThrow Pillowpending$341
ORD-10592025-06-01SouthElectronicsSmart Watchpaid$3,780
ORD-10602025-09-27SouthApparelJeansshipped$122
ORD-10612025-09-06WestApparelT-Shirtpending$1,292
ORD-10622025-06-26WestElectronicsLaptop Propaid$3,729
ORD-10632025-10-31EastSportsRunning Shoespaid$392
ORD-10642025-03-20SouthApparelSneakersrefunded$852
ORD-10652025-02-21EastSportsYoga Matpaid$37
ORD-10662025-04-26EastApparelJacketshipped$960
ORD-10672025-09-06NorthApparelT-Shirtpaid$684
ORD-10682025-01-07NorthElectronicsUSB Hubpaid$2,056
ORD-10692025-03-04SouthSportsRunning Shoespaid$714
ORD-10702025-01-01WestHomeRug 5x8paid$1,037
ORD-10712025-07-29NorthSportsWater Bottlepaid$600
ORD-10722025-07-03EastElectronicsWireless Budsrefunded$1,275
ORD-10732025-04-29WestSportsRunning Shoespaid$216
ORD-10742025-07-25EastHomeDesk Lamppending$489
ORD-10752025-05-21WestElectronicsSmart Watchshipped$2,718
ORD-10762025-06-10NorthHomeRug 5x8cancelled$688
ORD-10772025-10-26SouthSportsRunning Shoesrefunded$90
ORD-10782025-01-21SouthApparelSneakersrefunded$1,501
ORD-10792025-02-21SouthApparelT-Shirtpending$336

2 · Multi-level row groups with aggregates

Region → Category → Orders. Parent groups collapse; details rows show individual orders; footer rows use Sum, Count, and FormatCurrency.

Regional Sales Breakdown

Data is grouped by Region → Category. Expand/collapse parent rows by clicking the group header. Footer rows show per-group aggregates using RowGroup context.

Order
Date
Product
Sales Rep
Units
Revenue
Margin
% of Region
regionGroup:East
categoryGroup:Apparel
ORD-10022025-06-25T-ShirtB. Patel1$6045.0%0.3%
ORD-10062025-09-29SneakersB. Patel3$26136.8%1.3%
ORD-10102025-10-13JacketD. García8$44042.3%2.2%
ORD-10152025-09-25JeansF. O'Brien9$54044.4%2.7%
ORD-10202025-05-26T-ShirtA. Chen12$93639.3%4.6%
ORD-10402025-01-12JeansC. Nguyen18$1,18850.0%5.8%
ORD-10482025-08-14JacketF. O'Brien18$1,13437.0%5.6%
ORD-10502025-07-14SneakersG. Müller4$30340.9%1.5%
ORD-10662025-04-26JacketF. O'Brien15$96049.7%4.7%
categoryGroup:Electronics
ORD-10252025-10-02Wireless BudsC. Nguyen11$3,08036.0%15.2%
ORD-10302025-05-19Wireless BudsH. Tanaka9$3,07844.6%15.2%
ORD-10722025-07-03Wireless BudsH. Tanaka5$1,27554.2%6.3%
categoryGroup:Home
ORD-10222025-02-18Throw PillowB. Patel19$77946.3%3.8%
ORD-10242025-01-26Candle SetE. Johnson2$7142.3%0.3%
ORD-10272025-04-12Candle SetH. Tanaka13$72847.3%3.6%
ORD-10412025-08-06Desk LampH. Tanaka17$69744.0%3.4%
ORD-10452025-11-20Candle SetF. O'Brien20$1,18038.8%5.8%
ORD-10512025-01-20Candle SetG. Müller2$12244.3%0.6%
ORD-10742025-07-25Desk LampH. Tanaka9$48953.0%2.4%
categoryGroup:Sports
ORD-10002025-04-01Water BottleB. Patel13$68950.1%3.4%
ORD-10182025-10-17Water BottleC. Nguyen14$58842.5%2.9%
ORD-10232025-08-20Yoga MatC. Nguyen12$43240.0%2.1%
ORD-10372025-11-12Water BottleF. O'Brien12$45140.8%2.2%
ORD-10532025-05-16Water BottleD. García12$40240.3%2.0%
ORD-10632025-10-31Running ShoesA. Chen8$39246.2%1.9%
ORD-10652025-02-21Yoga MatD. García1$3740.5%0.2%
regionGroup:North
categoryGroup:Apparel
ORD-10672025-09-06T-ShirtH. Tanaka12$68437.4%5.5%
categoryGroup:Electronics
ORD-10092025-05-17Smart WatchF. O'Brien4$1,39250.9%11.1%
ORD-10312025-10-04Laptop ProD. García14$3,48541.0%27.8%
ORD-10682025-01-07USB HubD. García8$2,05645.4%16.4%
categoryGroup:Home
ORD-10212025-05-21Throw PillowD. García7$29649.7%2.4%
ORD-10392025-02-22Rug 5x8D. García20$1,18050.9%9.4%
ORD-10442025-01-03Candle SetG. Müller19$77945.3%6.2%
ORD-10522025-04-25Desk LampD. García4$22853.9%1.8%
ORD-10762025-06-10Rug 5x8H. Tanaka16$68842.0%5.5%
categoryGroup:Sports
ORD-10122025-02-26Water BottleH. Tanaka12$49246.3%3.9%
ORD-10462025-08-13Yoga MatD. García16$65645.9%5.2%
ORD-10712025-07-29Water BottleF. O'Brien14$60050.5%4.8%
regionGroup:South
categoryGroup:Apparel
ORD-10072025-04-08SneakersC. Nguyen9$73835.1%3.0%
ORD-10132025-06-13JeansH. Tanaka13$94950.3%3.8%
ORD-10142025-08-18SneakersB. Patel7$41354.2%1.7%
ORD-10292025-09-01JeansF. O'Brien15$91536.9%3.7%
ORD-10422025-08-22JeansE. Johnson1$7240.3%0.3%
ORD-10572025-10-24JeansB. Patel14$1,00843.3%4.1%
ORD-10602025-09-27JeansE. Johnson2$12237.7%0.5%
ORD-10642025-03-20SneakersG. Müller12$85240.4%3.4%
ORD-10782025-01-21SneakersC. Nguyen19$1,50149.0%6.1%
ORD-10792025-02-21T-ShirtA. Chen6$33653.3%1.4%
categoryGroup:Electronics
ORD-10192025-08-02Wireless BudsA. Chen15$5,89545.7%23.8%
ORD-10342025-04-23USB HubE. Johnson13$3,30239.0%13.3%
ORD-10592025-06-01Smart WatchC. Nguyen14$3,78050.7%15.3%
categoryGroup:Home
ORD-10322025-02-02Candle SetH. Tanaka13$58549.4%2.4%
ORD-10332025-09-16Throw PillowE. Johnson14$85954.4%3.5%
categoryGroup:Sports
ORD-10262025-09-25Running ShoesF. O'Brien7$31544.1%1.3%
ORD-10352025-09-12Water BottleB. Patel9$47745.1%1.9%
ORD-10492025-06-24Water BottleC. Nguyen20$76053.6%3.1%
ORD-10542025-08-08DumbbellsE. Johnson20$1,06048.1%4.3%
ORD-10692025-03-04Running ShoesB. Patel14$71438.0%2.9%
ORD-10772025-10-26Running ShoesD. García2$9050.0%0.4%
regionGroup:West
categoryGroup:Apparel
ORD-10012025-07-21T-ShirtE. Johnson1$7054.3%0.3%
ORD-10032025-07-16T-ShirtA. Chen5$35740.3%1.4%
ORD-10162025-03-10T-ShirtE. Johnson8$58445.2%2.2%
ORD-10472025-01-17T-ShirtC. Nguyen3$18647.3%0.7%
ORD-10612025-09-06T-ShirtF. O'Brien19$1,29251.8%4.9%
categoryGroup:Electronics
ORD-10042025-08-06Wireless BudsC. Nguyen14$4,94253.2%18.8%
ORD-10112025-01-16Smart WatchD. García15$5,07348.3%19.3%
ORD-10362025-09-12Smart WatchF. O'Brien5$1,35043.0%5.1%
ORD-10622025-06-26Laptop ProG. Müller11$3,72944.5%14.2%
ORD-10752025-05-21Smart WatchE. Johnson9$2,71840.5%10.4%
categoryGroup:Home
ORD-10082025-04-14Throw PillowA. Chen16$88838.5%3.4%
ORD-10172025-06-17Desk LampA. Chen14$81238.7%3.1%
ORD-10432025-07-07Candle SetD. García10$50040.0%1.9%
ORD-10582025-07-26Throw PillowE. Johnson9$34147.2%1.3%
ORD-10702025-01-01Rug 5x8G. Müller17$1,03750.4%4.0%
categoryGroup:Sports
ORD-10052025-04-29Yoga MatA. Chen10$47053.4%1.8%
ORD-10282025-10-04DumbbellsC. Nguyen13$68952.0%2.6%
ORD-10382025-06-17DumbbellsB. Patel4$20435.3%0.8%
ORD-10552025-11-21Yoga MatB. Patel11$52643.0%2.0%
ORD-10562025-06-19Yoga MatH. Tanaka8$25642.6%1.0%
ORD-10732025-04-29Running ShoesG. Müller6$21644.0%0.8%
Grand Total860$83,83180 orders

3 · Nested column groups

Columns organised into three top-level groups. The header matrix renders with proper colSpan (group cells) and rowSpan (leaf cells spanning unused group depth).

Employee Roster

Columns are organised under three top-level groups (Personal, Role, Compensation). The header renders as a nested thead with colSpan/rowSpan.

PersonalRoleCompensation & Performance
ID
Name
Location
Department
Level
Hired
Tenure (yrs)
Salary
Perf.
EMP-0200Luis MartínezNYEngineeringJunior05/13/20224$68,8333.4
EMP-0201Carlos SilvaTokyoOperationsSenior07/09/20205.8$121,1883.2
EMP-0202Grace DuboisLondonEngineeringMid11/15/20196.5$97,0024.2
EMP-0203Carlos SilvaTokyoOperationsJunior01/03/20215.3$64,2243.8
EMP-0205Grace DuboisLondonMarketingLead12/04/20223.4$166,2294.9
EMP-0206Luis LeeSFMarketingLead01/14/20233.3$168,1064.5
EMP-0207Faisal SmithNYMarketingLead07/09/20232.8$150,2324.9
EMP-0208Hugo SmithTokyoMarketingJunior12/08/20232.4$71,2494.2
EMP-0209Grace LeeTokyoEngineeringLead05/06/20197$171,5394.2
EMP-0210Luis KhanTokyoMarketingSenior08/22/20205.7$119,7473.9
EMP-0212Faisal MartínezLondonEngineeringMid05/22/20214.9$100,0024.6
EMP-0213Grace DuboisTokyoMarketingMid04/23/20197$99,3663.6
EMP-0214Faisal DuboisSFSalesMid12/15/20214.4$88,4633.4
EMP-0215Kira KhanLondonMarketingLead09/26/20214.6$166,4344.3
EMP-0216Elena RossiTokyoMarketingLead09/20/20196.6$157,9352.9
EMP-0217Jun CostaLondonOperationsLead12/08/20205.4$159,7774.5
EMP-0218Hugo RossiLondonMarketingSenior06/04/20232.9$126,5974
EMP-0219Ben RossiTokyoOperationsJunior05/25/20223.9$68,2523.4
EMP-0220Jun SilvaNYOperationsSenior12/23/20241.4$119,1873
EMP-0221Hugo RossiSFOperationsMid09/02/20232.7$104,4873
EMP-0222Dana KhanLondonOperationsSenior06/12/20196.9$119,2003.5
EMP-0223Carlos MartínezLondonOperationsJunior04/23/20242$63,0603
EMP-0224Grace SharmaNYMarketingMid06/22/20223.9$98,5283.3
EMP-0225Aditi CostaLondonOperationsJunior06/16/20241.9$59,2663
EMP-0226Aditi LeeSFMarketingLead01/25/20215.3$153,8803.6
EMP-0227Jun MartínezLondonOperationsLead08/19/20241.7$157,7164.3
EMP-0228Hugo MartínezLondonEngineeringMid09/07/20214.7$92,9873.7
EMP-0229Grace SmithTokyoEngineeringSenior01/12/20224.3$132,8084.3
EMP-0230Jun KhanTokyoOperationsJunior06/07/20205.9$79,9924.9
EMP-0231Aditi MartínezSFSalesJunior03/01/20233.2$71,6224
EMP-0232Ines RossiLondonSalesSenior08/04/20196.7$126,3354.6
EMP-0233Grace DuboisLondonMarketingLead08/17/20223.7$169,0914.7
EMP-0234Ben RossiNYMarketingSenior03/25/20242.1$133,6784.6
EMP-0235Ines SmithTokyoEngineeringMid02/09/20206.2$82,3653.4
EMP-0236Aditi CostaSFEngineeringSenior12/17/20223.4$134,2543.6
EMP-0237Ines SilvaSFOperationsSenior03/02/20224.2$120,6283.2
EMP-0238Luis FischerNYEngineeringMid09/24/20223.6$84,9173.7
EMP-0239Elena SharmaSFEngineeringMid08/12/20196.7$81,0754.5
EMP-0240Luis CostaTokyoMarketingSenior11/23/20214.4$138,4134.4
EMP-0241Elena DuboisNYSalesLead07/16/20196.8$161,4674.8
EMP-0242Faisal SharmaLondonEngineeringSenior05/05/20197$133,3344.5
EMP-0243Kira LeeTokyoMarketingLead12/10/20241.4$169,8843.7
EMP-0244Ines SilvaLondonSalesLead09/18/20232.6$165,5093
EMP-0245Elena MartínezTokyoOperationsJunior07/12/20232.8$79,7584.2
EMP-0246Grace SilvaNYMarketingMid08/23/20232.7$84,8313
EMP-0247Elena DuboisLondonSalesSenior02/13/20206.2$117,5562.9

4 · Conditional sections via parameters

Every component honours styles.visible as an expression. This example switches between Executive / Manager / Analyst views plus optional charts and disclaimer.

Sales Dashboard

Switch the audience at left to see sections show/hide. Each component has styles.visible bound to an expression.

Executive Summary

One-page overview for leadership. Detailed breakdowns are hidden by design — switch to "Manager" or "Analyst" audience to see more.

Revenue Charts

Regional Detail

Region
Revenue
Flag
East$20,312
West$26,240
South$24,743
North$12,536

Raw Order Data (Analyst)

Region
Revenue
East20,312
West26,240
South24,743
North12,536

Disclaimer: Revenue figures are aggregated from raw order data and may not reflect finalised accounting. Figures subject to change.

5 · Cell items, drill-through, and conditional formatting

Each row shows drill-through on the Order ID, per-row URL on the tracking column, status badges via cellItems, and conditional formatting keyed on a parameter.

Order List

Each row mixes a drillable Order ID, status badge (via cell items), an external tracking link, a progress indicator, and a ★ flag for high-revenue rows.

Order ID
Product
Status
Revenue
Flag
Tracking
Water Bottle
Shipped
$689
T-Shirt
Pending
$70
T-Shirt
Cancelled
$60
T-Shirt
Shipped
$357
Wireless Buds
Paid
$4,942
Yoga Mat
Paid
$470
Sneakers
Shipped
$261
Sneakers
Cancelled
$738
Throw Pillow
Pending
$888
Smart Watch
Paid
$1,392
Jacket
Paid
$440
Smart Watch
Paid
$5,073
Water Bottle
Paid
$492
Jeans
Paid
$949
Sneakers
Paid
$413
Jeans
Refunded
$540
T-Shirt
Cancelled
$584
Desk Lamp
Paid
$812
Water Bottle
Shipped
$588
Wireless Buds
Paid
$5,895
T-Shirt
Paid
$936
Throw Pillow
Shipped
$296
Throw Pillow
Paid
$779
Yoga Mat
Paid
$432
Candle Set
Paid
$71
Wireless Buds
Paid
$3,080
Running Shoes
Shipped
$315
Candle Set
Cancelled
$728
Dumbbells
Shipped
$689
Jeans
Cancelled
$915
Wireless Buds
Pending
$3,078
Laptop Pro
Cancelled
$3,485
Candle Set
Paid
$585
Throw Pillow
Paid
$859
USB Hub
Cancelled
$3,302
Water Bottle
Paid
$477
Smart Watch
Paid
$1,350
Water Bottle
Paid
$451
Dumbbells
Pending
$204
Rug 5x8
Pending
$1,180
Jeans
Shipped
$1,188
Desk Lamp
Cancelled
$697
Jeans
Paid
$72
Candle Set
Paid
$500
Candle Set
Shipped
$779
Candle Set
Refunded
$1,180
Yoga Mat
Refunded
$656
T-Shirt
Cancelled
$186
Jacket
Paid
$1,134
Water Bottle
Shipped
$760
Sneakers
Paid
$303
Candle Set
Paid
$122
Desk Lamp
Cancelled
$228
Water Bottle
Pending
$402
Dumbbells
Paid
$1,060
Yoga Mat
Paid
$526
Yoga Mat
Paid
$256
Jeans
Shipped
$1,008
Throw Pillow
Pending
$341
Smart Watch
Paid
$3,780
Jeans
Shipped
$122
T-Shirt
Pending
$1,292
Laptop Pro
Paid
$3,729
Running Shoes
Paid
$392
Sneakers
Refunded
$852
Yoga Mat
Paid
$37
Jacket
Shipped
$960
T-Shirt
Paid
$684
USB Hub
Paid
$2,056
Running Shoes
Paid
$714
Rug 5x8
Paid
$1,037
Water Bottle
Paid
$600
Wireless Buds
Refunded
$1,275
Running Shoes
Paid
$216
Desk Lamp
Pending
$489
Smart Watch
Shipped
$2,718
Rug 5x8
Cancelled
$688
Running Shoes
Refunded
$90
Sneakers
Refunded
$1,501
T-Shirt
Pending
$336

Click an Order ID to drill through — the "Selected Order" parameter at the top fills in. Click "Track →" to follow a per-row URL (which is built from the row id).

6 · Head & footer rows with totals

Extra head/footer rows with arbitrary colSpan and inline expressions. Useful for banners, grand totals, and summary statistics below the data.

Statement of Account

Table head rows show an executive summary banner. Table footer rows show grand totals with inline expressions.

Order
Date
Region
Product
Units
Revenue
Region filter: All regions · Generated 2026-05-02
ORD-10002025-04-01EastWater Bottle13$689
ORD-10012025-07-21WestT-Shirt1$70
ORD-10022025-06-25EastT-Shirt1$60
ORD-10032025-07-16WestT-Shirt5$357
ORD-10042025-08-06WestWireless Buds14$4,942
ORD-10052025-04-29WestYoga Mat10$470
ORD-10062025-09-29EastSneakers3$261
ORD-10072025-04-08SouthSneakers9$738
ORD-10082025-04-14WestThrow Pillow16$888
ORD-10092025-05-17NorthSmart Watch4$1,392
ORD-10102025-10-13EastJacket8$440
ORD-10112025-01-16WestSmart Watch15$5,073
ORD-10122025-02-26NorthWater Bottle12$492
ORD-10132025-06-13SouthJeans13$949
ORD-10142025-08-18SouthSneakers7$413
ORD-10152025-09-25EastJeans9$540
ORD-10162025-03-10WestT-Shirt8$584
ORD-10172025-06-17WestDesk Lamp14$812
ORD-10182025-10-17EastWater Bottle14$588
ORD-10192025-08-02SouthWireless Buds15$5,895
ORD-10202025-05-26EastT-Shirt12$936
ORD-10212025-05-21NorthThrow Pillow7$296
ORD-10222025-02-18EastThrow Pillow19$779
ORD-10232025-08-20EastYoga Mat12$432
ORD-10242025-01-26EastCandle Set2$71
ORD-10252025-10-02EastWireless Buds11$3,080
ORD-10262025-09-25SouthRunning Shoes7$315
ORD-10272025-04-12EastCandle Set13$728
ORD-10282025-10-04WestDumbbells13$689
ORD-10292025-09-01SouthJeans15$915
ORD-10302025-05-19EastWireless Buds9$3,078
ORD-10312025-10-04NorthLaptop Pro14$3,485
ORD-10322025-02-02SouthCandle Set13$585
ORD-10332025-09-16SouthThrow Pillow14$859
ORD-10342025-04-23SouthUSB Hub13$3,302
ORD-10352025-09-12SouthWater Bottle9$477
ORD-10362025-09-12WestSmart Watch5$1,350
ORD-10372025-11-12EastWater Bottle12$451
ORD-10382025-06-17WestDumbbells4$204
ORD-10392025-02-22NorthRug 5x820$1,180
ORD-10402025-01-12EastJeans18$1,188
ORD-10412025-08-06EastDesk Lamp17$697
ORD-10422025-08-22SouthJeans1$72
ORD-10432025-07-07WestCandle Set10$500
ORD-10442025-01-03NorthCandle Set19$779
ORD-10452025-11-20EastCandle Set20$1,180
ORD-10462025-08-13NorthYoga Mat16$656
ORD-10472025-01-17WestT-Shirt3$186
ORD-10482025-08-14EastJacket18$1,134
ORD-10492025-06-24SouthWater Bottle20$760
ORD-10502025-07-14EastSneakers4$303
ORD-10512025-01-20EastCandle Set2$122
ORD-10522025-04-25NorthDesk Lamp4$228
ORD-10532025-05-16EastWater Bottle12$402
ORD-10542025-08-08SouthDumbbells20$1,060
ORD-10552025-11-21WestYoga Mat11$526
ORD-10562025-06-19WestYoga Mat8$256
ORD-10572025-10-24SouthJeans14$1,008
ORD-10582025-07-26WestThrow Pillow9$341
ORD-10592025-06-01SouthSmart Watch14$3,780
ORD-10602025-09-27SouthJeans2$122
ORD-10612025-09-06WestT-Shirt19$1,292
ORD-10622025-06-26WestLaptop Pro11$3,729
ORD-10632025-10-31EastRunning Shoes8$392
ORD-10642025-03-20SouthSneakers12$852
ORD-10652025-02-21EastYoga Mat1$37
ORD-10662025-04-26EastJacket15$960
ORD-10672025-09-06NorthT-Shirt12$684
ORD-10682025-01-07NorthUSB Hub8$2,056
ORD-10692025-03-04SouthRunning Shoes14$714
ORD-10702025-01-01WestRug 5x817$1,037
ORD-10712025-07-29NorthWater Bottle14$600
ORD-10722025-07-03EastWireless Buds5$1,275
ORD-10732025-04-29WestRunning Shoes6$216
ORD-10742025-07-25EastDesk Lamp9$489
ORD-10752025-05-21WestSmart Watch9$2,718
ORD-10762025-06-10NorthRug 5x816$688
ORD-10772025-10-26SouthRunning Shoes2$90
ORD-10782025-01-21SouthSneakers19$1,501
ORD-10792025-02-21SouthT-Shirt6$336
Totals860$83,831
StatsAvg 10.8Max $5,895

7 · Mandatory + optional parameters with validation

Shows required fields blocking Apply, regex/length/range/items/file-type validation, and how optional parameters gracefully skip their filter clause via IsEmpty().

Order Lookup with Validations

All validation happens inside the component — required fields are blocked from running the report, and format errors show inline. Notice the key-filter (Order ID rejects spaces / symbols while typing), regex patterns, numeric ranges, min/max items on the multi-select, and file-type + size limits on the attachment.

Order
Region
Product
Revenue
ORD-1009NorthSmart Watch$1,392
ORD-1012NorthWater Bottle$492
ORD-1021NorthThrow Pillow$296
ORD-1031NorthLaptop Pro$3,485
ORD-1039NorthRug 5x8$1,180
ORD-1044NorthCandle Set$779
ORD-1046NorthYoga Mat$656
ORD-1052NorthDesk Lamp$228
ORD-1067NorthT-Shirt$684
ORD-1068NorthUSB Hub$2,056
ORD-1071NorthWater Bottle$600
ORD-1076NorthRug 5x8$688

8 · Sub-report inclusion

A report that embeds another report. The inner report receives a region parameter from the outer report and filters its data accordingly.

Regional Overview with Drill-in

The report below consists of a compact totals row followed by a sub-report. The sub-report is its own ReportDefinition — a chart with a derived datasource filtered by the region parameter. Changing the Region parameter re-evaluates both the summary and the embedded sub-report.

Across all regions: 80 orders, $83,831 revenue.

Region Detail — North

Total orders: 12 · Total revenue: $12,536

Expression Reference

Quick cheat-sheet of the expression language used across format expressions, row-visibility, conditional formatting, cellItems, and row-group dataset/filter/sort/keys/variables.

// === Namespaces ===
Datasources.<name>.<field>     // array of field values (aggregate target)
Datasources.<name>             // the raw array of row objects (pass to Sum/Count/Avg/Min/Max)
Parameters.<name>              // parameter value; property path supported (Parameters.dateRange.fromDate)
Field.<name>                   // field of the current row (in table cell / row-visible context)
Field('a.b.c')                 // safe nested-field access (rejects __proto__ / constructor / prototype)
RowGroup('name').key           // key of current row-group frame
RowGroup('name').keys          // array of keys when using multi-key grouping
RowGroup('name').values        // array of row objects in the group
RowGroup('name').Fields.<f>    // field of the group's first row
RowGroup('name').Variables.<v> // group-scoped variable value
ColGroup('name').…             // same shape for column groups
Variables.<name>               // row-group-local variables (shortcut)

// === Aggregates ===
Sum(Datasources.orders.revenue)              // numeric array form
Sum(Datasources.orders, 'revenue')           // (rows, fieldName) form — preferred when you have raw rows
Count(Datasources.orders)                    // row count
Count(Datasources.orders, 'status')          // non-null count for a field
Avg(rows, 'unitPrice')
Min(rows, 'orderDate')
Max(rows, 'revenue')

// === Conditionals ===
IIf(cond, trueValue, falseValue)             // two-way
Switch(value, case1, result1, case2, result2, defaultResult)
!expr / expr && expr / expr || expr
expr == expr / != / < / > / <= / >=

// === Text ===
Concat(a, b, c, …)
Upper / Lower / Trim / Len / Length
Mid(str, 1, 3)                               // 1-based start
Replace(s, find, replaceWith)
StartsWith / EndsWith / Contains
PadLeft(v, 5, '0')  /  PadRight(v, 10, ' ')

// === Numeric / formatting ===
Round(v, decimals)  Floor(v)  Ceil(v)  Abs(v)
FormatNumber(12345.6, 2, ',')                // "12,345.60"
FormatCurrency(12345, '$', 0)                // "$12,345"
FormatPercent(0.128, 1)                      // "12.8%"

// === Dates ===
Today() / Now()
Year(d) / Month(d) / Day(d) / WeekDay(d)
DateAdd('day' | 'month' | 'year' | 'hour', amount, date)
DateDiff('day' | 'hour', date1, date2)
FormatDate(d, 'YYYY-MM-DD')

// === Null / empty handling ===
IsNull(v) / IsEmpty(v) / Coalesce(a, b, c, …)
IfNull(v, fallback)
InList(value, [a, b, c])                     // true if value is in the list
Between(value, min, max)                     // inclusive
Any(arr) / All(arr)