<?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 Few slicers conneted to one in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Few-slicers-conneted-to-one/m-p/2335476#M58821</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've met huge block creating report for Supply Rotation.&lt;/P&gt;&lt;P&gt;Data that I'm using is extract from our warehouse system, with codes for each product, amounts etc. I'm creating Rotation report so I need to show how each item rotated TILL last 30/60days.&lt;/P&gt;&lt;P&gt;What I need to create:&lt;/P&gt;&lt;P&gt;- User should be able to pick date he wants (for example till 04.02.2022)&lt;/P&gt;&lt;P&gt;After picking that date 3 tables should be filtered according to that slicer :&lt;/P&gt;&lt;P&gt;first should show exact date from slicer (sum of values for each product till 04.02.2022)&lt;/P&gt;&lt;P&gt;second one should show 30 days before that date (sum of values for each product till 05.01.2022)&lt;/P&gt;&lt;P&gt;third one should show 60 days before that date&amp;nbsp;(sum of values for each product till 06.12.2021).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here is where steps are starting, I have no idea how to do corelations like that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2nd problem is how to sum values from weird date range - 30 days after exact date.&lt;/P&gt;&lt;P&gt;For example - I ned to see sum of values from certain date till 30 days later (User picks 05.01.2022 and I need to sum next 30 days).&lt;/P&gt;&lt;P&gt;I've tried some calculations and Sumx but couldn't handle it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx for all help!&lt;/P&gt;</description>
    <pubDate>Sun, 13 Feb 2022 22:31:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-02-13T22:31:50Z</dc:date>
    <item>
      <title>Few slicers conneted to one</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Few-slicers-conneted-to-one/m-p/2335476#M58821</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've met huge block creating report for Supply Rotation.&lt;/P&gt;&lt;P&gt;Data that I'm using is extract from our warehouse system, with codes for each product, amounts etc. I'm creating Rotation report so I need to show how each item rotated TILL last 30/60days.&lt;/P&gt;&lt;P&gt;What I need to create:&lt;/P&gt;&lt;P&gt;- User should be able to pick date he wants (for example till 04.02.2022)&lt;/P&gt;&lt;P&gt;After picking that date 3 tables should be filtered according to that slicer :&lt;/P&gt;&lt;P&gt;first should show exact date from slicer (sum of values for each product till 04.02.2022)&lt;/P&gt;&lt;P&gt;second one should show 30 days before that date (sum of values for each product till 05.01.2022)&lt;/P&gt;&lt;P&gt;third one should show 60 days before that date&amp;nbsp;(sum of values for each product till 06.12.2021).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here is where steps are starting, I have no idea how to do corelations like that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2nd problem is how to sum values from weird date range - 30 days after exact date.&lt;/P&gt;&lt;P&gt;For example - I ned to see sum of values from certain date till 30 days later (User picks 05.01.2022 and I need to sum next 30 days).&lt;/P&gt;&lt;P&gt;I've tried some calculations and Sumx but couldn't handle it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx for all help!&lt;/P&gt;</description>
      <pubDate>Sun, 13 Feb 2022 22:31:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Few-slicers-conneted-to-one/m-p/2335476#M58821</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-13T22:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Few slicers conneted to one</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Few-slicers-conneted-to-one/m-p/2335770#M58833</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , create an independent date table for that. Do not join with any table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;//Date1 is independent Date table, Date is joined with Table &lt;BR /&gt;new measure equal max=&lt;BR /&gt;var _max = maxx(allselected(Date1),Date1[Date])&lt;BR /&gt;return &lt;BR /&gt;calculate( sum(Table[Value]), filter('Date', 'Date'[Date] =_max))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;//Date1 is independent Date table, Date is joined with Table &lt;BR /&gt;new measure last 30 =&lt;BR /&gt;var _max = maxx(allselected(Date1),Date1[Date])&lt;BR /&gt;var _min = _max -30&lt;BR /&gt;return &lt;BR /&gt;calculate( sum(Table2[Value]), filter('Date', 'Date'[Date] &amp;gt;=_min &amp;amp;&amp;amp; 'Date'[Date] &amp;lt;=_max))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;//Date1 is independent Date table, Date is joined with Table &lt;BR /&gt;new measure last 60=&lt;BR /&gt;var _max = maxx(allselected(Date1),Date1[Date])&lt;BR /&gt;var _min = _max -60 &lt;BR /&gt;return &lt;BR /&gt;calculate( sum(Table3[Value]), filter('Date', 'Date'[Date] &amp;gt;=_min &amp;amp;&amp;amp; 'Date'[Date] &amp;lt;=_max))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In filter in place of date table, you can use the respective table and date&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Need of an Independent Date Table:&lt;A href="https://www.youtube.com/watch?v=44fGGmg9fHI" target="_blank"&gt;https://www.youtube.com/watch?v=44fGGmg9fHI&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 03:54:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Few-slicers-conneted-to-one/m-p/2335770#M58833</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-02-14T03:54:31Z</dc:date>
    </item>
  </channel>
</rss>

