Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Bind typeahead with data visualization

rah dev
Tera Contributor

Hi Community,
Good day!

I’ve created a search bar using the Typeahead component in UI Builder to display a list of users in Workspace. Now, I want to implement a data visualization with the following functionality:

When a user is selected from the Typeahead list, a score data visualization should display metrics specific to that selected user.
For example, if I select "System Administrator," the visualization should show the number of incident records where that user is in the Assigned to field.

rahdev_0-1745013010086.png

 

I need this visualization to update dynamically based on the selected user.

rahdev_1-1745013020713.png

 

Thanks in advance for your help!
It would be great if you could share some screenshots for reference.
For the search bar, I followed this guide: https://www.servicenow.com/community/now-platform-blog/how-to-setup-a-type-ahead-search-in-ui-builde...

1 REPLY 1

J Siva
Kilo Patron
Kilo Patron

Hi @rah dev 
Have you tried building the PA dashboard with a filter? Please find below the picture where I've created a data visualization (Single Score) with a user filter.

JSiva_0-1745214147034.png

Regards,
Siva