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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
AnViL12
Frequent Visitor

supportsHighlight is not working

Hello,

 

I have 

 

added supportsHighlight in the capabilities file:

{
  "dataRoles": [
    {
      "name": "Geometry",
      "kind": "Grouping",
      "displayName": "Geometry"
    },
    {
      "name": "Label",
      "kind": "Grouping",
      "displayName": "Label"
    },
    {
      "name": "BubbleSize",
      "kind": "Measure",
      "displayName": "Bubble Size"
    }
  ],
  "dataViewMappings": [
    {
      "conditions": [
        {
          "Geometry": {
            "max": 1
          },
          "Size": {
            "max": 1
          },
          "BubbleSize": {
            "max": 1
          }
        }
      ],
      "categorical": {
        "categories": {
          "select": [
            {
              "bind": {
                "to": "Geometry"
              }
            },
            {
              "bind": {
                "to": "Label"
              }
            }
          ],
          "dataReductionAlgorithm": {
            "top": {
              "count": 30000
            }
          }
        },
        "values": {
          "select": [
            {
              "bind": {
                "to": "BubbleSize"
              }
            }
          ]
        },
        "dataVolume": 3
      }
    }
  ],
 
  "tooltips": {
    "supportedTypes": {
      "default": true,
      "canvas": true
    },
    "supportEnhancedTooltips": true,
    "roles": [
      "tooltips"
    ]
  },
  "privileges": [],
  "supportsHighlight": true
}
 
And I was hoping that when I filter on a grouping data Role I would get the Highlight array for the specific group but I don't see it?
I don't see it either when filtering on a measure and then checking catetegorical.values.highlights?

AnViL12_0-1734101201294.png

 

So I was also checking if in metadata the isDataFilterApplied can be used to know if the list being retrieved is filtered or not. But that says: Property 'IsDataFilterApplied' does not exist on type 'DataViewMetadata'.ts(2339).

With kind regards,

 

Baran

0 REPLIES 0

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors