<?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: How to add a measure's result of many lines in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2900354#M94444</link>
    <description>&lt;P&gt;It seems you put it on OneDrive, but i couldn't open it.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Nov 2022 13:55:18 GMT</pubDate>
    <dc:creator>FreemanZ</dc:creator>
    <dc:date>2022-11-11T13:55:18Z</dc:date>
    <item>
      <title>How to add a measure's result of many lines</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2895251#M94085</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;I am currently working on a table that relates the amount of components that my company receives and returns.&lt;BR /&gt;Here is how the table is at this moment:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;"Cod. Forn. Principal" is an ID.&lt;/P&gt;&lt;P&gt;"Entradas_bus" are the received components.&lt;BR /&gt;"Refugos_bus" are the components we have returned.&lt;BR /&gt;"Impacto_PPM" is calculated by a measure. It's the returned pieces of one ID divided by the SUM() of all received pieces during an interval of time.&lt;/P&gt;&lt;P&gt;"Porcentual PPM" is the % that each line represents in the total of 'Impacto_PPM'. Basically, I want to know how much % does 829,27 represents out of the total 'Impacto_PPM'.&lt;BR /&gt;&lt;BR /&gt;Right now I'm struggling to calculate the "Porcentual PPM" because I can't find a way to get the summation of all lines in the "Impacto_PPM" column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;can somebody help me please&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 12:00:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2895251#M94085</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-09T12:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a measure's result of many lines</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2895613#M94115</link>
      <description>&lt;DIV&gt;Supposing your table named Table, try to add a new column with the code below:&lt;DIV&gt;&amp;nbsp;&lt;DIV&gt;Porcentual PPM = FORMAT (&amp;nbsp;&lt;SPAN&gt;DIVIDE( CALCULATE(SUM('Table'[ &lt;SPAN&gt;Impacto_PPM&lt;SPAN&gt;])), SUM('Table'[ &lt;SPAN&gt;Impacto_PPM&lt;SPAN&gt;])), "00%")&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Nov 2022 14:48:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2895613#M94115</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2022-11-09T14:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a measure's result of many lines</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2895623#M94119</link>
      <description>&lt;P&gt;Try this as the measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Porcentual PPM =
DIVIDE ( [Impacto PPM], CALCULATE ( [Impacto PPM], ALLSELECTED () ) )
&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 09 Nov 2022 14:55:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2895623#M94119</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-11-09T14:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a measure's result of many lines</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2896131#M94163</link>
      <description>&lt;P&gt;First of all, thanks for trying to help me out!&lt;BR /&gt;But unfortunately it doesn't work, the numbers don't add up to 100% &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 19:33:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2896131#M94163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-09T19:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a measure's result of many lines</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2896142#M94164</link>
      <description>&lt;P&gt;Hi FreemanZ, thanks for helping!&lt;BR /&gt;But the 'Impact_PPM' you see on the picture is not an actual column on the table, it's just a measure as a column in a table visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 19:39:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2896142#M94164</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-09T19:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a measure's result of many lines</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2896587#M94206</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For your need , you can try to use this dax to create a measure :&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;PPM % = var _t = SUMMARIZE(ALL('Table'[Cod. Forn. Principal]) , 'Table'[Cod. Forn. Principal] , "PPM" , [Impacto_PPM] )
return
DIVIDE([Impacto_PPM],SUMX(_t,[PPM]))&lt;/LI-CODE&gt;
&lt;P&gt;Then we can meet your need , 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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Aniya Zhang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt; it as the solution&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 04:10:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2896587#M94206</guid>
      <dc:creator>v-yueyunzh-msft</dc:creator>
      <dc:date>2022-11-10T04:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a measure's result of many lines</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2897455#M94267</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="433015" data-lia-user-login="v-yueyunzh-msft" class="lia-mention lia-mention-user"&gt;v-yueyunzh-msft&lt;/a&gt;&amp;nbsp;. Thank you for your time and for trying to help!&lt;/P&gt;&lt;P&gt;But just like my reply to our other friend, it didn't work...the results are the same.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 11:48:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2897455#M94267</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-10T11:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a measure's result of many lines</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2897624#M94273</link>
      <description>&lt;P&gt;Can you simplify your report and upload the pbix file?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 13:18:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2897624#M94273</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2022-11-10T13:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a measure's result of many lines</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2898791#M94335</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you check the measure type is "Percentage" in "Measure Tools"?&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If this method does not meet your needs, you can provide us with your special &lt;STRONG&gt;sample data&lt;/STRONG&gt; and the &lt;STRONG&gt;desired output sample&lt;/STRONG&gt; data in the form of &lt;STRONG&gt;tables&lt;/STRONG&gt;, so that we can better help you solve the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Aniya Zhang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt; it as the solution&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 01:14:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2898791#M94335</guid>
      <dc:creator>v-yueyunzh-msft</dc:creator>
      <dc:date>2022-11-11T01:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a measure's result of many lines</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2900061#M94412</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;!! This is my personal account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The situation is: the measure 'Porcentual PPM' is supposed to calculate the percentage that each 'Impact PPM' (which is also a measure) has on the total of the 'Impact PPM'. But theres is something wrong and I cant solve it.&lt;BR /&gt;&lt;BR /&gt;Here's the pbix file with a few numbers on it.&lt;BR /&gt;&lt;A href="https://1drv.ms/u/s!Amib8Od3WHQJgUmX5U2dOULVyhcg?e=fOqThC" target="_self"&gt;samples.pbix&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;Thanks again for helping.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 11:41:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2900061#M94412</guid>
      <dc:creator>carlosbpiolla</dc:creator>
      <dc:date>2022-11-11T11:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a measure's result of many lines</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2900108#M94416</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hey,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="433015" data-lia-user-login="v-yueyunzh-msft" class="lia-mention lia-mention-user"&gt;v-yueyunzh-msft&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;!! This is my personal account.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What I need is that the column %PPM looks like this.&lt;BR /&gt;Remember that both 'Impacto PPM' and '% PPM' are measures and not columns in the original table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Cod. Forn. Principal&lt;/TD&gt;&lt;TD&gt;Entradas&lt;/TD&gt;&lt;TD&gt;Refugos&lt;/TD&gt;&lt;TD&gt;Impacto PPM&lt;/TD&gt;&lt;TD&gt;% PPM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;16032835&lt;/TD&gt;&lt;TD&gt;8.839,00&lt;/TD&gt;&lt;TD&gt;1.200,00&lt;/TD&gt;&lt;TD&gt;834,91&lt;/TD&gt;&lt;TD&gt;82,47&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15686750&lt;/TD&gt;&lt;TD&gt;16.300,00&lt;/TD&gt;&lt;TD&gt;94,00&lt;/TD&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;1455&lt;/TD&gt;&lt;TD&gt;1012,34&lt;/TD&gt;&lt;TD&gt;100%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the pbix file with this data.&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/u/s!Amib8Od3WHQJgUmX5U2dOULVyhcg?e=fOqThC" target="_self"&gt;samples.pbix&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for helping!&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>Fri, 11 Nov 2022 11:58:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2900108#M94416</guid>
      <dc:creator>carlosbpiolla</dc:creator>
      <dc:date>2022-11-11T11:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a measure's result of many lines</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2900260#M94437</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="470590" data-lia-user-login="carlosbpiolla" class="lia-mention lia-mention-user"&gt;carlosbpiolla&lt;/a&gt;&amp;nbsp;I hope this is the result you want.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 13:20:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2900260#M94437</guid>
      <dc:creator>zerotyper</dc:creator>
      <dc:date>2022-11-11T13:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a measure's result of many lines</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2900354#M94444</link>
      <description>&lt;P&gt;It seems you put it on OneDrive, but i couldn't open it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 13:55:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2900354#M94444</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2022-11-11T13:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a measure's result of many lines</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2900363#M94446</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="470573" data-lia-user-login="zerotyper" class="lia-mention lia-mention-user"&gt;zerotyper&lt;/a&gt;&amp;nbsp;!!! That's what I wanted!&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 13:59:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-add-a-measure-s-result-of-many-lines/m-p/2900363#M94446</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-11T13:59:00Z</dc:date>
    </item>
  </channel>
</rss>

