<?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: Highlight bug with boolean measures in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Highlight-bug-with-boolean-measures/m-p/1829183#M29324</link>
    <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/201719"&gt;@fdanielsouza&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I think this may relate to selectedvalue function.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt; &lt;A href="https://docs.microsoft.com/en-us/dax/selectedvalue-function" target="_blank" rel="noopener"&gt;SELECTEDVALUE function - DAX | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;AFAIK, selectedvalue not suitable for multiple selections. if you do not add 'alternate result' to selectedvalue function, it will invoke 'blank' function to handle this exception result.(mutiple item seleciton)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/dax/blank-function-dax" target="_blank" rel="noopener"&gt;BLANK function (DAX) - DAX | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://www.sqlbi.com/articles/blank-handling-in-dax/" target="_blank" rel="noopener"&gt;Handling BLANK in DAX - SQLBI&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;If you add this optional parameter in selectedvalue function, did these parts still get the wrong results?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 May 2021 07:34:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-05-14T07:34:34Z</dc:date>
    <item>
      <title>Highlight bug with boolean measures</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Highlight-bug-with-boolean-measures/m-p/1817627#M29255</link>
      <description>&lt;P&gt;Hi, I noticed that the highlight array have the same values of the data array, but with nulls where points aren't selected. When the measure returns a boolean value, however, the array gives falses instead of nulls, hence we can't highlight a data value of "false", since all values in the highlight array are false. See example below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="when the measure returns boolean" style="width: 365px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/505854iD8E35F69FBC849B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="when the measure returns boolean" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;when the measure returns boolean&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="when measure returns anything else" style="width: 325px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/505855i8752F554A24025B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="when measure returns anything else" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;when measure returns anything else&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 May 2021 02:08:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Highlight-bug-with-boolean-measures/m-p/1817627#M29255</guid>
      <dc:creator>fdanielsouza</dc:creator>
      <dc:date>2021-05-01T02:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight bug with boolean measures</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Highlight-bug-with-boolean-measures/m-p/1819357#M29269</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/201719"&gt;@fdanielsouza&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;What type of visual and measure formula are you worked on? Can you please share some dummy data to test?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 07:41:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Highlight-bug-with-boolean-measures/m-p/1819357#M29269</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-03T07:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight bug with boolean measures</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Highlight-bug-with-boolean-measures/m-p/1820083#M29275</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;, it's a categorical visual with one category field and a values field that accepts several measures. For highlighting I'm using the options.dataViews[0].categorical.values[0].highlights array to determine if a value is highlighted or not, but the behaviour changes when I use a measure like SELECTEDVALUE([boolean_column]). Instead of give nulls, it give falses. So, if the highlighted value is a false, then the entire array will be of falses, which hinders the highlighting.&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 14:59:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Highlight-bug-with-boolean-measures/m-p/1820083#M29275</guid>
      <dc:creator>fdanielsouza</dc:creator>
      <dc:date>2021-05-03T14:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight bug with boolean measures</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Highlight-bug-with-boolean-measures/m-p/1829183#M29324</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/201719"&gt;@fdanielsouza&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I think this may relate to selectedvalue function.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt; &lt;A href="https://docs.microsoft.com/en-us/dax/selectedvalue-function" target="_blank" rel="noopener"&gt;SELECTEDVALUE function - DAX | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;AFAIK, selectedvalue not suitable for multiple selections. if you do not add 'alternate result' to selectedvalue function, it will invoke 'blank' function to handle this exception result.(mutiple item seleciton)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/dax/blank-function-dax" target="_blank" rel="noopener"&gt;BLANK function (DAX) - DAX | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://www.sqlbi.com/articles/blank-handling-in-dax/" target="_blank" rel="noopener"&gt;Handling BLANK in DAX - SQLBI&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;If you add this optional parameter in selectedvalue function, did these parts still get the wrong results?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 07:34:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Highlight-bug-with-boolean-measures/m-p/1829183#M29324</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-14T07:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight bug with boolean measures</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Highlight-bug-with-boolean-measures/m-p/1841058#M29415</link>
      <description>&lt;P&gt;I don't think it's related to the function per se, because if I use an implicit measure in a boolean column (like "first this_boolean_column") the problem stands&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 15:47:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Highlight-bug-with-boolean-measures/m-p/1841058#M29415</guid>
      <dc:creator>fdanielsouza</dc:creator>
      <dc:date>2021-05-13T15:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight bug with boolean measures</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Highlight-bug-with-boolean-measures/m-p/1842409#M29430</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/201719"&gt;@fdanielsouza&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Have you tried to use a column with other type values? Bool type is different than common visuals and they may affect/conflict with the visual render and analysis. (AFAIK, sometimes they can be defined to control to enable some features)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;In addition, you can also contact to power bi team and attach your sample pbix file to help them reproduce and confirm this scenario.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 08:51:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Highlight-bug-with-boolean-measures/m-p/1842409#M29430</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-14T08:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight bug with boolean measures</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Highlight-bug-with-boolean-measures/m-p/1842560#M29431</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;, so I'll just stick to a warn in the visual's landing page.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 10:00:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Highlight-bug-with-boolean-measures/m-p/1842560#M29431</guid>
      <dc:creator>fdanielsouza</dc:creator>
      <dc:date>2021-05-14T10:00:14Z</dc:date>
    </item>
  </channel>
</rss>

