Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
lieselot_ve
Regular Visitor

formatting pane - dynamic dropdown - selected value

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

class SpecificColumnSettings extends FormattingSettingsCard {
   
    series = new formattingSettings.ItemDropdown({
        name: "series",
        displayName: "Series",
        items: [], // will be populated dynamically in visual.ts
        value: { value: "", displayName: "" }
        //value: undefined
       
    });
 
but how can we get the selected value of this dropdown in visual.ts (update())?  No matter what I try, it does not seem to remember the value selected.  Does anyone have a working example for this?
 
Kind regards,
 
Lieselot
0 REPLIES 0

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Solution Authors