<?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: sales last year in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sales-last-year/m-p/770551#M3671</link>
    <description>&lt;P&gt;Yes, your answer is usesless. The site you are refering to is simply great, but you are not helping.&amp;nbsp; What would be usefull, would be if you could apply the methods Marco is using to my specific problem. That would be of great help.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2019 06:54:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-08-20T06:54:36Z</dc:date>
    <item>
      <title>sales last year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sales-last-year/m-p/770164#M3647</link>
      <description>&lt;P&gt;I'm want to show the entire sales of last year (Sales LY), along with the sales I have YTD, like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;TD&gt;Sales LY&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;January-19&lt;/TD&gt;&lt;TD&gt;500&lt;/TD&gt;&lt;TD&gt;232&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;February-19&lt;/TD&gt;&lt;TD&gt;450&lt;/TD&gt;&lt;TD&gt;445&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;March-19&lt;/TD&gt;&lt;TD&gt;600&lt;/TD&gt;&lt;TD&gt;323&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;April-19&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;TD&gt;324&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;May-19&lt;/TD&gt;&lt;TD&gt;400&lt;/TD&gt;&lt;TD&gt;656&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;June-19&lt;/TD&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;353&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;July-19&lt;/TD&gt;&lt;TD&gt;432&lt;/TD&gt;&lt;TD&gt;345&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;August-19&lt;/TD&gt;&lt;TD&gt;344&lt;/TD&gt;&lt;TD&gt;343&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;September-19&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;767&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;October-19&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;656&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;November-19&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;344&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;December-19&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;565&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've played around with this a bit. I could use dateadd, parallellperiod and previousyear functions, but they will not give me the sales for the entire last year, only up to august.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 19:05:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sales-last-year/m-p/770164#M3647</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-19T19:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: sales last year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sales-last-year/m-p/770444#M3657</link>
      <description>&lt;P&gt;To do time-based calculations you need to follow certain rules. Please read this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.daxpatterns.com/time-patterns/" target="_blank"&gt;https://www.daxpatterns.com/time-patterns/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The most basic rule is that you should have a proper Date table in your model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"I could use dateadd, parallellperiod and previousyear functions, but they will not give me the sales for the entire last year, only up to august."&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Well, you couldn't use the above functions because they do not work on any date column. They need a Date table. Then they do work correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;Darek&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 04:51:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sales-last-year/m-p/770444#M3657</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-20T04:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: sales last year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sales-last-year/m-p/770520#M3667</link>
      <description>&lt;P&gt;Thanks, Sherlock.&amp;nbsp; I'm always suprised why there are people out there giving answers which are completly useless. Why do they bother to answer?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to imagine that there is a date table. How could the this be resolved?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 06:24:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sales-last-year/m-p/770520#M3667</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-20T06:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: sales last year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sales-last-year/m-p/770549#M3669</link>
      <description>Useless? Well, you get answers based on the information YOU give. We are not fortune-tellers.&lt;BR /&gt;&lt;BR /&gt;Are you saying that the website I've referred you to is USELESS?&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;Darek</description>
      <pubDate>Tue, 20 Aug 2019 06:50:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sales-last-year/m-p/770549#M3669</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-20T06:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: sales last year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sales-last-year/m-p/770551#M3671</link>
      <description>&lt;P&gt;Yes, your answer is usesless. The site you are refering to is simply great, but you are not helping.&amp;nbsp; What would be usefull, would be if you could apply the methods Marco is using to my specific problem. That would be of great help.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 06:54:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sales-last-year/m-p/770551#M3671</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-20T06:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: sales last year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sales-last-year/m-p/770563#M3674</link>
      <description>Then you have to wait for others...&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D.</description>
      <pubDate>Tue, 20 Aug 2019 06:59:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/sales-last-year/m-p/770563#M3674</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-20T06:59:59Z</dc:date>
    </item>
  </channel>
</rss>

