<?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: DATEDIFF and IF in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEDIFF-and-IF/m-p/4007391#M156945</link>
    <description>&lt;P&gt;Ok got it fixed and attached what I got it to. &amp;nbsp;Thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jun 2024 16:38:52 GMT</pubDate>
    <dc:creator>Seth4040</dc:creator>
    <dc:date>2024-06-24T16:38:52Z</dc:date>
    <item>
      <title>DATEDIFF and IF</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEDIFF-and-IF/m-p/4007274#M156925</link>
      <description>&lt;P&gt;I am trying to add 7 days to the "Task Completion Date" if the "Task Status" is = CONCOMP which gives me the "GF Job Card Due Date" column. &amp;nbsp;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GF Job Card Due Date = IF(DATEDIFF(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 15:50:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEDIFF-and-IF/m-p/4007274#M156925</guid>
      <dc:creator>Seth4040</dc:creator>
      <dc:date>2024-06-24T15:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: DATEDIFF and IF</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEDIFF-and-IF/m-p/4007306#M156932</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="765099" data-lia-user-login="Seth4040" class="lia-mention lia-mention-user"&gt;Seth4040&lt;/a&gt;&amp;nbsp;- Try this as a calculated column:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;IF( Table[Task Status] = "CONCOMP", SUMX( Table, Table[Task Completion Date] + 7), Table[Task Completion Date])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you only need the values where 7 days have been added then this will work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SUMX( FILTER(Table, Table[Task Status] = "CONCOMP"), Table[Task Completion Date] + 7)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above can also be used in a measure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If either of these work, please accept this as the solution.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 16:06:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEDIFF-and-IF/m-p/4007306#M156932</guid>
      <dc:creator>mark_endicott</dc:creator>
      <dc:date>2024-06-24T16:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: DATEDIFF and IF</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEDIFF-and-IF/m-p/4007366#M156942</link>
      <description>&lt;P&gt;This kind of worked but showing the date as 12/31/9999 for some reason. I did change the first one just a little and got what I am showing. &amp;nbsp;The second one had the same outcome exect dates in all the fields even when not = to CONCOMP &amp;nbsp;and again the dates were 12/31/9999&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;</description>
      <pubDate>Mon, 24 Jun 2024 16:30:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEDIFF-and-IF/m-p/4007366#M156942</guid>
      <dc:creator>Seth4040</dc:creator>
      <dc:date>2024-06-24T16:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: DATEDIFF and IF</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEDIFF-and-IF/m-p/4007391#M156945</link>
      <description>&lt;P&gt;Ok got it fixed and attached what I got it to. &amp;nbsp;Thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 16:38:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEDIFF-and-IF/m-p/4007391#M156945</guid>
      <dc:creator>Seth4040</dc:creator>
      <dc:date>2024-06-24T16:38:52Z</dc:date>
    </item>
  </channel>
</rss>

