<?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: ISFILTERED multiple values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ISFILTERED-multiple-values/m-p/4704638#M180188</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="584921" data-lia-user-login="fjjpeeters1976" class="lia-mention lia-mention-user"&gt;fjjpeeters1976&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to select &lt;STRONG&gt;multiple values&lt;/STRONG&gt; (months, quarters, years, etc.), and filter a measure accordingly, you need to use Values() instead of SelectedValue(), and apply it in a CALCULATE filter context.&lt;BR /&gt;&lt;BR /&gt;MyMeasure :=&lt;BR /&gt;CALCULATE(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; [YourBaseMeasure],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; 'Calendar'[Period] IN VALUES('PeriodSelector'[Period])&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt; I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":military_medal:"&gt;🎖&lt;/span&gt; As a proud &lt;STRONG&gt;SuperUser&lt;/STRONG&gt; and &lt;STRONG&gt;Microsoft Partner&lt;/STRONG&gt;, we’re here to empower your data journey and the Power BI Community at large.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":link:"&gt;🔗&lt;/span&gt; Curious to explore more?&lt;A href="https://www.grazitti.com/services/data-science/solutions/data-visualization/?utm_source=community&amp;amp;utm_medium=powerbi-community&amp;amp;utm_campaign=Community-Outreach-By-Analytics" target="_blank" rel="noopener nofollow noreferrer"&gt; [Discover here]&lt;/A&gt;.&lt;BR /&gt;&lt;STRONG&gt;&lt;I&gt;Let’s keep building smarter solutions together!&lt;/I&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 23 May 2025 06:56:00 GMT</pubDate>
    <dc:creator>grazitti_sapna</dc:creator>
    <dc:date>2025-05-23T06:56:00Z</dc:date>
    <item>
      <title>ISFILTERED multiple values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ISFILTERED-multiple-values/m-p/4703419#M180146</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a database which has different scenarios. I want to give the user the option to compare one scenario vs another scenario as well as the option to select the months, quarters, years that they want to see. For this I created two stand alone tables that gives me the years, half year, quarter and month to select from (using hierarchy filter). I now want to use the selectedvalues as an input in my dax formular as following: calculate(expression, calender IN selectedvalue()).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my first approach was to use the isfiltered function to see if months, quarters, half year or year is selected. However so far I only managed to retrieve the value if only one month was selected, for example Jan. But I would like to have the option that they can choose multiple years. Any hints or tips?&lt;/P&gt;&lt;P&gt;see below&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&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>Thu, 22 May 2025 11:46:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ISFILTERED-multiple-values/m-p/4703419#M180146</guid>
      <dc:creator>fjjpeeters1976</dc:creator>
      <dc:date>2025-05-22T11:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: ISFILTERED multiple values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ISFILTERED-multiple-values/m-p/4703516#M180149</link>
      <description>&lt;P&gt;Instead of SELECTEDVALUE use VALUES. That will return multiple rows if more than 1 option is chosen.&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 12:22:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ISFILTERED-multiple-values/m-p/4703516#M180149</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2025-05-22T12:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: ISFILTERED multiple values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ISFILTERED-multiple-values/m-p/4704638#M180188</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="584921" data-lia-user-login="fjjpeeters1976" class="lia-mention lia-mention-user"&gt;fjjpeeters1976&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to select &lt;STRONG&gt;multiple values&lt;/STRONG&gt; (months, quarters, years, etc.), and filter a measure accordingly, you need to use Values() instead of SelectedValue(), and apply it in a CALCULATE filter context.&lt;BR /&gt;&lt;BR /&gt;MyMeasure :=&lt;BR /&gt;CALCULATE(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; [YourBaseMeasure],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; 'Calendar'[Period] IN VALUES('PeriodSelector'[Period])&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt; I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":military_medal:"&gt;🎖&lt;/span&gt; As a proud &lt;STRONG&gt;SuperUser&lt;/STRONG&gt; and &lt;STRONG&gt;Microsoft Partner&lt;/STRONG&gt;, we’re here to empower your data journey and the Power BI Community at large.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":link:"&gt;🔗&lt;/span&gt; Curious to explore more?&lt;A href="https://www.grazitti.com/services/data-science/solutions/data-visualization/?utm_source=community&amp;amp;utm_medium=powerbi-community&amp;amp;utm_campaign=Community-Outreach-By-Analytics" target="_blank" rel="noopener nofollow noreferrer"&gt; [Discover here]&lt;/A&gt;.&lt;BR /&gt;&lt;STRONG&gt;&lt;I&gt;Let’s keep building smarter solutions together!&lt;/I&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 06:56:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ISFILTERED-multiple-values/m-p/4704638#M180188</guid>
      <dc:creator>grazitti_sapna</dc:creator>
      <dc:date>2025-05-23T06:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: ISFILTERED multiple values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ISFILTERED-multiple-values/m-p/4704685#M180189</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="584921" data-lia-user-login="fjjpeeters1976" class="lia-mention lia-mention-user"&gt;fjjpeeters1976&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;BR /&gt;&lt;BR /&gt;Thank you to&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="240987" data-lia-user-login="johnt75" class="lia-mention lia-mention-user"&gt;johnt75&lt;/a&gt;&amp;nbsp; for their valuable suggestion.&lt;BR /&gt;&lt;BR /&gt;Here is a previous discussion that happened in the forum where the query got resolved by using values as well, please check it out as I think it will be helpful to know how exactly to integrate VALUES into your DAX formula&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiple-selection-from-slicer-with-multiple-values-in-column/m-p/4248306" target="_blank"&gt;Solved: Multiple selection from slicer with multiple value... - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a&amp;nbsp;KUDOS.&amp;nbsp;Feel free to reach out if you need further assistance.&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 07:12:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ISFILTERED-multiple-values/m-p/4704685#M180189</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-05-23T07:12:22Z</dc:date>
    </item>
  </channel>
</rss>

