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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

combo box with dynamic value

Hi community

 

onyone ever make dynamic combo box with value from Columns/Values fields?

 

like in matrix visual, we can define background and foreground color from format panel

matrix-01.PNG

matrix-02.PNG

 

i see PowerKPIMatrix already do this, but when I read the code they only put the options at

VisualObjectInstanceEnumerationObject.container then the format panel make the combo box, but how?
 

container

5 REPLIES 5
Anonymous
Not applicable

I can show the combo box now, and store the data in metadata columns, but the option show empty string

 

            let containerIdx = model.enumerationObject.containers.push({displayName})-1;

            model.enumerationObject.instances.push({
                containerIdx,
                objectName: model.objectName,
                properties: {
                    isMask: this.getValue<boolean>(currentColumn.objects, model.objectName, "isMask", false),
                    background: this.getValue<string>(currentColumn.objects, model.objectName, "background", "#FFFFFF")
                },
                selector: { metadata: currentColumn.queryName }
            });

matrix-03.PNG

 

this happen to with PowerKPIMatrix too, i thing something new with update and make the option did't show the text

Anonymous
Not applicable

it is about pbiviz version?

Anonymous
Not applicable

no one got same issue with me? about blank string with combo box

Anonymous
Not applicable

any idea about empty combo box?

This is a known issue. It’s just a shame that MS cannot fix it

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.