<?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 creating a timeslot column with dax in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/creating-a-timeslot-column-with-dax/m-p/1548299#M30614</link>
    <description>&lt;P&gt;i want to create a colomn that devides the hours through the day into three time slots&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;8:00 AM- 4:00 PM&amp;nbsp;&lt;/P&gt;&lt;P&gt;4:00 PM - 12:AM&lt;/P&gt;&lt;P&gt;12:00 AM- 8:00 AM&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have created the following calculated column :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;however im only getting two timeslots in my filter instead of getting all the three timeslots :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can someone help with this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Dec 2020 07:38:31 GMT</pubDate>
    <dc:creator>lawada</dc:creator>
    <dc:date>2020-12-14T07:38:31Z</dc:date>
    <item>
      <title>creating a timeslot column with dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/creating-a-timeslot-column-with-dax/m-p/1548299#M30614</link>
      <description>&lt;P&gt;i want to create a colomn that devides the hours through the day into three time slots&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;8:00 AM- 4:00 PM&amp;nbsp;&lt;/P&gt;&lt;P&gt;4:00 PM - 12:AM&lt;/P&gt;&lt;P&gt;12:00 AM- 8:00 AM&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have created the following calculated column :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;however im only getting two timeslots in my filter instead of getting all the three timeslots :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can someone help with this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 07:38:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/creating-a-timeslot-column-with-dax/m-p/1548299#M30614</guid>
      <dc:creator>lawada</dc:creator>
      <dc:date>2020-12-14T07:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: creating a timeslot column with dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/creating-a-timeslot-column-with-dax/m-p/1548555#M30619</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="222024" data-lia-user-login="lawada" class="lia-mention lia-mention-user"&gt;lawada&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need an AND (&amp;amp;&amp;amp;) instead of an OR (||) in the condition checks. And in the second line you actually need only to check if HOUR is &amp;gt;= 16. The &amp;lt; 00 will not work&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Cheers&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 09:32:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/creating-a-timeslot-column-with-dax/m-p/1548555#M30619</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2020-12-14T09:32:31Z</dc:date>
    </item>
  </channel>
</rss>

