<?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 calculate subtotal percentage in a matrix without considering blank cells in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-subtotal-percentage-in-a-matrix-without-considering/m-p/2215962#M52458</link>
    <description>&lt;P&gt;i have a matrix that shows percentage per each column and row :&lt;/P&gt;&lt;P&gt;rows: current month&lt;/P&gt;&lt;P&gt;columns: difference between current month and previous month&lt;/P&gt;&lt;P&gt;values: measure[percentage of returned users]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to find the average row per each column but without considering any blank months .&lt;/P&gt;&lt;P&gt;current output&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;for example , for column 63 output should be (20.93+16.67+20.59+12.50+23.33)/5=18.8%&lt;/P&gt;&lt;P&gt;&amp;nbsp;i want to show this output in the subtotal of matrix and create a measure for it to show it in a line chart&lt;/P&gt;</description>
    <pubDate>Wed, 01 Dec 2021 10:29:41 GMT</pubDate>
    <dc:creator>lawada</dc:creator>
    <dc:date>2021-12-01T10:29:41Z</dc:date>
    <item>
      <title>calculate subtotal percentage in a matrix without considering blank cells</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-subtotal-percentage-in-a-matrix-without-considering/m-p/2215962#M52458</link>
      <description>&lt;P&gt;i have a matrix that shows percentage per each column and row :&lt;/P&gt;&lt;P&gt;rows: current month&lt;/P&gt;&lt;P&gt;columns: difference between current month and previous month&lt;/P&gt;&lt;P&gt;values: measure[percentage of returned users]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to find the average row per each column but without considering any blank months .&lt;/P&gt;&lt;P&gt;current output&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;for example , for column 63 output should be (20.93+16.67+20.59+12.50+23.33)/5=18.8%&lt;/P&gt;&lt;P&gt;&amp;nbsp;i want to show this output in the subtotal of matrix and create a measure for it to show it in a line chart&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 10:29:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-subtotal-percentage-in-a-matrix-without-considering/m-p/2215962#M52458</guid>
      <dc:creator>lawada</dc:creator>
      <dc:date>2021-12-01T10:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: calculate subtotal percentage in a matrix without considering blank cells</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-subtotal-percentage-in-a-matrix-without-considering/m-p/2216380#M52477</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="222024" data-lia-user-login="lawada" class="lia-mention lia-mention-user"&gt;lawada&lt;/a&gt; , ideally you should do is using allselected or removefilters&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;calculate(Averagex(Values(Table[Rows column]) , [percentage of returned users]), removefilter(Table[Rows column]))&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 15:23:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-subtotal-percentage-in-a-matrix-without-considering/m-p/2216380#M52477</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-12-01T15:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: calculate subtotal percentage in a matrix without considering blank cells</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-subtotal-percentage-in-a-matrix-without-considering/m-p/2217718#M52533</link>
      <description>&lt;P&gt;thank you the measure worked out , is there a way i can get same result for subtotal field in the matrix? as when i enabled the subtotal for the rows, im getting the average for all cells including blank cells&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 08:38:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-subtotal-percentage-in-a-matrix-without-considering/m-p/2217718#M52533</guid>
      <dc:creator>lawada</dc:creator>
      <dc:date>2021-12-02T08:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: calculate subtotal percentage in a matrix without considering blank cells</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-subtotal-percentage-in-a-matrix-without-considering/m-p/2252950#M54330</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="222024" data-lia-user-login="lawada" class="lia-mention lia-mention-user"&gt;lawada&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;calculate(Averagex(Values(Table[Rows column]) , &lt;FONT color="#FF0000"&gt;CALCULATE&lt;/FONT&gt;( [percentage of returned users]))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I create a simple sample, not the same, just for reference. Please check if it works for you.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure 1 = 
AVERAGEX ( VALUES ( 'Table'[Category] ), CALCULATE ( SUM ( 'Table'[Value] ) ) )
&lt;/LI-CODE&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;Best Regards,&lt;/P&gt;
&lt;P&gt;Icey&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;SPAN&gt;, then please consider&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 03:08:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculate-subtotal-percentage-in-a-matrix-without-considering/m-p/2252950#M54330</guid>
      <dc:creator>Icey</dc:creator>
      <dc:date>2021-12-23T03:08:01Z</dc:date>
    </item>
  </channel>
</rss>

