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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.