<?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: Date time range filter for map visual in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-time-range-filter-for-map-visual/m-p/2851806#M91451</link>
    <description>&lt;P&gt;Thanks for the reply but actually this is not the issue.. I can have date time range filter in the filter pane but I need that in slicer. Actually that is our clients requirement.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Oct 2022 16:23:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-10-19T16:23:27Z</dc:date>
    <item>
      <title>Date time range filter for map visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-time-range-filter-for-map-visual/m-p/2849036#M91248</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Actually, I have created a date time range filter and implemented them for measures with the help of the link given below.&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&lt;A href="https://exceed.hr/blog/including-hours-and-minutes-in-dax-date-filters/" target="_self" rel="nofollow noopener noreferrer"&gt;https://exceed.hr/blog/including-hours-and-minutes-in-dax-date-filters/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But when I added maps to my report, the above filter didn't work. Actually, filters work for measures with conditions given in that measure.&amp;nbsp; But now I require a filter for a column instead of measure. I am providing an id column in the location field of Mapbox. How do I provide ids filtered by date and the time range in the location field? So that the filter works. Or is there any better approach?&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 18 Oct 2022 12:01:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-time-range-filter-for-map-visual/m-p/2849036#M91248</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-18T12:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Date time range filter for map visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-time-range-filter-for-map-visual/m-p/2850733#M91357</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;you can try visual-level filter,&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-report-add-filter?tabs=powerbi-desktop#filter-with-a-field-thats-not-in-the-visual" target="_blank"&gt;Add a filter to a report in Power BI - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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 _Tang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 08:58:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-time-range-filter-for-map-visual/m-p/2850733#M91357</guid>
      <dc:creator>v-xiaotang</dc:creator>
      <dc:date>2022-10-19T08:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Date time range filter for map visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-time-range-filter-for-map-visual/m-p/2851806#M91451</link>
      <description>&lt;P&gt;Thanks for the reply but actually this is not the issue.. I can have date time range filter in the filter pane but I need that in slicer. Actually that is our clients requirement.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 16:23:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-time-range-filter-for-map-visual/m-p/2851806#M91451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-19T16:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Date time range filter for map visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-time-range-filter-for-map-visual/m-p/2879115#M93122</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;But now I require a filter for a column instead of measure. I am providing an id column in the location field of Mapbox. How do I provide ids filtered by date and the time range in the location field?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Actually I mean, filter your id column by creating a filter measure and put it in visual-level filter, for example,&lt;/P&gt;
&lt;P&gt;create the measure below&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;filter measure = IF( MIN('Table'[Start Date])&amp;gt;=SELECTEDVALUE('date 1'[Date]) &amp;amp;&amp;amp; MIN('Table'[End Date])&amp;lt;=SELECTEDVALUE('date 2'[Date]),1,0)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;result&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;please see the sample file attached below&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 _Tang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 06:58:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-time-range-filter-for-map-visual/m-p/2879115#M93122</guid>
      <dc:creator>v-xiaotang</dc:creator>
      <dc:date>2022-11-02T06:58:42Z</dc:date>
    </item>
  </channel>
</rss>

