Apache Superset Dashboard Filter with URL parameter
Asked Answered
E

1

1

Is there a way to pass url parameters to filter slice? somewhat like http://localhost:8080/superset/dashboard/15/?tableColumnName=value

I have a filter slice on tableColumnName

Emblazonment answered 7/1, 2018 at 22:12 Comment(0)
E
4

preselect_filters like below works:

preselect_filters={"76":{"tableColumnName":["value1"]}}

Emblazonment answered 9/1, 2018 at 13:8 Comment(3)
A similar discussion is found here. github.com/apache/incubator-superset/issues/4985Baseburner
this preselect_filters where we have to insert?Virginium
@Virginium It should be pass as url params like this http://{url}:8088/superset/dashboard/{dashboard_id}/?preselect_filters={{"chart_id"}:{{"column_to_be_filtered"}: {"value_to_be_filtered"}}}Methadone

© 2022 - 2024 — McMap. All rights reserved.