This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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)
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.