<?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: How to determine number of checkbox slicer values selected in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-determine-number-of-checkbox-slicer-values-selected/m-p/3108674#M109711</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="521842" data-lia-user-login="deeskuma" class="lia-mention lia-mention-user"&gt;deeskuma&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the answer is no. The reason is that the table visual has its own flter context where VALUES is evaluated. In order to ignore this filter context you need to use ALLSELECTED&lt;/P&gt;</description>
    <pubDate>Thu, 02 Mar 2023 19:32:24 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2023-03-02T19:32:24Z</dc:date>
    <item>
      <title>How to determine number of checkbox slicer values selected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-determine-number-of-checkbox-slicer-values-selected/m-p/3108574#M109703</link>
      <description>&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to PowerBI and I intend to calculate the number of options checked/selected in the multiselect checkbox slicer.&lt;BR /&gt;I tried using DAX query to create custom measure to determine the same but it is not giving correct result.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;DAX query for custom measure :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;var selectedProducts= VALUES(TableName[ColumnName])
var countRowsProducts=COUNTROWS(selectedProducts)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note , checkbox is created using column : TableName[ColumnName]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When we use this custom measure with other columns of the table in table visual, on row level it gives incorrect value.&lt;BR /&gt;Shouldn't the value of this custom measure be same ( equal to the number of values selected in the checkbox )&lt;BR /&gt;for all rows of the table visual ?&lt;BR /&gt;&lt;BR /&gt;Please assist.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Deesha&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 18:36:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-determine-number-of-checkbox-slicer-values-selected/m-p/3108574#M109703</guid>
      <dc:creator>deeskuma</dc:creator>
      <dc:date>2023-03-02T18:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine number of checkbox slicer values selected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-determine-number-of-checkbox-slicer-values-selected/m-p/3108674#M109711</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="521842" data-lia-user-login="deeskuma" class="lia-mention lia-mention-user"&gt;deeskuma&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the answer is no. The reason is that the table visual has its own flter context where VALUES is evaluated. In order to ignore this filter context you need to use ALLSELECTED&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 19:32:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-determine-number-of-checkbox-slicer-values-selected/m-p/3108674#M109711</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-03-02T19:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine number of checkbox slicer values selected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-determine-number-of-checkbox-slicer-values-selected/m-p/3113117#M110090</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;!&amp;nbsp;&lt;BR /&gt;ALLSELECTED worked well for my use case.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 06:59:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-determine-number-of-checkbox-slicer-values-selected/m-p/3113117#M110090</guid>
      <dc:creator>deeskuma</dc:creator>
      <dc:date>2023-03-06T06:59:24Z</dc:date>
    </item>
  </channel>
</rss>

