<?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 create Start Time and End Time Slicers for single Datetime column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-Start-Time-and-End-Time-Slicers-for-single/m-p/4146882#M164785</link>
    <description>&lt;P&gt;Please provide sample data&lt;/P&gt;</description>
    <pubDate>Thu, 12 Sep 2024 09:53:04 GMT</pubDate>
    <dc:creator>Gabry</dc:creator>
    <dc:date>2024-09-12T09:53:04Z</dc:date>
    <item>
      <title>How to create Start Time and End Time Slicers for single Datetime column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-Start-Time-and-End-Time-Slicers-for-single/m-p/4146071#M164754</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;We have one Table.&lt;/P&gt;&lt;P&gt;This is the below columns,&lt;/P&gt;&lt;P&gt;Date-Time , value and Legends.&lt;/P&gt;&lt;P&gt;How to create different Start Time (Hours, Minutes ) and End Time (Hours, Minutes) Slicers .&lt;/P&gt;&lt;P&gt;Please find the below screenshot for reference&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 03:39:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-Start-Time-and-End-Time-Slicers-for-single/m-p/4146071#M164754</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-12T03:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Start Time and End Time Slicers for single Datetime column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-Start-Time-and-End-Time-Slicers-for-single/m-p/4146882#M164785</link>
      <description>&lt;P&gt;Please provide sample data&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 09:53:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-Start-Time-and-End-Time-Slicers-for-single/m-p/4146882#M164785</guid>
      <dc:creator>Gabry</dc:creator>
      <dc:date>2024-09-12T09:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Start Time and End Time Slicers for single Datetime column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-Start-Time-and-End-Time-Slicers-for-single/m-p/4147099#M164794</link>
      <description>&lt;P&gt;Please find sample data.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 11:43:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-Start-Time-and-End-Time-Slicers-for-single/m-p/4147099#M164794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-12T11:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Start Time and End Time Slicers for single Datetime column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-Start-Time-and-End-Time-Slicers-for-single/m-p/4147160#M164798</link>
      <description>&lt;P&gt;&lt;SPAN&gt;How to create Start Time and End Time Slicers for Line Chart.&lt;BR /&gt;&amp;nbsp;&lt;/SPAN&gt;Please find the sample data.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please find the below screenshot for reference.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 12:08:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-Start-Time-and-End-Time-Slicers-for-single/m-p/4147160#M164798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-12T12:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Start Time and End Time Slicers for single Datetime column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-Start-Time-and-End-Time-Slicers-for-single/m-p/4147299#M164800</link>
      <description>&lt;P&gt;Oh I see, I don't know if you can do it with the standard powerbi slicer. Probably you need to use the filter pane. I don't know sorry&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 13:19:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-Start-Time-and-End-Time-Slicers-for-single/m-p/4147299#M164800</guid>
      <dc:creator>Gabry</dc:creator>
      <dc:date>2024-09-12T13:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Start Time and End Time Slicers for single Datetime column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-Start-Time-and-End-Time-Slicers-for-single/m-p/4148913#M164859</link>
      <description>&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Thanks for the reply from Gabry&amp;nbsp;, please allow me to provide another insight:&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial;"&gt;&lt;SPAN&gt;1.&lt;/SPAN&gt;&lt;SPAN&gt;First, use the HOUR() function, the MINUTE() function, the SECOND() function, and the Right() function to create four calculated columns&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;HOUR = HOUR('Table'[DateTime])&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;min = MINUTE('Table'[DateTime])&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;ss = SECOND('Table'[DateTime])&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;AP = RIGHT('Table'[DateTime],2)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial;"&gt;&lt;SPAN&gt;2.&lt;/SPAN&gt;&lt;SPAN&gt;Next, create two more calculation tables with these four columns, one for each as a slicer:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;starttime = ALLEXCEPT('Table','Table'[DateTime],'Table'[Legends],'Table'[Value])
&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;endtime = 'starttime'&lt;/LI-CODE&gt;
&lt;P style="margin: 0in; font-family: Arial;"&gt;&lt;SPAN&gt;3.&lt;/SPAN&gt;&lt;SPAN&gt;Next, select the filter measure in the visualization:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;VAR NOW1 =
    TIME ( HOUR ( MAX ( 'Table'[DateTime] ) ), MINUTE ( MAX ( 'Table'[DateTime] ) ), SECOND ( MAX ( 'Table'[DateTime] ) ) )
VAR START1 =
    TIME ( MAX ( 'starttime'[HOUR] ), MAX ( 'starttime'[min] ), MAX ( 'starttime'[ss] ) )
VAR END1 =
    TIME ( MAX ( 'endtime'[HOUR] ), MAX ( 'endtime'[min] ), MAX ( 'endtime'[ss] ) )
RETURN
    IF ( NOW1 &amp;gt;= START1 &amp;amp;&amp;amp; NOW1 &amp;lt;= END1, 1, 0 )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;5.Here's my final result, which I hope meets your requirements.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Of course, if you have any new ideas, you are welcome to contact us.&lt;BR /&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Leroy Lu&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;If this post &lt;SPAN&gt;helps&lt;/SPAN&gt;, then please consider Accept it &lt;SPAN&gt;as the solution &lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 07:18:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-Start-Time-and-End-Time-Slicers-for-single/m-p/4148913#M164859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-13T07:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Start Time and End Time Slicers for single Datetime column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-Start-Time-and-End-Time-Slicers-for-single/m-p/4149311#M164874</link>
      <description>&lt;P&gt;Thank you so much&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;"&lt;SPAN&gt;Leroy Lu"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 10:45:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-Start-Time-and-End-Time-Slicers-for-single/m-p/4149311#M164874</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-13T10:45:30Z</dc:date>
    </item>
  </channel>
</rss>

