Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
EmilZPM
Frequent Visitor

Summing when visualised

Hi all,

 

I don't know if the title is fitting, but I don't know what to call my issue.

 

 

I am working on a report tool, to show how much our different partners have been promoted in our Newsletter.

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. 
The two tables are connected by target group.

 

I want to make a table, that shows how many people the different partners has been promoted to.

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. 

 

pop*weight=exposure

 

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.

 

EmilZPM_2-1734442883340.png

EmilZPM_3-1734442972734.png

 

 

 

I can't seem to find the solution to this.

 

Ideally all I want to show in the table is: "Mail Date", "MailPartner", "Prio" and "exposure".

 

Exposure=
CALCULATE(
    SUM(TargetGroups[Population])*SUM(Redaktionsplan[Vægtning Email])
)

 

I hope this is enough information, but otherwise let me know, and I will try and provide more info.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @EmilZPM , hello johnt75, thank you for your prompt reply!

 

The filters applied to TargetGroups table will affect Redaktionsplan table, but not vice versa.


If possible, change the cross-filter direction to Both to compare the result:

vyajiewanmsft_1-1734500095277.png

Best regards,

Joyce

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Hi @EmilZPM , hello johnt75, thank you for your prompt reply!

 

The filters applied to TargetGroups table will affect Redaktionsplan table, but not vice versa.


If possible, change the cross-filter direction to Both to compare the result:

vyajiewanmsft_1-1734500095277.png

Best regards,

Joyce

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

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!

 

johnt75
Super User
Super User

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. 

If getting it added to the model is not an option, you could use LOOKUPVALUE instead.

Exposure =
SUMX (
    Redaktionsplan,
    Redaktionsplan[Vægtning Email]
        * LOOKUPVALUE (
            TargetGroups[Population],
            TargetGroups[MasterTargetGroup], Redaktionsplan[target group email]
        )
)

Thanks for the help anyways! 

 

johnt75
Super User
Super User

Try

Exposure =
SUMX (
    Redaktionsplan,
    Redaktionsplan[Vægtning Email] * RELATED ( TargetGroups[Population] )
)

Oh, I never even seen "RELATED" before. 
But it gives me the following error:

EmilZPM_0-1734447779381.png

 

But they are realted:

EmilZPM_1-1734447836347.png

 

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.