<?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 Measure to Count blanks of a date in the model is at least + 1 week/7 days in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-Count-blanks-of-a-date-in-the-model-is-at-least-1/m-p/1393243#M25557</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to write a measure that counts the number of blanks in a column when the date in another column is at least 5 days passed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example, the data is a from a CRM, I am reporting on data quality. I want to give the users 1 week to populate the other column before I flag it as missing data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Handover Date&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Sales Value&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/08/2020&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;23/09/2020&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;20/08/2020&lt;/TD&gt;&lt;TD&gt;£1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;07/07/2020&lt;/TD&gt;&lt;TD&gt;£1000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on the example of my data, I would only count 1 blank.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions please, experts?!&lt;/P&gt;</description>
    <pubDate>Thu, 24 Sep 2020 13:46:19 GMT</pubDate>
    <dc:creator>Aimeeclaird</dc:creator>
    <dc:date>2020-09-24T13:46:19Z</dc:date>
    <item>
      <title>Measure to Count blanks of a date in the model is at least + 1 week/7 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-Count-blanks-of-a-date-in-the-model-is-at-least-1/m-p/1393243#M25557</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to write a measure that counts the number of blanks in a column when the date in another column is at least 5 days passed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example, the data is a from a CRM, I am reporting on data quality. I want to give the users 1 week to populate the other column before I flag it as missing data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Handover Date&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Sales Value&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/08/2020&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;23/09/2020&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;20/08/2020&lt;/TD&gt;&lt;TD&gt;£1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;07/07/2020&lt;/TD&gt;&lt;TD&gt;£1000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on the example of my data, I would only count 1 blank.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions please, experts?!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 13:46:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-Count-blanks-of-a-date-in-the-model-is-at-least-1/m-p/1393243#M25557</guid>
      <dc:creator>Aimeeclaird</dc:creator>
      <dc:date>2020-09-24T13:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Measure to Count blanks of a date in the model is at least + 1 week/7 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-Count-blanks-of-a-date-in-the-model-is-at-least-1/m-p/1393570#M25573</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="210937" data-lia-user-login="Aimeeclaird" class="lia-mention lia-mention-user"&gt;Aimeeclaird&lt;/a&gt;&amp;nbsp; try something along the lines of&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;MissingDataCount =
VAR __CountDt =
    TODAY () - 5
RETURN
    COUNTROWS (
        FILTER (
            Table,
            Table[Handover Date] &amp;lt; __CountDt
                &amp;amp;&amp;amp; Table[Sales Value] = BLANK ()
        )
    )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 16:29:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-Count-blanks-of-a-date-in-the-model-is-at-least-1/m-p/1393570#M25573</guid>
      <dc:creator>dedelman_clng</dc:creator>
      <dc:date>2020-09-24T16:29:18Z</dc:date>
    </item>
  </channel>
</rss>

