<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Highlighting support for table data view mapping in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Highlighting-support-for-table-data-view-mapping/m-p/2340978#M34427</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
    <pubDate>Wed, 16 Feb 2022 03:01:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-02-16T03:01:25Z</dc:date>
    <item>
      <title>Highlighting support for table data view mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Highlighting-support-for-table-data-view-mapping/m-p/2340978#M34427</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 03:01:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Highlighting-support-for-table-data-view-mapping/m-p/2340978#M34427</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-16T03:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting support for table data view mapping</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Highlighting-support-for-table-data-view-mapping/m-p/2343228#M34445</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;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 &lt;A href="https://github.com/microsoft/PowerBI-visuals-tools/issues" target="_self"&gt;create an issue in the GitHub repository&lt;/A&gt;&amp;nbsp;or email &lt;A href="mailto:pbisvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;) if you have a request for the visuals SDK.&lt;/P&gt;
&lt;P&gt;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 &lt;FONT face="courier new,courier"&gt;table&lt;/FONT&gt; data view mapping in custom visuals.&lt;/P&gt;
&lt;P&gt;To work around this limitation, you could use a &lt;FONT face="courier new,courier"&gt;categorical&lt;/FONT&gt; data view mapping with a single data role, which is bound to both &lt;FONT face="courier new,courier"&gt;categories&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;values&lt;/FONT&gt;, e.g.:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "dataRoles": [
        {
            "displayName": "Values",
            "name": "values",
            "kind": "GroupingOrMeasure"
        }
    ],
    "objects": {},
    "dataViewMappings": [
        {
            "categorical": {
                "categories": {
                    "select": [{ "bind": { "to": "values" } }]
                },
                "values": {
                    "select": [{ "bind": { "to": "values" } }]
                }
            }
        }
    ],
    "supportsHighlight": true
}
&lt;/LI-CODE&gt;
&lt;P&gt;Note that you will need to process your data view appropriately in your ViewModel to check for the presence of both the&amp;nbsp;&lt;FONT face="courier new,courier"&gt;categories&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;values&lt;/FONT&gt; arrays.&lt;/P&gt;
&lt;P&gt;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 &lt;FONT face="courier new,courier"&gt;table&lt;/FONT&gt; 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.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 21:38:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Highlighting-support-for-table-data-view-mapping/m-p/2343228#M34445</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2022-02-16T21:38:54Z</dc:date>
    </item>
  </channel>
</rss>

