Problems with CSV download

Dear Community:
I have a table of 14,000 records (simple without virtual columns, or complicated formulas) and a slice that makes a selection of records that can later be downloaded as CSV.

The problem is that downloading 1 or 50 records takes the same time as downloading 14,000 records, that is, between 60 and 90 seconds. Obviously our client does not accept having to wait so long every time he selects a few records.

When we have presented the case to Support, they have told us that it is 1 or 14,000 (the total data). AppSheet works with all the data and therefore takes so long.

I think it’s a point for Google Cloud engineers to work on fixing.

Anyone have any other ideas?

Hi. you can try create a filter with the new information that this option download the few records?

example:
I have 9500 records of Inbond Exported

i used a filter only with the last 3 days of records. and the

3X_5_e_5ee57f082b3ae8e2b934048d3f3e1a6ae3972706.png

Thanks Daniel, but that’s not the solution. I have done tests and I have filtered a single record, AppSheet still takes more than a minute to download CSV and this because the database has more than 15 thousand records.

@Phil Any Insights here?

How do you currently apply filtering ? Slice?

Yes, Slice.

I m not testing yet, but filter the row, using LINKTOFILTEREDVIEW() expression. Then from that filtered view, invoke the action to export to CSV to see the difference. That s my one of suggestion.

2 Likes

Hi Tsuji:
Although the answer of AppSheet has been that this time cannot be decreased, it would be interesting to test your suggestion. Could you elaborate on where the LINKTOFILTERVIEW () expression would go. Thank you.

It depends on how your data schema stands as well as your business requirement in terms of how to filtering the rows.

For testing purpose, for instance, if you have column like “Category” or “Grouping” stuffs for each row, then create inline action for this table and column somewhere.

The action is go to other view in this app and expression is something like

LINKTOFILTEREDVIEW(“View Name”, [Category]=[_thisrow].[Category])

Once you jump to the filtered view, then hit the action to export to CSV to see how it goes.

Keep your stop-watch ready!

1 Like

ok, sorry for my English. My Solution is Create the Security filter since Data

to do since my data base copy the original Sheet and rename with the filter name:

both sheets contains same information but the copy apply the filter, this makes the database already filtered to appsheet and is very small

Hi Daniel, Thank you very much for your answer. I did tests and got:

  • When the table contains only 1 record, the download takes: 4 sec.
  • When the table has 11 thousand records, and 1 record (slice) is selected, the download takes 30 sec.
  • When the table has 11 thousand records, and all the records (slice) are selected, the download takes 45 sec.
    There is a big difference between 4 and 30 seconds. It would be nice if AppSheet only reads the selected records in the slice so that the download takes less time, but now we know that it is not. Thanks a lot for your help.

tsuji_koichi:

Once you jump to the filtered view, then hit the action to export to CSV to see how it goes.> > Keep your stop-watch ready!

Thanks Tsuji.