<?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: Adding further criteria to filter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-further-criteria-to-filter/m-p/2574556#M73657</link>
    <description>&lt;LI-CODE lang="markup"&gt;[AccountStatus] in {1,2,3}&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 13 Jun 2022 08:54:57 GMT</pubDate>
    <dc:creator>wdx223_Daniel</dc:creator>
    <dc:date>2022-06-13T08:54:57Z</dc:date>
    <item>
      <title>Adding further criteria to filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-further-criteria-to-filter/m-p/2574164#M73637</link>
      <description>&lt;P&gt;This seems dead basic, but I keep getting errors with everything I try.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have a working measure in the form:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=COUNTROWS(FILTER(ClientGroup, [Account Status]=1 &amp;amp;&amp;amp; ClientGroup[Tier]="Gold"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Account Status is a measure to categorize accounts based on differrent transaction volumes)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to expand the filter criteria to include Account Status values of 1, 2 or 3 as well as Tier of Gold or Silver. Can anyone please help?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 07:15:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-further-criteria-to-filter/m-p/2574164#M73637</guid>
      <dc:creator>gambleave</dc:creator>
      <dc:date>2022-06-13T07:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding further criteria to filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-further-criteria-to-filter/m-p/2574218#M73640</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="397451" data-lia-user-login="gambleave" class="lia-mention lia-mention-user"&gt;gambleave&lt;/a&gt;&amp;nbsp;&amp;nbsp;Can you provide a sample of the data and your desired result?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 07:27:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-further-criteria-to-filter/m-p/2574218#M73640</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2022-06-13T07:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Adding further criteria to filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-further-criteria-to-filter/m-p/2574222#M73642</link>
      <description>&lt;P&gt;Afraid not, as it's in a corporate environment and I need to use my phone just to access this forum!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought this should be a measure selection/Syntax problem since it can be approached by creating additional measures for different permutations of Account Status and Tier, then adding them together.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 07:51:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-further-criteria-to-filter/m-p/2574222#M73642</guid>
      <dc:creator>gambleave</dc:creator>
      <dc:date>2022-06-13T07:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Adding further criteria to filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-further-criteria-to-filter/m-p/2574358#M73646</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="397451" data-lia-user-login="gambleave" class="lia-mention lia-mention-user"&gt;gambleave&lt;/a&gt;&amp;nbsp; Try it&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CALCULATE(
        COUNTROWS('ClientGroup'), 
        FILTER(ClientGroup, [AccountStatus] in {"1","2","3"}  &amp;amp;&amp;amp; ClientGroup[Tier] in { "Gold", "Silver"})
      )&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 13 Jun 2022 08:06:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-further-criteria-to-filter/m-p/2574358#M73646</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2022-06-13T08:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding further criteria to filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-further-criteria-to-filter/m-p/2574507#M73654</link>
      <description>&lt;P&gt;Thanks for the suggestion. For some reason, I end up with the error "MdxScript(Model) (257,105) Calculation error in measure ...Function 'CONTAINSROW' does not support comparing values of type Text with values of type Integer. Consider using the VALUE or FORMAT function to convert one of the values.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 08:39:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-further-criteria-to-filter/m-p/2574507#M73654</guid>
      <dc:creator>gambleave</dc:creator>
      <dc:date>2022-06-13T08:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Adding further criteria to filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-further-criteria-to-filter/m-p/2574556#M73657</link>
      <description>&lt;LI-CODE lang="markup"&gt;[AccountStatus] in {1,2,3}&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 13 Jun 2022 08:54:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-further-criteria-to-filter/m-p/2574556#M73657</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2022-06-13T08:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Adding further criteria to filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-further-criteria-to-filter/m-p/2574634#M73660</link>
      <description>&lt;P&gt;Thanks a million to you both for the help. This works perfectly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oddly, I tried the same measure in a Power Pivot version of my project with Excel 2016, but it doesn't work there (...The syntax for 'in' is incorrect...). Is it that this DAX operator doesnt work with Excel?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 09:16:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-further-criteria-to-filter/m-p/2574634#M73660</guid>
      <dc:creator>gambleave</dc:creator>
      <dc:date>2022-06-13T09:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Adding further criteria to filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-further-criteria-to-filter/m-p/2574840#M73673</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="397451" data-lia-user-login="gambleave" class="lia-mention lia-mention-user"&gt;gambleave&lt;/a&gt;&amp;nbsp;&amp;nbsp;Check the data format, numeric or text&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 10:05:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adding-further-criteria-to-filter/m-p/2574840#M73673</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2022-06-13T10:05:25Z</dc:date>
    </item>
  </channel>
</rss>

