<?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 : % of row total in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-of-row-total/m-p/3243567#M119404</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me in correcting DAX.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandrashekar B&lt;/P&gt;</description>
    <pubDate>Fri, 19 May 2023 03:54:52 GMT</pubDate>
    <dc:creator>Chandrashekar</dc:creator>
    <dc:date>2023-05-19T03:54:52Z</dc:date>
    <item>
      <title>Dax : % of row total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-of-row-total/m-p/3240073#M119180</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is regarding to the link which posted earlier.&lt;/P&gt;&lt;P&gt;Link:&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dax-of-row-total/td-p/3186082" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dax-of-row-total/td-p/3186082&lt;/A&gt;&lt;/P&gt;&lt;P&gt;PBIX:&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1TwcP98VfHuQJhIknJhfGIKpX604HhFng/view?usp=share_link" target="_self"&gt;Sample File&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For S4 I need to get 50%(Ach) and 50%(Bre) but am getting wrong result. Kindly check on it&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandrashekar B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 11:37:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-of-row-total/m-p/3240073#M119180</guid>
      <dc:creator>Chandrashekar</dc:creator>
      <dc:date>2023-05-17T11:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dax : % of row total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-of-row-total/m-p/3243310#M119386</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="349843" data-lia-user-login="Chandrashekar" class="lia-mention lia-mention-user"&gt;Chandrashekar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the previous post, the logic of the calculation is [of row total(Ach)]=ach/ach+bre and [of row total(Bre)]=bre/ach+bre, so for s4, ach=4/(4+2)=4/6=0.6667, which seems to be correct. Can you provide the logic for the calculation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 05:48:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-of-row-total/m-p/3243310#M119386</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-19T05:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dax : % of row total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-of-row-total/m-p/3243567#M119404</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me in correcting DAX.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandrashekar B&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 03:54:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-of-row-total/m-p/3243567#M119404</guid>
      <dc:creator>Chandrashekar</dc:creator>
      <dc:date>2023-05-19T03:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dax : % of row total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-of-row-total/m-p/3243656#M119410</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="349843" data-lia-user-login="Chandrashekar" class="lia-mention lia-mention-user"&gt;Chandrashekar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the previous post, the logic of the calculation is [of row total(Ach)]=ach/ach+bre and [of row total(Bre)]=bre/ach+bre, so for s4, ach=4/(4+2)=4/6=0.6667, which seems to be correct. Can you provide the logic for the calculation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 05:48:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-of-row-total/m-p/3243656#M119410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-19T05:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dax : % of row total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-of-row-total/m-p/3243660#M119411</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For S4 Ach is 4 and Bre is 2 so I should get 50% achieved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandrashekar B&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 05:53:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-of-row-total/m-p/3243660#M119411</guid>
      <dc:creator>Chandrashekar</dc:creator>
      <dc:date>2023-05-19T05:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dax : % of row total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-of-row-total/m-p/3243687#M119414</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="349843" data-lia-user-login="Chandrashekar" class="lia-mention lia-mention-user"&gt;Chandrashekar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, here are my steps you can follow as a solution.&lt;/P&gt;
&lt;P&gt;(1) My test data is the same as yours.&lt;/P&gt;
&lt;P&gt;(2) We can create two measures.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;% of row total Bre = DIVIDE( MAX('Table'[Bre]),MAX('Table'[Ach]),0)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;% of row total Ach = 1-'Table'[% of row total Bre]&lt;/LI-CODE&gt;
&lt;P&gt;(3) Then the result is as follows.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the above one can't help you get the desired result, please provide some&amp;nbsp;&lt;STRONG&gt;sample data&lt;/STRONG&gt;&amp;nbsp;in your tables (&lt;STRONG&gt;exclude&amp;nbsp;sensitive&amp;nbsp;data&lt;/STRONG&gt;) with&amp;nbsp;&lt;STRONG&gt;Text&lt;/STRONG&gt;&amp;nbsp;format and your&amp;nbsp;&lt;STRONG&gt;expected result&lt;/STRONG&gt;&amp;nbsp;with backend logic and special examples.&amp;nbsp;&lt;STRONG&gt;It is better&lt;/STRONG&gt;&amp;nbsp;if you can share a&amp;nbsp;&lt;STRONG&gt;simplified&lt;/STRONG&gt;&amp;nbsp;pbix file.&amp;nbsp;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 06:13:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-of-row-total/m-p/3243687#M119414</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-19T06:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dax : % of row total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-of-row-total/m-p/3243695#M119416</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandrashekar B&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 06:19:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-of-row-total/m-p/3243695#M119416</guid>
      <dc:creator>Chandrashekar</dc:creator>
      <dc:date>2023-05-19T06:19:32Z</dc:date>
    </item>
  </channel>
</rss>

