<?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 Previous Month Volume in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Previous-Month-Volume/m-p/1149099#M3232</link>
    <description>&lt;P&gt;I created&amp;nbsp;a date table and the two formulas below to calculate total volume from the prior month across 4 categories, but when I apply the formula the resulting tables show total volume by each month, not solely the prior month (May). My end goal is to create a line and cluster bar chart where the bars are the prior month volume and the line is the average monthly volume.&amp;nbsp;Appreciate any thoughts or help on what I’m doing wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Date =&lt;/P&gt;&lt;P&gt;VAR __dates = CALENDARAUTO()&lt;/P&gt;&lt;P&gt;RETURN&lt;/P&gt;&lt;P&gt;ADDCOLUMNS (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __dates,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Year", YEAR ( [Date] ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;"Month Number", MONTH ( [Date] ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;"Month Name",&amp;nbsp;FORMAT ( [Date], "MMMM" ), --use MMMM for full month name, January instead of Jan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Month", FORMAT( [Date], "MMM, YYYY" ), --use MMMMM for full month name, January instead of Ja&lt;/P&gt;&lt;P&gt;&amp;nbsp;"Month Sort",&amp;nbsp;FORMAT( [Date], "YYYY-MM" ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;"Quarter", "Q" &amp;amp; FORMAT( [Date], "Q, YYYY" ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;"Quarter Sort", FORMAT ( [Date], "YYYY-Q" ))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Formula to calculate total volume across all my data categories:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Total Volume = Calculate(Sum('2020 Monthly Production Volume'[Value]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Formula to calculate total volume across all my data categories:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sum Prior Month = CALCULATE ([Total Volume], PREVIOUSMONTH('Date'[Date]) )&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jun 2020 15:37:42 GMT</pubDate>
    <dc:creator>wquayle</dc:creator>
    <dc:date>2020-06-09T15:37:42Z</dc:date>
    <item>
      <title>Previous Month Volume</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Previous-Month-Volume/m-p/1149099#M3232</link>
      <description>&lt;P&gt;I created&amp;nbsp;a date table and the two formulas below to calculate total volume from the prior month across 4 categories, but when I apply the formula the resulting tables show total volume by each month, not solely the prior month (May). My end goal is to create a line and cluster bar chart where the bars are the prior month volume and the line is the average monthly volume.&amp;nbsp;Appreciate any thoughts or help on what I’m doing wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Date =&lt;/P&gt;&lt;P&gt;VAR __dates = CALENDARAUTO()&lt;/P&gt;&lt;P&gt;RETURN&lt;/P&gt;&lt;P&gt;ADDCOLUMNS (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __dates,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Year", YEAR ( [Date] ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;"Month Number", MONTH ( [Date] ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;"Month Name",&amp;nbsp;FORMAT ( [Date], "MMMM" ), --use MMMM for full month name, January instead of Jan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Month", FORMAT( [Date], "MMM, YYYY" ), --use MMMMM for full month name, January instead of Ja&lt;/P&gt;&lt;P&gt;&amp;nbsp;"Month Sort",&amp;nbsp;FORMAT( [Date], "YYYY-MM" ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;"Quarter", "Q" &amp;amp; FORMAT( [Date], "Q, YYYY" ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;"Quarter Sort", FORMAT ( [Date], "YYYY-Q" ))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Formula to calculate total volume across all my data categories:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Total Volume = Calculate(Sum('2020 Monthly Production Volume'[Value]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Formula to calculate total volume across all my data categories:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sum Prior Month = CALCULATE ([Total Volume], PREVIOUSMONTH('Date'[Date]) )&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 15:37:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Previous-Month-Volume/m-p/1149099#M3232</guid>
      <dc:creator>wquayle</dc:creator>
      <dc:date>2020-06-09T15:37:42Z</dc:date>
    </item>
  </channel>
</rss>

