<?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: DAX help in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-help/m-p/2962565#M98745</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;@hi ,great hatsoff for your solution. I need difference between actuals and future stocks in seperate column as difference. but that difference should be upto selected charge date (for example ,if I select 1/3/2018 in charge date ,difference column should show upto previous month 1/2/2018 ).please help me out&lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2022 13:08:31 GMT</pubDate>
    <dc:creator>sarath_chandra</dc:creator>
    <dc:date>2022-12-12T13:08:31Z</dc:date>
    <item>
      <title>DAX help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-help/m-p/2949230#M97691</link>
      <description>&lt;P&gt;I have charge date (which is first day of each month) as column , and month wise column (first day of each month ) and stocks column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i need if i select one month in date slicer (charge date) for example(01/03/2018) .&lt;/P&gt;&lt;P&gt;it should show future stocks value from stock column from 01/03/2018(month wise column) to 01/12/2018 (month wise column). (blue colour mentioned in future stock)&lt;/P&gt;&lt;P&gt;and it should show actual stock value from stock column - previous month of (month wise column) (01/01/2018 and 01/02/2018)(blue colour mentioned in actual stock )&lt;/P&gt;&lt;P&gt;and it dynamically take the values from previous month of selected charge date for future stock (mentioned in yellow colour )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to show it in line chart (actual stock and future stock).&lt;/P&gt;&lt;P&gt;please help me out&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The data is attached&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the desired output i need is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 18:09:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-help/m-p/2949230#M97691</guid>
      <dc:creator>sarath_chandra</dc:creator>
      <dc:date>2022-12-05T18:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: DAX help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-help/m-p/2950625#M97803</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="479003" data-lia-user-login="sarath_chandra" class="lia-mention lia-mention-user"&gt;sarath_chandra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;You can create two measures:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Actual_ = IF(SELECTEDVALUE('Table (3)'[month-wise])&amp;lt;SELECTEDVALUE('Table (3)'[charge_date]),SUM([stocks]),0)

Future_ = IF(SELECTEDVALUE('Table (3)'[month-wise])&amp;gt;=SELECTEDVALUE('Table (3)'[charge_date]),SUM([stocks]),SUMX(FILTER(ALL('Table (3)'),'Table (3)'[month-wise]=SELECTEDVALUE('Table (3)'[month-wise])&amp;amp;&amp;amp;'Table (3)'[charge_date]=SELECTEDVALUE('Table (3)'[charge_date])-1),[stocks]))&lt;/LI-CODE&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SUP&gt;Best Regards,&lt;/SUP&gt;&lt;/P&gt;
&lt;P&gt;&lt;SUP&gt;Yolo Zhu&lt;/SUP&gt;&lt;/P&gt;
&lt;P&gt;&lt;SUP&gt;If this post &lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/SUP&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 07:54:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-help/m-p/2950625#M97803</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-06T07:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: DAX help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-help/m-p/2962565#M98745</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;@hi ,great hatsoff for your solution. I need difference between actuals and future stocks in seperate column as difference. but that difference should be upto selected charge date (for example ,if I select 1/3/2018 in charge date ,difference column should show upto previous month 1/2/2018 ).please help me out&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 13:08:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-help/m-p/2962565#M98745</guid>
      <dc:creator>sarath_chandra</dc:creator>
      <dc:date>2022-12-12T13:08:31Z</dc:date>
    </item>
  </channel>
</rss>

