Create a data summary table like (PivotTable in Excel)

I have sample table
3X_0_f_0f3ec3dcc8865eb01d64b7e2f5db04a3a0b8c3f5.png

|item| |Qty.| |date|

|Item 1 |1 |1/1/2021|
|Item 2 |1 |1/1/2021|
|Item 3 |0 |1/1/2021|
|Item 4 |0 |1/2/2021|
|Item 1 |1 |1/2/2021|
|Item 2 |0 |1/2/2021|
|Item 1 |1 |1/2/2021|
|Item 2 |1 |1/3/2021|
|Item 3 |1 |1/3/2021|
|Item 4 |0 |1/3/2021|

I want to create a data summary table like (PivotTable in Excel)

3X_a_a_aac5e0a8b031e665dd88b006b73fba02b5f35e2f.png

|Row Labels| |Sum of Qty.|

|Item 1| |3|
|Item 2| |2|
|Item 3| |1|
|Item 4| |0|

What is the method for that? So that I can use it in UX

0 5 191
  • UX
5 REPLIES 5

Aurelien
Google Developer Expert
Google Developer Expert

Hi @SirajAMS

Pivot Table in AppSheet are not available.
Instead, you could use groups (such as the option in view type Table) and aggregate calculations.


For further needs requiring specifically pivot table features, you should try Google Data Studio.

I reckon you are using Google Spreadsheet as data source.
Then create the pivot table out of your data set. Create pivot with new sheet.
You are not able to read this sheet where pivot table expression inside the sheet for AppSheet table.
Then create additional sheet. On this sheet, you call data from pivot table sheet, using IMPORTRANGE() expression which is provided by Google Spreadsheet.

Then read this sheet as table from Appsheet.

You will see the summary (pivotted table) as you want.

This is one of the most easy-peasy workaround.

I didnโ€™t think about the most obvious possiblity, thanks @tsuji_koichi for pointing this out

You are welcome.

We can employ this technique here and there, as far as the dynamic pivot table will not add Column, the number of the column static.

Top Labels in this Space