<?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 to use DAX expression to find all distinct ids between certain dates in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-DAX-expression-to-find-all-distinct-ids-between/m-p/2282299#M55869</link>
    <description>&lt;P&gt;I see, for the visual filters, can you do IF/OR statements?&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jan 2022 18:03:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-01-13T18:03:40Z</dc:date>
    <item>
      <title>How to use DAX expression to find all distinct ids between certain dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-DAX-expression-to-find-all-distinct-ids-between/m-p/2282266#M55866</link>
      <description>&lt;P&gt;Hello, I just have a quick question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, we have a table called "Not_messaged' that has information about candidates. These fields are lastMessageDate (Date field), id (integer field), NotesMessageDate (Date field), and CallNotesLogDate (Date field).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what we want is to return a distinct count of ids that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do NOT have messagedLastSentDate before today's date&lt;BR /&gt;OR DOES NOT have callNotesLogdate = todays date&lt;BR /&gt;OR DOES NOT have NotesLogDate = today's date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to come up with a DAX expression that can return a distinct count of the ids. However, we are getting stuck because we're not good at DAX expressions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 17:42:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-DAX-expression-to-find-all-distinct-ids-between/m-p/2282266#M55866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-13T17:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to use DAX expression to find all distinct ids between certain dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-DAX-expression-to-find-all-distinct-ids-between/m-p/2282289#M55867</link>
      <description>&lt;P&gt;I'd use the distinctcount function for DAX and then just use visual level filters to achieve what you're looking for&lt;BR /&gt;&lt;BR /&gt;So something similar to&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DISTINCTCOUNT('Not_messaged'[id])&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 13 Jan 2022 17:53:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-DAX-expression-to-find-all-distinct-ids-between/m-p/2282289#M55867</guid>
      <dc:creator>Syk</dc:creator>
      <dc:date>2022-01-13T17:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to use DAX expression to find all distinct ids between certain dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-DAX-expression-to-find-all-distinct-ids-between/m-p/2282299#M55869</link>
      <description>&lt;P&gt;I see, for the visual filters, can you do IF/OR statements?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 18:03:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-DAX-expression-to-find-all-distinct-ids-between/m-p/2282299#M55869</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-13T18:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to use DAX expression to find all distinct ids between certain dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-DAX-expression-to-find-all-distinct-ids-between/m-p/2282302#M55870</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp; please provide sample data and desired output.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 18:06:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-DAX-expression-to-find-all-distinct-ids-between/m-p/2282302#M55870</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2022-01-13T18:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use DAX expression to find all distinct ids between certain dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-DAX-expression-to-find-all-distinct-ids-between/m-p/2282354#M55871</link>
      <description>&lt;P&gt;Seems like you just don't want today's date. You can add a date filter to the visual (or page/report)! Attached is an example of a date filter using the relative date filter type.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 19:00:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-DAX-expression-to-find-all-distinct-ids-between/m-p/2282354#M55871</guid>
      <dc:creator>Syk</dc:creator>
      <dc:date>2022-01-13T19:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to use DAX expression to find all distinct ids between certain dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-DAX-expression-to-find-all-distinct-ids-between/m-p/2282472#M55876</link>
      <description>&lt;P&gt;You can put as many conditions as you want in a FILTER.&lt;/P&gt;
&lt;LI-CODE lang="php"&gt;CALCULATE (
    DISTINCTCOUNT ( Not_messaged[id] ),
    FILTER (
        Not_messaged,
        Not_messaged[lastMessageDate] &amp;gt;= TODAY ()
            || Not_messaged[callNotesLogdate] &amp;lt;&amp;gt; TODAY ()
            || Not_messaged[NotesLogDate] &amp;lt;&amp;gt; TODAY ()
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 20:55:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-DAX-expression-to-find-all-distinct-ids-between/m-p/2282472#M55876</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2022-01-13T20:55:56Z</dc:date>
    </item>
  </channel>
</rss>

