<?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: Dax formula to prevent a measure from being filtered by a slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-formula-to-prevent-a-measure-from-being-filtered-by-a-slicer/m-p/4049835#M160656</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="760953" data-lia-user-login="FelixElliott" class="lia-mention lia-mention-user"&gt;FelixElliott&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I don't know exactly what you need, can you present it in the form of excel or result chart?Thank you.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Xianda Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&lt;EM&gt;&lt;STRONG&gt; helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jul 2024 05:28:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-07-19T05:28:33Z</dc:date>
    <item>
      <title>Dax formula to prevent a measure from being filtered by a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-formula-to-prevent-a-measure-from-being-filtered-by-a-slicer/m-p/4049505#M160639</link>
      <description>&lt;P&gt;Hi Everyone I am feeling very stupid because I can't figure out the solution ( think my brain is in Dax overload)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a measure to calculate the total tourist visitors to regional Victoria (I am in Australia)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Regional Vic Visitors =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Total Visitors]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Region_Dim_Key'&lt;/SPAN&gt;&lt;SPAN&gt;[State]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Victoria"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Region_Dim_Key'&lt;/SPAN&gt;&lt;SPAN&gt;[Region_Key]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;2017&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Region_Dim_Key'&lt;/SPAN&gt;&lt;SPAN&gt;[Region_Key]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;2039&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Region_Dim_Key'&lt;/SPAN&gt;&lt;SPAN&gt;[Region_Key]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;2037&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The Filters are to exclude specific destinations from the calculation. This measure works fine.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I need to track the regional total visitors over time and compare the visitors to sub-regions in a line graph to using a slicer for the sub-regions ie. y - axis total regional visitors and secondary y - axis the sub-region visitor number.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;When I apply the slicer the regional visitor is filtered and I can't figure out how to modify the Dax code to only apply the slicer filter to the sub-region number and not the regional number.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 19 Jul 2024 00:18:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-formula-to-prevent-a-measure-from-being-filtered-by-a-slicer/m-p/4049505#M160639</guid>
      <dc:creator>FelixElliott</dc:creator>
      <dc:date>2024-07-19T00:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dax formula to prevent a measure from being filtered by a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-formula-to-prevent-a-measure-from-being-filtered-by-a-slicer/m-p/4049835#M160656</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="760953" data-lia-user-login="FelixElliott" class="lia-mention lia-mention-user"&gt;FelixElliott&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I don't know exactly what you need, can you present it in the form of excel or result chart?Thank you.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Xianda Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&lt;EM&gt;&lt;STRONG&gt; helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 05:28:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-formula-to-prevent-a-measure-from-being-filtered-by-a-slicer/m-p/4049835#M160656</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-19T05:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dax formula to prevent a measure from being filtered by a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-formula-to-prevent-a-measure-from-being-filtered-by-a-slicer/m-p/4049843#M160658</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="760953" data-lia-user-login="FelixElliott" class="lia-mention lia-mention-user"&gt;FelixElliott&lt;/a&gt;&amp;nbsp;&amp;nbsp;check &lt;A href="https://learn.microsoft.com/en-us/dax/allexcept-function-dax?WT.mc_id=DP-MVP-4025372" target="_blank" rel="noopener"&gt;link&lt;/A&gt; with example using DAX function ALLEXCEPT. In your example there is no information enought to provide possible solution, like model and relationships.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 05:34:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-formula-to-prevent-a-measure-from-being-filtered-by-a-slicer/m-p/4049843#M160658</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2024-07-19T05:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dax formula to prevent a measure from being filtered by a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-formula-to-prevent-a-measure-from-being-filtered-by-a-slicer/m-p/4049862#M160661</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="760953" data-lia-user-login="FelixElliott" class="lia-mention lia-mention-user"&gt;FelixElliott&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on the description below code can help you:-&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Subregion Visitors = 
CALCULATE(
    [Total Visitors],
    'Region_Dim_Key'[State] = "Victoria",
    'Region_Dim_Key'[Region_Key] = SELECTEDVALUE('Region_Dim_Key'[Region_Key]),
    'Region_Dim_Key'[Region_Key] &amp;lt;&amp;gt; 2017,
    'Region_Dim_Key'[Region_Key] &amp;lt;&amp;gt; 2039,
    'Region_Dim_Key'[Region_Key] &amp;lt;&amp;gt; 2037
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 05:48:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-formula-to-prevent-a-measure-from-being-filtered-by-a-slicer/m-p/4049862#M160661</guid>
      <dc:creator>Samarth_18</dc:creator>
      <dc:date>2024-07-19T05:48:54Z</dc:date>
    </item>
  </channel>
</rss>

