<?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 merge 2 columns ( start date and end date ) with column of time using on if statement in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-merge-2-columns-start-date-and-end-date-with-column-of/m-p/2330566#M58539</link>
    <description>&lt;P&gt;thank you, i just tried, i cannot apply + on date and time formats on powerquery&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;for the other values i got "null values" on my custom column&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;i dont know if there is another way to put condition on times and date in order to calculate the right duration because without merging the dates ( end and start) and times, the duration of 2 task between 23 PM and 1 AM is 22h instead of 2h ! &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Feb 2022 09:54:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-02-10T09:54:45Z</dc:date>
    <item>
      <title>How to merge 2 columns ( start date and end date ) with column of time using on if statement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-merge-2-columns-start-date-and-end-date-with-column-of/m-p/2330398#M58523</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I m having a trouble with merging dates and time based on conditions : i have 2 dates :&lt;/P&gt;&lt;P&gt;Start date and end dates, and i have many columns with time Format , i want to merge the columns using those conditions :&amp;nbsp;&lt;/P&gt;&lt;P&gt;If ( Column Time &amp;lt;= (00:00:00) and start date = end date then [Start Date]&amp;amp; " "&amp;amp;[TimeColumn] else [end date]&amp;amp; " "&amp;amp; [TimeColumn]&lt;/P&gt;&lt;P&gt;this is not working neither on calculated colmun nor on dax measure&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my final goal is to obtain for each timecolumn a merged column with the appropriate date (end date ==&amp;gt;if the time is equal or over 00:00:00 other wise merge with the start date!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If u have any ideas, i ve been blocked on this a week noww ! &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 08:59:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-merge-2-columns-start-date-and-end-date-with-column-of/m-p/2330398#M58523</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-10T08:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge 2 columns ( start date and end date ) with column of time using on if statement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-merge-2-columns-start-date-and-end-date-with-column-of/m-p/2330527#M58533</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; ,&lt;/P&gt;
&lt;P&gt;If you need in DAx&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If ( [Column Time] &amp;lt;= time(0,0,0) &amp;amp;&amp;amp; [start date] = [end date] , [Start Date]+ [TimeColumn] , [end date]+&amp;nbsp; [TimeColumn] )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in power Query&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If&amp;nbsp; [Column Time] &amp;lt;= #time(0,0,0) and [start date] = [end date] then [Start Date]+ [TimeColumn] else [end date]+&amp;nbsp; [TimeColumn]&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 09:41:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-merge-2-columns-start-date-and-end-date-with-column-of/m-p/2330527#M58533</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-02-10T09:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge 2 columns ( start date and end date ) with column of time using on if statement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-merge-2-columns-start-date-and-end-date-with-column-of/m-p/2330566#M58539</link>
      <description>&lt;P&gt;thank you, i just tried, i cannot apply + on date and time formats on powerquery&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;for the other values i got "null values" on my custom column&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;i dont know if there is another way to put condition on times and date in order to calculate the right duration because without merging the dates ( end and start) and times, the duration of 2 task between 23 PM and 1 AM is 22h instead of 2h ! &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 09:54:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-merge-2-columns-start-date-and-end-date-with-column-of/m-p/2330566#M58539</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-10T09:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge 2 columns ( start date and end date ) with column of time using on if statement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-merge-2-columns-start-date-and-end-date-with-column-of/m-p/2330592#M58541</link>
      <description>&lt;P&gt;on dax its working but i get weird dates instead of my dates values :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 10:04:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-merge-2-columns-start-date-and-end-date-with-column-of/m-p/2330592#M58541</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-10T10:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge 2 columns ( start date and end date ) with column of time using on if statement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-merge-2-columns-start-date-and-end-date-with-column-of/m-p/2330622#M58546</link>
      <description>&lt;P&gt;hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i just tested another case and the condition is not working correctly i think : for this date since we re at 23h PM he should choose the date 06/01 and not the 07/01&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;do u have an idea please how can i add more condition for midnight value !&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance ! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 10:14:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-merge-2-columns-start-date-and-end-date-with-column-of/m-p/2330622#M58546</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-10T10:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge 2 columns ( start date and end date ) with column of time using on if statement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-merge-2-columns-start-date-and-end-date-with-column-of/m-p/2330729#M58556</link>
      <description>&lt;P&gt;Instead of '+', try using '&amp;amp;'&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 11:28:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-merge-2-columns-start-date-and-end-date-with-column-of/m-p/2330729#M58556</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-10T11:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge 2 columns ( start date and end date ) with column of time using on if statement</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-merge-2-columns-start-date-and-end-date-with-column-of/m-p/2346898#M59383</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check the formula.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = IF(TableA[Column Time]&amp;lt;TIME(00,00,00)&amp;amp;&amp;amp;TableA[start date]=TableA[end date],TableA[start date]+TableA[Column Time],TableA[end date]+TableA[Column Time])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jay&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 07:39:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-merge-2-columns-start-date-and-end-date-with-column-of/m-p/2346898#M59383</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-18T07:39:58Z</dc:date>
    </item>
  </channel>
</rss>

