<?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: Divide every row with a measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1601209#M32115</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="218999" data-lia-user-login="souvik900766" class="lia-mention lia-mention-user"&gt;souvik900766&lt;/a&gt; , becasue allselected need full industry to be one the selected value (Not removed by filter or slicer)&lt;/P&gt;
&lt;P&gt;in that case all will do. Check all for both cases&lt;/P&gt;
&lt;P&gt;Category = divide([Volume],CALCULATE([Volume],Filter(all(Table),Table[company_nm]="Full Industry")))&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jan 2021 06:20:28 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2021-01-15T06:20:28Z</dc:date>
    <item>
      <title>Divide every row with a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1600963#M32108</link>
      <description>&lt;P&gt;Hi !&lt;BR /&gt;I want to divide every row with a measure where the measure is filtered with a category and that category exixts in the same column where I want to execute the division.&lt;BR /&gt;My Measure:-&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Base to calculate share = CALCULATE([Volume],Table[company_nm]="Full Industry")&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Share = DIVIDE(SUM('Table'[Volume]),[Base to calculate share])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN&gt;&lt;BR /&gt;Now,&lt;BR /&gt;what I want:-&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;As, the measure contains the filter "Full Industry",it is just showing the first row !&lt;BR /&gt;&lt;BR /&gt;I tried this measure in this dummy example it is working but not in my orginal example !&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;01 = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DIVIDE (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUM('Table'[Volume]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUM('Table'[Volume]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ALLEXCEPT ( 'Table','Table'[Category] ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Table'[Company Name] = "Full Industry"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance !&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 15 Jan 2021 04:14:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1600963#M32108</guid>
      <dc:creator>souvik900766</dc:creator>
      <dc:date>2021-01-15T04:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Divide every row with a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1601028#M32109</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="218999" data-lia-user-login="souvik900766" class="lia-mention lia-mention-user"&gt;souvik900766&lt;/a&gt; , You have try All or allselcted. Allexcept keep that filter &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;01 =&lt;BR /&gt;DIVIDE (&lt;BR /&gt;SUM('Table'[Volume]),&lt;BR /&gt;CALCULATE (&lt;BR /&gt;SUM('Table'[Volume]),&lt;BR /&gt;FILTER (&lt;BR /&gt;ALL ( 'Table','Table'[Category] ),&lt;BR /&gt;'Table'[Company Name] = "Full Industry"&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 04:29:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1601028#M32109</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-01-15T04:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Divide every row with a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1601141#M32113</link>
      <description>&lt;P&gt;Hi !&amp;nbsp;&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;&lt;BR /&gt;This measure of yours worked !&lt;BR /&gt;&lt;SPAN&gt;Category = divide([Volume],CALCULATE([Volume],Filter(allselected(Table),Table[company_nm]="Full Industry")))&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;But but ....&lt;BR /&gt;When I am trying to check out the Full Industry from Company Name column or Category A from brand Name column from the table the measure is vanishing.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 05:57:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1601141#M32113</guid>
      <dc:creator>souvik900766</dc:creator>
      <dc:date>2021-01-15T05:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Divide every row with a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1601209#M32115</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="218999" data-lia-user-login="souvik900766" class="lia-mention lia-mention-user"&gt;souvik900766&lt;/a&gt; , becasue allselected need full industry to be one the selected value (Not removed by filter or slicer)&lt;/P&gt;
&lt;P&gt;in that case all will do. Check all for both cases&lt;/P&gt;
&lt;P&gt;Category = divide([Volume],CALCULATE([Volume],Filter(all(Table),Table[company_nm]="Full Industry")))&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 06:20:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1601209#M32115</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-01-15T06:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Divide every row with a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1601277#M32116</link>
      <description>&lt;P&gt;Hi !&amp;nbsp;&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;&lt;BR /&gt;Dont know what is happening !&lt;BR /&gt;I used your last measure:_&lt;BR /&gt;&lt;SPAN&gt;Category = divide([Volume],CALCULATE([Volume],Filter(all(Table),Table[company_nm]="Full Industry")))&lt;/SPAN&gt;&lt;BR /&gt;In my Dummy example it is working but in my orginal file it is showing 0.00% !!!&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 06:50:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1601277#M32116</guid>
      <dc:creator>souvik900766</dc:creator>
      <dc:date>2021-01-15T06:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Divide every row with a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1601471#M32121</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="218999" data-lia-user-login="souvik900766" class="lia-mention lia-mention-user"&gt;souvik900766&lt;/a&gt; , Please the case or the excat value you need in double quotes i.e. Full Industry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I doubt that is creating a blank below. Value is not matching (space, Case etc )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Table[company_nm]="Full Industry"&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 08:25:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1601471#M32121</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-01-15T08:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Divide every row with a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1601548#M32123</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&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;&lt;BR /&gt;The case is right.I have checked that !&lt;BR /&gt;See this...The numbers are coming correspondingly same !&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 09:05:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1601548#M32123</guid>
      <dc:creator>souvik900766</dc:creator>
      <dc:date>2021-01-15T09:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Divide every row with a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1602020#M32131</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="218999" data-lia-user-login="souvik900766" class="lia-mention lia-mention-user"&gt;souvik900766&lt;/a&gt; , is this value very big for- Table[company_nm]="Full Industry"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 12:21:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1602020#M32131</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-01-15T12:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Divide every row with a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1603073#M32148</link>
      <description>&lt;P&gt;Hi !&lt;BR /&gt;Kindly find the sample attached link&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/s/nz0fnx87j6ktdjf/Help.pbix?dl=0" target="_self"&gt;https://www.dropbox.com/s/nz0fnx87j6ktdjf/Help.pbix?dl=0&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 10:01:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1603073#M32148</guid>
      <dc:creator>souvik900766</dc:creator>
      <dc:date>2021-01-16T10:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Divide every row with a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1603555#M32163</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am still not sure of that you need but this is what i can contribute from my understanding.&amp;nbsp; Let's forget the division for now.&amp;nbsp; Let's just try to get the denominator correct.&amp;nbsp; With the following filters applied (after exporting your data to an Excel file):&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Company = Full Industry&lt;/LI&gt;
&lt;LI&gt;Time period = 1 October 2020&lt;/LI&gt;
&lt;LI&gt;Cheannel name =&amp;nbsp;HYPERMARKETS/SUPERMARKETS/DISCOUNTERS&lt;/LI&gt;
&lt;LI&gt;Country = United States&lt;/LI&gt;
&lt;LI&gt;Category = Category 2&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;the total of the volume column is 293228.9051.&amp;nbsp; With your filters remaining intact (as you can see in the image), this measure returns that value&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Calculation 3 = CALCULATE(SUM(Sheet1[Volume]),Sheet1[Company]="Full Industry",Sheet1[Brand]="Category 2")&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 17 Jan 2021 02:35:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1603555#M32163</guid>
      <dc:creator>Ashish_Mathur</dc:creator>
      <dc:date>2021-01-17T02:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Divide every row with a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1603691#M32167</link>
      <description>&lt;P&gt;Hi !&lt;BR /&gt;Yes, the base or denominator is coming correct !&lt;BR /&gt;Now using the switch statement I made this dynamic !!!&lt;BR /&gt;Switch Category 1,&amp;nbsp;&lt;SPAN&gt;CALCULATE(SUM(Sheet1[Volume]),Sheet1[Company]="Full Industry",&lt;EM&gt;&lt;STRONG&gt;Sheet1[Brand]="Category 1") !!!!&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;Category 2,&amp;nbsp;&lt;SPAN&gt;CALCULATE(SUM(Sheet1[Volume]),Sheet1[Company]="Full Industry",&lt;EM&gt;&lt;STRONG&gt;Sheet1[Brand]="Category 2") &lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;Thank You so much !!!!&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2021 07:31:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1603691#M32167</guid>
      <dc:creator>souvik900766</dc:creator>
      <dc:date>2021-01-17T07:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Divide every row with a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1604575#M32215</link>
      <description>&lt;P&gt;You are welcome.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 03:10:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Divide-every-row-with-a-measure/m-p/1604575#M32215</guid>
      <dc:creator>Ashish_Mathur</dc:creator>
      <dc:date>2021-01-18T03:10:10Z</dc:date>
    </item>
  </channel>
</rss>

