HTML content is exporting while export in Table


Hi Redash,
I need to have table visualization with some formatting like applying color to a cell based on some values, for that we return query result with some html content. In that case if I try to export the table, it is exporting the data along with HTML content. Is there any way to export the data alone from the table. Please find the screenshot.


I don’t think so. You can include html content in your query results and have it displayed. But Redash isn’t going to strip away the HTML content if you pull it with the API or a download link. One way you could work around this is to query your actual data source without the HTML markup. And then point the query results data source at that result and use QRDS to format the data. So for a dashboard you can format with HTML but for downloading results you can get the raw data.