<?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 Why does removing a filter with ALL repeat values in a visual matrix? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-does-removing-a-filter-with-ALL-repeat-values-in-a-visual/m-p/3356051#M126113</link>
    <description>&lt;P&gt;I'm using the contoso DB and I have a measure that removes the filter on product category.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Sales PCT Calculate 3 = 
CALCULATE(
    SUM(Sales[SalesAmount]),
    ALL('Product Category')
)&lt;/LI-CODE&gt;&lt;P&gt;My matrix has product category, subcategory on the rows. And the sum of sales amount with the measure above on the columns. When expanding the matrix to show the subcategory level, all the values are repeated for every category. Doesn't my measure mean the filters for the subcategory level are still in the filter context? Why the repeated values?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jul 2023 20:50:56 GMT</pubDate>
    <dc:creator>CarlSagan</dc:creator>
    <dc:date>2023-07-28T20:50:56Z</dc:date>
    <item>
      <title>Why does removing a filter with ALL repeat values in a visual matrix?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-does-removing-a-filter-with-ALL-repeat-values-in-a-visual/m-p/3356051#M126113</link>
      <description>&lt;P&gt;I'm using the contoso DB and I have a measure that removes the filter on product category.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Sales PCT Calculate 3 = 
CALCULATE(
    SUM(Sales[SalesAmount]),
    ALL('Product Category')
)&lt;/LI-CODE&gt;&lt;P&gt;My matrix has product category, subcategory on the rows. And the sum of sales amount with the measure above on the columns. When expanding the matrix to show the subcategory level, all the values are repeated for every category. Doesn't my measure mean the filters for the subcategory level are still in the filter context? Why the repeated values?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 20:50:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-does-removing-a-filter-with-ALL-repeat-values-in-a-visual/m-p/3356051#M126113</guid>
      <dc:creator>CarlSagan</dc:creator>
      <dc:date>2023-07-28T20:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why does removing a filter with ALL repeat values in a visual matrix?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-does-removing-a-filter-with-ALL-repeat-values-in-a-visual/m-p/3356086#M126120</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="586060" data-lia-user-login="CarlSagan" class="lia-mention lia-mention-user"&gt;CarlSagan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, the filters for the subcategory are still in the filter context.&lt;/P&gt;&lt;P&gt;This is why you get different values for each subcategory (within a given category that is being ignored).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the ALL('Product Category') removes the filter on the Product Category.&lt;/P&gt;&lt;P&gt;As a result, each Product Category line in the the visual isn't going to reflect the number for the Product Category (but rather the number for ALL categories).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Correspondingly, each of the subcategories are NOT being filtered by the category either.&amp;nbsp; So each subcategory is showing the total number for that subcategory&amp;nbsp;&lt;EM&gt;&lt;U&gt;&lt;STRONG&gt;across all categories&lt;/STRONG&gt;&lt;/U&gt;.&amp;nbsp;&amp;nbsp;&lt;/EM&gt;This is why the numbers repeat for each Category; because the calculation can't see the category.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this is helpful to you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nathan&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 21:38:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-does-removing-a-filter-with-ALL-repeat-values-in-a-visual/m-p/3356086#M126120</guid>
      <dc:creator>Take3</dc:creator>
      <dc:date>2023-07-28T21:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why does removing a filter with ALL repeat values in a visual matrix?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-does-removing-a-filter-with-ALL-repeat-values-in-a-visual/m-p/3356098#M126123</link>
      <description>&lt;P&gt;Perfect explanation, thanks!!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 21:56:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-does-removing-a-filter-with-ALL-repeat-values-in-a-visual/m-p/3356098#M126123</guid>
      <dc:creator>CarlSagan</dc:creator>
      <dc:date>2023-07-28T21:56:51Z</dc:date>
    </item>
  </channel>
</rss>

