<?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: Multiple Tables and two slicers in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Tables-and-two-slicers/m-p/3043933#M104568</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="377760" data-lia-user-login="Kebas_Leech" class="lia-mention lia-mention-user"&gt;Kebas_Leech&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems doable. Could you paste some sample data of the mentioned tables?&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2023 23:01:56 GMT</pubDate>
    <dc:creator>FreemanZ</dc:creator>
    <dc:date>2023-01-25T23:01:56Z</dc:date>
    <item>
      <title>Multiple Tables and two slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Tables-and-two-slicers/m-p/3043864#M104560</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to calculate a simple sum of the duration of a job. Thing is, the page as two slicers: one for selecting YEAR(SLICER 1) and the other for job location(SLICER2).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table 1: Date&lt;/P&gt;&lt;P&gt;Table 2: Job&amp;amp;Locations&lt;/P&gt;&lt;P&gt;Table 3: Durations&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only relationships I seem to be able to create is a 1-to-many from Table 1[Date] to Table2[Date] and Table3[Date]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried different dax options but they all give the same result because they arent being filtered by SLICER2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dax:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Measure1 = 
        CALCULATE(
            sum(Table3[Duration]),
            SUMMARIZE(
                Table2,
                Table2[Location],
            ),FILTER(Table1, SELECTEDVALUE(Table1[YEAR]))
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;This seems to be a relationship problem between table2 and 3, but i can only make many-to-many. Is there any workaround in dax?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you all.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 22:15:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Tables-and-two-slicers/m-p/3043864#M104560</guid>
      <dc:creator>Kebas_Leech</dc:creator>
      <dc:date>2023-01-25T22:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Tables and two slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Tables-and-two-slicers/m-p/3043933#M104568</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="377760" data-lia-user-login="Kebas_Leech" class="lia-mention lia-mention-user"&gt;Kebas_Leech&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems doable. Could you paste some sample data of the mentioned tables?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 23:01:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-Tables-and-two-slicers/m-p/3043933#M104568</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-01-25T23:01:56Z</dc:date>
    </item>
  </channel>
</rss>

