I had a problem that I didn't get answer to, not from this Forum or from appsheet support.
Exporting this view to CSV only printed headers if more than one parameter is set. If only one or all is chosen, print is OK. In view, everything looks and acts correctly. I thought it might be a bug but changing expression produced results.
Short explanation:
I have an dashboard view where there is a card view for quick edit boxes and dynamic view, related to what is chosen in quickedit boxes. Dynamic view use slice of an table to filter the data shown. This method is commonly used and can be found several youtube tutorials.
Below is a screenshot what the view looks like. You can have very complex scheme.
Left view is slice from usertable with search parameters, in my case project refs to third table and one or more can be chosen from EumList. Other three boxes not yet operatioinal as I started this over troubleshooting the error. Right view is the slice from another table. This same right side view can be achieved with two different expressions, but only one exports CSV correctly.
In the slice of tasks, this is the expression that's giving errors when exporting the view as CSV and this is the exact one that is shown on appsheettraining and a quite few other YT videos, also mentioned on this site for this kind of filtered dashboard view:
IN([relatedProject], SELECT(user[filtProject],[email]=USEREMAIL()))
and if you'd like to build an expression where it shows every row if no project is chosen then:
Now exporting the view acts correctly. Same with dates and every other filter boxes, have to use LOOKUP to get the correct row from user table, rather than SELECT. For some reason with select, if there are multiple parameters (like my exmaple two different projects chosen from enumlist), exporting starts to act up. With dates (or single value parameters like billed/not billed) it didin't matter as you have one parameter on both, start and/or end or none. If someone can figure out why, do tell me...
User | Count |
---|---|
22 | |
15 | |
4 | |
3 | |
3 |