<?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 Return data from specified time interval in all rows in a calculated column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-data-from-specified-time-interval-in-all-rows-in-a/m-p/1947005#M42393</link>
    <description>&lt;DIV class="lia-message-subject lia-component-message-view-widget-subject"&gt;&lt;DIV class="MessageSubject"&gt;&lt;DIV class="lia-message-subject"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-post-date lia-component-post-date lia-component-message-view-widget-post-date"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;My Data:-&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Year&lt;/TD&gt;&lt;TD&gt;Month&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;CY&lt;/TD&gt;&lt;TD&gt;2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2019&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Jan,19&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;784003.6&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2020&lt;/TD&gt;&lt;TD&gt;Jan,20&lt;/TD&gt;&lt;TD&gt;796923&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021&lt;/TD&gt;&lt;TD&gt;Jan,21&lt;/TD&gt;&lt;TD&gt;912686.3&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2018&lt;/TD&gt;&lt;TD&gt;Jan,18&lt;/TD&gt;&lt;TD&gt;754578.3&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I want to return year 2018 CY Value i.e. 754578 in 2018 Column in all rows.&lt;BR /&gt;The calculation should be based on latest month for e.g.&lt;BR /&gt;MAX(Month),dateadd(month,-3,year)&lt;BR /&gt;So, here I want to find from Jan, 2021, to 3 years prior data.&lt;BR /&gt;I tried with this three but not working..&lt;BR /&gt;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 09 Jul 2021 02:18:18 GMT</pubDate>
    <dc:creator>souvik900766</dc:creator>
    <dc:date>2021-07-09T02:18:18Z</dc:date>
    <item>
      <title>Return data from specified time interval in all rows in a calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-data-from-specified-time-interval-in-all-rows-in-a/m-p/1947005#M42393</link>
      <description>&lt;DIV class="lia-message-subject lia-component-message-view-widget-subject"&gt;&lt;DIV class="MessageSubject"&gt;&lt;DIV class="lia-message-subject"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-post-date lia-component-post-date lia-component-message-view-widget-post-date"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;My Data:-&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Year&lt;/TD&gt;&lt;TD&gt;Month&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;CY&lt;/TD&gt;&lt;TD&gt;2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2019&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Jan,19&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;784003.6&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2020&lt;/TD&gt;&lt;TD&gt;Jan,20&lt;/TD&gt;&lt;TD&gt;796923&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021&lt;/TD&gt;&lt;TD&gt;Jan,21&lt;/TD&gt;&lt;TD&gt;912686.3&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2018&lt;/TD&gt;&lt;TD&gt;Jan,18&lt;/TD&gt;&lt;TD&gt;754578.3&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I want to return year 2018 CY Value i.e. 754578 in 2018 Column in all rows.&lt;BR /&gt;The calculation should be based on latest month for e.g.&lt;BR /&gt;MAX(Month),dateadd(month,-3,year)&lt;BR /&gt;So, here I want to find from Jan, 2021, to 3 years prior data.&lt;BR /&gt;I tried with this three but not working..&lt;BR /&gt;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Jul 2021 02:18:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-data-from-specified-time-interval-in-all-rows-in-a/m-p/1947005#M42393</guid>
      <dc:creator>souvik900766</dc:creator>
      <dc:date>2021-07-09T02:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Return data from specified time interval in all rows in a calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-data-from-specified-time-interval-in-all-rows-in-a/m-p/1947355#M42394</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="218999" data-lia-user-login="souvik900766" class="lia-mention lia-mention-user"&gt;souvik900766&lt;/a&gt; , Try like given examples &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example&lt;/P&gt;
&lt;P&gt;sumx(filter(Table, Table[year] = 2018 ), [CY])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sumx(filter(Table, Table[year] = 2018 &amp;amp;&amp;amp; [Month] = "Jan, 18" ), [CY])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if you can only month name like Jan, feb or 01, 02 etc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sumx(filter(Table, Table[year] = 2018 &amp;amp;&amp;amp; [Month] = earlier([Month] )&amp;nbsp; ), [CY])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 06:08:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-data-from-specified-time-interval-in-all-rows-in-a/m-p/1947355#M42394</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-07-09T06:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Return data from specified time interval in all rows in a calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-data-from-specified-time-interval-in-all-rows-in-a/m-p/1948470#M42418</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Its not working...&lt;BR /&gt;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 14:47:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-data-from-specified-time-interval-in-all-rows-in-a/m-p/1948470#M42418</guid>
      <dc:creator>souvik900766</dc:creator>
      <dc:date>2021-07-09T14:47:32Z</dc:date>
    </item>
  </channel>
</rss>

