Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hey
I have a table, simplified has these values
| name | $$$ | |
| Campaign1 | test1@email.com | 1000 |
| Campaign2 | test2@email.com | 2500 |
| Campaign2 | test3@email.com | 500 |
| Campaign1 | test3@email.com | 5000 |
| Campaign2 | test1@email.com | 850 |
I want to create a measure to sum all the $$ amounts that are a reference to another tables column. In a table that would look like this
| name | $$ |
| Campaign1 | $6000 |
| Campaign2 | $3850 |
I was trying to use =SUMX(DISTINCT(campaign[email]),campaign[othertable.$$]))
But it won't let me use the other tables column in the measure, I've made this column using advanced editor and extracting that information from relationship fields.
What am I doing wrong here?
Sorry for the terrible formatting of tables it's the first one I've done and I kept getting HTML errors
hi @JayReidy
as you have already get the campaign[othertable.$$] column with Power Query Editor, you can just try:
measure = SUMX(campaign),campaign[othertable.$$]))
Or?
No doesn't work sorry forgot to mention this is an indirect relationship
@JayReidy
Please try
=
SUMX (
DISTINCT ( campaign[email] ),
SUMX (
FILTER ( othertable, othertable[email] = campaign[email] ),
othertable[Value.$$]
)
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 11 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 32 | |
| 19 | |
| 12 | |
| 10 |