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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Highlighting support for table data view mapping

Hi, 

 

When will highlighting be support for table view mapping? I imagine it will be similar to selection, where it works by row, and the dataview will also return an array of highlighted rows as well as the original list of rows.

 

Cheers

1 ACCEPTED SOLUTION
dm-p
Super User
Super User

Hi @Anonymous,

The custom visuals team aren't particularly active on the forums, so feature requests usually aren't picked-up from here. It's probably best to create an issue in the GitHub repository or email pbicvsupport@microsoft.com) if you have a request for the visuals SDK.

To manage your expectations, the core table visual doesn't support highlighting so this may not be an easy ask for the team to enable for the table data view mapping in custom visuals.

To work around this limitation, you could use a categorical data view mapping with a single data role, which is bound to both categories and values, e.g.:

{
    "dataRoles": [
        {
            "displayName": "Values",
            "name": "values",
            "kind": "GroupingOrMeasure"
        }
    ],
    "objects": {},
    "dataViewMappings": [
        {
            "categorical": {
                "categories": {
                    "select": [{ "bind": { "to": "values" } }]
                },
                "values": {
                    "select": [{ "bind": { "to": "values" } }]
                }
            }
        }
    ],
    "supportsHighlight": true
}

Note that you will need to process your data view appropriately in your ViewModel to check for the presence of both the categories and values arrays.

This approach is how we present a flexible table-like data view in Deneb, but can leverage the interactivity features that are not supported for the table mapping. I'm currently working on bringing highlight support in using this structure soon and it's looking quite promising, so you may be able to use a similar approach if you need to move forward with your work.

Regards,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




View solution in original post

1 REPLY 1
dm-p
Super User
Super User

Hi @Anonymous,

The custom visuals team aren't particularly active on the forums, so feature requests usually aren't picked-up from here. It's probably best to create an issue in the GitHub repository or email pbicvsupport@microsoft.com) if you have a request for the visuals SDK.

To manage your expectations, the core table visual doesn't support highlighting so this may not be an easy ask for the team to enable for the table data view mapping in custom visuals.

To work around this limitation, you could use a categorical data view mapping with a single data role, which is bound to both categories and values, e.g.:

{
    "dataRoles": [
        {
            "displayName": "Values",
            "name": "values",
            "kind": "GroupingOrMeasure"
        }
    ],
    "objects": {},
    "dataViewMappings": [
        {
            "categorical": {
                "categories": {
                    "select": [{ "bind": { "to": "values" } }]
                },
                "values": {
                    "select": [{ "bind": { "to": "values" } }]
                }
            }
        }
    ],
    "supportsHighlight": true
}

Note that you will need to process your data view appropriately in your ViewModel to check for the presence of both the categories and values arrays.

This approach is how we present a flexible table-like data view in Deneb, but can leverage the interactivity features that are not supported for the table mapping. I'm currently working on bringing highlight support in using this structure soon and it's looking quite promising, so you may be able to use a similar approach if you need to move forward with your work.

Regards,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.