<?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: Create a measure ignoring existing page slicers in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-measure-ignoring-existing-page-slicers/m-p/4319125#M171472</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="751327" data-lia-user-login="snehasissamal" class="lia-mention lia-mention-user"&gt;snehasissamal&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much&amp;nbsp;Jihwan_Kim&amp;nbsp;for your prompt reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure TotalActualCasesCount = 
CALCULATE(
    [TotalProjects],    
    REMOVEFILTERS(Sheet1[PlannedQuarter])
) + 0&lt;/LI-CODE&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;Regards,&lt;/P&gt;
&lt;P&gt;Nono Chen&lt;/P&gt;
&lt;P&gt;If this &lt;STRONG&gt;&lt;EM&gt;post&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;helps, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2024 07:03:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-12-09T07:03:18Z</dc:date>
    <item>
      <title>Create a measure ignoring existing page slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-measure-ignoring-existing-page-slicers/m-p/4313718#M171294</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have projects with Name, Year, Planned Quarter, Actual Quarter as different quarters. Also I have two slicers Year and PlannedQuarter. I am able to show the number of planned projects in the selected quarter(s) and it's working fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But few projects planned in Q1 for example, executed in Q2 and so on. So I need to calculate the count how many acctualy executed in Q1. For that I need to remove the existing filter with REMOVEFILTER or can use ALL. So that I can ignore page slicer and apply other filters I want. But struglling with that part, any hints/help is much appreciated,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attaching the .pbix file with data too for reference.&amp;nbsp;&lt;A title="Sample PBIX File" href="https://addoe-my.sharepoint.com/:u:/g/personal/ssamal_doe_gov_ae/EfPbOAFqX0tEq4TzrXP68u4BVGCCf4-0IobaYoEWnb4PtQ?e=vFWleB" target="_blank" rel="noopener"&gt;Sample PBIX File&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TotalProjects = COUNTROWS(Sheet1) + 0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TotalActualCasesCount = 
VAR selectedQuarters = ALLSELECTED(Sheet1[PlannedQuarter])
VAR All_Projects = ALL('Sheet1')
//VAR All_Projects_RemoveFilter = REMOVEFILTERS('Sheet1', 'Sheet1'[PlannedQuarter])

RETURN
CALCULATE([TotalProjects], Sheet1[ActualQuarter ] in selectedQuarters)  + 0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 15:16:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-measure-ignoring-existing-page-slicers/m-p/4313718#M171294</guid>
      <dc:creator>snehasissamal</dc:creator>
      <dc:date>2024-12-04T15:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create a measure ignoring existing page slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-measure-ignoring-existing-page-slicers/m-p/4313899#M171303</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure if I understood your question correctly, but please try something like below and please check if it produces the result that you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;TotalActualCasesCount =
VAR selectedQuarters =
    VALUES ( Sheet1[PlannedQuarter] )
RETURN
    COUNTROWS (
        FILTER ( ALL ( 'Sheet1' ), Sheet1[ActualQuarter ] IN selectedQuarters )
    )
&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 04 Dec 2024 17:47:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-measure-ignoring-existing-page-slicers/m-p/4313899#M171303</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2024-12-04T17:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create a measure ignoring existing page slicers</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-measure-ignoring-existing-page-slicers/m-p/4319125#M171472</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="751327" data-lia-user-login="snehasissamal" class="lia-mention lia-mention-user"&gt;snehasissamal&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much&amp;nbsp;Jihwan_Kim&amp;nbsp;for your prompt reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure TotalActualCasesCount = 
CALCULATE(
    [TotalProjects],    
    REMOVEFILTERS(Sheet1[PlannedQuarter])
) + 0&lt;/LI-CODE&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;Regards,&lt;/P&gt;
&lt;P&gt;Nono Chen&lt;/P&gt;
&lt;P&gt;If this &lt;STRONG&gt;&lt;EM&gt;post&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;helps, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 07:03:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-measure-ignoring-existing-page-slicers/m-p/4319125#M171472</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-09T07:03:18Z</dc:date>
    </item>
  </channel>
</rss>

