<?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: Income Statement Matrix Percentage in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Income-Statement-Matrix-Percentage/m-p/2125483#M48748</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="255423" data-lia-user-login="TimmK" class="lia-mention lia-mention-user"&gt;TimmK&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;% = 
VAR _2021 =
    CALCULATE (
        SUM ( 'Table'[Amount] ),
        ALLEXCEPT ( 'Table', 'Table'[Category] ),
        'Table'[Year] = 2021
    )
RETURN
    _2021 / SUM ( 'Table'[Amount] )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;STRONG&gt;accepting&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;it as the solution&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;to help the other members find it more quickly.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 10 Oct 2021 08:37:20 GMT</pubDate>
    <dc:creator>VahidDM</dc:creator>
    <dc:date>2021-10-10T08:37:20Z</dc:date>
    <item>
      <title>Income Statement Matrix Percentage</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Income-Statement-Matrix-Percentage/m-p/2123465#M48694</link>
      <description>&lt;P&gt;For the income statement I want to create a matrix table:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Rows: Different categories (revenue, different types of expenses)&lt;/LI&gt;&lt;LI&gt;Columns: Years (2021, 2020, 2019 etc.)&lt;/LI&gt;&lt;LI&gt;Values: Amount (and percentage)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I want to compare the amount of 2021 to the amount of the previous years for each category.&amp;nbsp;Yet, the formula for the percentage values&amp;nbsp;&lt;SPAN&gt;DIVIDE(CALCULATE([Amount],'Date'[Year]=2021,[Amount],0) does not work, the % values remain empty when I apply the formula.&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is how it looks like in Excel. How can I achieve this in Power BI?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 07:40:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Income-Statement-Matrix-Percentage/m-p/2123465#M48694</guid>
      <dc:creator>TimmK</dc:creator>
      <dc:date>2021-10-08T07:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Income Statement Matrix Percentage</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Income-Statement-Matrix-Percentage/m-p/2125483#M48748</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="255423" data-lia-user-login="TimmK" class="lia-mention lia-mention-user"&gt;TimmK&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;% = 
VAR _2021 =
    CALCULATE (
        SUM ( 'Table'[Amount] ),
        ALLEXCEPT ( 'Table', 'Table'[Category] ),
        'Table'[Year] = 2021
    )
RETURN
    _2021 / SUM ( 'Table'[Amount] )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;STRONG&gt;accepting&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;it as the solution&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;to help the other members find it more quickly.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Oct 2021 08:37:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Income-Statement-Matrix-Percentage/m-p/2125483#M48748</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2021-10-10T08:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Income Statement Matrix Percentage</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Income-Statement-Matrix-Percentage/m-p/2134394#M48984</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="315278" data-lia-user-login="VahidDM" class="lia-mention lia-mention-user"&gt;VahidDM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your great and helpful answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yet, I actually have three tables that result in the income statement, namely the date, account and income table. How can I apply ALLEXCEPT here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 08:23:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Income-Statement-Matrix-Percentage/m-p/2134394#M48984</guid>
      <dc:creator>TimmK</dc:creator>
      <dc:date>2021-10-14T08:23:37Z</dc:date>
    </item>
  </channel>
</rss>

