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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
tanito
Frequent Visitor

Custom Connector Selection Field

Hello,

 

I am currently developing a custom connector.
Is it possible to create a selection field like the "Count" in the Hello World Sample Connector:

tanito_0-1715949864158.png

 


In this selection field, however, should the selection values be generated dynamically.
Specifically, the possible values should result from a result of a NativeQuery from a database and, for example, map the schemas of a database.

 

Is it also possible to create several selection fields and make their results dependent on each other?
For example, I want to select a schema in the first field and a table that exists in this schema in the next step.

Thank you very much!

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@tanito In the sample, the record is hard coded but there is no reason why you shouldn't be able to make this dynamic but I will have to test. As long as you bring the data back as a record (single field). Documentation.AllowedValues = {1, 2, 3} <-- this is an ad-hoc record

 

For the second part, making them dependent on one another, I don't think that is possible given what they have exposed via the UI, which is very basic. It might be better to instead build the hierachy as part of the Navigator dialog if possible. 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

1 REPLY 1
Greg_Deckler
Community Champion
Community Champion

@tanito In the sample, the record is hard coded but there is no reason why you shouldn't be able to make this dynamic but I will have to test. As long as you bring the data back as a record (single field). Documentation.AllowedValues = {1, 2, 3} <-- this is an ad-hoc record

 

For the second part, making them dependent on one another, I don't think that is possible given what they have exposed via the UI, which is very basic. It might be better to instead build the hierachy as part of the Navigator dialog if possible. 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.