<?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: DAX - Monthly income tabulator - between start and end dates in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Monthly-income-tabulator-between-start-and-end-dates/m-p/4787412#M183293</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1328283" data-lia-user-login="T_J" class="lia-mention lia-mention-user"&gt;T_J&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;/P&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="824538" data-lia-user-login="rohit1991" class="lia-mention lia-mention-user"&gt;rohit1991&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="14361" data-lia-user-login="MFelix" class="lia-mention lia-mention-user"&gt;MFelix&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for your prompt response it's truly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Best Regards,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Lakshmi&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Aug 2025 05:08:10 GMT</pubDate>
    <dc:creator>v-lgarikapat</dc:creator>
    <dc:date>2025-08-05T05:08:10Z</dc:date>
    <item>
      <title>DAX - Monthly income tabulator - between start and end dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Monthly-income-tabulator-between-start-and-end-dates/m-p/4786552#M183266</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry, far from a DAX maestro and have been fiddling with Sum, filter and calculation to make this work but it's still not coming out as I'd expect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Situation is I have two tables, one which has a list of all upcoming projects ('Project List', including a monthly income and start and end dates of the project. Second table is a Calendar table spanning 2025-2035. What I am looking to do is for every 1st of the month on the calendar table, for it to sum up the value of all monthly income expected in based on whether the 1st of the month is between the start and end dates of the project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've started trying to make it with a measure or just calculating it within the column, closest I've gotten is;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Monthly Income =&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Sum&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Project List'&lt;/SPAN&gt;&lt;SPAN&gt;[Monthly Income]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Project List'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;=&lt;/SPAN&gt;&lt;SPAN&gt;'Project List'&lt;/SPAN&gt;&lt;SPAN&gt;[Start Date]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt; &lt;/SPAN&gt;&lt;SPAN&gt;'Project List'&lt;/SPAN&gt;&lt;SPAN&gt;[End Date]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Which shows the right income value but only appears once on the list (I had expected it to show the same value against every date on the calendar column as I hadn't set any filter specifying only sum up the figures on the 1st of every month, which is another issue I need to overcome...)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you in advance for anyone that can help!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Aug 2025 10:39:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Monthly-income-tabulator-between-start-and-end-dates/m-p/4786552#M183266</guid>
      <dc:creator>T_J</dc:creator>
      <dc:date>2025-08-04T10:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - Monthly income tabulator - between start and end dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Monthly-income-tabulator-between-start-and-end-dates/m-p/4786576#M183267</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1328283" data-lia-user-login="T_J" class="lia-mention lia-mention-user"&gt;T_J&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on your explanation I assume that your calendar table has a relationship with the Project list table, based on the start date probably.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try to change your calculation to something similar to this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Monthly Income = CALCULATE(Sum('Project List'[Monthly Income]),FILTER('Project List','Calendar'[Date]&amp;gt;='Project List'[Start Date] &amp;amp;&amp;amp; 'Calendar'[Date] &amp;lt; 'Project List'[End Date]), CROSSFILTER('Calendar'[Date],'Project List'[Start Date], None ))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The additional CROSSFILTER syntax will remove the relationship from this calculation and then use the filters of the dates to return values.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2025 11:00:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Monthly-income-tabulator-between-start-and-end-dates/m-p/4786576#M183267</guid>
      <dc:creator>MFelix</dc:creator>
      <dc:date>2025-08-04T11:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - Monthly income tabulator - between start and end dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Monthly-income-tabulator-between-start-and-end-dates/m-p/4786608#M183269</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1328283" data-lia-user-login="T_J" class="lia-mention lia-mention-user"&gt;T_J&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Here's a step-by-step solution using your two tables:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;'Project List' (with Start Date, End Date, Monthly Income)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;'Calendar' (with daily dates from 2025 to 2035)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Your goal is to show monthly income only on the 1st of each month, where that date falls within a project's duration. Here's how you can do that:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Go to the Calendar table and create this measure:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;MonthlyIncomeOn1st =
VAR CurrentDate = MAX('Calendar'[Date])
RETURN
IF (
  DAY(CurrentDate) = 1,
  CALCULATE (
      SUM ( 'Project List'[Monthly Income] ),
      FILTER (
           'Project List',
           'Project List'[Start Date] &amp;lt;= CurrentDate
               &amp;amp;&amp;amp; 'Project List'[End Date] &amp;gt;= CurrentDate
     )
  )
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;Add to a Visual&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Insert a Table visual&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Drag Calendar[Date] and the new measure MonthlyIncomeOn1st into the visual&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2025 11:26:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Monthly-income-tabulator-between-start-and-end-dates/m-p/4786608#M183269</guid>
      <dc:creator>rohit1991</dc:creator>
      <dc:date>2025-08-04T11:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - Monthly income tabulator - between start and end dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Monthly-income-tabulator-between-start-and-end-dates/m-p/4786787#M183273</link>
      <description>&lt;P&gt;Thank you! This worked perfectly! Just needed to apply the one other filter to the date to keep it to the 1st only and that's all worked out!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2025 13:34:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Monthly-income-tabulator-between-start-and-end-dates/m-p/4786787#M183273</guid>
      <dc:creator>T_J</dc:creator>
      <dc:date>2025-08-04T13:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - Monthly income tabulator - between start and end dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Monthly-income-tabulator-between-start-and-end-dates/m-p/4786790#M183274</link>
      <description>&lt;P&gt;Thank you! The other poster who posted first had a solution that worked in the table format I was looking for but this might be worth it for any others looking&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2025 13:35:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Monthly-income-tabulator-between-start-and-end-dates/m-p/4786790#M183274</guid>
      <dc:creator>T_J</dc:creator>
      <dc:date>2025-08-04T13:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: DAX - Monthly income tabulator - between start and end dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Monthly-income-tabulator-between-start-and-end-dates/m-p/4787412#M183293</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1328283" data-lia-user-login="T_J" class="lia-mention lia-mention-user"&gt;T_J&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;/P&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="824538" data-lia-user-login="rohit1991" class="lia-mention lia-mention-user"&gt;rohit1991&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="14361" data-lia-user-login="MFelix" class="lia-mention lia-mention-user"&gt;MFelix&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for your prompt response it's truly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Best Regards,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Lakshmi&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2025 05:08:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Monthly-income-tabulator-between-start-and-end-dates/m-p/4787412#M183293</guid>
      <dc:creator>v-lgarikapat</dc:creator>
      <dc:date>2025-08-05T05:08:10Z</dc:date>
    </item>
  </channel>
</rss>

