<?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: Cumulative Total over categorical variables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-over-categorical-variables/m-p/920835#M9073</link>
    <description>&lt;P&gt;Thank you so much for your reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just one question, how would I show this as a cumulative total? I am interested to know what proportion of sales my top 1 / top 2 / top 3 etc customer groups make up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way of doing it so I wouldn't have to sum them manually?&lt;/P&gt;</description>
    <pubDate>Tue, 04 Feb 2020 08:29:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-02-04T08:29:42Z</dc:date>
    <item>
      <title>Cumulative Total over categorical variables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-over-categorical-variables/m-p/920159#M9057</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table of transactional data of many columns. The two I want to focus on are Customer Category and Sales.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to create a chart which shows the distribution of cumulative sales by customer category so I can make a statment like "50% of sales come from 2 customer categories"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The way I envisage visualising this is a line chart with Customer Category on the x axis and Cumulative Sales on the y axis.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would I create a measure to calculate cumulative sales over this categoric variable?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help in advance&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 18:59:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-over-categorical-variables/m-p/920159#M9057</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-03T18:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total over categorical variables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-over-categorical-variables/m-p/920573#M9068</link>
      <description>&lt;P&gt;If you're going to be showing percentages, I would recommend using a bar chart instead of a line chart (Line charts are great for time series, not great for percentages).&lt;BR /&gt;&lt;BR /&gt;There are potentially 2 ways you can get what you're looking for.&amp;nbsp;&lt;BR /&gt;1. Write a simple SUM formula to get the sum of sales, then use the category column in the legend of the bar chart. You can then switch the label to show % of total instead of the actual value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Write a formula like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure = 

DIVIDE (
 SUM( Table[Sales]),
 CALCULATE ( 
   SUM( Table[Sales]),
   ALL( Table[Category])
)
)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 04 Feb 2020 05:19:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-over-categorical-variables/m-p/920573#M9068</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-04T05:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total over categorical variables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-over-categorical-variables/m-p/920835#M9073</link>
      <description>&lt;P&gt;Thank you so much for your reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just one question, how would I show this as a cumulative total? I am interested to know what proportion of sales my top 1 / top 2 / top 3 etc customer groups make up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way of doing it so I wouldn't have to sum them manually?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 08:29:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-over-categorical-variables/m-p/920835#M9073</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-04T08:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Total over categorical variables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-over-categorical-variables/m-p/921107#M9086</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use TopN function on top of measure&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;suggested&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More on the topic:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=ljAINOUt-X8" target="_blank"&gt;https://www.youtube.com/watch?v=ljAINOUt-X8&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 11:26:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Total-over-categorical-variables/m-p/921107#M9086</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-04T11:26:28Z</dc:date>
    </item>
  </channel>
</rss>

