<?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: want to select values that are NOT in the slicer selection in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/want-to-select-values-that-are-NOT-in-the-slicer-selection/m-p/3926594#M152766</link>
    <description>&lt;P&gt;my mistake, it works now. Thanks for your help!&lt;/P&gt;</description>
    <pubDate>Fri, 17 May 2024 08:58:35 GMT</pubDate>
    <dc:creator>kenmuir71</dc:creator>
    <dc:date>2024-05-17T08:58:35Z</dc:date>
    <item>
      <title>want to select values that are NOT in the slicer selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/want-to-select-values-that-are-NOT-in-the-slicer-selection/m-p/3923203#M152675</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have a data table called GamesNotOnASite , example of data below;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;GameID&lt;/TD&gt;&lt;TD&gt;SiteID&lt;/TD&gt;&lt;TD&gt;CountryID&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;I want a viusal table or Matrix which has GameID's. I want two slicers, CountryID and SiteID. I want the CountryID to select the GameID's, I want the SiteID slicer to do the opposite, selecting a SiteID will show GameID's that are NOT in SiteID, but in the CountryID.&lt;BR /&gt;&lt;BR /&gt;Using the data example above I would get the following results;&lt;BR /&gt;When countryID = 1&lt;BR /&gt;when SiteID = 1&lt;BR /&gt;Visual should show Game ID 20&lt;BR /&gt;&lt;BR /&gt;When CountryID = 2&lt;BR /&gt;when siteID = 1&lt;BR /&gt;Visual would show GameiD = 10&lt;BR /&gt;&lt;BR /&gt;Anyone know how to do this? I want to use measures as the actual table is 0.5Million rows&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 09:06:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/want-to-select-values-that-are-NOT-in-the-slicer-selection/m-p/3923203#M152675</guid>
      <dc:creator>kenmuir71</dc:creator>
      <dc:date>2024-05-16T09:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: want to select values that are NOT in the slicer selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/want-to-select-values-that-are-NOT-in-the-slicer-selection/m-p/3924622#M152709</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="80728" data-lia-user-login="kenmuir71" class="lia-mention lia-mention-user"&gt;kenmuir71&lt;/a&gt;&amp;nbsp;- I've made the assumption that all 3 of your columns are in the same table. But to do this, you will need to create an additional disconnected table, containing only the SiteIDs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By disconnected I mean make sure there is no relationship. You can do this easily in Power Query, or through creating a Calculated Table with the DAX:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;VALUES( 'Table (3)'[SiteID] ) &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you have done this, you can create the following measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;VAR _game_id_Site =
    VALUES ( 'Table (3)'[SiteID] )
VAR _site_id_Site =
    VALUES ( 'site id'[SiteID] )
VAR GameIDs_not_in_site_ID =
    EXCEPT ( _site_id_Site, _game_id_Site )
RETURN
    COUNTROWS ( GameIDs_not_in_site_ID )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can then add this measure to your Table filters and set to "is not blank", when you set your slicers up, use the SiteID from the disconnected table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this solution works for you, please mark it as the solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 16:02:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/want-to-select-values-that-are-NOT-in-the-slicer-selection/m-p/3924622#M152709</guid>
      <dc:creator>mark_endicott</dc:creator>
      <dc:date>2024-05-16T16:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: want to select values that are NOT in the slicer selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/want-to-select-values-that-are-NOT-in-the-slicer-selection/m-p/3924786#M152717</link>
      <description>&lt;P&gt;Hi Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help, its appreciated. The solution works partially, however for the second example it gives GameID 10 &amp;amp; 20. It should only be GameID 10, As GameID 20 is present on site 1 and 7, so should be excluded. Is this easily resolved?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;When CountryID = 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when siteID = 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Visual would show GameiD = 10&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 17:41:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/want-to-select-values-that-are-NOT-in-the-slicer-selection/m-p/3924786#M152717</guid>
      <dc:creator>kenmuir71</dc:creator>
      <dc:date>2024-05-16T17:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: want to select values that are NOT in the slicer selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/want-to-select-values-that-are-NOT-in-the-slicer-selection/m-p/3926454#M152759</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="80728" data-lia-user-login="kenmuir71" class="lia-mention lia-mention-user"&gt;kenmuir71&lt;/a&gt;&amp;nbsp;- I'm afraid you'll need to look at the way you have set this up (check the data, relationships, DAX, filters etc).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result you are seeing is not reflected in mine.&amp;nbsp; I have your expected result:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 08:23:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/want-to-select-values-that-are-NOT-in-the-slicer-selection/m-p/3926454#M152759</guid>
      <dc:creator>mark_endicott</dc:creator>
      <dc:date>2024-05-17T08:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: want to select values that are NOT in the slicer selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/want-to-select-values-that-are-NOT-in-the-slicer-selection/m-p/3926455#M152760</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="80728" data-lia-user-login="kenmuir71" class="lia-mention lia-mention-user"&gt;kenmuir71&lt;/a&gt;&amp;nbsp;- I would be grateful if you could mark this as the solution given I have proven it works.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 08:23:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/want-to-select-values-that-are-NOT-in-the-slicer-selection/m-p/3926455#M152760</guid>
      <dc:creator>mark_endicott</dc:creator>
      <dc:date>2024-05-17T08:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: want to select values that are NOT in the slicer selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/want-to-select-values-that-are-NOT-in-the-slicer-selection/m-p/3926594#M152766</link>
      <description>&lt;P&gt;my mistake, it works now. Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 08:58:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/want-to-select-values-that-are-NOT-in-the-slicer-selection/m-p/3926594#M152766</guid>
      <dc:creator>kenmuir71</dc:creator>
      <dc:date>2024-05-17T08:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: want to select values that are NOT in the slicer selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/want-to-select-values-that-are-NOT-in-the-slicer-selection/m-p/3926803#M152771</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="80728" data-lia-user-login="kenmuir71" class="lia-mention lia-mention-user"&gt;kenmuir71&lt;/a&gt;&amp;nbsp;- Happy to help!&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 09:49:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/want-to-select-values-that-are-NOT-in-the-slicer-selection/m-p/3926803#M152771</guid>
      <dc:creator>mark_endicott</dc:creator>
      <dc:date>2024-05-17T09:49:40Z</dc:date>
    </item>
  </channel>
</rss>

