<?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: Help on DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-on-DAX/m-p/961467#M11238</link>
    <description>&lt;P&gt;Awesome! Happy to help!&lt;/P&gt;</description>
    <pubDate>Fri, 06 Mar 2020 04:43:33 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2020-03-06T04:43:33Z</dc:date>
    <item>
      <title>Help on DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-on-DAX/m-p/952309#M10743</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 3 tables called Customer, Revenue and Calendar. I am looking for DAX on the following measures.&lt;/P&gt;&lt;P&gt;A measure called Revenue that shows the total amount of RevenueAmt.&lt;/P&gt;&lt;P&gt;A measure called Revenue (PM) that shows the Revenue in the month prior to the month selected.&lt;/P&gt;&lt;P&gt;A measure called Revenue MoM % that shows the month over month percent growth of Revenue.&lt;/P&gt;&lt;P&gt;A measure called FY17 Revenue that shows the Revenue for only the FY17 Fiscal Year.&lt;/P&gt;&lt;P&gt;A measure called Revenue YTD that shows the year to date Revenue based on the selected year/month. The fiscal calendar starts July 1 and ends June 30.&lt;/P&gt;&lt;P&gt;A measure called Customer Count that shows the distinct number of customers with &amp;gt;0 Revenue in the given filtering context.&lt;/P&gt;&lt;P&gt;Format the model to the best of your ability, as if it were to be showcased to an executive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 07:48:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-on-DAX/m-p/952309#M10743</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-28T07:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help on DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-on-DAX/m-p/952345#M10745</link>
      <description>&lt;P&gt;Hmm, that last sentence makes me think that this is for a grade...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sample data always helps.&amp;nbsp;Please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That being said:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A measure called Revenue that shows the total amount of RevenueAmt.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;So, you should be able to use something like Revenue = SUM([Revenue]) and put this in a visual along with Month and Year, perhaps in a Matrix&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A measure called Revenue (PM) that shows the Revenue in the month prior to the month selected.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;You would do something along the lines of Revenue (PM) = CALCULATE([Revenue],PREVIOUSMONTH('Calendar'[Date])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A measure called Revenue MoM % that shows the month over month percent growth of Revenue.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;That would be ([Revenue] - [Revenue (PM)) / [Revenue PM]&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A measure called FY17 Revenue that shows the Revenue for only the FY17 Fiscal Year.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;You could do something like FY17 = CALCULATE([Revenue],FILTER('Calendar',YEAR([Date]) = 2017)&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A measure called Revenue YTD that shows the year to date Revenue based on the selected year/month. The fiscal calendar starts July 1 and ends June 30.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Similar you could use TOTALYTD here although the fiscal calendar might throw a wrench into it. If all else fails,&amp;nbsp;See if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TITHW/m-p/434008" target="_blank"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TITHW/m-p/434008&lt;/A&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A measure called Customer Count that shows the distinct number of customers with &amp;gt;0 Revenue in the given filtering context.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;So, you would do something like My Count = COUNTX(FILTER('Table',[Revenue] &amp;gt; 0),[Column])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Again, these are only guesses because no data. And don't blame me if you get an F. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 08:08:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-on-DAX/m-p/952345#M10745</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-02-28T08:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help on DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-on-DAX/m-p/961456#M11237</link>
      <description>&lt;P&gt;Thank you Greg. I just had to make minor tweaks. It worked fine.&lt;/P&gt;&lt;P&gt;Appreciated your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;RS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 04:32:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-on-DAX/m-p/961456#M11237</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-06T04:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help on DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-on-DAX/m-p/961467#M11238</link>
      <description>&lt;P&gt;Awesome! Happy to help!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 04:43:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-on-DAX/m-p/961467#M11238</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-03-06T04:43:33Z</dc:date>
    </item>
  </channel>
</rss>

