GitHub user Mathews-Gigi edited a discussion: Custom "Download Raw Data" button 
for dashboards/charts using the underlying dataset

hi everyone, 

I'm working on an internal application using Apache Superset 4.0.2.

We have a business requirement where managers/ Power Users need to download the 
underlying raw data behind a chart, not just the aggregated chart results.

What i have tried :
- Enabled ALLOW_FULL_CSV_EXPORT = True
- Restarted Superset
- Full CSV export is now available

However, Full CSV only exports the chart result , not the underlying dataset 
rows. and only applicable in plain table chart 

new requirement is like this 

Eg :  Dashboard with Service Area Cost Chart (pivot or can be a plain table)
 with  [Raw Download Data]
 
 The download should:
- Export the underlying dataset rows (not aggregated results, raw data is 
expected)
- Respect all dashboard/native filters (If possible : not in current 
requirement )
- Respect Jinja templating (filter_values(), url_param(), current_user_id(), 
etc.)
- Respect Row Level Security
- Allow us to control which columns are included (for example hide ProjectId, 
UserId ) (not in requirement , good to have )


Questions:

1. Has anyone implemented something similar?
2. Is there an existing plugin or extension for this?
3. If you've implemented this, what architecture did you use?

Any guidance or examples would be greatly appreciated.

Thank you!

GitHub link: https://github.com/apache/superset/discussions/42886

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to