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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Kudoed Authors