Use a local data instance with a data visualization
For finer grained control of the data source than you have with preconfigured data sources, create a local data instance. Then bind the local data instance to the dataPassthrough property of the data visualization.
Before you begin
Before proceeding, review Dynamically expose data in UI Builder pages (advanced feature).
Role required: ui_builder_admin, admin
Procedure
Result
You have created a local data instance and bound it to a data visualization. You can now complete the configuration of your data visualization.
Enable filters to apply to a local data instance
To enable a viewer to switch between which field values or breakdown elements they see in a data visualization, add filter components to the UI Builder page. For those filters to apply to a local data instance, configure that instance accordingly.
Before you begin
Role required: ui_builder_admin, admin
About this task
To enable filters to apply to a local data source, you first have to create a client state parameter named parFilters and then add that state parameter to the local data instance.
Procedure
What to do next
Add filter components to the UI Builder page and configure them for relevant values from the local data instance.
Enable data caching for a local data instance
To help reduce the load time of data visualizations, and if real time or very fresh data is not necessary, enable data caching on the data source.
Before you begin
Role required: ui_builder_admin, admin