<?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 Finding the title/number of previous year in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-the-title-number-of-previous-year/m-p/1407320#M26007</link>
    <description>&lt;P&gt;Hey guys&lt;/P&gt;&lt;P&gt;This should be one of the simplest things to do yet I cant seem to find anyone asking this question or anyone guiding within this issue.&lt;/P&gt;&lt;P&gt;I literally only need to print out the title of last/previous year. So fx 2019 when we are in 2020, and 2020 when we are in 2021.&lt;/P&gt;&lt;P&gt;&lt;U&gt;I tried this DAX_measure but it wont work as intended:&lt;/U&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;MeasurePrevious = FORMAT(YEAR(TODAY()-1, "YYYY"))&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;To find the current year i just say:&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;MeasureCurrent = Year(Today())&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;- There should be some easy way to do this simple thing?&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 01 Oct 2020 12:17:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-10-01T12:17:48Z</dc:date>
    <item>
      <title>Finding the title/number of previous year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-the-title-number-of-previous-year/m-p/1407320#M26007</link>
      <description>&lt;P&gt;Hey guys&lt;/P&gt;&lt;P&gt;This should be one of the simplest things to do yet I cant seem to find anyone asking this question or anyone guiding within this issue.&lt;/P&gt;&lt;P&gt;I literally only need to print out the title of last/previous year. So fx 2019 when we are in 2020, and 2020 when we are in 2021.&lt;/P&gt;&lt;P&gt;&lt;U&gt;I tried this DAX_measure but it wont work as intended:&lt;/U&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;MeasurePrevious = FORMAT(YEAR(TODAY()-1, "YYYY"))&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;To find the current year i just say:&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;MeasureCurrent = Year(Today())&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;- There should be some easy way to do this simple thing?&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Oct 2020 12:17:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-the-title-number-of-previous-year/m-p/1407320#M26007</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-01T12:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the title/number of previous year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-the-title-number-of-previous-year/m-p/1407390#M26011</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this one:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Measure = YEAR(TODAY()) - 1&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 13:03:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-the-title-number-of-previous-year/m-p/1407390#M26011</guid>
      <dc:creator>camargos88</dc:creator>
      <dc:date>2020-10-01T13:03:58Z</dc:date>
    </item>
  </channel>
</rss>

