<?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: Filter table based on an indepentend slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-table-based-on-an-indepentend-slicer/m-p/2284287#M55973</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="351870" data-lia-user-login="groetschel" class="lia-mention lia-mention-user"&gt;groetschel&lt;/a&gt;&amp;nbsp;Try:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Filtered Project Budget per Country = filter('Project Budget per Country','Project Budget per Country'[str_country]=MAX('Selector Table'[selected]))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Or you could use SELECTEDVALUE or if you want multiple use DISTINCT and IN&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jan 2022 18:37:24 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2022-01-14T18:37:24Z</dc:date>
    <item>
      <title>Filter table based on an indepentend slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-table-based-on-an-indepentend-slicer/m-p/2284177#M55968</link>
      <description>&lt;P&gt;Hey guys&lt;/P&gt;&lt;P&gt;I am trying to do something real simple, but I don't get it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a new filtered table based on an existing one&lt;/P&gt;&lt;P&gt;Filtered Project Budget per Country = filter('Project Budget per Country','Project Budget per Country'[str_country]='Selector Table'[selected])&lt;/P&gt;&lt;P&gt;If I replace&amp;nbsp;'Selector Table'[selected] with "d2" everything works fine, but I would like to use a dynamic value of a slicer to filter the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I tried to create a helper table with&lt;/P&gt;&lt;P&gt;Selector Table = values('RSU BU SQL'[BU description])&lt;/P&gt;&lt;P&gt;and added a measure like this&lt;/P&gt;&lt;P&gt;selected = if(HASONEVALUE('RSU BU SQL'[BU description]),VALUES('RSU BU SQL'[country cod]),"xx")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I create an element to show the [selected] value it shows the correct value for the filter "d2", but somehow the "Filtered Project Budget per Country" stays empty...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help...&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gunnar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 16:50:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-table-based-on-an-indepentend-slicer/m-p/2284177#M55968</guid>
      <dc:creator>groetschel</dc:creator>
      <dc:date>2022-01-14T16:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Filter table based on an indepentend slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-table-based-on-an-indepentend-slicer/m-p/2284287#M55973</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="351870" data-lia-user-login="groetschel" class="lia-mention lia-mention-user"&gt;groetschel&lt;/a&gt;&amp;nbsp;Try:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Filtered Project Budget per Country = filter('Project Budget per Country','Project Budget per Country'[str_country]=MAX('Selector Table'[selected]))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Or you could use SELECTEDVALUE or if you want multiple use DISTINCT and IN&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 18:37:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-table-based-on-an-indepentend-slicer/m-p/2284287#M55973</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-01-14T18:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Filter table based on an indepentend slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-table-based-on-an-indepentend-slicer/m-p/2287341#M56144</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;This does not work and maybe I wasn't clear enough. That's why I created this simple example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;First table: BU with column "BU" values d2, nl, ru&lt;/P&gt;&lt;P&gt;Second table: Projects with&amp;nbsp; column (lid, Days, Code, BU) values (1,100,JUHU,d2) and (2,80,RECO,d2)&lt;/P&gt;&lt;P&gt;Third table: ProjectBudget with column (fklid, BU, Budget) values (1,d2,20) and (1,ru,80)&lt;/P&gt;&lt;P&gt;Relations: BU[BU] -- Projects[BU], Projects[lid] -- ProjectsBudget[fklid]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a slicer for BU table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And a table with columns: Projects[Days, BU, Code],ProjectBudget[Budget]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Selecting "d2" in the slicer should show the following:&lt;/P&gt;&lt;P&gt;[Days,BU,Code,Budget]&lt;/P&gt;&lt;P&gt;100,d2,JUHU,20 &amp;lt;-- and here is the challenge: The slicer should filter the table, but show only the ProjectBudget values for d2.&lt;/P&gt;&lt;P&gt;80,d2,RECO,&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;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;PBIX file:&amp;nbsp;&lt;A href="https://kicg-my.sharepoint.com/:u:/g/personal/ggroetschel_kaizen_com/Ef16Ex_xAYJOriacxggAnIQBs4gAAo3FVjY43hgIl225pg?e=hxOdBd" target="_blank"&gt;https://kicg-my.sharepoint.com/:u:/g/personal/ggroetschel_kaizen_com/Ef16Ex_xAYJOriacxggAnIQBs4gAAo3FVjY43hgIl225pg?e=hxOdBd&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gunnar&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 19:00:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-table-based-on-an-indepentend-slicer/m-p/2287341#M56144</guid>
      <dc:creator>groetschel</dc:creator>
      <dc:date>2022-01-17T19:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Filter table based on an indepentend slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-table-based-on-an-indepentend-slicer/m-p/2292650#M56411</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="351870" data-lia-user-login="groetschel" class="lia-mention lia-mention-user"&gt;groetschel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check the result bellow,&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Tang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 05:47:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-table-based-on-an-indepentend-slicer/m-p/2292650#M56411</guid>
      <dc:creator>v-xiaotang</dc:creator>
      <dc:date>2022-01-20T05:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Filter table based on an indepentend slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-table-based-on-an-indepentend-slicer/m-p/2294257#M56506</link>
      <description>&lt;P&gt;It is working! But I cannot figure out, how you did it.&lt;/P&gt;&lt;P&gt;Could you explain, please?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gunnar&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 20:51:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-table-based-on-an-indepentend-slicer/m-p/2294257#M56506</guid>
      <dc:creator>groetschel</dc:creator>
      <dc:date>2022-01-20T20:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Filter table based on an indepentend slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-table-based-on-an-indepentend-slicer/m-p/2300191#M56792</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="351870" data-lia-user-login="groetschel" class="lia-mention lia-mention-user"&gt;groetschel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;select this,&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Tang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 06:26:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-table-based-on-an-indepentend-slicer/m-p/2300191#M56792</guid>
      <dc:creator>v-xiaotang</dc:creator>
      <dc:date>2022-01-25T06:26:35Z</dc:date>
    </item>
  </channel>
</rss>

