<?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: DATEADD issue in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEADD-issue/m-p/3315605#M124050</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="399872" data-lia-user-login="Tob_P" class="lia-mention lia-mention-user"&gt;Tob_P&lt;/a&gt;&amp;nbsp;I am glad if I can assist you in Power BI experience, no matter kudos or solutions.&lt;/P&gt;&lt;P&gt;Concerning your "issue" with DATEADD, if you simple need to obtain some new / future date based on column which you already have in your data when Power Query, possible alternative solution with new column with function&amp;nbsp;&lt;SPAN&gt;Date.AddYears, like&amp;nbsp;Date.AddYears([&amp;lt;your column name], your reference for adding)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/powerquery-m/date-addyears" target="_self"&gt;https://learn.microsoft.com/en-us/powerquery-m/date-addyears&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jul 2023 07:25:17 GMT</pubDate>
    <dc:creator>some_bih</dc:creator>
    <dc:date>2023-07-05T07:25:17Z</dc:date>
    <item>
      <title>DATEADD issue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEADD-issue/m-p/3314834#M124012</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See below...&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;Dax appears to work correctly for calculated column only for dates when the expiry date is in the past.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pay attention to columns Validity Formatted, Date of Issue and New Expires.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cannot see for the life of me why this would not calculate an expiry date for anything that expires on or after today.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone advise?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 15:39:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEADD-issue/m-p/3314834#M124012</guid>
      <dc:creator>Tob_P</dc:creator>
      <dc:date>2023-07-04T15:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: DATEADD issue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEADD-issue/m-p/3315438#M124042</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="399872" data-lia-user-login="Tob_P" class="lia-mention lia-mention-user"&gt;Tob_P&lt;/a&gt;&amp;nbsp;check your part DATEADD (even we could not see from your picture full syntact, only partly)&lt;/P&gt;&lt;P&gt;According to link and picture below result / output should be already in your date column.&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/dateadd-function-dax" target="_self"&gt;https://learn.microsoft.com/en-us/dax/dateadd-function-dax&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Did I answer your question? Mark my post as a solution! Kudos Appreciated!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 05:56:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEADD-issue/m-p/3315438#M124042</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-07-05T05:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: DATEADD issue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEADD-issue/m-p/3315567#M124047</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Apologies&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="555045" data-lia-user-login="some_bih" class="lia-mention lia-mention-user"&gt;some_bih&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply - I sort of struggle to understand 'The result table includes only dates that exist in the date column' - does that mean it can only calculate the output of 01/05/2023, 1, YEAR if the date of 01/06/2024 is in the Date column? If that's the case, firstly why would you have a future date in there if not required and secondly, it sort of defeats the purpose of the calculation. Or does it mean that the date of 01/05/2023 has to exist, which it does, for the function to work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Either way, if this function is not going to work for me, is anyone aware of an alternative function that takes a date, and will output future dates based on intervals &amp;amp; years.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="555045" data-lia-user-login="some_bih" class="lia-mention lia-mention-user"&gt;some_bih&lt;/a&gt;&amp;nbsp;- I will mark your reply as a solution but looking to see if I can get any additional advice to point me in the direction.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 06:59:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEADD-issue/m-p/3315567#M124047</guid>
      <dc:creator>Tob_P</dc:creator>
      <dc:date>2023-07-05T06:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: DATEADD issue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEADD-issue/m-p/3315605#M124050</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="399872" data-lia-user-login="Tob_P" class="lia-mention lia-mention-user"&gt;Tob_P&lt;/a&gt;&amp;nbsp;I am glad if I can assist you in Power BI experience, no matter kudos or solutions.&lt;/P&gt;&lt;P&gt;Concerning your "issue" with DATEADD, if you simple need to obtain some new / future date based on column which you already have in your data when Power Query, possible alternative solution with new column with function&amp;nbsp;&lt;SPAN&gt;Date.AddYears, like&amp;nbsp;Date.AddYears([&amp;lt;your column name], your reference for adding)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/powerquery-m/date-addyears" target="_self"&gt;https://learn.microsoft.com/en-us/powerquery-m/date-addyears&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 07:25:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DATEADD-issue/m-p/3315605#M124050</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-07-05T07:25:17Z</dc:date>
    </item>
  </channel>
</rss>

