<?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 Pro Rated Value based on Days of Month - Formula Help in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Pro-Rated-Value-based-on-Days-of-Month-Formula-Help/m-p/3055783#M105406</link>
    <description>&lt;P&gt;Hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for a DAX formula that will give me a pro rated value based on the current day in the month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, February is forecasted at $100K, if we are 7 days into the month, I need the pro-rated forecast number which would be $25K.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Feb 2023 16:58:42 GMT</pubDate>
    <dc:creator>AndrewUrban</dc:creator>
    <dc:date>2023-02-01T16:58:42Z</dc:date>
    <item>
      <title>Pro Rated Value based on Days of Month - Formula Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Pro-Rated-Value-based-on-Days-of-Month-Formula-Help/m-p/3055783#M105406</link>
      <description>&lt;P&gt;Hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for a DAX formula that will give me a pro rated value based on the current day in the month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, February is forecasted at $100K, if we are 7 days into the month, I need the pro-rated forecast number which would be $25K.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 16:58:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Pro-Rated-Value-based-on-Days-of-Month-Formula-Help/m-p/3055783#M105406</guid>
      <dc:creator>AndrewUrban</dc:creator>
      <dc:date>2023-02-01T16:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Pro Rated Value based on Days of Month - Formula Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Pro-Rated-Value-based-on-Days-of-Month-Formula-Help/m-p/3056488#M105452</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="405571" data-lia-user-login="AndrewUrban" class="lia-mention lia-mention-user"&gt;AndrewUrban&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I have created a simple sample, please refer to my pbix file to see if it helps you.&lt;/P&gt;
&lt;P&gt;Create a measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
var _maxday=DAY(EOMONTH(MAX(Sheet1[date]),0))
return 
(DAY(TODAY())/_maxday)*MAX(Sheet1[forecast])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;BR /&gt;Community Support Team _ Polly&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 01:32:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Pro-Rated-Value-based-on-Days-of-Month-Formula-Help/m-p/3056488#M105452</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-02T01:32:31Z</dc:date>
    </item>
  </channel>
</rss>

