Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Is it possible to get highlighted data from the table with only one column inside of custom visual as below?
Inside of the custom visual, I have one dataRole of type GroupingOrMeasure as below.
"dataRoles": [
{
"displayName": "Fields",
"name": "values",
"kind": "GroupingOrMeasure"
}
]
I tried using mapping as
"dataViewMappings": [
{
"categorical": {
"categories": {
"select": [{ "bind": { "to": "values" } }]
},
"values": {
"select": [{ "bind": { "to": "values" } }]
}
}
}
]
but I was not able to get highlighted values. I would only get categories with the list of all product ID's from the picture. Can somebody explain to me why is that?
I saw that I'm not able to get highlighted values on the table mapping, and because I only have one field, I believe I'm not able to use the matrix mapping. So, I was wondering what I could use to get highlighted values?
Check out the July 2025 Power BI update to learn about new features.