Display crosstab data in a Blazor DataGrid by pivoting rows into columns - summarize values across two dimensions, such as sales by product and month, in a single grid.
Year | 2014 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 |
|---|---|---|---|---|---|---|---|---|---|---|
| Company | HILARION-Abastos | Berglunds snabbköp | Vins et alcools Chevalier | Magazzini Alimentari Riuniti | Toms Spezialitäten | Ernst Handel | Chop-suey Chinese | Centro comercial Moctezuma | Victuailles en stock | Blondesddsl père et fils |
| Amount | ¤1,119.90 | ¤2,102.00 | ¤1,100.20 | ¤915.20 | ¤1,863.40 | ¤4,483.40 | ¤625.20 | ¤100.80 | ¤815.60 | ¤2,596.00 |
Yes - project each cross dimension into its own column and define those columns; for a full pivot UI with row and column groups, use the PivotDataGrid.
Radzen Blazor Components, © 2018-2026 Radzen.
Source Code licensed under
MIT