One limitation here is having the ability to mix data from different 
datasources. I'm wondering if we should have something more like:
```
{% set df = run_sql('SELECT sum(units) AS units FROM sales') %}
We sold a total of <strong>{{ df['units'][0] }}</string> units
```
To allow for multiple queries / datasources.

A few other considerations:
* should this be a feature of the markdown dashboard-native component?
* Should this be more of a client-side templating? Meaning you could see the 
text right away and loading spinners within the text while the async calls are 
happening. I think Jinja is probably fine easier and opens the power of 
pandas...
* clearly some security concerns here, we should probably make this viz type 
unavailable by default.

[ Full content available at: 
https://github.com/apache/incubator-superset/issues/5747 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to