<?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: Year over year sales calculation in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Year-over-year-sales-calculation/m-p/1849170#M39488</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;I'm not sure if your reply is meant for me, or if you had multiple questions open. It doesn't seem to apply to my question.&lt;/P&gt;</description>
    <pubDate>Tue, 18 May 2021 15:56:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-05-18T15:56:24Z</dc:date>
    <item>
      <title>Year over year sales calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Year-over-year-sales-calculation/m-p/1847718#M39444</link>
      <description>&lt;P&gt;I have a DAX calculation that I can't get to work. The idea is this:&lt;/P&gt;&lt;P&gt;For a vendor in a given market, how much would the market have changed without them?&lt;/P&gt;&lt;P&gt;The trick is, the market is whatever combination of region, country, category, service, and vertical is selected in the current filter context. I only want to evaluate a vendor in the markets where they compete - not the global market. The idea is to calcute the specific market with and without the vendor, for both the current and prior years. The formula is:&lt;/P&gt;&lt;P&gt;Vendor Market Contribution = [EndYear Revenue] - ([BeginYear Revenue] * [EndYear Revenue minus Vendor]/[BeginYear Revenue minus Vendor])&lt;/P&gt;&lt;P&gt;I've tried adding columns to my table that define the Total Revenue for the combination of region, country, category, service, and vertical, for all vendors who compete in that market. That works at a row level, but when I sum them up I get a total market size that's multiplied by the number of vendors in the market. I'm tearing my hair out on this one.&lt;/P&gt;&lt;P&gt;My .pbix file is at&amp;nbsp;&lt;A href="https://1drv.ms/u/s!AgIj2L_vt8WrhMFXPfq8XjI72B0dWA?e=5pXeBe" target="_blank"&gt;https://1drv.ms/u/s!AgIj2L_vt8WrhMFXPfq8XjI72B0dWA?e=5pXeBe&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;If you need to relink to the source, it's available at&amp;nbsp;&lt;A href="https://1drv.ms/x/s!AgIj2L_vt8WrhMFWmuvGsqSzlWkJ6g?e=6a1c05" target="_blank"&gt;https://1drv.ms/x/s!AgIj2L_vt8WrhMFWmuvGsqSzlWkJ6g?e=6a1c05&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Any help - including ideas about better ways to accomplish my goal - is very much appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 04:30:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Year-over-year-sales-calculation/m-p/1847718#M39444</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-18T04:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Year over year sales calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Year-over-year-sales-calculation/m-p/1847982#M39451</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt; , Change the measure like &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Savings = sumx(SUMMARIZE('Query1 (3)', 'Query1 (3)'[Date],'Query1 (3)'[Country], 'Query1 (3)'[Plant], 'Query1 (3)'[Brand], 'Query1 (3)'[Package],'Productivity Central'[Real start date], "_1" ,[Cost Tons initial] - [Cost Tons final]), [_1])&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 18 May 2021 07:01:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Year-over-year-sales-calculation/m-p/1847982#M39451</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-05-18T07:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Year over year sales calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Year-over-year-sales-calculation/m-p/1849170#M39488</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;I'm not sure if your reply is meant for me, or if you had multiple questions open. It doesn't seem to apply to my question.&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 15:56:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Year-over-year-sales-calculation/m-p/1849170#M39488</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-18T15:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Year over year sales calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Year-over-year-sales-calculation/m-p/1849183#M39489</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt; , Sorry, That was not for you. Seems like by mistake closed the window and pasted on another window. &lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 16:00:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Year-over-year-sales-calculation/m-p/1849183#M39489</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-05-18T16:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Year over year sales calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Year-over-year-sales-calculation/m-p/1849328#M39498</link>
      <description>&lt;P&gt;That's what I suspected. Of course, you're still welcome to have a look at my challenge&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 17:04:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Year-over-year-sales-calculation/m-p/1849328#M39498</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-18T17:04:12Z</dc:date>
    </item>
  </channel>
</rss>

