<?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 Total Overall Value and Individual Value using the same Measure. How to divide them in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Overall-Value-and-Individual-Value-using-the-same-Measure/m-p/3625549#M140182</link>
    <description>&lt;P&gt;Hi All.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm kind of stuck here. Need your help on this.&lt;/P&gt;&lt;P&gt;My problem is the measure used to get defect count and total defect count is the same, to differentiate it is using Plant (a column).&amp;nbsp; I want to calculate defect count weightage as per formula below:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Defect count weightage = defect count / total defect count&lt;/LI-CODE&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" color="#FF0000"&gt;The total defect count is the row that I highlighted in the screenshot. How to get that value if it's using the same measure?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the measure used to calculate the defect count.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DefectCount = SUMX(FILTER(Joined_FactAIVC,Joined_FactAIVC[DefectClass]&amp;lt;&amp;gt; "Produced Glove" &amp;amp;&amp;amp; Joined_FactAIVC[DefectClass]&amp;lt;&amp;gt; "Good Glove"  &amp;amp;&amp;amp; Joined_FactAIVC[DefectClass]&amp;lt;&amp;gt; "Empty Link"  &amp;amp;&amp;amp; Joined_FactAIVC[DefectClass]&amp;lt;&amp;gt; "System Status"),[Value])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;Kindly help.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jan 2024 09:26:27 GMT</pubDate>
    <dc:creator>rocky_puff</dc:creator>
    <dc:date>2024-01-09T09:26:27Z</dc:date>
    <item>
      <title>Total Overall Value and Individual Value using the same Measure. How to divide them</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Overall-Value-and-Individual-Value-using-the-same-Measure/m-p/3625549#M140182</link>
      <description>&lt;P&gt;Hi All.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm kind of stuck here. Need your help on this.&lt;/P&gt;&lt;P&gt;My problem is the measure used to get defect count and total defect count is the same, to differentiate it is using Plant (a column).&amp;nbsp; I want to calculate defect count weightage as per formula below:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Defect count weightage = defect count / total defect count&lt;/LI-CODE&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" color="#FF0000"&gt;The total defect count is the row that I highlighted in the screenshot. How to get that value if it's using the same measure?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the measure used to calculate the defect count.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DefectCount = SUMX(FILTER(Joined_FactAIVC,Joined_FactAIVC[DefectClass]&amp;lt;&amp;gt; "Produced Glove" &amp;amp;&amp;amp; Joined_FactAIVC[DefectClass]&amp;lt;&amp;gt; "Good Glove"  &amp;amp;&amp;amp; Joined_FactAIVC[DefectClass]&amp;lt;&amp;gt; "Empty Link"  &amp;amp;&amp;amp; Joined_FactAIVC[DefectClass]&amp;lt;&amp;gt; "System Status"),[Value])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;Kindly help.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 09:26:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Overall-Value-and-Individual-Value-using-the-same-Measure/m-p/3625549#M140182</guid>
      <dc:creator>rocky_puff</dc:creator>
      <dc:date>2024-01-09T09:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Total Overall Value and Individual Value using the same Measure. How to divide them</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Overall-Value-and-Individual-Value-using-the-same-Measure/m-p/3631544#M140463</link>
      <description>&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;Do not include sensitive information or anything not related to the issue or question. &lt;BR /&gt;&lt;BR /&gt;If you are unsure how to upload data please refer to &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 00:18:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Overall-Value-and-Individual-Value-using-the-same-Measure/m-p/3631544#M140463</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-01-11T00:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Total Overall Value and Individual Value using the same Measure. How to divide them</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Overall-Value-and-Individual-Value-using-the-same-Measure/m-p/3632695#M140502</link>
      <description>&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;ID&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Defect Count&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Defect Count Weightage&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;A&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;767,212&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0.3848&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;B&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;504,089&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0.2528&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;C&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;722,384&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0.3623&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Total&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1,993,685&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 11 Jan 2024 07:57:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Overall-Value-and-Individual-Value-using-the-same-Measure/m-p/3632695#M140502</guid>
      <dc:creator>rocky_puff</dc:creator>
      <dc:date>2024-01-11T07:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Total Overall Value and Individual Value using the same Measure. How to divide them</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Overall-Value-and-Individual-Value-using-the-same-Measure/m-p/3632705#M140504</link>
      <description>&lt;P&gt;Above is the sample data that can be used.&lt;/P&gt;&lt;P&gt;My objective is to get the correct DAX to calculate defect count weightage.&lt;/P&gt;&lt;P&gt;Here is the formula&amp;nbsp;&lt;/P&gt;&lt;P&gt;Defect count weightage = defect count / total defect count&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Example,&lt;/P&gt;&lt;P&gt;for&amp;nbsp; ID A : 767,212 /&amp;nbsp;1,993,685 = 0.3848&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current DAX,&lt;/P&gt;&lt;P&gt;DIVIDE(CALCULATE([DefectCount]),CALCULATE([DefectCount],ALL(Joined_FactAIVC))&lt;/P&gt;&lt;P&gt;which resulting to wrong output as below. The expected output is the same as the sample data above.&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;</description>
      <pubDate>Thu, 11 Jan 2024 07:59:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Overall-Value-and-Individual-Value-using-the-same-Measure/m-p/3632705#M140504</guid>
      <dc:creator>rocky_puff</dc:creator>
      <dc:date>2024-01-11T07:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Total Overall Value and Individual Value using the same Measure. How to divide them</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Overall-Value-and-Individual-Value-using-the-same-Measure/m-p/3633501#M140532</link>
      <description>&lt;P&gt;Not sure where you are going with this. Here is the standard approach&amp;nbsp;&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;But it feels like you need something different?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 13:59:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Overall-Value-and-Individual-Value-using-the-same-Measure/m-p/3633501#M140532</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-01-11T13:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Total Overall Value and Individual Value using the same Measure. How to divide them</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Overall-Value-and-Individual-Value-using-the-same-Measure/m-p/3638041#M140798</link>
      <description>&lt;P&gt;Yaa I think this solved it. I chose different type of ALL previously.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DIVIDE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[DefectCount]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[DefectCount]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;(TableABC&lt;/SPAN&gt;&lt;SPAN&gt;[ID]&lt;/SPAN&gt;&lt;SPAN&gt;)))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Jan 2024 02:52:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Total-Overall-Value-and-Individual-Value-using-the-same-Measure/m-p/3638041#M140798</guid>
      <dc:creator>rocky_puff</dc:creator>
      <dc:date>2024-01-15T02:52:57Z</dc:date>
    </item>
  </channel>
</rss>

