<?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: How do I express this in DAX? (where we have to filter multiple columns using same ID) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-express-this-in-DAX-where-we-have-to-filter-multiple/m-p/2028888#M45459</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="39298" data-lia-user-login="AlexisOlson" class="lia-mention lia-mention-user"&gt;AlexisOlson&lt;/a&gt;&amp;nbsp;It worked really well. Thank you so much for your help! Now, I am adding more vocabulary to DAX. Grareful for the community support &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Aug 2021 21:11:43 GMT</pubDate>
    <dc:creator>JustinDoh1</dc:creator>
    <dc:date>2021-08-20T21:11:43Z</dc:date>
    <item>
      <title>How do I express this in DAX? (where we have to filter multiple columns using same ID)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-express-this-in-DAX-where-we-have-to-filter-multiple/m-p/2028847#M45455</link>
      <description>&lt;P&gt;I have a scenario where I would like to use COUNTROWS to make a case of an existed case (as 1) so I could use in criteria inside SWTICH function clause.&lt;/P&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;I would like this to be case (Countrows as 1) when all these conditions are met:&lt;/P&gt;&lt;P&gt;1) ClientID is &lt;STRONG&gt;same&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2) Step is &lt;STRONG&gt;same&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3) ImmunizationDate (6/18/2021) for Consent as "Historical" &amp;gt; ConsentDate (5/21/2021) for Consent as "Refused"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciated for help!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 20:44:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-express-this-in-DAX-where-we-have-to-filter-multiple/m-p/2028847#M45455</guid>
      <dc:creator>JustinDoh1</dc:creator>
      <dc:date>2021-08-20T20:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I express this in DAX? (where we have to filter multiple columns using same ID)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-express-this-in-DAX-where-we-have-to-filter-multiple/m-p/2028868#M45458</link>
      <description>&lt;P&gt;I'm not positive how you'd like to handle all possible edge cases but I think this should get you started:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CountClientSteps =
VAR Summary =
    ADDCOLUMNS (
        SUMMARIZE ( Table1, Table1[ClientID], Table1[Step] ),
        "RefusedDate",
            CALCULATE ( MAX ( Table1[ConsentDate] ), Table1[Consent] = "Refused" ),
        "ImmunizedDate",
            CALCULATE ( MAX ( Table1[ImmunizationDate] ), Table1[Consent] = "Historical" )
    )
RETURN
    COUNTROWS ( FILTER ( Summary, [ImmunizedDate] &amp;gt; [RefusedDate] ) )&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 20 Aug 2021 20:47:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-express-this-in-DAX-where-we-have-to-filter-multiple/m-p/2028868#M45458</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2021-08-20T20:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I express this in DAX? (where we have to filter multiple columns using same ID)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-express-this-in-DAX-where-we-have-to-filter-multiple/m-p/2028888#M45459</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="39298" data-lia-user-login="AlexisOlson" class="lia-mention lia-mention-user"&gt;AlexisOlson&lt;/a&gt;&amp;nbsp;It worked really well. Thank you so much for your help! Now, I am adding more vocabulary to DAX. Grareful for the community support &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 21:11:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-express-this-in-DAX-where-we-have-to-filter-multiple/m-p/2028888#M45459</guid>
      <dc:creator>JustinDoh1</dc:creator>
      <dc:date>2021-08-20T21:11:43Z</dc:date>
    </item>
  </channel>
</rss>

