Hi Members,
I would like to know if there is any way to add or expose custom columns/fields in the Dashboard Filters when creating charts and reports using SQL queries/scripts.
Currently, when we create a chart or report using an SQL query, we would like to use additional columns from the query as dashboard filter fields.
For example:
-
SQL query returns multiple columns.
-
We create a chart/report based on the query.
-
We want to make specific columns available as Dashboard Filters.
-
The selected filter value should then be passed dynamically to the SQL query.
Is there any standard way in Frappe Insights/Dashboard to achieve this?
Any guidance or examples would be appreciated.
Thanks in advance.