<?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 Dax expression with filters in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-expression-with-filters/m-p/1778047#M37297</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to design the distinctcount based on the below filters,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;count distinct PersonIDHash from the&amp;nbsp;D_Person table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;filters that we need to use,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;where&amp;nbsp;&lt;BR /&gt;Parameter!Date_from between D_Person.RowStartDate and D_Person.RowEndDate and&lt;BR /&gt;D_Person.MunicipalityKEY in (D_Municipality selected) and (D_Person.BirthYear - Parameter!Date_from) = D_AgeGroup.Age (selected AgeGroup) and (d.person.died=0 or d.person.diedate &amp;gt; Date to&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you please suggest how that I need to proceed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 10 Apr 2021 12:43:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-04-10T12:43:49Z</dc:date>
    <item>
      <title>Dax expression with filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-expression-with-filters/m-p/1778047#M37297</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to design the distinctcount based on the below filters,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;count distinct PersonIDHash from the&amp;nbsp;D_Person table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;filters that we need to use,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;where&amp;nbsp;&lt;BR /&gt;Parameter!Date_from between D_Person.RowStartDate and D_Person.RowEndDate and&lt;BR /&gt;D_Person.MunicipalityKEY in (D_Municipality selected) and (D_Person.BirthYear - Parameter!Date_from) = D_AgeGroup.Age (selected AgeGroup) and (d.person.died=0 or d.person.diedate &amp;gt; Date to&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you please suggest how that I need to proceed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Apr 2021 12:43:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-expression-with-filters/m-p/1778047#M37297</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-10T12:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dax expression with filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-expression-with-filters/m-p/1779060#M37359</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 04:52:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-expression-with-filters/m-p/1779060#M37359</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-04-12T04:52:40Z</dc:date>
    </item>
  </channel>
</rss>

