<?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 Calculating the Percentage of Total in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-the-Percentage-of-Total/m-p/3495540#M133912</link>
    <description>&lt;P&gt;Hi Community&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am newbie to Power BI&lt;BR /&gt;I have a query regarding the DAX to use in order to calculate the % of Total&lt;BR /&gt;The Fact Table is connected to Date Table. Below is the Image where I want the percentage of Total in Matrix.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Rows in Matrix contains the Product and Location to know how much of Inventory is there is respective regions like Eupore and USA in this example. I have a meausre "Total Inventory" which counts all the products like toothpaste, biscuits, chips, drinks etc. I have a Date Slicer to view only the invetory for the particular date. The Age 11+, Age 21+ and 31+ are group for aging.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the Total Inventory is 5,000 for 25th October 2023 which includes toothpaste, biscuits, chips, drinks, etc. I want the matrix to return how much % does biscuits is against 5,000 Total Inventory. &lt;STRONG&gt;And If I use the measure in Values field in Matrix it must return the % for EACH age group and must respect the Date Slicer Fileter so that the % for specific date is returned&lt;/STRONG&gt;. Like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bicusits = 834/5000 *100&lt;BR /&gt;Bicusits -&amp;gt; Europe = 478/5000 *100&lt;BR /&gt;Bicusits -&amp;gt; Europe = 478/5000 *100&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG&gt;Chips = 834/5000 *100&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Chips -&amp;gt; Europe = 478/5000 *100&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Chips -&amp;gt; Europe = 478/5000 *100&lt;/STRONG&gt;&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;I tried multiple filter methods and there was problem that filter only takes table total for % and not the total inventory or in another method it ignores the date slicer and returns total inventory regardless of dates being filtered. Please suggest me a solution with DAX or any other workaround to visually present this. It will be really useful for the current project I am working on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Oct 2023 07:04:17 GMT</pubDate>
    <dc:creator>Prabhakaran2794</dc:creator>
    <dc:date>2023-10-25T07:04:17Z</dc:date>
    <item>
      <title>Calculating the Percentage of Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-the-Percentage-of-Total/m-p/3495540#M133912</link>
      <description>&lt;P&gt;Hi Community&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am newbie to Power BI&lt;BR /&gt;I have a query regarding the DAX to use in order to calculate the % of Total&lt;BR /&gt;The Fact Table is connected to Date Table. Below is the Image where I want the percentage of Total in Matrix.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Rows in Matrix contains the Product and Location to know how much of Inventory is there is respective regions like Eupore and USA in this example. I have a meausre "Total Inventory" which counts all the products like toothpaste, biscuits, chips, drinks etc. I have a Date Slicer to view only the invetory for the particular date. The Age 11+, Age 21+ and 31+ are group for aging.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the Total Inventory is 5,000 for 25th October 2023 which includes toothpaste, biscuits, chips, drinks, etc. I want the matrix to return how much % does biscuits is against 5,000 Total Inventory. &lt;STRONG&gt;And If I use the measure in Values field in Matrix it must return the % for EACH age group and must respect the Date Slicer Fileter so that the % for specific date is returned&lt;/STRONG&gt;. Like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bicusits = 834/5000 *100&lt;BR /&gt;Bicusits -&amp;gt; Europe = 478/5000 *100&lt;BR /&gt;Bicusits -&amp;gt; Europe = 478/5000 *100&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG&gt;Chips = 834/5000 *100&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Chips -&amp;gt; Europe = 478/5000 *100&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Chips -&amp;gt; Europe = 478/5000 *100&lt;/STRONG&gt;&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;I tried multiple filter methods and there was problem that filter only takes table total for % and not the total inventory or in another method it ignores the date slicer and returns total inventory regardless of dates being filtered. Please suggest me a solution with DAX or any other workaround to visually present this. It will be really useful for the current project I am working on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 07:04:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-the-Percentage-of-Total/m-p/3495540#M133912</guid>
      <dc:creator>Prabhakaran2794</dc:creator>
      <dc:date>2023-10-25T07:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating the Percentage of Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-the-Percentage-of-Total/m-p/3495679#M133920</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="608890" data-lia-user-login="Prabhakaran2794" class="lia-mention lia-mention-user"&gt;Prabhakaran2794&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try to post some data with expected result.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;@ImkeF wrote a fantastic article for the best way to post data to the forums: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-&lt;/A&gt;....&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 07:55:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-the-Percentage-of-Total/m-p/3495679#M133920</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-10-25T07:55:44Z</dc:date>
    </item>
  </channel>
</rss>

