Make a pivot table

Hi, Greetings

I am Denny, pleased to join you
I have practiced through trial and error
in appsheet, in such a challenge in my
2nd quarter of life.

I have a question, and if it has been added as a Thread before
, it would be great helps for me if I would be guided to where it was

The Problem is how do i make a pivot table, in my
PDF file such as this

3X_d_7_d75097efb006ba173bd24fd968f2b4f755041d74.png

Thank You for your time and advise
Best Regards

Solved Solved
0 6 901
1 ACCEPTED SOLUTION

All praise to God and thanks to you, I have found the solution, at least for now…

this is link to my google docs

this is my expression:
<<Start: FILTER(skld, AND([No Surat]=[_THISROW].[No Surat], [In-Out]=”In”))>>…<<'End>>

<<Start: FILTER(skld, AND([No Surat]=[_THISROW].[No Surat], [In-Out]=”Yes”))>>…<<'End>>

Note: remove the “’” at the word “End”

So there are two tables, the one above only includes Cash In only fund and the below one includes Cash out only

perhaps, these lines could help anyone who read it

View solution in original post

6 REPLIES 6

Outside AppSheet I guess…

You can’t

With google Docs? or would you mind, showing me where to i must learn

There are ways to create the pivot table in both AppSheet and in templates. They both will need some advanced implementation.

If your goal is to generate a PDF then you will want to use templates…and yes Google Docs is the place to start. I would recommend getting familiar with how to create a template. This link below will show you a list of articles to start with:


As for creating your pivot table in a template, you will need to use nested START blocks. However, the hurdle you will likely run into is naming clashes - i.e. where you have the same column name in multiple tables/datasources. If you are willing to rename columns when needed then this shouldn’t be an issue.

Here is the general idea to create the pivot table in a template

  1. Create a START block that provides a list of departments. If you have a table of Departments then use that to kick off the template.

  2. Inside of the START block in 1) create a second START block that provides a list of your data rows. You will need to filter by the Department from the outer START. This is where the name clash can happen. Using [Dept] = [Dept] will not work. You can avoid this clash with different column names between the sources - e.g. [Department] = [Dept]

  3. Use template tables to control the formatting of the data.

  4. You can use IF statements in the template to conditionally show things if needed.

I guess this is the lead i wanted, thank you for your kindly sugestion, i will follow up your pointing

best regards

Yes, try it first but don’t spend too much time playing around and getting frustrated. If you get stuck, even a little, come back here and ask your question. That’s part of what this Community is about - saving you time in figuring out how to build things, Short of doing the work for you…who can learn anything that way!

All praise to God and thanks to you, I have found the solution, at least for now…

this is link to my google docs

this is my expression:
<<Start: FILTER(skld, AND([No Surat]=[_THISROW].[No Surat], [In-Out]=”In”))>>…<<'End>>

<<Start: FILTER(skld, AND([No Surat]=[_THISROW].[No Surat], [In-Out]=”Yes”))>>…<<'End>>

Note: remove the “’” at the word “End”

So there are two tables, the one above only includes Cash In only fund and the below one includes Cash out only

perhaps, these lines could help anyone who read it