<?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: Create a measure to calculate values based on date column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-measure-to-calculate-values-based-on-date-column/m-p/2931725#M96459</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="272100" data-lia-user-login="shravanreddy133" class="lia-mention lia-mention-user"&gt;shravanreddy133&lt;/a&gt; , refer if these approaches can help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Between Dates - Dates between &lt;BR /&gt;Measure way&lt;BR /&gt;Power BI Dax Measure- Allocate data between Range: &lt;A href="https://youtu.be/O653vwLTUzM" target="_blank"&gt;https://youtu.be/O653vwLTUzM&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-or-end-date/ba-p/1503785" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-or-end-date/ba-p/1503785&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Tables way&lt;BR /&gt;&lt;A href="https://amitchandak.medium.com/dax-get-all-dates-between-the-start-and-end-date-8f3dac4ff90b" target="_blank"&gt;https://amitchandak.medium.com/dax-get-all-dates-between-the-start-and-end-date-8f3dac4ff90b&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://amitchandak.medium.com/power-query-get-all-dates-between-the-start-and-end-date-9ad6a84cf5f2" target="_blank"&gt;https://amitchandak.medium.com/power-query-get-all-dates-between-the-start-and-end-date-9ad6a84cf5f2&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this does not help&lt;BR /&gt;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Nov 2022 03:28:55 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2022-11-28T03:28:55Z</dc:date>
    <item>
      <title>Create a measure to calculate values based on date column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-measure-to-calculate-values-based-on-date-column/m-p/2931606#M96452</link>
      <description>&lt;P&gt;Table 1 :&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I also have a date range filter which ranges from 2009 to current date. I want to create a measure to calculate the monthly costs based on the date range filter.&lt;/P&gt;&lt;P&gt;Example :&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Total cost = Monthly costs * number of months.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If my date range is set at 1/1/2009 to 1/1/2022, the number of months should be calculated from contractstartdate from table1(not from the date range filter,2009).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so, 20,000 * Number of months(COntractstartdate(Nov2021) to current date(Nov 2022) = 12 months)&amp;nbsp;= 240,000.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This value is then added to Table 2 Value based on contract number. Table 1 And table 2 are related through Contract Number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help with creating this measure is much appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 02:21:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-measure-to-calculate-values-based-on-date-column/m-p/2931606#M96452</guid>
      <dc:creator>shravanreddy133</dc:creator>
      <dc:date>2022-11-28T02:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create a measure to calculate values based on date column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-measure-to-calculate-values-based-on-date-column/m-p/2931725#M96459</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="272100" data-lia-user-login="shravanreddy133" class="lia-mention lia-mention-user"&gt;shravanreddy133&lt;/a&gt; , refer if these approaches can help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Between Dates - Dates between &lt;BR /&gt;Measure way&lt;BR /&gt;Power BI Dax Measure- Allocate data between Range: &lt;A href="https://youtu.be/O653vwLTUzM" target="_blank"&gt;https://youtu.be/O653vwLTUzM&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-or-end-date/ba-p/1503785" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-or-end-date/ba-p/1503785&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Tables way&lt;BR /&gt;&lt;A href="https://amitchandak.medium.com/dax-get-all-dates-between-the-start-and-end-date-8f3dac4ff90b" target="_blank"&gt;https://amitchandak.medium.com/dax-get-all-dates-between-the-start-and-end-date-8f3dac4ff90b&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://amitchandak.medium.com/power-query-get-all-dates-between-the-start-and-end-date-9ad6a84cf5f2" target="_blank"&gt;https://amitchandak.medium.com/power-query-get-all-dates-between-the-start-and-end-date-9ad6a84cf5f2&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this does not help&lt;BR /&gt;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 03:28:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-measure-to-calculate-values-based-on-date-column/m-p/2931725#M96459</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-11-28T03:28:55Z</dc:date>
    </item>
  </channel>
</rss>

