<?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 Measure slicer not filtering table correctly in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Measure-slicer-not-filtering-table-correctly/m-p/2812283#M39030</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am segementing customers into categories based on time periods, and by specific flags in the data set. I have confirmed my logic for the categories is correct and the counts of customers in each category is correct.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to have a slicer so the user can select a category and it will filter the table to just those cusotmers. I have attached a sample data set &lt;A href="https://drive.google.com/drive/folders/1LwPvcyTqomIsjfTtcP74-sZuxIgqioVb?usp=sharing" target="_self"&gt;here&lt;/A&gt;. There is only data for YoY.&amp;nbsp; When I select Lost in the slicer I would expect 617 values but I am only getting one customer in the table. Non of categories gives the right value in the table. I can't figure out where my logical error is.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is greatly appreicated.&amp;nbsp;&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="nbs33_0-1664745489916.png" style="width: 866px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/797082iCE405FB859D8176F/image-dimensions/866x433?v=v2" width="866" height="433" role="button" title="nbs33_0-1664745489916.png" alt="nbs33_0-1664745489916.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 02 Oct 2022 21:23:23 GMT</pubDate>
    <dc:creator>nbs33</dc:creator>
    <dc:date>2022-10-02T21:23:23Z</dc:date>
    <item>
      <title>Measure slicer not filtering table correctly</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Measure-slicer-not-filtering-table-correctly/m-p/2812283#M39030</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am segementing customers into categories based on time periods, and by specific flags in the data set. I have confirmed my logic for the categories is correct and the counts of customers in each category is correct.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to have a slicer so the user can select a category and it will filter the table to just those cusotmers. I have attached a sample data set &lt;A href="https://drive.google.com/drive/folders/1LwPvcyTqomIsjfTtcP74-sZuxIgqioVb?usp=sharing" target="_self"&gt;here&lt;/A&gt;. There is only data for YoY.&amp;nbsp; When I select Lost in the slicer I would expect 617 values but I am only getting one customer in the table. Non of categories gives the right value in the table. I can't figure out where my logical error is.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is greatly appreicated.&amp;nbsp;&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="nbs33_0-1664745489916.png" style="width: 866px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/797082iCE405FB859D8176F/image-dimensions/866x433?v=v2" width="866" height="433" role="button" title="nbs33_0-1664745489916.png" alt="nbs33_0-1664745489916.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Oct 2022 21:23:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Measure-slicer-not-filtering-table-correctly/m-p/2812283#M39030</guid>
      <dc:creator>nbs33</dc:creator>
      <dc:date>2022-10-02T21:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Measure slicer not filtering table correctly</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Measure-slicer-not-filtering-table-correctly/m-p/2812299#M39031</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/315872"&gt;@nbs33&lt;/a&gt;&amp;nbsp;I'm not entirely sure what you are going for here exactly, but your Buckets Slicer isn't connected to any tables. That means you have to form the relationship in the Measure. Your Retained and Organic measures work but there's something off about your Lost and Acquired measures. You basically need a measure along the lines of below but you'll also have to fix your Lost and Aquired measures to work more like your Retained and Organic measures. PBIX is attached below signature.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
    VAR __Group = SELECTEDVALUE('Buckets Slicer'[Groups])
RETURN
    SWITCH(__Group,
        "All",COUNTROWS(DISTINCT(ALL('BoB'[CustomerKey]))),
        "Lost",[Lost],
        "Retained",[Retained],
        "Organic",[Organic],
        "Acquired",[Acquired],
        BLANK()
    )&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 02 Oct 2022 21:35:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Measure-slicer-not-filtering-table-correctly/m-p/2812299#M39031</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-10-02T21:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Measure slicer not filtering table correctly</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Measure-slicer-not-filtering-table-correctly/m-p/2814137#M39042</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/313"&gt;@Greg_Deckler&lt;/a&gt;&amp;nbsp;thanks for the response. I was using a table filter to create that relationship to my disconnected slicer but that didn't work&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="nbs33_0-1664804179989.png" style="width: 571px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/797536i198D9CAAD98B041F/image-dimensions/571x289?v=v2" width="571" height="289" role="button" title="nbs33_0-1664804179989.png" alt="nbs33_0-1664804179989.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure what could be wrong with my Lost and Acquired because the out is just a list of Customers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been struggling with this issue for awhile. Any other apporaches your can think of? Since I have a time dimension slicer I can't use a calculated table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 13:38:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Measure-slicer-not-filtering-table-correctly/m-p/2814137#M39042</guid>
      <dc:creator>nbs33</dc:creator>
      <dc:date>2022-10-03T13:38:21Z</dc:date>
    </item>
  </channel>
</rss>

