<?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: Grandfather asks for a report on the birthday gift plan in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4189712#M166367</link>
    <description>&lt;P&gt;Hi Tamerij1, &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;BR /&gt;First of all Thank you for taking the time &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;BR /&gt;I tried to write the measure, but from the DISTINCT function onwards, it goes into error as you can see from the attached image.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;and I couldn't figure out why&lt;BR /&gt;&lt;BR /&gt;A few clarifications:&lt;BR /&gt;1) the fact table is called ‘Gifts’;&lt;BR /&gt;2) the dates table is called ‘Calendar’;&lt;BR /&gt;3) ‘Gifts[Amount] is the annual amount, which is paid every year for 5 years.&lt;/P&gt;&lt;P&gt;I hope you can help me again.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;g&lt;/P&gt;</description>
    <pubDate>Sat, 28 Sep 2024 10:20:48 GMT</pubDate>
    <dc:creator>gennaro_19</dc:creator>
    <dc:date>2024-09-28T10:20:48Z</dc:date>
    <item>
      <title>Grandfather asks for a report on the birthday gift plan</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4185329#M166192</link>
      <description>&lt;P&gt;Hello Community,&lt;BR /&gt;Thank you in advance for your attention.&lt;BR /&gt;A grandfather asks a bank to pay a sum of money for each of his grandchildren's birthdays.&lt;/P&gt;&lt;P&gt;He asks the bank for a report on the birthday gift plan.&lt;/P&gt;&lt;P&gt;The grandfather's request is summarised in the table below.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Birth&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Amount / year&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Duration&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;15/04/2022&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;20&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;5&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Paolo&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;18/09/2023&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;10&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;5&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Luca&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;20/06/2024&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;40&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;5&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The bank with a DAX measure would like to achieve this result:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;2023&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;2024&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;2025&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;2026&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;2027&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;2028&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;2029&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Totali&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Marco&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;20&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;20&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;20&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;20&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;20&lt;/P&gt;&lt;/TD&gt;&lt;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RONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;20&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;30&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;70&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;70&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;70&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;50&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;40&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;350&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to get the desired result from the bank??&lt;BR /&gt;Thks&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 19:09:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4185329#M166192</guid>
      <dc:creator>gennaro_19</dc:creator>
      <dc:date>2024-09-27T19:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Grandfather asks for a report on the birthday gift plan</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4185376#M166195</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="814537" data-lia-user-login="gennaro_19" class="lia-mention lia-mention-user"&gt;gennaro_19&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Such a wise grandfather!&lt;/P&gt;
&lt;P&gt;Hope I can help him with the following proposal&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Annual Installment =&lt;BR /&gt;SUMX (&lt;BR /&gt;CROSSJOIN (&lt;BR /&gt;'Table',&lt;BR /&gt;EXCEPT (&lt;BR /&gt;DISTINCT ( Years[Year] ),&lt;BR /&gt;GENERATESERIES (&lt;BR /&gt;YEAR ( 'Table'[Birth] ),&lt;BR /&gt;YEAR ( 'Table'[Birth] ) + 'Table'[Duration] - 1,&lt;BR /&gt;1&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;),&lt;BR /&gt;'Table'[Amount/Year]&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 19:33:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4185376#M166195</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2024-09-27T19:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Grandfather asks for a report on the birthday gift plan</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4189712#M166367</link>
      <description>&lt;P&gt;Hi Tamerij1, &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;BR /&gt;First of all Thank you for taking the time &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;BR /&gt;I tried to write the measure, but from the DISTINCT function onwards, it goes into error as you can see from the attached image.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;and I couldn't figure out why&lt;BR /&gt;&lt;BR /&gt;A few clarifications:&lt;BR /&gt;1) the fact table is called ‘Gifts’;&lt;BR /&gt;2) the dates table is called ‘Calendar’;&lt;BR /&gt;3) ‘Gifts[Amount] is the annual amount, which is paid every year for 5 years.&lt;/P&gt;&lt;P&gt;I hope you can help me again.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;g&lt;/P&gt;</description>
      <pubDate>Sat, 28 Sep 2024 10:20:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4189712#M166367</guid>
      <dc:creator>gennaro_19</dc:creator>
      <dc:date>2024-09-28T10:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Grandfather asks for a report on the birthday gift plan</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4193521#M166510</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="814537" data-lia-user-login="gennaro_19" class="lia-mention lia-mention-user"&gt;gennaro_19&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Missing the closing&amp;nbsp;&lt;SPAN&gt;Apostrophe in the table name&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt; The calendar table has to be disconnected or otherwise create a Years table as ALLNOBLANKROW ( 'Calendar'[Year] )&lt;/P&gt;</description>
      <pubDate>Sun, 29 Sep 2024 08:29:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4193521#M166510</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2024-09-29T08:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Grandfather asks for a report on the birthday gift plan</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4193552#M166511</link>
      <description>&lt;P&gt;Hi tamerjl,&lt;BR /&gt;Again, thank you for your attention to my case.&lt;BR /&gt;As you know, when a measure works, as soon as you type the apostrophe only, the DAX proposes the list of fields that the user can use, as in the image you see&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Instead, at this apostrophe, the DAX does not propose anything to me, even if I try to ‘force’ and type despite the ban.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think that the measure still does not work, even when writing the code.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":crying_face:"&gt;😢&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you for what you can do.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;BR /&gt;g&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Sep 2024 08:46:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4193552#M166511</guid>
      <dc:creator>gennaro_19</dc:creator>
      <dc:date>2024-09-29T08:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Grandfather asks for a report on the birthday gift plan</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4193963#M166528</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="814537" data-lia-user-login="gennaro_19" class="lia-mention lia-mention-user"&gt;gennaro_19&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please copy/paste your first formula? &amp;nbsp;I will correct it for you&lt;/P&gt;</description>
      <pubDate>Sun, 29 Sep 2024 10:16:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4193963#M166528</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2024-09-29T10:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Grandfather asks for a report on the birthday gift plan</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4194195#M166529</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;hi&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/317289" target="_self"&gt;&lt;SPAN class=""&gt;tamerj1&lt;/SPAN&gt;&lt;/A&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN&gt;&lt;BR /&gt;here it is&lt;BR /&gt;but it does not work&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":loudly_crying_face:"&gt;😭&lt;/span&gt;&lt;BR /&gt;Annual Installment =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;CurrentYear&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'&lt;/SPAN&gt;&lt;SPAN&gt;[Year]&lt;/SPAN&gt;&lt;SPAN&gt; )&lt;/SPAN&gt;&lt;/DIV&gt;&l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R /&gt;&lt;BR /&gt;thks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 29 Sep 2024 11:02:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4194195#M166529</guid>
      <dc:creator>gennaro_19</dc:creator>
      <dc:date>2024-09-29T11:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Grandfather asks for a report on the birthday gift plan</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4194258#M166530</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="814537" data-lia-user-login="gennaro_19" class="lia-mention lia-mention-user"&gt;gennaro_19&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Annual Installment =&lt;BR /&gt;SUMX (&lt;BR /&gt;CROSSJOIN (&lt;BR /&gt;'Regali',&lt;BR /&gt;EXCEPT (&lt;BR /&gt;DISTINCT ( Years[Year] ),&lt;BR /&gt;GENERATESERIES (&lt;BR /&gt;YEAR ( 'Regali'[Birth] ),&lt;BR /&gt;YEAR ( 'Regali'[Birth] ) + 'Regali'[Duration] - 1,&lt;BR /&gt;1&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;),&lt;BR /&gt;'Regali'[Amount]&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;don't use the calendar table. Instead create Years table as suggested in one of my previous replies&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Sep 2024 11:38:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4194258#M166530</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2024-09-29T11:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Grandfather asks for a report on the birthday gift plan</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4194317#M166534</link>
      <description>&lt;P&gt;hi tamerj1,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I'm really sorry, but the measure still doesn't work, despite having precisely your instructions (I created a separate table with the years).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Unfortunately, it is not possible to attach the pbix file on this platform, so you could see for yourself where the error occurs and why.&lt;BR /&gt;&lt;BR /&gt;At this apostrophe, the DAX still does not propose anything to me.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Have you tried it in your own local file? Does it work for you?&lt;/P&gt;&lt;P&gt;Thanks again&lt;BR /&gt;g&lt;/P&gt;</description>
      <pubDate>Sun, 29 Sep 2024 12:06:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4194317#M166534</guid>
      <dc:creator>gennaro_19</dc:creator>
      <dc:date>2024-09-29T12:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Grandfather asks for a report on the birthday gift plan</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4194343#M166537</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="814537" data-lia-user-login="gennaro_19" class="lia-mention lia-mention-user"&gt;gennaro_19&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why don't you just copy/paste the dax? Why are you rewriting it? &amp;nbsp;Also no need for any apostrophes at all as all table names are composed of a single word. Only 'Calendar' table requires apostrophes as the word Calendar is also reserved as a dax function. However, the dax proposed does not contain this table.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;on other hand you can upload your file to any cloud service and share the&lt;/P&gt;
&lt;P&gt;&amp;nbsp;download link.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Sep 2024 12:17:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4194343#M166537</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2024-09-29T12:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Grandfather asks for a report on the birthday gift plan</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4194487#M166545</link>
      <description>&lt;P&gt;hi tamerj1,&lt;BR /&gt;You can find the file at this link.&lt;BR /&gt;&lt;A href="https://drive.google.com/file/d/1MI34YNDrc-0ODEvNu7N7DM8WUHetZNIK/view?usp=drive_link" target="_blank"&gt;https://drive.google.com/file/d/1MI34YNDrc-0ODEvNu7N7DM8WUHetZNIK/view?usp=drive_link&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You are right, I would have had no reason to ‘write’ the code, just copy it.&lt;BR /&gt;But with just copying the text, look at the result&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thks&lt;BR /&gt;g&lt;/P&gt;</description>
      <pubDate>Sun, 29 Sep 2024 13:45:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4194487#M166545</guid>
      <dc:creator>gennaro_19</dc:creator>
      <dc:date>2024-09-29T13:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Grandfather asks for a report on the birthday gift plan</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4195138#M166551</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="814537" data-lia-user-login="gennaro_19" class="lia-mention lia-mention-user"&gt;gennaro_19&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Yes you are right. I've got a couple functions wrong.&lt;/P&gt;
&lt;P&gt;Unfortunately, I was not able to download the file waiting for your approval to my download request.&lt;BR /&gt;Not sure why Years[Year] is marked as a wrong syntax. Have you already created the Years table?&lt;BR /&gt;Meanwhile you may try&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Annual Installment =
SUMX (
    GENERATE (
        'Regali',
        INTERSECT (
            DISTINCT ( Years[Year] ),
            GENERATESERIES (
                YEAR ( 'Regali'[Birth] ),
                YEAR ( 'Regali'[Birth] ) + 'Regali'[Duration] - 1,
                1
            )
        )
    ),
    'Regali'[Amount]
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;&lt;U&gt;&lt;STRONG&gt;Update&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;I have been able to download the file. The forumla works fine, I just had to rename the Year table as Years. Attached the sample file with the solution&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>Sun, 29 Sep 2024 18:37:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4195138#M166551</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2024-09-29T18:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Grandfather asks for a report on the birthday gift plan</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4195191#M166552</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thank you very much,&lt;BR /&gt;You have been good and above all patient.&lt;BR /&gt;I am not that experienced and you have given me the opportunity to learn more. &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;BR /&gt;&amp;nbsp;See you soon&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Sep 2024 19:28:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Grandfather-asks-for-a-report-on-the-birthday-gift-plan/m-p/4195191#M166552</guid>
      <dc:creator>gennaro_19</dc:creator>
      <dc:date>2024-09-29T19:28:50Z</dc:date>
    </item>
  </channel>
</rss>

