Forum Discussion
Trying to update a power bi embedded visual filter
- Anonymous3 years ago
Hi Anonymous ,
We can Apply Visual level filters to every Visual. You can use
updateFiltersto set new filter to the Visual our Update the filters.
Simply add this piece of code On the js for embedding in the display each Visual section or you use the variable visualName and apply filters later to the visual.await visualName.updateFilters(models.FiltersOperations.Replace, filtersArray);For reference: Visual level filters
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous ,
We can Apply Visual level filters to every Visual. You can use updateFilters to set new filter to the Visual our Update the filters.
Simply add this piece of code On the js for embedding in the display each Visual section or you use the variable visualName and apply filters later to the visual.
await visualName.updateFilters(models.FiltersOperations.Replace, filtersArray);
For reference: Visual level filters
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.