<?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: Show Year of Previous to Previous Year from the current selected year in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Year-of-Previous-to-Previous-Year-from-the-current-selected/m-p/2053321#M46232</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="218999" data-lia-user-login="souvik900766" class="lia-mention lia-mention-user"&gt;souvik900766&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;PPY = SELECTEDVALUE('Table (2)'[Year])-2&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;should work well to find the 2 years before the selected date.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;What is the type of your Year column? can you share a sample of your data here (Not a screenshot)?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Appreciate your Kudos&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;img /&gt;&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;!!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 02 Sep 2021 08:12:20 GMT</pubDate>
    <dc:creator>VahidDM</dc:creator>
    <dc:date>2021-09-02T08:12:20Z</dc:date>
    <item>
      <title>Show Year of Previous to Previous Year from the current selected year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Year-of-Previous-to-Previous-Year-from-the-current-selected/m-p/2053241#M46229</link>
      <description>&lt;P&gt;Hi ,&lt;BR /&gt;&lt;BR /&gt;I want display the&amp;nbsp;Previous to Previous Year from the current selected year.&lt;BR /&gt;For e.g.:-&lt;BR /&gt;if my current selected year is 2020 then it should display 2018.&lt;BR /&gt;for 1 prior yaer it is working like selectedvalue(year)-1 but If i am doing selectedvalue(year)-2 it is giving the result of PY i.e&amp;nbsp;selectedvalue(year)-1&lt;BR /&gt;&lt;BR /&gt;Thanks in advance !&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 07:47:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Year-of-Previous-to-Previous-Year-from-the-current-selected/m-p/2053241#M46229</guid>
      <dc:creator>souvik900766</dc:creator>
      <dc:date>2021-09-02T07:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Show Year of Previous to Previous Year from the current selected year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Year-of-Previous-to-Previous-Year-from-the-current-selected/m-p/2053321#M46232</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="218999" data-lia-user-login="souvik900766" class="lia-mention lia-mention-user"&gt;souvik900766&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;PPY = SELECTEDVALUE('Table (2)'[Year])-2&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;should work well to find the 2 years before the selected date.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;What is the type of your Year column? can you share a sample of your data here (Not a screenshot)?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Appreciate your Kudos&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;img /&gt;&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;!!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Sep 2021 08:12:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Show-Year-of-Previous-to-Previous-Year-from-the-current-selected/m-p/2053321#M46232</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2021-09-02T08:12:20Z</dc:date>
    </item>
  </channel>
</rss>

