Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I try to create a custom visual which behaves likes a matrix and where we can add 1 or more measures in the Values part of the visual.
In the format visual, I was able to add a Specific Column card with a dropdown which contains the measures placed in the Values part of my visual.
settings.ts
a working (small) example would be a great help because this const selectedSeries =
this.formattingSettings.specificColumn.series.value?.value; always return undefined in our case
@lieselot_ve Hi!
To read the selected value from a dynamic ItemDropdown in the format pane, make sure you first populate the formatting model in update() and then access the property from the settings model.
Example:
If the dropdown keeps “forgetting” the selection, the usual causes are:
Using a stable internal value and restoring it when repopulating the items typically fixes the issue.
BBF
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.