Pass Dashboard Filter value to Data Model as a Parameter
Hi Team,
I was wondering if there is way to pass one dashboard filter value ( report id ) to the SQL query in the Data Model.
We have a scenario, when a user loads the dashboard one of the dashboard filters gets dynamically updated while in embedded mode. (We're using EmbedSDK).
I was trying several approaches for Cascading filters without using Dependent Filters feature as we want to have the freedom to control individual filters.
I read about Cascading filters by TriAnthony here (https://community.sisense.com/t5/knowledge/dashboard-script-for-automatic-filter-cascading/ta-p/18994 ). However in our use case, we have different dimensions that wont have same values but we need they need to be cascaded.
Your inputs are greatly appreciated. TIA
Hey David,
We found a working solution for this, we were advised to convert all our dashboard filters to background filters. Later we made some changes to the code while embedding such that only the relevant selections from our embed platform are passed to each dashboard filter.
Note :This cannot be done through the frontend dashboard unless we add dependent filters. However, it's great that we found a solution through embedding.