<?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: ENDOFYEAR help in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/ENDOFYEAR-help/m-p/3831015#M1237221</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;That is certainly a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping to avoid adding additional columns to my model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I was planning on using the endofyear in a measure which I'm sure your solution works for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For now the solution that I came up works, but your idea will certainly be helpful for endofmonth scenarios, thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2024 13:14:36 GMT</pubDate>
    <dc:creator>michaelu1</dc:creator>
    <dc:date>2024-04-11T13:14:36Z</dc:date>
    <item>
      <title>ENDOFYEAR help</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/ENDOFYEAR-help/m-p/3820179#M1235017</link>
      <description>&lt;P&gt;I attached a very basic file, I have 2 columns; a property and a purchase date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1GLDN7KXnsStHBCl8qQ3ePxPTwWgJ4taL/view?usp=drive_link" target="_self"&gt;PBIX File&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why can't I get the end of year date for purchase?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are screenshots as well:&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Table:&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 15:12:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/ENDOFYEAR-help/m-p/3820179#M1235017</guid>
      <dc:creator>michaelu1</dc:creator>
      <dc:date>2024-04-08T15:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: ENDOFYEAR help</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/ENDOFYEAR-help/m-p/3820368#M1235088</link>
      <description>&lt;P&gt;Time intelligence functions (like ENDOFYEAR) need a proper Dates table.&amp;nbsp; It won't work by passing a date from a Fact table.&amp;nbsp; In this case, it's looking for the EndOfYear in a list that contains one date (the date on the same row)&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 16:33:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/ENDOFYEAR-help/m-p/3820368#M1235088</guid>
      <dc:creator>HotChilli</dc:creator>
      <dc:date>2024-04-08T16:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: ENDOFYEAR help</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/ENDOFYEAR-help/m-p/3820386#M1235097</link>
      <description>&lt;P&gt;Ok, so how do I get the end of year for these dates?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 16:37:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/ENDOFYEAR-help/m-p/3820386#M1235097</guid>
      <dc:creator>michaelu1</dc:creator>
      <dc:date>2024-04-08T16:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: ENDOFYEAR help</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/ENDOFYEAR-help/m-p/3823846#M1235988</link>
      <description>&lt;P&gt;In the end I used DATE(YEAR('Table'[Purchase Date]),12,31).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this isn't an ideal solution as it can't be applied to end of month since the month days end differently..&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 13:19:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/ENDOFYEAR-help/m-p/3823846#M1235988</guid>
      <dc:creator>michaelu1</dc:creator>
      <dc:date>2024-04-09T13:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: ENDOFYEAR help</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/ENDOFYEAR-help/m-p/3829904#M1237078</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="81111" data-lia-user-login="HotChilli" class="lia-mention lia-mention-user"&gt;HotChilli&lt;/a&gt;&amp;nbsp;,thanks for the quick reply, I'll add further.&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="394724" data-lia-user-login="michaelu1" class="lia-mention lia-mention-user"&gt;michaelu1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Regarding your question, the ENDOFYEAR function groups your date columns according to the year, and then gets the largest date in it.You need to create a date table that contains the dates of an entire year.&lt;/P&gt;
&lt;P&gt;1.Use the following DAX expression to create a table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table = CALENDAR(DATE(1994,1,1),DATE(2025,12,31))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.Use the following DAX expression to create a column in 'Table'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = ENDOFYEAR('Table'[Date])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3.Use the following DAX expression to create a column in&amp;nbsp;Your own table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = LOOKUPVALUE('Table'[Column],'Table'[Date],'Tabelle1'[Purchase Date])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4.Final output&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 07:40:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/ENDOFYEAR-help/m-p/3829904#M1237078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-11T07:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: ENDOFYEAR help</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/ENDOFYEAR-help/m-p/3831015#M1237221</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;That is certainly a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping to avoid adding additional columns to my model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I was planning on using the endofyear in a measure which I'm sure your solution works for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For now the solution that I came up works, but your idea will certainly be helpful for endofmonth scenarios, thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 13:14:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/ENDOFYEAR-help/m-p/3831015#M1237221</guid>
      <dc:creator>michaelu1</dc:creator>
      <dc:date>2024-04-11T13:14:36Z</dc:date>
    </item>
  </channel>
</rss>

