<?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 Re: supportsHighlight ignored, visual still receives filtered data in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/supportsHighlight-ignored-visual-still-receives-filtered-data/m-p/186596#M5939</link>
    <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/31810"&gt;@jcandeias-hc&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Better to share your capabilities.json here. I can see the highlights array by &lt;EM&gt;options.dataViews[0].categorical.values[0].highlights&lt;/EM&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jun 2017 02:32:46 GMT</pubDate>
    <dc:creator>v-chuncz-msft</dc:creator>
    <dc:date>2017-06-02T02:32:46Z</dc:date>
    <item>
      <title>supportsHighlight ignored, visual still receives filtered data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/supportsHighlight-ignored-visual-still-receives-filtered-data/m-p/185285#M5918</link>
      <description>&lt;P&gt;In capabilities.json, I added the code below, as per the docs:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;"supportsHighlight": true&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the custom visual is still receiving pre-filtered data, regardless of the interaction setting between visuals, and there is no "highlights" property anywhere in the data view object or any of its children objects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried APIs 1.5 and 1.6. The visual is using series grouping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this feature broken at the moment?&lt;BR /&gt;Or is there a new way of declaring support for highlighting and the docs are lagging?&lt;BR /&gt;Or am I missing something really obvious and need to get new glasses?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 12:15:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/supportsHighlight-ignored-visual-still-receives-filtered-data/m-p/185285#M5918</guid>
      <dc:creator>jcandeias-hc</dc:creator>
      <dc:date>2017-05-31T12:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: supportsHighlight ignored, visual still receives filtered data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/supportsHighlight-ignored-visual-still-receives-filtered-data/m-p/186264#M5933</link>
      <description>&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/31810"&gt;@jcandeias-hc&lt;/a&gt;, As described in the documentation, with this property enabled it is the visual's responsibility to highlight the appropriate data by comparing the values array to the highlights array. The highlights array only appears when you highlight or select a value in other visuals.</description>
      <pubDate>Thu, 01 Jun 2017 15:10:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/supportsHighlight-ignored-visual-still-receives-filtered-data/m-p/186264#M5933</guid>
      <dc:creator>v-chuncz-msft</dc:creator>
      <dc:date>2017-06-01T15:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: supportsHighlight ignored, visual still receives filtered data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/supportsHighlight-ignored-visual-still-receives-filtered-data/m-p/186303#M5934</link>
      <description>&lt;P&gt;That's the thing - the values are coming pre-filtered and the highlights array is nowhere to be found, so there's nothing for the visual to work with,&amp;nbsp;It's as if the API is ignoring the setting altogether.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 15:45:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/supportsHighlight-ignored-visual-still-receives-filtered-data/m-p/186303#M5934</guid>
      <dc:creator>jcandeias-hc</dc:creator>
      <dc:date>2017-06-01T15:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: supportsHighlight ignored, visual still receives filtered data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/supportsHighlight-ignored-visual-still-receives-filtered-data/m-p/186596#M5939</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/31810"&gt;@jcandeias-hc&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Better to share your capabilities.json here. I can see the highlights array by &lt;EM&gt;options.dataViews[0].categorical.values[0].highlights&lt;/EM&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 02:32:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/supportsHighlight-ignored-visual-still-receives-filtered-data/m-p/186596#M5939</guid>
      <dc:creator>v-chuncz-msft</dc:creator>
      <dc:date>2017-06-02T02:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: supportsHighlight ignored, visual still receives filtered data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/supportsHighlight-ignored-visual-still-receives-filtered-data/m-p/186984#M5956</link>
      <description>&lt;P&gt;Below is the full capabilities.json file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wondering if any of the query behaviour I'm requesting is breaking the highlight functionality in some way.&lt;/P&gt;&lt;P&gt;Or perhaps I need to do something extra that main docs don't mention?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried different setups but nothing is triggering the highlight behaviour - i.e. getting the full unfiltered data back and a highlight array anywhere in data view object tree that I can use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interestingly, when editing interactions on a report, the little pie-chart-like "give me a highlight" switch does show up on top of the custom visual,&amp;nbsp;indicating Power BI is recognizing the setting in the capabilities.json file. It just doesn't do anything about it and still pre-filters data based on other visual's selections, regardless of the switch being selected&amp;nbsp;or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for looking into this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
    "supportsHighlight": true,
    "dataRoles": [
        {
            "displayName": "Axis",
            "name": "axis",
            "kind": "Grouping"
        },
        {
            "displayName": "Series",
            "name": "series",
            "kind": "Grouping"
        },
        {
            "displayName": "Lines",
            "name": "lines",
            "kind": "Measure"
        },
        {
            "displayName": "Values",
            "name": "values",
            "kind": "Measure"
        }
    ],
    "dataViewMappings": [
        {
            "conditions": [
                {
                    "axis": {
                        "max": 1
                    }
                },
                {
                    "series": {
                        "max": 1
                    }
                },
                {
                    "values": {
                        "max": 1
                    }
                }
            ],
            "categorical": {
                "categories": {
                    "for": {
                        "in": "axis"
                    },
                    "dataReductionAlgorithm": {
                        "sample": {}
                    }
                },
                "values": {
                    "group": {
                        "by": "series",
                        "select": [
                            {
                                "bind": {
                                    "to": "values"
                                }
                            },
                            {
                                "bind": {
                                    "to": "lines"
                                }
                            }
                        ]
                    }
                }
            }
        }
    ],
    "objects": {
        "yAxis": {
            "displayName": "Y Axis",
            "properties": {
                "scaleType": {
                    "displayName": "Scale Type",
                    "type": {
                        "enumeration": [
                            {
                                "displayName": "Linear",
                                "displayNameKey": "Linear",
                                "value": "Linear"
                            },
                            {
                                "displayName": "Log",
                                "displayNameKey": "Log",
                                "value": "Log"
                            }
                        ]
                    }
                },
                "position": {
                    "displayName": "Position",
                    "type": {
                        "numeric": true
                    }
                }
            }
        },
        "xAxis": {
            "displayName": "X Axis",
            "properties": {
                "format": {
                    "displayName": "Format Mask",
                    "type": {
                        "text": true
                    }
                },
                "rotation": {
                    "displayName": "Rotation",
                    "type": {
                        "numeric": true
                    }
                },
                "position": {
                    "displayName": "Position",
                    "type": {
                        "numeric": true
                    }
                },
                "ticks": {
                    "displayName": "Ticks",
                    "type": {
                        "numeric": true
                    }
                }
            }
        },
        "seriesShapes": {
            "displayName": "Series Shapes",
            "properties": {
                "shape": {
                    "displayName": "Shape",
                    "type": {
                        "enumeration": [
                            {
                                "displayName": "Regular",
                                "displayNameKey": "Regular",
                                "value": "Regular"
                            },
                            {
                                "displayName": "Vertical Line",
                                "displayNameKey": "VerticalLine",
                                "value": "VerticalLine"
                            }
                        ]
                    }
                }
            }
        },
        "colorSelector": {
            "displayName": "Data Colors",
            "properties": {
                "fill": {
                    "displayName": "Color",
                    "type": {
                        "fill": {
                            "solid": {
                                "color": true
                            }
                        }
                    }
                }
            }
        }
    }
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 12:09:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/supportsHighlight-ignored-visual-still-receives-filtered-data/m-p/186984#M5956</guid>
      <dc:creator>jcandeias-hc</dc:creator>
      <dc:date>2017-06-02T12:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: supportsHighlight ignored, visual still receives filtered data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/supportsHighlight-ignored-visual-still-receives-filtered-data/m-p/187660#M5982</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/31810"&gt;@jcandeias-hc&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to loop through the array &lt;EM&gt;options.dataViews[0].categorical.values&lt;/EM&gt; to find the highlights array.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 02:13:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/supportsHighlight-ignored-visual-still-receives-filtered-data/m-p/187660#M5982</guid>
      <dc:creator>v-chuncz-msft</dc:creator>
      <dc:date>2017-06-05T02:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: supportsHighlight ignored, visual still receives filtered data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/supportsHighlight-ignored-visual-still-receives-filtered-data/m-p/187847#M5988</link>
      <description>&lt;P&gt;As I keep saying, &lt;EM&gt;there is no highlights array anywhere in the dataview object tree to be seen&lt;/EM&gt;, in that location, its children, its parents, the "grouped" object for series data, or any other location. It's just not there.&lt;/P&gt;&lt;P&gt;And the data itself is coming through pre-filtered by power bi, so the highlights array would have no use, even if it did show up.&lt;/P&gt;&lt;P&gt;This functionality is simply not working with this setup to start with.&lt;/P&gt;&lt;P&gt;Are the docs on GitHub up to date, do you know?&lt;/P&gt;&lt;P&gt;Perhaps there's another magic switch or a new API I need to use?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 08:20:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/supportsHighlight-ignored-visual-still-receives-filtered-data/m-p/187847#M5988</guid>
      <dc:creator>jcandeias-hc</dc:creator>
      <dc:date>2017-06-05T08:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: supportsHighlight ignored, visual still receives filtered data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/supportsHighlight-ignored-visual-still-receives-filtered-data/m-p/188593#M6003</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/31810"&gt;@jcandeias-hc&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I know, &lt;A href="https://github.com/Microsoft/PowerBI-visuals-tools/tree/master/templates/visuals/.api" target="_self"&gt;this&lt;/A&gt; is the only available API.&amp;nbsp;I just replace the capabilities.json of &lt;A href="https://github.com/Microsoft/PowerBI-visuals-sampleBarChart" target="_self"&gt;Sample Bar Chart Repo&lt;/A&gt;&amp;nbsp;with yours, and I can see the highlights array.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 03:02:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/supportsHighlight-ignored-visual-still-receives-filtered-data/m-p/188593#M6003</guid>
      <dc:creator>v-chuncz-msft</dc:creator>
      <dc:date>2017-06-06T03:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: supportsHighlight ignored, visual still receives filtered data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/supportsHighlight-ignored-visual-still-receives-filtered-data/m-p/189629#M6022</link>
      <description>&lt;P&gt;So it appears to work between custom visuals on the latest API, but other scenarios fail.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Trigger&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Target&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Result&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Notes&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Vanilla Bar Chart&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Custom Visual (API 1.6)&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;OK&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Power BI enables the highlight option in the custom visual and the dataview highlights array shows up.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Vanilla Slicer&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Custom Visual (API 1.6)&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;KO&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Power BI does not enable the highlight button in the target custom visual to start with.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Chiclet Slicer (API 1.5)&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Custom Visual (API 1.6)&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;KO&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Power BI enables the highlight button, however it still filters the data regardless of its selection and the highlights array does not show up.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Custom Visual (API 1.6)&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Custom Visual (API 1.6)&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;OK&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Power BI enables the highlight option in the custom visual and the dataview highlights array shows up. Highlighting data only makes sense if the SelectionIds between visuals are compatible, which is OK.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, this is now under premier support as it has become a blocker.&lt;/P&gt;&lt;P&gt;I'll share any relevant solution back here once we know more.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 10:46:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/supportsHighlight-ignored-visual-still-receives-filtered-data/m-p/189629#M6022</guid>
      <dc:creator>jcandeias-hc</dc:creator>
      <dc:date>2017-06-07T10:46:13Z</dc:date>
    </item>
  </channel>
</rss>

