<?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 How can I use a dax measures to ignored the current filter but only filter based on the dax measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-use-a-dax-measures-to-ignored-the-current-filter-but/m-p/3373904#M127012</link>
    <description>&lt;P&gt;I have the following filters on the dashboard:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used a funnel visual below&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am struggling and trying to calculate the number of&amp;nbsp; learners who are enrolled for 2024, the column name is "Year_Enrolled" but when I use the following dax measure:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Enroled = CALCULATE (&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DISTINCTCOUNT ( Learner[id] ), Learner[Date_Approved_Scholar_Application] &amp;lt;&amp;gt; BLANK () ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+ CALCULATE ( &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DISTINCTCOUNT ( Learner[id] ), Learner[Date_Approved_Sibling_Application] &amp;lt;&amp;gt; BLANK () )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;it does not allow ingore the commencement_year filter shown above, so it filtered based on the commencement_year and I want it to ignore that. Therefore I tried using the following dax measure:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Enroled =&lt;BR /&gt;CALCULATE (&lt;BR /&gt;DISTINCTCOUNT ( Learner[id] ),&lt;BR /&gt;Learner[Date_Approved_Scholar_Application] &amp;lt;&amp;gt; BLANK (),&lt;BR /&gt;FILTER ( Learner, Learner[Year_Enrolled] = 2024 )&lt;BR /&gt;)&lt;BR /&gt;+ CALCULATE (&lt;BR /&gt;DISTINCTCOUNT ( Learner[id] ),&lt;BR /&gt;Learner[Date_Approved_Sibling_Application] &amp;lt;&amp;gt; BLANK (),&lt;BR /&gt;FILTER ( Learner, Learner[Year_Enrolled] = 2024 )&lt;BR /&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But still it does not ignore the commencement_year filter, I only want the&amp;nbsp;Enroled to be filtered based on the Year_Enrolled without additing Year_Enrolled filter on the dashboard. But the rest of the counts such as "Fees Paid" and "Contract Signed" to be filtered based on commecement_year filter.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Aug 2023 09:50:52 GMT</pubDate>
    <dc:creator>mighty</dc:creator>
    <dc:date>2023-08-10T09:50:52Z</dc:date>
    <item>
      <title>How can I use a dax measures to ignored the current filter but only filter based on the dax measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-use-a-dax-measures-to-ignored-the-current-filter-but/m-p/3373904#M127012</link>
      <description>&lt;P&gt;I have the following filters on the dashboard:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used a funnel visual below&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am struggling and trying to calculate the number of&amp;nbsp; learners who are enrolled for 2024, the column name is "Year_Enrolled" but when I use the following dax measure:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Enroled = CALCULATE (&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DISTINCTCOUNT ( Learner[id] ), Learner[Date_Approved_Scholar_Application] &amp;lt;&amp;gt; BLANK () ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+ CALCULATE ( &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DISTINCTCOUNT ( Learner[id] ), Learner[Date_Approved_Sibling_Application] &amp;lt;&amp;gt; BLANK () )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;it does not allow ingore the commencement_year filter shown above, so it filtered based on the commencement_year and I want it to ignore that. Therefore I tried using the following dax measure:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Enroled =&lt;BR /&gt;CALCULATE (&lt;BR /&gt;DISTINCTCOUNT ( Learner[id] ),&lt;BR /&gt;Learner[Date_Approved_Scholar_Application] &amp;lt;&amp;gt; BLANK (),&lt;BR /&gt;FILTER ( Learner, Learner[Year_Enrolled] = 2024 )&lt;BR /&gt;)&lt;BR /&gt;+ CALCULATE (&lt;BR /&gt;DISTINCTCOUNT ( Learner[id] ),&lt;BR /&gt;Learner[Date_Approved_Sibling_Application] &amp;lt;&amp;gt; BLANK (),&lt;BR /&gt;FILTER ( Learner, Learner[Year_Enrolled] = 2024 )&lt;BR /&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But still it does not ignore the commencement_year filter, I only want the&amp;nbsp;Enroled to be filtered based on the Year_Enrolled without additing Year_Enrolled filter on the dashboard. But the rest of the counts such as "Fees Paid" and "Contract Signed" to be filtered based on commecement_year filter.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 09:50:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-use-a-dax-measures-to-ignored-the-current-filter-but/m-p/3373904#M127012</guid>
      <dc:creator>mighty</dc:creator>
      <dc:date>2023-08-10T09:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use a dax measures to ignored the current filter but only filter based on the dax measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-use-a-dax-measures-to-ignored-the-current-filter-but/m-p/3373913#M127014</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="601218" data-lia-user-login="mighty" class="lia-mention lia-mention-user"&gt;mighty&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Enroled =
CALCULATE (
    DISTINCTCOUNT ( Learner[id] ),
    Learner[Date_Approved_Scholar_Application] &amp;lt;&amp;gt; BLANK (),
    REMOVEFILTERS ( Table[commencement_year] ),
    FILTER ( Learner, Learner[Year_Enrolled] = 2024 )
)
    + CALCULATE (
        DISTINCTCOUNT ( Learner[id] ),
        Learner[Date_Approved_Sibling_Application] &amp;lt;&amp;gt; BLANK (),
        REMOVEFILTERS ( Table[commencement_year] ),
        FILTER ( Learner, Learner[Year_Enrolled] = 2024 )
    )&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 10 Aug 2023 09:57:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-use-a-dax-measures-to-ignored-the-current-filter-but/m-p/3373913#M127014</guid>
      <dc:creator>nandukrishnavs</dc:creator>
      <dc:date>2023-08-10T09:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use a dax measures to ignored the current filter but only filter based on the dax measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-use-a-dax-measures-to-ignored-the-current-filter-but/m-p/3373977#M127023</link>
      <description>&lt;P&gt;Still it is filtering the commencement_year&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":sad_but_relieved_face:"&gt;😥&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 10:38:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-use-a-dax-measures-to-ignored-the-current-filter-but/m-p/3373977#M127023</guid>
      <dc:creator>mighty</dc:creator>
      <dc:date>2023-08-10T10:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use a dax measures to ignored the current filter but only filter based on the dax measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-use-a-dax-measures-to-ignored-the-current-filter-but/m-p/3373998#M127025</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="601218" data-lia-user-login="mighty" class="lia-mention lia-mention-user"&gt;mighty&lt;/a&gt;&amp;nbsp; If you don't want Year_Enrolled = 2024, you can remove filter condition from the measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below measure will ignore the filter applied on&amp;nbsp;&lt;STRONG&gt;Table[commencement_year]&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Enroled =
CALCULATE (
    DISTINCTCOUNT ( Learner[id] ),
    REMOVEFILTERS ( Table[commencement_year] ),
    Learner[Date_Approved_Scholar_Application] &amp;lt;&amp;gt; BLANK ()
)
    + CALCULATE (
        DISTINCTCOUNT ( Learner[id] ),
        REMOVEFILTERS ( Table[commencement_year] ),
        Learner[Date_Approved_Sibling_Application] &amp;lt;&amp;gt; BLANK ()
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Enroled =
CALCULATE (
    DISTINCTCOUNT ( Learner[id] ),
    ALL ( Table[commencement_year] ),
    Learner[Date_Approved_Scholar_Application] &amp;lt;&amp;gt; BLANK ()
)
    + CALCULATE (
        DISTINCTCOUNT ( Learner[id] ),
        ALL ( Table[commencement_year] ),
        Learner[Date_Approved_Sibling_Application] &amp;lt;&amp;gt; BLANK ()
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 10:46:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-use-a-dax-measures-to-ignored-the-current-filter-but/m-p/3373998#M127025</guid>
      <dc:creator>nandukrishnavs</dc:creator>
      <dc:date>2023-08-10T10:46:35Z</dc:date>
    </item>
  </channel>
</rss>

