UI Builder - Making Data Visualizations Dynamic??

Jordan Rose
Tera Expert

I'm trying to use UI Builder to work with data resources to dynamically filter data based on my filter component.  This works great and I can get lists and other components to pull from the filtered data without issue.  My question is, how can I use a Data visualization component (outside of the legacy Dashboard viewport component) to show the filtered data?  I only get data returned when using the Table method of data source for a Data Viz component.  The filters for the Data Viz components don't allow for parameterized filtering.

find_real_file.png

I can reference my results object through the Data source option seen above.  But I just get a spinning indicator and I'm not sure how to setup Metric and Group By as a result.

Any help would be appreciated.  Thanks.

11 REPLIES 11

Michael Fry1
Kilo Patron

You need to add a new Data Resource, like a Global > GlideRecord query. Then configure the table, conditions grouped by, etc. The ID on that resource is the name you can set in your Data source.

See attachment.

 

 

Thanks for the reply Michael.  I know that you can have single scores show those queries like you indicate, but how can a filter be used to dynamically change that value in the data visualization component.  It just seems like those scores would be fixed on a single value.  I can't find a way to make them dynamic.

I tried setting it up your way but can't get that 32 value to display in a single score.  How did you configure data sources and metric to get something showing there?

 

find_real_file.png

First off, that table will contain millions of records. Might slow page load. Just something to consider.

Underneath where you put the table is an Edit Conditions button. Can you set you conditions there? Or can you provide more info when you say ''dynamic'?