DP-500 · Question #109
You have a dataset that is populated from a list of business categories in a source database. The list of categories changes over time. You use Power BI Report Builder to create a paginated report…
This question tests how to configure a multi-value report parameter in Power BI Report Builder so it dynamically populates from a dataset and defaults to all values selected when the report opens.
Question
Explanation
This question tests how to configure a multi-value report parameter in Power BI Report Builder so it dynamically populates from a dataset and defaults to all values selected when the report opens.
Approach. For 'Available Values', set the source to 'Get values from a query' and point it to the dataset containing business categories - this ensures the drop-down reflects the current state of the source database dynamically. For 'Default Values', also set the source to 'Get values from a query' using the same dataset and value field - this causes every value returned by the query to be pre-selected when the report loads. Critically, the parameter's General settings must have 'Allow multiple values' checked; without this, only a single selection is possible and the 'select all' default cannot work. Using a query-based default (rather than specifying values manually) is essential because the category list changes over time - hardcoded defaults would go stale.
Concept tested. Configuring dynamic multi-value parameters in Power BI Report Builder paginated reports: using query-based Available Values for a live drop-down, enabling 'Allow multiple values', and using query-based Default Values to pre-select all items at report open time.
Reference. Microsoft Learn - Report Parameters in Power BI Report Builder: 'Add, change, or delete a report parameter' and 'Set a multivalue parameter for a report'
Topics
Community Discussion
No community discussion yet for this question.