<?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: not filtering the table with the year filter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/not-filtering-the-table-with-the-year-filter/m-p/3643662#M141083</link>
    <description>&lt;P&gt;this is the DAX that I am using&amp;nbsp;&lt;/P&gt;&lt;P&gt;Completed% =&lt;BR /&gt;DIVIDE(&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS(FILTER('Customer Contact List', NOT(ISBLANK('Customer Contact List'[DateTime])))),&lt;BR /&gt;ALL('Customer Contact List'[DateTime].[Year])&lt;BR /&gt;),&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS('Customer Contact List'),&lt;BR /&gt;ALL('Customer Contact List'[DateTime].[Year])&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jan 2024 13:54:32 GMT</pubDate>
    <dc:creator>BeginnerBI</dc:creator>
    <dc:date>2024-01-17T13:54:32Z</dc:date>
    <item>
      <title>not filtering the table with the year filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/not-filtering-the-table-with-the-year-filter/m-p/3641982#M141001</link>
      <description>&lt;P&gt;I have all the results wonderful when I &lt;STRONG&gt;do not&lt;/STRONG&gt; filter but as soon as I filter per year (like in the red header table ) something happens. Please advise&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 21:53:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/not-filtering-the-table-with-the-year-filter/m-p/3641982#M141001</guid>
      <dc:creator>BeginnerBI</dc:creator>
      <dc:date>2024-01-16T21:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: not filtering the table with the year filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/not-filtering-the-table-with-the-year-filter/m-p/3642420#M141015</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure how your semantic model looks like, or how your DAX measures look like, but I guess ALL DAX function is used in the DAX measures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this case or in this scenario, please try using ALLSELECTED DAX function in the measures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/allselected-function-dax?wt.mc_id=DP-MVP-5004989" target="_blank"&gt;ALLSELECTED function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 03:49:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/not-filtering-the-table-with-the-year-filter/m-p/3642420#M141015</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2024-01-17T03:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: not filtering the table with the year filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/not-filtering-the-table-with-the-year-filter/m-p/3642890#M141043</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="413264" data-lia-user-login="BeginnerBI" class="lia-mention lia-mention-user"&gt;BeginnerBI&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've got a general idea of your problem, after you filtered the year with a filter, the Cars and Sold columns got equal.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on the rendering you want, the Car column should be a sum of values, but it is affected by a filter that only shows the values for the current year.&lt;/P&gt;
&lt;P&gt;Use the all(), allselected(), allexcept(), and removefilter() functions to remove unwanted filtering effects.&lt;/P&gt;
&lt;P&gt;Here's a blog about contextual filtering, which you can start with the highlights&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/Understand-the-Filter-Context-and-How-to-Control-it/ba-p/2452011#:~:text=1.-,Relationship%20filter,-Add%20a%20table" target="_self"&gt;Understand the Filter Context and How to Control it&lt;/A&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;Zhengdong Xu&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 07:48:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/not-filtering-the-table-with-the-year-filter/m-p/3642890#M141043</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-17T07:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: not filtering the table with the year filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/not-filtering-the-table-with-the-year-filter/m-p/3643662#M141083</link>
      <description>&lt;P&gt;this is the DAX that I am using&amp;nbsp;&lt;/P&gt;&lt;P&gt;Completed% =&lt;BR /&gt;DIVIDE(&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS(FILTER('Customer Contact List', NOT(ISBLANK('Customer Contact List'[DateTime])))),&lt;BR /&gt;ALL('Customer Contact List'[DateTime].[Year])&lt;BR /&gt;),&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS('Customer Contact List'),&lt;BR /&gt;ALL('Customer Contact List'[DateTime].[Year])&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 13:54:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/not-filtering-the-table-with-the-year-filter/m-p/3643662#M141083</guid>
      <dc:creator>BeginnerBI</dc:creator>
      <dc:date>2024-01-17T13:54:32Z</dc:date>
    </item>
  </channel>
</rss>

