<?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: DAX for Percentage of Column Total in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1033983#M13675</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;have you tried to see digits in table visual, not in chart?&lt;/P&gt;</description>
    <pubDate>Sat, 18 Apr 2020 13:46:15 GMT</pubDate>
    <dc:creator>az38</dc:creator>
    <dc:date>2020-04-18T13:46:15Z</dc:date>
    <item>
      <title>DAX for Percentage of Column Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1030042#M13480</link>
      <description>&lt;P&gt;Hi, I have a question about calculate percentage of column total.&lt;BR /&gt;I want to create a bar chart with pecentage in columns like following:&lt;/P&gt;&lt;P&gt;1. When I select "All Selected" in Slicer(Supplier), the chart should be like this,&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;2. But the idea behind this chart is actually&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;3. And when I click on a supplier (Here Supplier 4 is selected). This is the final chart I'm trying to get.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dataset is as following:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I only need to calculate items which "Relevant=yes". So I wrote:&lt;BR /&gt;Sales=caculate(sum('table'[sales of market(mEUR)],filter(table,table[relevant]="yes")&lt;BR /&gt;Sales%=table.Sales/Calculate(table[Sales]),All())*100&lt;BR /&gt;I don't know what went wrong, when I create the chart the percentages in columns are incorrect. (Because I also build pie charts for comparing) .&lt;BR /&gt;Could anyone help me with this?&lt;BR /&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Apr 2020 16:45:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1030042#M13480</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-18T16:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for Percentage of Column Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1030050#M13482</link>
      <description>&lt;P&gt;Click the little drop down arrow in the Fields area for the column/measure in question and then Show As and then Percent of Column Total.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 12:29:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1030050#M13482</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-04-16T12:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for Percentage of Column Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1030077#M13486</link>
      <description>&lt;P&gt;Hi, thank you for replying,&lt;/P&gt;&lt;P&gt;But there is only one "Percent of grand total". It's not correct either....&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 12:40:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1030077#M13486</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-16T12:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for Percentage of Column Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1030986#M13525</link>
      <description>&lt;P&gt;Hello Gyarr,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have to use ALL function inside FILTER function at Sales% measure like this one:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Sales% =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;table.Sales/Calculate(sum('table'[sales of market(mEUR)]),filter(All(table),table[relevant]="yes"))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Absolutly you have to put the relevant filter to be "yes" in Sales% measures too&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Hope that helps you.&lt;/DIV&gt;&lt;DIV&gt;Please let me know if you need further support.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;----------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Apr 2020 16:25:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1030986#M13525</guid>
      <dc:creator>Motasem_Yakhola</dc:creator>
      <dc:date>2020-04-17T16:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for Percentage of Column Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1032514#M13620</link>
      <description>&lt;P&gt;Hi Motasem,&lt;/P&gt;&lt;P&gt;Thank you for answering! I think this gonna solve my problem!&lt;/P&gt;&lt;P&gt;What if, my column "relevant" is in another table (Table2))?&lt;/P&gt;&lt;P&gt;I tried it in this way&lt;/P&gt;&lt;P&gt;Sales% = table.Sales/Calculate(sum('table'[sales of market(mEUR)]),filter&lt;FONT color="#FF0000"&gt;(All(table2),table2[relevant]="yes")&lt;/FONT&gt;)&lt;/P&gt;&lt;P&gt;It shows wrong. How do I fix the filter here? P.S. The two tables are connected already.&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 14:45:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1032514#M13620</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-17T14:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for Percentage of Column Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1032942#M13643</link>
      <description>&lt;P&gt;Hello&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have to make a relationship between the two tables, here is an example to fake data generated to answer your question:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on that relation ship i go the result accurate 100%, the pie chart show the percantegas based on sales measure&lt;/P&gt;&lt;P&gt;and the column chart show the result of sales% measure&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps you,&lt;/P&gt;&lt;P&gt;If you still have a problem please share table headers and the created relation ships between them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best wishes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;----------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 16:45:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1032942#M13643</guid>
      <dc:creator>Motasem_Yakhola</dc:creator>
      <dc:date>2020-04-17T16:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for Percentage of Column Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1033106#M13651</link>
      <description>&lt;P&gt;Hello! Motasem，&lt;/P&gt;&lt;P&gt;Thank you, I will share more information.&lt;/P&gt;&lt;P&gt;I have a Table1:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;And a Table2:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;These tables are different Excel files and both had been loaded to Power BI. In the Table2, the values of Product Name are unique, so I could create a relationship between Table1 and Table2:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From: Table1(Product Name) to Table2 (Product Name)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Then I want to create a chart as the picture in the original quesition.&lt;/P&gt;&lt;P&gt;I only want to calculate sales of which products are "relevant", so I have these formulas already:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sales=Calculate(Sum(Table1[Sales of Market (mEUR)], Filter(Table2, Table2[Relevant]="yes"))&lt;/STRONG&gt;&amp;nbsp; which works well and correctly.&lt;/P&gt;&lt;P&gt;then by adapting what you have suggested to get the colunm total in a bar chart:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sales%=Table1[Sales]/Calculate(Sum(Table1[Sales of Market (mEUR)], Filter(All(Table2), Table2[Relevant]="yes"))*100&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to create the bar chart, I used:&lt;/P&gt;&lt;P&gt;Axis: Customer;&lt;/P&gt;&lt;P&gt;Legend: Calendar year;&lt;/P&gt;&lt;P&gt;Value: Sales%&lt;/P&gt;&lt;P&gt;Combined with a slicer: Supplier, in order to see Sales% of relevant "yes&lt;STRONG&gt;"&lt;/STRONG&gt; of a single suppier for customers.&lt;/P&gt;&lt;P&gt;However the chart goes like this, and when I use my "Slicer: Supplier" to select a single supplier, it remains unchanged with all columns still show 100%.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help and looking forward to get the solution from you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 19:37:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1033106#M13651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-17T19:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for Percentage of Column Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1033884#M13671</link>
      <description>&lt;P&gt;Hello&amp;nbsp;Anonymous&lt;/LI-USER&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to do the below:&lt;/P&gt;&lt;P&gt;1. Change relation ship filter direction to be both.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Change the measure to use ALLSelected instead of All to keep the slicer data:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sales%=Table1[Sales]/Calculate(Sum(Table1[Sales of Market (mEUR)], Filter(AllSelected(Table2), Table2[Relevant]="yes"))*100&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that solve the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;----------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Don't forget to like my post please.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Apr 2020 11:11:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1033884#M13671</guid>
      <dc:creator>Motasem_Yakhola</dc:creator>
      <dc:date>2020-04-18T11:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for Percentage of Column Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1033940#M13672</link>
      <description>&lt;P&gt;Hi Motasem!&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Yes,a I have changed the Cross filter direction to be "Both."&lt;/P&gt;&lt;P&gt;Unfortunately it still doesn't work.&lt;/P&gt;&lt;P&gt;I tried this one&lt;STRONG&gt;&amp;nbsp; Sales%=Table1[Sales]/Calculate(Sum(Table1[Sales of Market (mEUR)], Filter(AllSelected(Table2), Table2[Relevant]="yes"))*100&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When I select a single supplier with the slicer, I can see the X-Axis(Customer) is changing but not the columns. They still all show 100%. : ( Don't know why...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Sat, 18 Apr 2020 12:23:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1033940#M13672</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-18T12:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for Percentage of Column Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1033983#M13675</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;have you tried to see digits in table visual, not in chart?&lt;/P&gt;</description>
      <pubDate>Sat, 18 Apr 2020 13:46:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1033983#M13675</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2020-04-18T13:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for Percentage of Column Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1034009#M13676</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;Not really sure if I understand the request you want but having made a pie chart with:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Legend: Customer&lt;/LI&gt;
&lt;LI&gt;Details: Calendar Year&lt;/LI&gt;
&lt;LI&gt;Values: Sales&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I get some percentages based on customer then add a slicer for supplier.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Created the following measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Sales % =
SUM ( Table1[Sales of Marker(mEUR)] )
    / CALCULATE (
        SUM ( Table1[Sales of Marker(mEUR)] );
        ALL ( Table1[Customer]; Table1[Calendar Year] )
    )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see in the image below the percentages of the bar chart match the ones in the pie chart, not really sure if this is what you need but please take a look.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have place the Relevant filter on page filter so it would be easier to have it accross all charts at once but you can use it as you have on the filter of measure itself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is not the final result please share some more detailed expected outcome with a table showing exactly what is the percentage you want calculated per bar.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Apr 2020 14:24:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1034009#M13676</guid>
      <dc:creator>MFelix</dc:creator>
      <dc:date>2020-04-18T14:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for Percentage of Column Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1034020#M13677</link>
      <description>&lt;P&gt;Hi az38,&lt;/P&gt;&lt;P&gt;If I write like this and check the numbers in table visual, it shows as following.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sales=caculate(sum('table'[sales of market(mEUR)],filter(table,table[relevant]="yes")&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Sales%=Table1[Sales]/Calculate(Sum(Table1[Sales of Market (mEUR)], Filter(AllSelected(Table2), Table2[Relevant]="yes"))*10&lt;/STRONG&gt;0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for replying!&lt;/P&gt;</description>
      <pubDate>Sat, 18 Apr 2020 14:32:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1034020#M13677</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-18T14:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for Percentage of Column Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1034102#M13681</link>
      <description>&lt;P&gt;Hi Miguel! Thank you for your post!&lt;/P&gt;&lt;P&gt;But I'm not trying to make percentages sum up to 100% horizontally.&lt;/P&gt;&lt;P&gt;I'd like to reframe what I"m trying to achieve exactly. : )&lt;/P&gt;&lt;P&gt;So when I select "All suppliers" in the slicer, the chart should be look like this.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the idea behind it is actually like below (each supplier has a share in 1 customer's business).&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then when I select 1 supplier (Supplier 4), the chart changes into:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So this final chart is the one I'm trying hard to get. Every time I select a supplier, it will show its share in different customers'business.&lt;/P&gt;&lt;P&gt;I shared my data tables are in the original quesiton and also in other reviews, hope you can find them and me further suggestions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you a lot!!!&amp;nbsp; : )&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Apr 2020 16:36:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1034102#M13681</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-18T16:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for Percentage of Column Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1034120#M13683</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;On your information there was not enough data to have more than one supplier by customer so I added a few rows of the same client but different supplier and values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see below the Customer TT has 3 values no the 100% stacked column (I made this chart for comparision) using the measure below you can see that the top chart calculates accordingly:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Sales % = SUM(Table1[Sales of Marker(mEUR)])/CALCULATE(SUM(Table1[Sales of Marker(mEUR)]);ALL(Table1[Supplier]))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;The top chart is a bar chart with following format:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;X-Axis: Customer&lt;/LI&gt;
&lt;LI&gt;Values: %Sales&lt;/LI&gt;
&lt;LI&gt;Legend: Year&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once again I have made the calculation of relevant in the filter but can be added to your calculation measure.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to have different colours according to selection of supplier you need to create a Measure to make the conditional formatting of the colour.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Apr 2020 17:06:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1034120#M13683</guid>
      <dc:creator>MFelix</dc:creator>
      <dc:date>2020-04-18T17:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for Percentage of Column Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1034170#M13686</link>
      <description>&lt;P&gt;Hi Miguel!&lt;/P&gt;&lt;P&gt;Really thank you for your post!&lt;/P&gt;&lt;P&gt;It works!!!!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then do you know if I still want to put the "Relevant=Yes" Filter inside the formula, what should I do?&lt;/P&gt;&lt;P&gt;THANK YOU!!&amp;nbsp; : )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Gyarrr&lt;/P&gt;</description>
      <pubDate>Sat, 18 Apr 2020 20:14:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1034170#M13686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-18T20:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: DAX for Percentage of Column Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1034219#M13690</link>
      <description>Hi Anonymous&lt;/LI-USER&gt;,&lt;BR /&gt;&lt;BR /&gt;Should be similar to this&lt;BR /&gt;&lt;BR /&gt;Sales % =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM ( Table1[Sales of Marker(mEUR)] )&lt;BR /&gt;    / CALCULATE (&lt;BR /&gt;        SUM ( Table1[Sales of Marker(mEUR)] );&lt;BR /&gt;        ALL ( Table1[Customer]; Table1[Calendar Year] )&lt;BR /&gt;    );&lt;BR /&gt;Table2[Relevant] = "yes")</description>
      <pubDate>Sat, 18 Apr 2020 20:33:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-for-Percentage-of-Column-Total/m-p/1034219#M13690</guid>
      <dc:creator>MFelix</dc:creator>
      <dc:date>2020-04-18T20:33:15Z</dc:date>
    </item>
  </channel>
</rss>

