<?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: Deferred Revenue - Help with DAX Please! in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Deferred-Revenue-Help-with-DAX-Please/m-p/1588005#M31835</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="230054" data-lia-user-login="tangerinemdr15" class="lia-mention lia-mention-user"&gt;tangerinemdr15&lt;/a&gt;&amp;nbsp;here's your measure.&amp;nbsp; It assumes you have a date table and it is marked appropriately...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Billing = SUM('Raw Data'[BL_CHRG_AMT])

Monthly Billing Amount = 
    CALCULATE(
        [Billing] / 12,
        FILTER(
            'Raw Data',
            'Raw Data'[BL_TYP_TXT] = "Monthly"
        )
    )&lt;/LI-CODE&gt;&lt;P&gt;The measure for [Billing] is also used in the check table above.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jan 2021 15:24:27 GMT</pubDate>
    <dc:creator>littlemojopuppy</dc:creator>
    <dc:date>2021-01-08T15:24:27Z</dc:date>
    <item>
      <title>Deferred Revenue - Help with DAX Please!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Deferred-Revenue-Help-with-DAX-Please/m-p/1587918#M31831</link>
      <description>&lt;P&gt;Hi! I need to recognize the Charge Amount in Appropriate month evenly throughout the year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example of the raw data:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;RIS &amp;amp; RAL Annual Bill + RIS Monthly&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BL_DT&lt;/TD&gt;&lt;TD&gt;BL_CHRG_AMT&lt;/TD&gt;&lt;TD&gt;Month Start Date&lt;/TD&gt;&lt;TD&gt;Month End Date&lt;/TD&gt;&lt;TD&gt;BL_TYP_TXT&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/20/2020&lt;/TD&gt;&lt;TD&gt;1000&lt;/TD&gt;&lt;TD&gt;01/01/2020&lt;/TD&gt;&lt;TD&gt;01/31/2020&lt;/TD&gt;&lt;TD&gt;Monthly&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;02/27/2020&lt;/TD&gt;&lt;TD&gt;1000&lt;/TD&gt;&lt;TD&gt;02/01/2020&lt;/TD&gt;&lt;TD&gt;02/29/2020&lt;/TD&gt;&lt;TD&gt;Monthly&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;03/31/2020&lt;/TD&gt;&lt;TD&gt;1000&lt;/TD&gt;&lt;TD&gt;03/01/2020&lt;/TD&gt;&lt;TD&gt;03/31/2020&lt;/TD&gt;&lt;TD&gt;Monthly&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;04/30/2020&lt;/TD&gt;&lt;TD&gt;500&lt;/TD&gt;&lt;TD&gt;04/01/2020&lt;/TD&gt;&lt;TD&gt;04/30/2020&lt;/TD&gt;&lt;TD&gt;Monthly&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;05/28/2020&lt;/TD&gt;&lt;TD&gt;500&lt;/TD&gt;&lt;TD&gt;05/01/2020&lt;/TD&gt;&lt;TD&gt;05/31/2020&lt;/TD&gt;&lt;TD&gt;Monthly&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far I have been able to calculate the red amounts with the following expression:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Jan&lt;/TD&gt;&lt;TD&gt;Feb&lt;/TD&gt;&lt;TD&gt;Mar&lt;/TD&gt;&lt;TD&gt;Apr&lt;/TD&gt;&lt;TD&gt;May&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/20/2020&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;83.33&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;83.33&lt;/TD&gt;&lt;TD&gt;83.33&lt;/TD&gt;&lt;TD&gt;83.33&lt;/TD&gt;&lt;TD&gt;83.33&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;02/27/2020&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;166.67&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;83.33&lt;/TD&gt;&lt;TD&gt;83.33&lt;/TD&gt;&lt;TD&gt;83.33&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;03/31/2020&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;250.00&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;83.33&lt;/TD&gt;&lt;TD&gt;83.33&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;04/30/2020&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;166.67&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;41.67&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;05/28/2020&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;208.33&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;RIS Monthly Arrival = sumx(FILTER('RIS &amp;amp; RAL Annual Bill + RIS Monthly', 'RIS &amp;amp; RAL Annual Bill + RIS Monthly'[BL_DT] &amp;gt;= 'RIS &amp;amp; RAL Annual Bill + RIS Monthly'[Month Start Date] &amp;amp;&amp;amp; 'RIS &amp;amp; RAL Annual Bill + RIS Monthly'[BL_DT] &amp;lt;= 'RIS &amp;amp; RAL Annual Bill + RIS Monthly'[Month End date] &amp;amp;&amp;amp; 'RIS &amp;amp; RAL Annual Bill + RIS Monthly'[BL_TYP_TXT] &amp;lt;&amp;gt; "Annual"), 'RIS &amp;amp; RAL Annual Bill + RIS Monthly'[BL_CHRG_AMT]*(month('RIS &amp;amp; RAL Annual Bill + RIS Monthly'[BL_DT])/12))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cant figure out the black values with DAX (the amounts presented are what it should come out to, calculated in excel).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this expression but it comes up blank. I think the issue is the bolded portion:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RIS Monthly Deferred = sumx(FILTER('RIS &amp;amp; RAL Annual Bill + RIS Monthly', '&lt;STRONG&gt;RIS &amp;amp; RAL Annual Bill + RIS Monthly'[BL_DT] &amp;lt; Month( 'RIS &amp;amp; RAL Annual Bill + RIS Monthly'[Month Start Date])&lt;/STRONG&gt; &amp;amp;&amp;amp; 'RIS &amp;amp; RAL Annual Bill + RIS Monthly'[BL_TYP_TXT] &amp;lt;&amp;gt; "Annual" &amp;amp;&amp;amp; YEAR('RIS &amp;amp; RAL Annual Bill + RIS Monthly'[BL_DT])=YEAR('RIS &amp;amp; RAL Annual Bill + RIS Monthly'[Month Start Date])), 'RIS &amp;amp; RAL Annual Bill + RIS Monthly'[BL_CHRG_AMT]*(1/12))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you in advance!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 14:28:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Deferred-Revenue-Help-with-DAX-Please/m-p/1587918#M31831</guid>
      <dc:creator>tangerinemdr15</dc:creator>
      <dc:date>2021-01-08T14:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Deferred Revenue - Help with DAX Please!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Deferred-Revenue-Help-with-DAX-Please/m-p/1587940#M31832</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="230054" data-lia-user-login="tangerinemdr15" class="lia-mention lia-mention-user"&gt;tangerinemdr15&lt;/a&gt;&amp;nbsp;- What is the logic for the black amounts? Sorry, I'm not understanding how those amounts should be calculated.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 14:40:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Deferred-Revenue-Help-with-DAX-Please/m-p/1587940#M31832</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2021-01-08T14:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Deferred Revenue - Help with DAX Please!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Deferred-Revenue-Help-with-DAX-Please/m-p/1587975#M31833</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi! the logic for the black amounts is to take 1/12th of the billing charge amount for the remaining months of the year. For example, the charge that came in on 3/31/20 for $1000. $250 of it was recognized in March.&amp;nbsp; $1,000 * (3/12)= $250. From April through the rest of the year, 1/12th will be recognized each month.&lt;/P&gt;&lt;P&gt;$1,000 * (1/12) = $83.33&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for taking a look!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 15:00:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Deferred-Revenue-Help-with-DAX-Please/m-p/1587975#M31833</guid>
      <dc:creator>tangerinemdr15</dc:creator>
      <dc:date>2021-01-08T15:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Deferred Revenue - Help with DAX Please!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Deferred-Revenue-Help-with-DAX-Please/m-p/1587997#M31834</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="230054" data-lia-user-login="tangerinemdr15" class="lia-mention lia-mention-user"&gt;tangerinemdr15&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I've got this...this is the kind of thing that makes my former accountant self happy&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a check, a created a table with all the amounts you have above...&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The DAX for that table follows...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    SUMMARIZE(
        'Calendar',
        'Calendar'[Year],
        'Calendar'[Month],
        "NewBilling",
        CALCULATE(
            [Billing],
            'Raw Data'[BL_TYP_TXT] = "Monthly"
        ),
        "MonthlyBilling",
        CALCULATE(
            [Billing] / 12,
            'Raw Data'[BL_TYP_TXT] = "Monthly"
        ),
        "ImmediatelyRecognized",
        CALCULATE(
            ([Billing] / 12),
            'Raw Data'[BL_TYP_TXT] = "Monthly"
        ) * 'Calendar'[Month]
    )&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 08 Jan 2021 15:19:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Deferred-Revenue-Help-with-DAX-Please/m-p/1587997#M31834</guid>
      <dc:creator>littlemojopuppy</dc:creator>
      <dc:date>2021-01-08T15:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Deferred Revenue - Help with DAX Please!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Deferred-Revenue-Help-with-DAX-Please/m-p/1588005#M31835</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="230054" data-lia-user-login="tangerinemdr15" class="lia-mention lia-mention-user"&gt;tangerinemdr15&lt;/a&gt;&amp;nbsp;here's your measure.&amp;nbsp; It assumes you have a date table and it is marked appropriately...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Billing = SUM('Raw Data'[BL_CHRG_AMT])

Monthly Billing Amount = 
    CALCULATE(
        [Billing] / 12,
        FILTER(
            'Raw Data',
            'Raw Data'[BL_TYP_TXT] = "Monthly"
        )
    )&lt;/LI-CODE&gt;&lt;P&gt;The measure for [Billing] is also used in the check table above.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 15:24:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Deferred-Revenue-Help-with-DAX-Please/m-p/1588005#M31835</guid>
      <dc:creator>littlemojopuppy</dc:creator>
      <dc:date>2021-01-08T15:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Deferred Revenue - Help with DAX Please!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Deferred-Revenue-Help-with-DAX-Please/m-p/1588265#M31854</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="17198" data-lia-user-login="littlemojopuppy" class="lia-mention lia-mention-user"&gt;littlemojopuppy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for taking the time to help me! With your help, I was able to figure out the calculate function and It was helpful to make that new "Monthly Billing" measure. This is where I landed:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RIS Monthly Deferred = (TOTALYTD(CALCULATE('RIS &amp;amp; RAL Annual Bill + RIS Monthly'[MonthlyBilling2]/12),PREVIOUSMONTH('RIS &amp;amp; RAL Annual Bill + RIS Monthly'[Month Start Date])))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you so much!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Jan 2021 20:56:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Deferred-Revenue-Help-with-DAX-Please/m-p/1588265#M31854</guid>
      <dc:creator>tangerinemdr15</dc:creator>
      <dc:date>2021-01-08T20:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Deferred Revenue - Help with DAX Please!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Deferred-Revenue-Help-with-DAX-Please/m-p/1588266#M31855</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="230054" data-lia-user-login="tangerinemdr15" class="lia-mention lia-mention-user"&gt;tangerinemdr15&lt;/a&gt;&amp;nbsp;you're welcome...glad I could help!&amp;nbsp; My inner accountant enjoyed it!&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 20:59:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Deferred-Revenue-Help-with-DAX-Please/m-p/1588266#M31855</guid>
      <dc:creator>littlemojopuppy</dc:creator>
      <dc:date>2021-01-08T20:59:41Z</dc:date>
    </item>
  </channel>
</rss>

