<?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: Market Share using allselected by month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Market-Share-using-allselected-by-month/m-p/1245512#M20439</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe this one:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;market share = DIVIDE(SUM('Fact SKU products'[sales conversion]), CALCULATE(SUM('Fact SKU products'[sales conversion]), ALL(TABLE[BRAND_NAME])), 0)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jul 2020 15:25:08 GMT</pubDate>
    <dc:creator>camargos88</dc:creator>
    <dc:date>2020-07-23T15:25:08Z</dc:date>
    <item>
      <title>Market Share using allselected by month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Market-Share-using-allselected-by-month/m-p/1244327#M20419</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to get a mesure calculating market share by month ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;market share = DIVIDE(SUM('Fact SKU products'[sales conversion]), CALCULATE(SUM('Fact SKU products'[sales conversion]), ALLEXCEPT('Fact SKU products', 'Fact SKU products'[date])), 0)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently issuing a problem that give me for denominator in the mesure the sum of all sales without taking into account my month columns in my table&lt;/P&gt;&lt;P&gt;(brands names are on the left hiding on the screenshot)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;On the screenshot we can see that "blank" month is about 20.61% of my raw data, so the june column isn't share for june only but for both june and blank month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for helping&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit : table issued a bug with blank column, dax formula seems to be good as described in solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Math&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 10:05:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Market-Share-using-allselected-by-month/m-p/1244327#M20419</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-24T10:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Market Share using allselected by month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Market-Share-using-allselected-by-month/m-p/1245512#M20439</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe this one:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;market share = DIVIDE(SUM('Fact SKU products'[sales conversion]), CALCULATE(SUM('Fact SKU products'[sales conversion]), ALL(TABLE[BRAND_NAME])), 0)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 15:25:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Market-Share-using-allselected-by-month/m-p/1245512#M20439</guid>
      <dc:creator>camargos88</dc:creator>
      <dc:date>2020-07-23T15:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Market Share using allselected by month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Market-Share-using-allselected-by-month/m-p/1247451#M20485</link>
      <description>&lt;P&gt;Thank you Ricardo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;market share = DIVIDE(SUM('Fact SKU products'[sales conversion]), CALCULATE(SUM('Fact SKU products'[sales conversion]), ALL('Fact SKU products'[BRAND_NAME])), 0)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is working fine as my table had another not explained issue, recreated the matrice automatically deleted blank values and total is per category (month or another variable)&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 14:45:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Market-Share-using-allselected-by-month/m-p/1247451#M20485</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-24T14:45:09Z</dc:date>
    </item>
  </channel>
</rss>

