<?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 cost TOTAL in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/divide-cost-TOTAL/m-p/2190301#M51182</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="295674" data-lia-user-login="giuliapiazza94" class="lia-mention lia-mention-user"&gt;giuliapiazza94&lt;/a&gt; , &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need a measure like&lt;/P&gt;
&lt;P&gt;calculate(sum(Table[Cost.Cost]), allselected())&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In case you need switch between sub total&amp;nbsp; and grand total refer&lt;/P&gt;
&lt;P&gt;&lt;A href="https://xxlbi.com/blog/new-dax-function-isinscope/" target="_blank"&gt;https://xxlbi.com/blog/new-dax-function-isinscope/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Nov 2021 12:42:57 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2021-11-15T12:42:57Z</dc:date>
    <item>
      <title>divide cost TOTAL</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/divide-cost-TOTAL/m-p/2190158#M51174</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I have a similiar case to divide cost of each customer&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;But, if I select a customer (for example Tony) I want to see 420, not 110, because I need to divide total cost for Tony&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;for example: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;30% of 420 --&amp;gt; item A&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;70% of 420 --&amp;gt; item B&lt;/P&gt;&lt;P&gt;I tried to use ALL ( ) but if I expand matrix until to item the costs don't change&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&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;</description>
      <pubDate>Mon, 15 Nov 2021 11:31:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/divide-cost-TOTAL/m-p/2190158#M51174</guid>
      <dc:creator>giuliapiazza94</dc:creator>
      <dc:date>2021-11-15T11:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: divide cost TOTAL</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/divide-cost-TOTAL/m-p/2190301#M51182</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="295674" data-lia-user-login="giuliapiazza94" class="lia-mention lia-mention-user"&gt;giuliapiazza94&lt;/a&gt; , &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need a measure like&lt;/P&gt;
&lt;P&gt;calculate(sum(Table[Cost.Cost]), allselected())&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In case you need switch between sub total&amp;nbsp; and grand total refer&lt;/P&gt;
&lt;P&gt;&lt;A href="https://xxlbi.com/blog/new-dax-function-isinscope/" target="_blank"&gt;https://xxlbi.com/blog/new-dax-function-isinscope/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 12:42:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/divide-cost-TOTAL/m-p/2190301#M51182</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-11-15T12:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: divide cost TOTAL</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/divide-cost-TOTAL/m-p/2198283#M51538</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="295674" data-lia-user-login="giuliapiazza94" class="lia-mention lia-mention-user"&gt;giuliapiazza94&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does the replies above solve your problem? If it has been solved, please mark the correct reply as the standard answer to help the other members find it more quickly.Thanks in advance for your kind cooperation!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Community Support Team _ Caitlyn&lt;/P&gt;
&lt;P&gt;If this post helps then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 09:31:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/divide-cost-TOTAL/m-p/2198283#M51538</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-19T09:31:12Z</dc:date>
    </item>
  </channel>
</rss>

