<?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: Time Frame in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Frame/m-p/4034877#M159873</link>
    <description>&lt;P&gt;You can use the following steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Create a new calculated column&amp;nbsp;to mark the rows that fall within the desired timeframe.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Filter the visual by the use of&amp;nbsp;new column&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Creating the calculated column:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;IsWithinTimeframe = IF(HOUR([TimeColumn]) &amp;gt;= 8 &amp;amp;&amp;amp; HOUR([TimeColumn]) &amp;lt; 20,1,0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Filtering the data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Go to the "Filters" pane.&lt;/LI&gt;&lt;LI&gt;Drag the new IsWithinTimeframe column to the "Filters on this visual" area.&lt;/LI&gt;&lt;LI&gt;Set the filter to only include rows where IsWithinTimeframe is 1.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jul 2024 14:24:10 GMT</pubDate>
    <dc:creator>Alican_C</dc:creator>
    <dc:date>2024-07-10T14:24:10Z</dc:date>
    <item>
      <title>Time Frame</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Frame/m-p/4034746#M159850</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have column which includes timeframe of 30 minutes for a day (Example: 00:00:00, 00:30:00, 01:00:00, 01:30:00.... till 23:30:00). I have created a Line and clustered column chart, the timeframe is in the X-Axis and I need the timeframe only from 08:00 to 20:00, So basically I need timeslice of the timeframe which I have. Any solution would be of great help. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Omkar&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 13:27:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Frame/m-p/4034746#M159850</guid>
      <dc:creator>onevagi</dc:creator>
      <dc:date>2024-07-10T13:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Time Frame</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Frame/m-p/4034877#M159873</link>
      <description>&lt;P&gt;You can use the following steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Create a new calculated column&amp;nbsp;to mark the rows that fall within the desired timeframe.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Filter the visual by the use of&amp;nbsp;new column&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Creating the calculated column:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;IsWithinTimeframe = IF(HOUR([TimeColumn]) &amp;gt;= 8 &amp;amp;&amp;amp; HOUR([TimeColumn]) &amp;lt; 20,1,0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Filtering the data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Go to the "Filters" pane.&lt;/LI&gt;&lt;LI&gt;Drag the new IsWithinTimeframe column to the "Filters on this visual" area.&lt;/LI&gt;&lt;LI&gt;Set the filter to only include rows where IsWithinTimeframe is 1.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 14:24:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Frame/m-p/4034877#M159873</guid>
      <dc:creator>Alican_C</dc:creator>
      <dc:date>2024-07-10T14:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Time Frame</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Frame/m-p/4035156#M159904</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for the help. It worked. Cheers &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 16:18:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Frame/m-p/4035156#M159904</guid>
      <dc:creator>onevagi</dc:creator>
      <dc:date>2024-07-10T16:18:42Z</dc:date>
    </item>
  </channel>
</rss>

