Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I want to create a custom visual where:
In the fields pane, I can drag and drop measures into the data roles.
In the format pane (paint roller) I would like to have a dropdown list that dynamically shows the measures the user has added in the fileds pane, so they can select on of them.
However, it seems that in the format pane dynamic lists of measures are not supported, and only static options are possible.
My question: Is it correct that in custom visuals, there is currently no way for dynamic dropdown lists ?
Hi @Funda,
To do this, you would use container functionality to dynamically build entries from your available measures and assign their selection ID to the properties you wish to make measure-specific. The doc unfortunately does not show this scenario in their example, but it does explain the concept of how you need to process your formatting model after it has been built, to create the dynamic entries, so you would need to apply this reasoning to your view model's measures and their selection IDs.
One gotcha is that you cannot set up a container + drop-down that drives multiple formatting groups in a card, like the core visuals do. This is a known issue and not supported for custom visuals currently. The only known workaround is to create a container for each group, which adds one drop-down control per group in the formatting card and is not idea UX (but currently the only way to manage it).
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.