Jinja templated markdown viz
In the markdown visualization, it would be nice to be able to fetch data through a jinja macro and embed it.
You can imagine a jinja macro that would fetch a single cell through a sql query and embed it in the markdown somehow
+1
Is this possible? or it is still a Work in Progress?
Thanks, Kartik
+1
Personally, I would like to see access to the Pandas dataframe in the template for two main reasons.
- It's easy to implement
- It's very powerful.
Of course it requires you to know how to handle a dataframe. I created #5747 for this purpose, and if you feel it is a dupe of this then please close it as such. If this ticket though is more of a 'fetch a single cell' (as per @mistercrunch original comment) then I'd rather keep #5747 open as a separate issue.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.
Just wanted to re-open the issue because i found a code snippet posted from @ankoh in #5747 which could be integrated in the master branch:
https://github.com/apache/incubator-superset/issues/5747#issuecomment-425669720
Latest incarnation #6771 was closed as a #wont-fix