You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blazor/pivot-table/data-compression.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,14 @@ platform: Blazor
6
6
control: Pivot Table
7
7
documentation: ug
8
8
---
9
+
9
10
# Data Compression in Blazor Pivot Table component
10
11
11
12
> This property is applicable only for relational data source.
12
13
13
-
When binding one million raw data, the pivot table processes all raw data to generate aggregated data during initial rendering and report manipulation. However, with data compression, the input raw data is compressed based on the uniqueness of the raw data, and the final compressed raw data are utilized by the pivot table. The compressed raw data is then used for further operations at all times, reducing the looping complexity and improving the performance of the pivot table. For example, if the pivot table is connected to one million raw data compressed to 1,000 unique raw data, it will render within 3 seconds rather than 10 seconds. You can enable this option by using the [AllowDataCompression](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.PivotView.SfPivotView-1.html#Syncfusion_Blazor_PivotView_SfPivotView_1_AllowDataCompression) property along with [EnableVirtualization](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.PivotView.SfPivotView-1.html#Syncfusion_Blazor_PivotView_SfPivotView_1_EnableVirtualization) property.
14
+
When binding large volumes of raw data, the pivot table processes all raw data to generate aggregated data during initial rendering and report manipulation. However, with data compression enabled, the input raw data is compressed based on the uniqueness of the raw data, and the final compressed raw data is utilized by the pivot table. The compressed raw data is then used for all subsequent operations, reducing the looping complexity and improving the performance of the pivot table. For example, if the pivot table connects to one million raw data records that compress to 1,000 unique raw data records, it will render significantly faster—potentially within 3 seconds rather than 10 seconds, depending on the data complexity and system specifications. Enable this option by using the [AllowDataCompression](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.PivotView.SfPivotView-1.html#Syncfusion_Blazor_PivotView_SfPivotView_1_AllowDataCompression) property along with [EnableVirtualization](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.PivotView.SfPivotView-1.html#Syncfusion_Blazor_PivotView_SfPivotView_1_EnableVirtualization) property.
14
15
15
-
> This options will only function when the virtual scrolling is enabled.
16
+
> N> This option will only function when the virtual scrolling is enabled.
16
17
17
18
```cshtml
18
19
@using Syncfusion.Blazor.PivotView
@@ -45,19 +46,18 @@ When binding one million raw data, the pivot table processes all raw data to gen
45
46
//Bind the data source collection here. Refer "Assigning sample data to the pivot table" section in getting started for more details.
46
47
}
47
48
}
48
-
49
49
```
50
50
51
-
**Limitations during data compression**
52
-
53
-
- The following aggregation types will not be supported.
54
-
- Average
55
-
- Populationsdev
56
-
- Samplestdev
57
-
- Populationvar
58
-
- Samplevar
59
-
- If you use any of the aggregations above, it will result in an aggregation type **Sum**.
60
-
-**Distinct count** will act as **Count** aggregation type.
61
-
- In the calculated field, an existing field can be inserted without altering its default aggregation type. Even if changed, it would revert to the default aggregation type for calculation.
51
+
**Limitations during data compression:**
52
+
53
+
- The following aggregation types are not supported:
54
+
- Average
55
+
- PopulationStDev
56
+
- SampleStDev
57
+
- PopulationVar
58
+
- SampleVar
59
+
- If any of the above aggregation types are used, they will be automatically converted to **"Sum"** aggregation.
60
+
-**"DistinctCount"** will function as **"Count"** aggregation type.
61
+
- In a calculated field, existing fields can be inserted without changing their default aggregation type. Even if the aggregation type is changed, it will revert to the default aggregation type for calculation purposes.
62
62
63
63
> You can refer to the [Blazor Pivot Table](https://www.syncfusion.com/blazor-components/blazor-pivot-table) feature tour page for its groundbreaking feature representations. You can also explore the [Blazor Pivot Table example](https://blazor.syncfusion.com/demos/pivot-table/default-functionalities?theme=bootstrap5) to know how to render and configure the pivot table.
0 commit comments