<?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: Creating Variance Column in Table Matrix with Values as Rows in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-Variance-Column-in-Table-Matrix-with-Values-as-Rows/m-p/3337504#M125183</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="560807" data-lia-user-login="Mandalorian" class="lia-mention lia-mention-user"&gt;Mandalorian&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;In order to better understand your demands and give the right solution, could you please provide some more specific information? such as your desensitized example data and a screenshot of your desired results?&lt;/P&gt;
&lt;P&gt;Thanks for your efforts &amp;amp; time in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Community Support Team_Binbin Yu&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jul 2023 01:44:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-07-19T01:44:23Z</dc:date>
    <item>
      <title>Creating Variance Column in Table Matrix with Values as Rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-Variance-Column-in-Table-Matrix-with-Values-as-Rows/m-p/3335135#M125060</link>
      <description>&lt;P&gt;I am trying to create a variance column for a YoY calculation in the P&amp;amp;L below. I cannot figure out how to calculate this variance since the P&amp;amp;L is a table matrix with values as rows. The year columns are from my date table and only have 2 years.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Below is the formula that is not working. The formula does not calculate the difference between the years and I am unable to put the formula in the columns section above or below the Year field. Is there a way to add a variance field or is there an easier way to build a P&amp;amp;L in PBI?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;Variance =&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;Var PY = CALCULATE(SELECTEDMEASURE(), FILTER('Date Table', 'Date Table'[Year] = 2022))&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;Var CY = CALCULATE(SELECTEDMEASURE(), FILTER('Date Table', 'Date Table'[Year] = 2023))&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;Var Result = &lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;CY - PY&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;Return Result&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Jul 2023 19:37:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-Variance-Column-in-Table-Matrix-with-Values-as-Rows/m-p/3335135#M125060</guid>
      <dc:creator>Mandalorian</dc:creator>
      <dc:date>2023-07-17T19:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Variance Column in Table Matrix with Values as Rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-Variance-Column-in-Table-Matrix-with-Values-as-Rows/m-p/3337504#M125183</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="560807" data-lia-user-login="Mandalorian" class="lia-mention lia-mention-user"&gt;Mandalorian&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;In order to better understand your demands and give the right solution, could you please provide some more specific information? such as your desensitized example data and a screenshot of your desired results?&lt;/P&gt;
&lt;P&gt;Thanks for your efforts &amp;amp; time in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Community Support Team_Binbin Yu&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 01:44:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-Variance-Column-in-Table-Matrix-with-Values-as-Rows/m-p/3337504#M125183</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-19T01:44:23Z</dc:date>
    </item>
  </channel>
</rss>

