<?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: Help with measure not filtering by date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-not-filtering-by-date/m-p/2560545#M72820</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I know how you would like to filter the Measure data by date filter? Do you want to count table rows when its date is equal to the selected date or before the selected date etc.? Is there any date column in your table?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you still have problems on it, could you please provide some sample data from your tables and let me know how your create relationships for them? Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _ Caiyun&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jun 2022 08:24:41 GMT</pubDate>
    <dc:creator>v-cazheng-msft</dc:creator>
    <dc:date>2022-06-06T08:24:41Z</dc:date>
    <item>
      <title>Help with measure not filtering by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-not-filtering-by-date/m-p/2554192#M72418</link>
      <description>&lt;P&gt;Hi and this measure works in all ways but won't filter by date. Appreciate any thoughts? The aim of the measure is to count all those incidents that include in the text string any reference to "glass place", but exclude incidents if the word "door" is also included in the string (i.e. in the next sentence, etc). I'm not sure where to add a date filter in the measure/variable. Thanks all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Excludes Door Incidents =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VAR _GlassPlace =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALCULATETABLE(VALUES('Incident Detail'[Incident Code]),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SEARCH("glass place", 'Incident Detail'[Incident Details], 1, 0)&amp;gt;1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Incident Cause'[Incident Cause Code] = "MAT")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VAR _DoorsExcluded =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALCULATETABLE(VALUES('Incident Detail'[Incident Code]),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILTER('Incident Detail', CONTAINSSTRING('Incident Detail'[Incident Details], "door"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Return&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNTROWS(EXCEPT(_GlassPlace, _DoorsExcluded))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 04:34:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-not-filtering-by-date/m-p/2554192#M72418</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-02T04:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with measure not filtering by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-not-filtering-by-date/m-p/2554674#M72447</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;hard to say with the info supplied but let's try by elimination.|&lt;BR /&gt;Try changing the snd var to this:&lt;/P&gt;&lt;P&gt;VAR _DoorsExcluded =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALCULATETABLE(VALUES('Incident Detail'[Incident Code]),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILTER(VALUSE('Incident Detail'[Incident Details]), CONTAINSSTRING('Incident Detail'[Incident Details], "door"))&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 08:06:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-not-filtering-by-date/m-p/2554674#M72447</guid>
      <dc:creator>SpartaBI</dc:creator>
      <dc:date>2022-06-02T08:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with measure not filtering by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-not-filtering-by-date/m-p/2556605#M72601</link>
      <description>&lt;P&gt;Hi SpartaBI and thanks for responding to this one. No luck with updating as suggested. Apols re lack of info, let me know if you have any other thoughts...&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 02:25:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-not-filtering-by-date/m-p/2556605#M72601</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-03T02:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help with measure not filtering by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-not-filtering-by-date/m-p/2557382#M72647</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;I think I need to see the file in your case. Can you share it?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 09:05:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-not-filtering-by-date/m-p/2557382#M72647</guid>
      <dc:creator>SpartaBI</dc:creator>
      <dc:date>2022-06-03T09:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help with measure not filtering by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-not-filtering-by-date/m-p/2559764#M72786</link>
      <description>&lt;P&gt;Hi and unable to share unfortunately. Appreciate you taking the time to respond. Thanks agian.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jun 2022 23:50:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-not-filtering-by-date/m-p/2559764#M72786</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-05T23:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help with measure not filtering by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-not-filtering-by-date/m-p/2560545#M72820</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I know how you would like to filter the Measure data by date filter? Do you want to count table rows when its date is equal to the selected date or before the selected date etc.? Is there any date column in your table?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you still have problems on it, could you please provide some sample data from your tables and let me know how your create relationships for them? Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _ Caiyun&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 08:24:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure-not-filtering-by-date/m-p/2560545#M72820</guid>
      <dc:creator>v-cazheng-msft</dc:creator>
      <dc:date>2022-06-06T08:24:41Z</dc:date>
    </item>
  </channel>
</rss>

