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

Don'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.

Reply
DevForDay
Frequent Visitor

Get highlighted value from table

Is it possible to get highlighted data from the table with only one column inside of custom visual as below?

 

image.png

 

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?

 



0 REPLIES 0

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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors