<?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 Calculate dynamic Weighted Average of a Measure vs the Total in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-dynamic-Weighted-Average-of-a-Measure-vs-the-Total/m-p/1826826#M38777</link>
    <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have read tons of posts but I cannot find a solution to my issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to calculate the % of a row value, resulting from a measure in a Matrix, vs the column total.&lt;/P&gt;&lt;P&gt;In excel, it will looks like the following:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Channel&lt;/TD&gt;&lt;TD&gt;Trade Spend&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;WA&lt;/EM&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Coop e Gruppi T.O.&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;1.030.061&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;14,99%&lt;/EM&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Corner MM&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;513.728&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;7,48%&lt;/EM&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Dirette&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;1.977.293&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;28,78%&lt;/EM&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;E-commerce&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;485.555&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;7,07%&lt;/EM&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Ingrosso&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;927.850&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;13,51%&lt;/EM&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Intercompany&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;0,00%&lt;/EM&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Mass Market&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;1.644.977&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;23,95%&lt;/EM&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Others&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;138&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;0,00%&lt;/EM&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Total&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;6.869.443&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;100,00%&lt;/EM&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where WA is the result of the following formula:&lt;/P&gt;&lt;P&gt;=B2/$B$10.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The trade spend column is a measure that sums other measures.&lt;/P&gt;&lt;P&gt;is there a way to replicate the same output in PBI?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you all for your suggestion!&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
    <pubDate>Thu, 06 May 2021 08:18:42 GMT</pubDate>
    <dc:creator>mciani</dc:creator>
    <dc:date>2021-05-06T08:18:42Z</dc:date>
    <item>
      <title>Calculate dynamic Weighted Average of a Measure vs the Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-dynamic-Weighted-Average-of-a-Measure-vs-the-Total/m-p/1826826#M38777</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have read tons of posts but I cannot find a solution to my issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to calculate the % of a row value, resulting from a measure in a Matrix, vs the column total.&lt;/P&gt;&lt;P&gt;In excel, it will looks like the following:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Channel&lt;/TD&gt;&lt;TD&gt;Trade Spend&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;WA&lt;/EM&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Coop e Gruppi T.O.&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;1.030.061&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;14,99%&lt;/EM&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Corner MM&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;513.728&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;7,48%&lt;/EM&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Dirette&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;1.977.293&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;28,78%&lt;/EM&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;E-commerce&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;485.555&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;7,07%&lt;/EM&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Ingrosso&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;927.850&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;13,51%&lt;/EM&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Intercompany&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;0,00%&lt;/EM&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Mass Market&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;1.644.977&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;23,95%&lt;/EM&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Others&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;138&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;0,00%&lt;/EM&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Total&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;6.869.443&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;100,00%&lt;/EM&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where WA is the result of the following formula:&lt;/P&gt;&lt;P&gt;=B2/$B$10.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The trade spend column is a measure that sums other measures.&lt;/P&gt;&lt;P&gt;is there a way to replicate the same output in PBI?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you all for your suggestion!&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 08:18:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-dynamic-Weighted-Average-of-a-Measure-vs-the-Total/m-p/1826826#M38777</guid>
      <dc:creator>mciani</dc:creator>
      <dc:date>2021-05-06T08:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate dynamic Weighted Average of a Measure vs the Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-dynamic-Weighted-Average-of-a-Measure-vs-the-Total/m-p/1826870#M38780</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="140271" data-lia-user-login="mciani" class="lia-mention lia-mention-user"&gt;mciani&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check the below picture and the sample pbix file's link down below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;WA Percentage =&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 ( Data[Trade Spend] ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE ( SUM ( Data[Trade Spend] ), ALL ( Data ) )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://www.dropbox.com/s/83e3vso3agd6jb6/mciani.pbix?dl=0" target="_self"&gt;https://www.dropbox.com/s/83e3vso3agd6jb6/mciani.pbix?dl=0&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Hi, My name is Jihwan Kim. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Linkedin: linkedin.com/in/jihwankim1975/&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Twitter: twitter.com/Jihwan_JHKIM&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 08:29:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-dynamic-Weighted-Average-of-a-Measure-vs-the-Total/m-p/1826870#M38780</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-05-06T08:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate dynamic Weighted Average of a Measure vs the Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-dynamic-Weighted-Average-of-a-Measure-vs-the-Total/m-p/1827399#M38792</link>
      <description>&lt;P&gt;Hi Jihwan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see you created a data table and build a calculation in dax that is using the SUM function.&lt;/P&gt;&lt;P&gt;I cannot use SUM as the value I need to reference to is a Measure. Is there any other way to do the same with the measure?&lt;/P&gt;&lt;P&gt;I can provide the pbix if it's easier&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 11:44:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-dynamic-Weighted-Average-of-a-Measure-vs-the-Total/m-p/1827399#M38792</guid>
      <dc:creator>mciani</dc:creator>
      <dc:date>2021-05-06T11:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate dynamic Weighted Average of a Measure vs the Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-dynamic-Weighted-Average-of-a-Measure-vs-the-Total/m-p/1827405#M38793</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="140271" data-lia-user-login="mciani" class="lia-mention lia-mention-user"&gt;mciani&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your feedback.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SUM ( Data[Trade Spend] ) is a measure and you can try to replace this to your measure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am not sure how your measure is related to the column, so that is why I created a sample by myself.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please share your sample pbix file, then I can try to come up with a more accurate measure.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 11:46:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-dynamic-Weighted-Average-of-a-Measure-vs-the-Total/m-p/1827405#M38793</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-05-06T11:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate dynamic Weighted Average of a Measure vs the Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-dynamic-Weighted-Average-of-a-Measure-vs-the-Total/m-p/1827411#M38795</link>
      <description>&lt;P&gt;Thanks for your support&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;Here is the link to the pbix file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 15:08:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-dynamic-Weighted-Average-of-a-Measure-vs-the-Total/m-p/1827411#M38795</guid>
      <dc:creator>mciani</dc:creator>
      <dc:date>2021-05-06T15:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate dynamic Weighted Average of a Measure vs the Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-dynamic-Weighted-Average-of-a-Measure-vs-the-Total/m-p/1827439#M38798</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="140271" data-lia-user-login="mciani" class="lia-mention lia-mention-user"&gt;mciani&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for sharing.&lt;/P&gt;&lt;P&gt;Please check the below picture and the pbix file's link down below whether it is what you are looking for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;EM&gt;WA percentage = &lt;/EM&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;DIVIDE (&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;[TRADE SPEND],&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;CALCULATE ( [TRADE SPEND], ALLSELECTED ( PowerBI_Customer[Channel] ) )&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://www.dropbox.com/s/n2rqexmgolitgrf/Gross%202%20Net.pbix?dl=0" target="_self"&gt;https://www.dropbox.com/s/n2rqexmgolitgrf/Gross%202%20Net.pbix?dl=0&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Hi, My name is Jihwan Kim. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Linkedin: linkedin.com/in/jihwankim1975/&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Twitter: twitter.com/Jihwan_JHKIM&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 May 2021 12:07:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-dynamic-Weighted-Average-of-a-Measure-vs-the-Total/m-p/1827439#M38798</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-05-06T12:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate dynamic Weighted Average of a Measure vs the Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-dynamic-Weighted-Average-of-a-Measure-vs-the-Total/m-p/1827466#M38801</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;that is exactely what I was looking for! THANK YOU!&lt;/P&gt;&lt;P&gt;One last thing. In the formula you used "&lt;EM&gt;ALLSELECTED ( PowerBI_Customer[Channel] ) )"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;This will aways return the value compared with Channel. Is there a way to make this dynamic to the first row in the matrix? For instance, if I want to use the month to split rows instead of the channel? Or do I have to create as many new measue with all the possible combination?&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 12:16:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-dynamic-Weighted-Average-of-a-Measure-vs-the-Total/m-p/1827466#M38801</guid>
      <dc:creator>mciani</dc:creator>
      <dc:date>2021-05-06T12:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate dynamic Weighted Average of a Measure vs the Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-dynamic-Weighted-Average-of-a-Measure-vs-the-Total/m-p/1827527#M38804</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="140271" data-lia-user-login="mciani" class="lia-mention lia-mention-user"&gt;mciani&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your feedback.&lt;/P&gt;&lt;P&gt;You can also try the below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;EM&gt;WA percentage V2 = &lt;/EM&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;DIVIDE (&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;[TRADE SPEND],&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;CALCULATE ( [TRADE SPEND], ALLSELECTED ( PowerBI_Total_PL) )&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Then, you can change the Channel column to the Month column, for instance.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;However, I am not quite sure if it gives the correct answer for all situations. Because the measures that are related to [TRADE SPEND] have quite a lot of conditions. It is really hard to tell whether it will still show the correct result if ALLSELECTED is used with the main fact table.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Hi, My name is Jihwan Kim. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Linkedin: linkedin.com/in/jihwankim1975/&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Twitter: twitter.com/Jihwan_JHKIM&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 May 2021 12:47:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-dynamic-Weighted-Average-of-a-Measure-vs-the-Total/m-p/1827527#M38804</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-05-06T12:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate dynamic Weighted Average of a Measure vs the Total</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-dynamic-Weighted-Average-of-a-Measure-vs-the-Total/m-p/1827898#M38827</link>
      <description>&lt;P&gt;THANK YOU!!!&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 14:59:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-dynamic-Weighted-Average-of-a-Measure-vs-the-Total/m-p/1827898#M38827</guid>
      <dc:creator>mciani</dc:creator>
      <dc:date>2021-05-06T14:59:50Z</dc:date>
    </item>
  </channel>
</rss>

