<?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 % of base year by month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-base-year-by-month/m-p/1643298#M33407</link>
    <description>&lt;P&gt;&lt;SPAN&gt;How could I possibly calculate % of base year using 2019 as my base year but on a monthly basis? That is, Jan 2020 / Jan 2019, Feb 20 / Feb 2019, Mar 20 / Mar 19 and so on up to Jan 2021 / Jan 2019? I've done a Measure for 2019 using Sales of 2019 = CALCULATE( [TOTAL SALES], 'Dates'[Year] = 2019] and then Percent of 2019 = DIVIDE( [Total Sales], [Sales of 2019] ), but this only works at the year level. Once I use month on the rows of my table only the monthly values for 2019 are populated and so I don't get a percent of base in 2020 or 2021 as the monthly sales values of those years don't have the corresponding 2019 values next to them in the table. Any ideas how I can accomplish this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As the image below the 2019 monthly values are being repeated against 2020/2021 and tyring to create a visual of % of 2019.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Feb 2021 00:18:57 GMT</pubDate>
    <dc:creator>UR982T</dc:creator>
    <dc:date>2021-02-04T00:18:57Z</dc:date>
    <item>
      <title>% of base year by month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-base-year-by-month/m-p/1643298#M33407</link>
      <description>&lt;P&gt;&lt;SPAN&gt;How could I possibly calculate % of base year using 2019 as my base year but on a monthly basis? That is, Jan 2020 / Jan 2019, Feb 20 / Feb 2019, Mar 20 / Mar 19 and so on up to Jan 2021 / Jan 2019? I've done a Measure for 2019 using Sales of 2019 = CALCULATE( [TOTAL SALES], 'Dates'[Year] = 2019] and then Percent of 2019 = DIVIDE( [Total Sales], [Sales of 2019] ), but this only works at the year level. Once I use month on the rows of my table only the monthly values for 2019 are populated and so I don't get a percent of base in 2020 or 2021 as the monthly sales values of those years don't have the corresponding 2019 values next to them in the table. Any ideas how I can accomplish this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As the image below the 2019 monthly values are being repeated against 2020/2021 and tyring to create a visual of % of 2019.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 00:18:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-base-year-by-month/m-p/1643298#M33407</guid>
      <dc:creator>UR982T</dc:creator>
      <dc:date>2021-02-04T00:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: % of base year by month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-base-year-by-month/m-p/1643375#M33408</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Sales of 2019 = CALCULATE( [TOTAL SALES], 'Dates'[Year] = 2019,all(dates))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 00:18:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-base-year-by-month/m-p/1643375#M33408</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2021-02-04T00:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: % of base year by month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-base-year-by-month/m-p/1643383#M33409</link>
      <description>&lt;P&gt;That gives me the total sales of 2019 against each month. I need the sales value of each month of 2019 paired against its corresponding month in 2020 and 2021. I've shared an excel table to make it clearer!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 00:23:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-base-year-by-month/m-p/1643383#M33409</guid>
      <dc:creator>UR982T</dc:creator>
      <dc:date>2021-02-04T00:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: % of base year by month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-base-year-by-month/m-p/1643658#M33425</link>
      <description>&lt;P&gt;I've changed it to this and it works:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sales of 2019 by Month =&lt;BR /&gt;&amp;nbsp; &amp;nbsp; CALCULATE(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; [TOTAL SALES]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; , FILTER( ALL('Dates'[Date]), 'Dates' [Year] = 2019&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;amp;&amp;amp; 'Dates'[Month Number] = MAX( 'Dates'[Month Number])&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 03:52:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/of-base-year-by-month/m-p/1643658#M33425</guid>
      <dc:creator>UR982T</dc:creator>
      <dc:date>2021-02-04T03:52:02Z</dc:date>
    </item>
  </channel>
</rss>

