<?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: Calculate the Ratio in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-Ratio/m-p/3368272#M126708</link>
    <description>&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;LI-CODE lang="markup"&gt;Total Sum by year = CALCULATE(SUMX('Table','Table'[Summe]),ALLEXCEPT('Table','Table'[Jahr]))


OR

Total Sum by year = SUMX(CALCULATETABLE('Table',ALLEXCEPT('Table','Table'[Jahr])),'Table'[Summe])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Percentage = DIVIDE('Table'[Summe],'Table'[Total Sum by year])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Aug 2023 11:49:21 GMT</pubDate>
    <dc:creator>eliasayyy</dc:creator>
    <dc:date>2023-08-07T11:49:21Z</dc:date>
    <item>
      <title>Calculate the Ratio</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-Ratio/m-p/3368264#M126706</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a problem and wanted to ask if one of you could possibly help me. So I'm trying to calculate a percentage value. The problem is that the values must be filtered by year and must also be summed. If you look at the picture you see the column "Sum", this should be summed up but the year should be considered in the column "Year". In this way, the sum of the rows that contain the same year and are in the column "True to date" should be divided by the total per year.&lt;/P&gt;&lt;P&gt;&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With kind regards&lt;BR /&gt;Steallight&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 11:37:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-Ratio/m-p/3368264#M126706</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-07T11:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the Ratio</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-Ratio/m-p/3368266#M126707</link>
      <description>&lt;P&gt;is it even possible with Power BI?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 11:38:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-Ratio/m-p/3368266#M126707</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-07T11:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the Ratio</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-Ratio/m-p/3368272#M126708</link>
      <description>&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;LI-CODE lang="markup"&gt;Total Sum by year = CALCULATE(SUMX('Table','Table'[Summe]),ALLEXCEPT('Table','Table'[Jahr]))


OR

Total Sum by year = SUMX(CALCULATETABLE('Table',ALLEXCEPT('Table','Table'[Jahr])),'Table'[Summe])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Percentage = DIVIDE('Table'[Summe],'Table'[Total Sum by year])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 11:49:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-Ratio/m-p/3368272#M126708</guid>
      <dc:creator>eliasayyy</dc:creator>
      <dc:date>2023-08-07T11:49:21Z</dc:date>
    </item>
  </channel>
</rss>

