Apply Filters with Parallel Rendering for Initial Dashboard Rendering
Parallel Rendering (also referred to as Incremental Rendering) enables progressive rendering of multiple visualizations, enhancing load performance and the overall user experience. Users can enable this feature for a dashboard via the dashboard properties panel; however, it is only supported for initial dashboard execution. Any subsequent user manipulations will remove the Parallel Rendering flag from the dashboard instance.
This workflow sample demonstrates how to enable Parallel Rendering for dashboard instances in use cases where filters must be applied prior to rendering. It leverages resolve-only mode during instance creation and filter application, which allows filters to be applied safely before triggering Parallel Rendering—ensuring optimized load performance. When the parallelRenderingAfterManipulation parameter is set to true, the final render process runs with Parallel Rendering enabled, guaranteeing a streamlined, progressive loading experience for the end user.
Workflow Scenarios
Two scenarios are supported, depending on your use case:
Scenario 1: Apply filters during instance creation
Include the filters directly in the Create Instance request.
Scenario 2: Apply filters after instance creation
This scenario involves two steps:
- Create the instance (optionally with initial filters).
- Apply additional filters after the instance is created.
In both scenarios, you may observe the parallel rendering effect (faster load times and progressive visualization rendering) when opening the instance using the MicroStrategy gotoPage API or create method.
Note: For very simple dashboards or dashboards that execute quickly, the Parallel Rendering effect may not be noticeable, as the entire dashboard may render almost instantly.
Before executing the requests, replace all sample dashboard IDs, instance IDs, project IDs, auth tokens, and filters in the examples with your actual values.
You can obtain the authorization token using POST /api/auth/login.
Scenario 1: Apply Filters During Instance Creation
This scenario applies filters directly when creating the dashboard instance, enabling parallel rendering in a single API call.
POST /api/dossiers/{dossierId}/instances
Creates a new instance of a specific dashboard with filters applied during creation.