<?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: YTD Linear Chart in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-Linear-Chart/m-p/2026292#M45302</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All I'm saying is that you should do things &lt;STRONG&gt;RIGHT&lt;/STRONG&gt; and never try to re-invent the wheel. Please follow Best Practices of the field and you'll be safe.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Aug 2021 14:03:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-08-19T14:03:58Z</dc:date>
    <item>
      <title>YTD Linear Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-Linear-Chart/m-p/2023060#M45127</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to build a &lt;U&gt;&lt;STRONG&gt;daily&lt;/STRONG&gt; &lt;/U&gt;line chart to compare YOY betwen YTD FY21 and YTD FY22.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FY21 consist of all actual sales while FY22 consist of partial actual sales and forecast numbers. Both actuals and forecast are in different tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see below, i tried to compare the sales in&amp;nbsp;same day/month in different year but due to unique dates in both years (eg: 18th Aug &lt;STRONG&gt;2020&lt;/STRONG&gt; and 18th Aug &lt;STRONG&gt;2021),&amp;nbsp;&lt;/STRONG&gt;the line charts cannot be presented in an overlay manner.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried to pull in Month-Day in X-Axis instead of date but the whole calculation will run and become incorrect. Below are my functions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;YTD FY21 = TOTALYTD([Actual FY21],'Calendar'[Date],"1/31")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;YTD FY22 Team Commit = TOTALYTD([Forecast Team Commit],'Calendar'[Date],"01/31")&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;YTD FY21 % = DIVIDE([YTD FY21],[Grand Total Actual FY21])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;YTD FY22 % = DIVIDE([YTD FY22 Team Commit],[Grand Total Team Commit Forecast FY22])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;would really appreciate if somene can advise! thank you!&lt;/P&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;</description>
      <pubDate>Wed, 18 Aug 2021 09:04:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-Linear-Chart/m-p/2023060#M45127</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-18T09:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Linear Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-Linear-Chart/m-p/2024219#M45194</link>
      <description>&lt;P&gt;Here's everything you need to do CORRECT calculations on a custom financial calendar:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.daxpatterns.com/custom-time-related-calculations/" target="_blank"&gt;Custom time-related calculations – DAX Patterns&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 18:29:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-Linear-Chart/m-p/2024219#M45194</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-18T18:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Linear Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-Linear-Chart/m-p/2024513#M45225</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you saying that my functions are wrong which are causing the issue whereby I cannot present the YOY on month/day in X-axis?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just want the two years YTD trend to show together above/under each other for the purpose of comparison. Is there a workaround for this please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 23:43:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-Linear-Chart/m-p/2024513#M45225</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-18T23:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Linear Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-Linear-Chart/m-p/2026292#M45302</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All I'm saying is that you should do things &lt;STRONG&gt;RIGHT&lt;/STRONG&gt; and never try to re-invent the wheel. Please follow Best Practices of the field and you'll be safe.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 14:03:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-Linear-Chart/m-p/2026292#M45302</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-19T14:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Linear Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-Linear-Chart/m-p/2027051#M45347</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you! I will explore the link that you have shared and hopefully will find a solution from there.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 00:18:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/YTD-Linear-Chart/m-p/2027051#M45347</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-20T00:18:13Z</dc:date>
    </item>
  </channel>
</rss>

