Forum Discussion
HTML Visual Button to Navigate to Another Page with Filter
- 5 months ago
Hello HanaOkugic,
In Microsoft Power BI, an HTML/custom visual can’t pass report filter context or navigate to another report page with a dynamic filter. Custom visuals run isolated from the report’s navigation model, so links inside the HTML visual won’t carry the selected Project ID which is why it always opens the report (often the first page).
The supported approach for this scenario is Drillthrough. Drillthrough is specifically designed to open another page while passing the selected value (for example, Project ID) as a filter.
You can still make it behave like a single-click button:
- Add Project ID to the Drillthrough fields on the Details page.
- Use a Drillthrough button and style it like your “Details” button.
Microsoft documentation:
- Drillthrough in Power BI reports: Navigate to detailed insights
- Types of filters in Power BI reports
Microsoft confirms that drillthrough pages apply filters based on the selected item and pass filters between report pages.
Hello HanaOkugic,
In Microsoft Power BI, an HTML/custom visual can’t pass report filter context or navigate to another report page with a dynamic filter. Custom visuals run isolated from the report’s navigation model, so links inside the HTML visual won’t carry the selected Project ID which is why it always opens the report (often the first page).
The supported approach for this scenario is Drillthrough. Drillthrough is specifically designed to open another page while passing the selected value (for example, Project ID) as a filter.
You can still make it behave like a single-click button:
- Add Project ID to the Drillthrough fields on the Details page.
- Use a Drillthrough button and style it like your “Details” button.
Microsoft documentation:
- Drillthrough in Power BI reports: Navigate to detailed insights
- Types of filters in Power BI reports
Microsoft confirms that drillthrough pages apply filters based on the selected item and pass filters between report pages.