<?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: Summing when visualised in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summing-when-visualised/m-p/4334617#M172099</link>
    <description>&lt;P&gt;Thanks for the help anyways!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Dec 2024 07:57:25 GMT</pubDate>
    <dc:creator>EmilZPM</dc:creator>
    <dc:date>2024-12-18T07:57:25Z</dc:date>
    <item>
      <title>Summing when visualised</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summing-when-visualised/m-p/4333179#M172036</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know if the title is fitting, but I don't know what to call my issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a report tool, to show how much our different partners have been promoted in our Newsletter.&lt;/P&gt;&lt;P&gt;I have two tables, one containing the plan for the communication, what spot the different partners have, and which target groups they are sent to. The other includes the target groups and the size of these.&amp;nbsp;&lt;BR /&gt;The two tables are connected by target group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to make a table, that shows how many people the different partners has been promoted to.&lt;/P&gt;&lt;P&gt;This is done by taking the size of the target group connected to the email the partner is in, and the weight, which indicates how many % we estimate will get to this spot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pop*weight=exposure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is all fair and well, when I "population" in the table, but as soon as I remove it, it summarises the population of all the target groups, when it calculates exposure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't seem to find the solution to this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ideally all I want to show in the table is: "Mail Date", "MailPartner", "Prio" and "exposure".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Exposure=
CALCULATE(
    SUM(TargetGroups[Population])*SUM(Redaktionsplan[Vægtning Email])
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this is enough information, but otherwise let me know, and I will try and provide more info.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 13:44:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summing-when-visualised/m-p/4333179#M172036</guid>
      <dc:creator>EmilZPM</dc:creator>
      <dc:date>2024-12-17T13:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Summing when visualised</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summing-when-visualised/m-p/4333285#M172042</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Exposure =
SUMX (
    Redaktionsplan,
    Redaktionsplan[Vægtning Email] * RELATED ( TargetGroups[Population] )
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 17 Dec 2024 14:48:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summing-when-visualised/m-p/4333285#M172042</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2024-12-17T14:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Summing when visualised</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summing-when-visualised/m-p/4333315#M172043</link>
      <description>&lt;P&gt;Oh, I never even seen "RELATED" before.&amp;nbsp;&lt;BR /&gt;But it gives me the following error:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But they are realted:&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>Tue, 17 Dec 2024 15:04:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summing-when-visualised/m-p/4333315#M172043</guid>
      <dc:creator>EmilZPM</dc:creator>
      <dc:date>2024-12-17T15:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Summing when visualised</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summing-when-visualised/m-p/4333341#M172045</link>
      <description>&lt;P&gt;It looks like you're connected to a composite model, and I'm not sure if report measures can use RELATED in those circumstances. Try and get the measure added to the actual model if you can, it certainly should work there.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If getting it added to the model is not an option, you could use LOOKUPVALUE instead.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Exposure =
SUMX (
    Redaktionsplan,
    Redaktionsplan[Vægtning Email]
        * LOOKUPVALUE (
            TargetGroups[Population],
            TargetGroups[MasterTargetGroup], Redaktionsplan[target group email]
        )
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 17 Dec 2024 15:14:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summing-when-visualised/m-p/4333341#M172045</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2024-12-17T15:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Summing when visualised</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summing-when-visualised/m-p/4334246#M172081</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="696251" data-lia-user-login="EmilZPM" class="lia-mention lia-mention-user"&gt;EmilZPM&lt;/a&gt;&amp;nbsp;, hello&amp;nbsp;johnt75, thank you for your prompt reply!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The filters applied to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;TargetGroups&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;table&amp;nbsp;&lt;/SPAN&gt;will affect&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Redaktionsplan&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;table&lt;/SPAN&gt;, but not vice versa.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If possible, change the cross-filter direction to &lt;STRONG&gt;Both&lt;/STRONG&gt; to compare the result:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Joyce&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;Accept it as the solution&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&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>Wed, 18 Dec 2024 05:38:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summing-when-visualised/m-p/4334246#M172081</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-18T05:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Summing when visualised</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summing-when-visualised/m-p/4334498#M172094</link>
      <description>&lt;P&gt;Oh god... You are right! I completely missed that one! Was trying all sorts of things, and that was the solution! Thank you so much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 07:14:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summing-when-visualised/m-p/4334498#M172094</guid>
      <dc:creator>EmilZPM</dc:creator>
      <dc:date>2024-12-18T07:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Summing when visualised</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summing-when-visualised/m-p/4334617#M172099</link>
      <description>&lt;P&gt;Thanks for the help anyways!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 07:57:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summing-when-visualised/m-p/4334617#M172099</guid>
      <dc:creator>EmilZPM</dc:creator>
      <dc:date>2024-12-18T07:57:25Z</dc:date>
    </item>
  </channel>
</rss>

