How to apply dynamic filters to data visualization component in UI builder?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-21-2022 11:46 AM
Hello experts,
I am trying to apply dynamic filter to data visualization components like Donut/Pie charts in UI builder. We don't have dynamic data binding filter option in Data Sources selected on Data Visualization component. We can configure only static filters like 'Active=true' in data sources that are used in Pie charts/Donut reports.
I am trying to apply dynamic filter on Pie Chart created on Entity overview page of Risk workspace. I would like to show ALE data of a specific entity or current entity on Pie chart instead of showing ALE data of all entities. I have sys_id of current entity in context object:@context.props.sysId. Is there any way to use this sys_id in a data visualization component to show data of current entity?
I went through below article but I could not understand the way it is relating a filter component to Data Visualization component.
In multiple OOB pages reports, I see that ServiceNow is using 'Apply par filter' client script to filter such data visualization reports but I could not figure out the relationship between filter component and data visualization component.
Please let me know if you have implemented something similar in ServiceNow.
Thanks,
Abhinandan

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2023 11:33 AM
did you got the solution for this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2023 08:35 AM
Hi @Abhinandan Pati ,
I had found an way to do it using dynamic filter.
Let me know if you still need help on this.
Regards,
Johns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2023 06:51 AM
yes please..

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2023 11:33 AM
I too need solution for this