<?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 in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax/m-p/2517218#M70040</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="380340" data-lia-user-login="Alex_Hasan" class="lia-mention lia-mention-user"&gt;Alex_Hasan&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you want sum all the sales until the selected date?&lt;/P&gt;
&lt;P&gt;Maybe you can try this measure to do that.&lt;/P&gt;
&lt;P&gt;Measure = CALCULATE ( [Total sales], FILTER ( ALLSELECTED ( Dim_Date ), [Date] &amp;lt;= MAX ( 'Dim_Date'[Date] ) ) )&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;BR /&gt;Community Support Team _ chenwu zhu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Mon, 16 May 2022 10:02:55 GMT</pubDate>
    <dc:creator>v-chenwuz-msft</dc:creator>
    <dc:date>2022-05-16T10:02:55Z</dc:date>
    <item>
      <title>Dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax/m-p/2507096#M69446</link>
      <description>&lt;P&gt;Hello good people, I was given the assignment below to solve this. As a newcomer in PBI, I find it confusing. I tried hard and solved the problem, but it seems I actually messed up with the solution. Now I've submitted the solution file and I will be happy if someone kindly solves the problem so that I can learn from my mistakes. Could anyone please help me with the solution?&lt;/P&gt;&lt;P&gt;&lt;A title="SAP" href="https://drive.google.com/file/d/1FhyexInp3ghfep3BG0wnPUoFX_Ki1O9m/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/1FhyexInp3ghfep3BG0wnPUoFX_Ki1O9m/view?usp=sharing&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="andale mono,times" color="#0000FF"&gt;Case:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" color="#0000FF"&gt;Executives at a local grocery distributor are looking for some analysis on the data they have provided in the tab named SAP Data Extract.&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" color="#0000FF"&gt;1. Assume the current date is November 15, 2016. &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" color="#0000FF"&gt;&amp;nbsp; &amp;nbsp; - Use a Calendar Dimension (&amp;nbsp;PowerQuery)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" color="#0000FF"&gt;&amp;nbsp; &amp;nbsp; - Achieve this by using a slicer, so we can dynamically check another date&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" color="#0000FF"&gt;2. We would like to see the current year-to-date growth rate. &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" color="#0000FF"&gt;3. We would like to see that using Calcualte &amp;amp; DATESYTD () function&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" color="#0000FF"&gt;4. Call out any anomalies in the data as well as present any visuals that help them make better choices in the direction they want to take.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 08:44:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax/m-p/2507096#M69446</guid>
      <dc:creator>Alex_Hasan</dc:creator>
      <dc:date>2022-05-11T08:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax/m-p/2507442#M69458</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="380340" data-lia-user-login="Alex_Hasan" class="lia-mention lia-mention-user"&gt;Alex_Hasan&lt;/a&gt; , if you have date table marked as date table, then you can create a measure like example &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD('Date'[Date],"12/31"))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;refer if needed&lt;/P&gt;
&lt;P&gt;Power BI — Year on Year with or Without Time Intelligence &lt;BR /&gt;&lt;A href="https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a" target="_blank"&gt;https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=km41KfM_0uA" target="_blank"&gt;https://www.youtube.com/watch?v=km41KfM_0uA&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Time Intelligence, DATESMTD, DATESQTD, DATESYTD, Week On Week, Week Till Date, Custom Period on Period, &lt;BR /&gt;Custom Period till date: &lt;A href="https://youtu.be/aU2aKbnHuWs&amp;amp;t=145s" target="_blank"&gt;https://youtu.be/aU2aKbnHuWs&amp;amp;t=145s&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 10:20:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax/m-p/2507442#M69458</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-05-11T10:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax/m-p/2507706#M69474</link>
      <description>&lt;P&gt;Hi&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;, what would be the dax for total sales here? Because I need to calculate it properly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Sales[Net Sales]&lt;/SPAN&gt;&lt;SPAN&gt;)?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 12:00:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax/m-p/2507706#M69474</guid>
      <dc:creator>Alex_Hasan</dc:creator>
      <dc:date>2022-05-11T12:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax/m-p/2517218#M70040</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="380340" data-lia-user-login="Alex_Hasan" class="lia-mention lia-mention-user"&gt;Alex_Hasan&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you want sum all the sales until the selected date?&lt;/P&gt;
&lt;P&gt;Maybe you can try this measure to do that.&lt;/P&gt;
&lt;P&gt;Measure = CALCULATE ( [Total sales], FILTER ( ALLSELECTED ( Dim_Date ), [Date] &amp;lt;= MAX ( 'Dim_Date'[Date] ) ) )&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;BR /&gt;Community Support Team _ chenwu zhu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 10:02:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax/m-p/2517218#M70040</guid>
      <dc:creator>v-chenwuz-msft</dc:creator>
      <dc:date>2022-05-16T10:02:55Z</dc:date>
    </item>
  </channel>
</rss>

