Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
When I add columns to the table visual, the "Field Formatting" card allows me to set formatting options per column using a drop down selection list showing each column I added. Please refer to the screenshot for an example of this.
How do I use a drop down selection list like this in my custom visual?
Thanks,
Wouter
Solved! Go to Solution.
Hi @WouterBo,
This is unfortunately not fully implemented in the custom visuals SDK and is a feature a lot of us want:
I'm holding out hope that we might see it some day, but it's been known about for a long time. It's also been raised in the the powerbi-visuals-tools repo and here's the issue if you want to add your voice to it.
The above may provide further background, but to summarise: when you enumerate the properties pane, it's possible to create a new instance for an object and this is how data-bound properties work (e.g. colours). As part of this instance, you can add an object known as a container ID, which will make Power BI show the drop-down you're after. At this point things don't fully work and you can't proceed any further with making it behave like the core visuals.
Any custom visuals that do support this, such as Power KPI and Power KPI Matrix are developed by Microsoft and have some kind of special allowance after they've been packaged, as you can compile these locally and they have the same problems as above.
Regards,
Daniel
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Thank you Daniel!
I suspected this, so thank you for confirming. Also, thanks for the links, they will be helpful.
EDIT:
I think I've got it now. And it seems to work too in 3.5.1.
I used the example in this post:
@dm-p I've read that there is some progress on this issue, although I haven't been able to find any documentation or example code. Are you aware of any?
Hi @WouterBo - no. The closest public example is in the GitHub issue where it's been discussed the most outside of here.
The simplest way may to be obtain the source code for Power KPI or Power KPI Matrix and have a look in there. These are the earliest (and probably most comprehensive) implementations that I know of, and didn't work when this bug was active, but now they build locally successfully and can be used for analysis and comparison.
Regards,
Daniel
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Been requesting this feature for more than 2 years now... Have multiple visuals holding and waiting for it to be available and enable the functionality that I pretend to add.
This feature is a must have for custom visuals in my opinion or otherwise most of the scenarios are not viable or require an enormous amount of workarounds to achieve it.
Please consider this ASAP.!
Hi @WouterBo,
This is unfortunately not fully implemented in the custom visuals SDK and is a feature a lot of us want:
I'm holding out hope that we might see it some day, but it's been known about for a long time. It's also been raised in the the powerbi-visuals-tools repo and here's the issue if you want to add your voice to it.
The above may provide further background, but to summarise: when you enumerate the properties pane, it's possible to create a new instance for an object and this is how data-bound properties work (e.g. colours). As part of this instance, you can add an object known as a container ID, which will make Power BI show the drop-down you're after. At this point things don't fully work and you can't proceed any further with making it behave like the core visuals.
Any custom visuals that do support this, such as Power KPI and Power KPI Matrix are developed by Microsoft and have some kind of special allowance after they've been packaged, as you can compile these locally and they have the same problems as above.
Regards,
Daniel
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Thank you Daniel!
I suspected this, so thank you for confirming. Also, thanks for the links, they will be helpful.
EDIT:
I think I've got it now. And it seems to work too in 3.5.1.
I used the example in this post:
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 |