<?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 Display the different. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-the-different/m-p/3015173#M102368</link>
    <description>&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need help with displaying a result that shows the different between two years for the same period. For example, the difference of sold items between 2022 Qrt 3 and 2021 Qrt 3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is what I am trying to achieve ("Sold change" column of the "Power BI Matrix" table).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Somthing to note, is that my fact table contains only YYYY and Qrt# text data as dates of entries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone can help, I would be most grateful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/scl/fo/y0dd0otjoblgsf1xtanf3/h?dl=0&amp;amp;rlkey=vq5hhz11r49633s2ub2o8na36" target="_blank"&gt;https://www.dropbox.com/scl/fo/y0dd0otjoblgsf1xtanf3/h?dl=0&amp;amp;rlkey=vq5hhz11r49633s2ub2o8na36&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2023 00:15:47 GMT</pubDate>
    <dc:creator>matrix_user</dc:creator>
    <dc:date>2023-01-12T00:15:47Z</dc:date>
    <item>
      <title>Display the different.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-the-different/m-p/3015173#M102368</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need help with displaying a result that shows the different between two years for the same period. For example, the difference of sold items between 2022 Qrt 3 and 2021 Qrt 3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is what I am trying to achieve ("Sold change" column of the "Power BI Matrix" table).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Somthing to note, is that my fact table contains only YYYY and Qrt# text data as dates of entries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone can help, I would be most grateful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/scl/fo/y0dd0otjoblgsf1xtanf3/h?dl=0&amp;amp;rlkey=vq5hhz11r49633s2ub2o8na36" target="_blank"&gt;https://www.dropbox.com/scl/fo/y0dd0otjoblgsf1xtanf3/h?dl=0&amp;amp;rlkey=vq5hhz11r49633s2ub2o8na36&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 00:15:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-the-different/m-p/3015173#M102368</guid>
      <dc:creator>matrix_user</dc:creator>
      <dc:date>2023-01-12T00:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Display the different.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-the-different/m-p/3015205#M102374</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="329134" data-lia-user-login="matrix_user" class="lia-mention lia-mention-user"&gt;matrix_user&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you are able to add a date column (in the below code "Day Date" and create a relationship on this instead) in the fact table, this will enable time intelligence functions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With Fact table[State] in matric values, you can create the following measures:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1. Current Sold&amp;nbsp; = sum ( Fact table[Sold])&lt;/P&gt;&lt;P&gt;2. Current Remaining = sum( Fact table[Remaining])&lt;/P&gt;&lt;P&gt;3. SPLY Sold = Calculate( [Current Sold] , Dateadd( Date[Day Date]),-1,Year)&lt;BR /&gt;4. SPLY Remaining = Calculate( [Current Remaining] , Dateadd( Date[Day Date]),-1,Year)&lt;/P&gt;&lt;P&gt;5. Sold Change = [Current Sold] - [SPLY Sold]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would solve the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate a thumbs up if this is helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly accept this as the solution if your question is resolved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 01:11:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-the-different/m-p/3015205#M102374</guid>
      <dc:creator>adudani</dc:creator>
      <dc:date>2023-01-12T01:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Display the different.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-the-different/m-p/3015206#M102375</link>
      <description>&lt;P&gt;If you are unable to add a datecolumn in the fact table:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;have a static filtered solution that achieves 4/5 columns :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/u/s!AkGuKJKxOlnAePGP2xw3i6zo7Ps?e=TT9lhl" target="_blank"&gt;https://1drv.ms/u/s!AkGuKJKxOlnAePGP2xw3i6zo7Ps?e=TT9lhl&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 00:50:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-the-different/m-p/3015206#M102375</guid>
      <dc:creator>adudani</dc:creator>
      <dc:date>2023-01-12T00:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Display the different.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-the-different/m-p/3015239#M102376</link>
      <description>&lt;P&gt;Hi Adudani,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am unable to add a date column - so I appreciate your help. Thumbs up!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 01:12:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-the-different/m-p/3015239#M102376</guid>
      <dc:creator>matrix_user</dc:creator>
      <dc:date>2023-01-12T01:12:07Z</dc:date>
    </item>
  </channel>
</rss>

