<?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: New column in DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-column-in-DAX/m-p/3354819#M126029</link>
    <description>&lt;P&gt;hello i tried your response and it works , iwas wondering if you could help me add 1 hour between each meeting , lets say i can only take 1 meeting at a time, how can i add 1 hour difference&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;expected result&lt;BR /&gt;&lt;BR /&gt;Meeting Schedule&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;7/26/2023 9:30:05 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/26/2023 12:35:32 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/26/2023 3:44:22 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/27/2023 9:00:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/27/2023 10:00:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/27/2023 11:00:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/28/2023 9:00:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/28/2023 10:00:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/28/2023 11:00:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/29/2023 9:00:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
    <pubDate>Fri, 28 Jul 2023 07:08:46 GMT</pubDate>
    <dc:creator>eliasayyy</dc:creator>
    <dc:date>2023-07-28T07:08:46Z</dc:date>
    <item>
      <title>New column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-column-in-DAX/m-p/3350173#M125795</link>
      <description>&lt;P&gt;I have two columns:&lt;/P&gt;&lt;P&gt;ID&amp;nbsp; &amp;nbsp; &amp;nbsp; Creation Date&lt;BR /&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 26.07.2023 09:30:05&lt;BR /&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 26.07.2023 12:35:32&lt;BR /&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 26.07.2023 15:44:22&lt;BR /&gt;4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 26.07.2023 17:34:05&lt;BR /&gt;5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 27.07.2023 08:54:09&lt;BR /&gt;6&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 27.07.2023 09:35:07&lt;BR /&gt;7&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 27.07.2023 12:30:11&lt;BR /&gt;8&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 27.07.2023 14:34:44&lt;BR /&gt;9&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 27.07.2023 16:54:22&lt;BR /&gt;10&amp;nbsp; &amp;nbsp; &amp;nbsp; 27.07.2023 18:59:07&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Let's assume that there is a queue of three IDs per day and that we only consider the hours of 9-17. I need an extra column that will assign a new date based on the queue.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;ID&amp;nbsp; &amp;nbsp; &amp;nbsp; Creation Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;New Date&lt;BR /&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 26.07.2023 09:30:05&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;26.07.2023 09:30:05 (first ID for date 26.07)&lt;BR /&gt;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;26.07.2023 12:35:32 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 26.07.2023 12:35:32 (second ID for date 26.07)&lt;BR /&gt;3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;26.07.2023 15:44:22 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 26.07.2023 15:44:22 (third ID for date 26.07)&lt;BR /&gt;4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;26.07.2023 16:34:05 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 27.07.2023 09:00:00 (fourth ID for date 26.07, so have to move to the next day at 09:00:00)- first ID for date 27.07&lt;BR /&gt;5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;27.07.2023 08:54:09 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 27.07.2023 09:00:00 (Creation Date before 09:00:00, so have to move at 09:00:00) - second ID for date 27.07&lt;BR /&gt;6 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;27.07.2023 09:35:07 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 27.07.2023 09:35:07 (third ID for date 27.07)&lt;BR /&gt;7 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;27.07.2023 12:30:11 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 28.07.2023 09:00:00 (the queue of three IDs for this day has passed, so we move to the next day) - first ID for date 28.07)&lt;BR /&gt;8 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;27.07.2023 14:34:44 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 28.07.2023 09:00:00 (second ID for date 28.07)&lt;BR /&gt;9 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;27.07.2023 16:54:22 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 28.07.2023 09:00:00 (third ID for date 28.07)&lt;BR /&gt;10 &amp;nbsp; &amp;nbsp; &amp;nbsp;27.07.2023 18:59:07 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 29.07.2023 09:00:00 (first ID for date 29.07 because queue for three ID'S has passed both 27.07 and 28.07)&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 04:48:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-column-in-DAX/m-p/3350173#M125795</guid>
      <dc:creator>Mateusz00</dc:creator>
      <dc:date>2023-07-26T04:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: New column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-column-in-DAX/m-p/3354716#M126020</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="594303" data-lia-user-login="Mateusz00" class="lia-mention lia-mention-user"&gt;Mateusz00&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can create the &lt;STRONG&gt;calculated columns&lt;/STRONG&gt; as below to get it:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;NextDtime = 
VAR _index =
    ROUNDUP ( 'Table'[ID] / 3, 0 ) - 1
RETURN
    ( DATEVALUE ( MIN ( 'Table'[Creation Date] ) ) + _index ) &amp;amp; " "
        &amp;amp; TIME ( 9, 0, 0 )&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;New Date = 
IF (
    'Table'[Creation Date] &amp;gt;= 'Table'[NextDtime],
    'Table'[Creation Date],
    'Table'[NextDtime]
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 06:07:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-column-in-DAX/m-p/3354716#M126020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-28T06:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: New column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-column-in-DAX/m-p/3354731#M126021</link>
      <description>&lt;P&gt;Hello, thank you for response but that is not exactly what I mean. If you check your "New Date" and "New Date" which I wrote there are differences.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 06:20:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-column-in-DAX/m-p/3354731#M126021</guid>
      <dc:creator>Mateusz00</dc:creator>
      <dc:date>2023-07-28T06:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: New column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-column-in-DAX/m-p/3354742#M126023</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="594303" data-lia-user-login="Mateusz00" class="lia-mention lia-mention-user"&gt;Mateusz00&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;What's your expected result? For the field [New Date], is there anything else necessary be included in &lt;EM&gt;&lt;STRONG&gt;besides the datetime&lt;/STRONG&gt;&lt;/EM&gt;? Could you please explain more details with the specific examples? Thank you.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 06:31:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-column-in-DAX/m-p/3354742#M126023</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-28T06:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: New column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-column-in-DAX/m-p/3354755#M126025</link>
      <description>&lt;P&gt;Of course, the point is that at 9 o'clock we transfer the ID to the following days in two cases:&lt;BR /&gt;&lt;BR /&gt;1) when the queue for the day ends&lt;BR /&gt;2) when the Creation Date is outside of 9am-5pm.&lt;BR /&gt;&lt;BR /&gt;If the ID is in the queue for a given day and the Creation Date is between 9-17, the date stays the same (ID No. 1 from my example)&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 06:40:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-column-in-DAX/m-p/3354755#M126025</guid>
      <dc:creator>Mateusz00</dc:creator>
      <dc:date>2023-07-28T06:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: New column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-column-in-DAX/m-p/3354767#M126026</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="594303" data-lia-user-login="Mateusz00" class="lia-mention lia-mention-user"&gt;Mateusz00&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;As compared your provided info with mine, they are same... Am I misunderstanding something?&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 06:48:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-column-in-DAX/m-p/3354767#M126026</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-28T06:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: New column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-column-in-DAX/m-p/3354819#M126029</link>
      <description>&lt;P&gt;hello i tried your response and it works , iwas wondering if you could help me add 1 hour between each meeting , lets say i can only take 1 meeting at a time, how can i add 1 hour difference&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;expected result&lt;BR /&gt;&lt;BR /&gt;Meeting Schedule&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;7/26/2023 9:30:05 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/26/2023 12:35:32 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/26/2023 3:44:22 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/27/2023 9:00:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/27/2023 10:00:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/27/2023 11:00:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/28/2023 9:00:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/28/2023 10:00:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/28/2023 11:00:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/29/2023 9:00:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 28 Jul 2023 07:08:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-column-in-DAX/m-p/3354819#M126029</guid>
      <dc:creator>eliasayyy</dc:creator>
      <dc:date>2023-07-28T07:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: New column in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-column-in-DAX/m-p/3354850#M126032</link>
      <description>&lt;P&gt;Sorry, I was looking at the wrong column (NextDtime). Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 07:18:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-column-in-DAX/m-p/3354850#M126032</guid>
      <dc:creator>Mateusz00</dc:creator>
      <dc:date>2023-07-28T07:18:33Z</dc:date>
    </item>
  </channel>
</rss>

