Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hello Community,
I have a dataset with totals sums for different operations, operations refers to differente "Groups".
Groups are RELATED to other table Apport, wich details how each Group is apportioned between individuals (cities). The sum of % for all individuals in each Group adds up to 100%; they are detailed as in the pic below. Relationship is of many-to-many, since each Group appears many times in both tables.
I need to get Totals for each Individual city, My aproach was to build a meassure in PowerBI typing sumx(Total*related(%)). Despite the relationship seems to be correctly specified (working both ways), It doesn´t work, and I´m getting the message "The column 'Apport[%]' either doesn't exist or doesn't have a relationship to any table available in the current context."
I gues my approach may not be the propper one. Could you help me find a solution, please?
Solved! Go to Solution.
Hi @DavidGolden
Please try
NewMeasure =
SUMX (
Apport,
VAR CurrentPercent = Apposrt[%]
VAR TotalGroup =
SUMX ( RELATEDTABLE ( Group ), Group[Total] )
RETURN
TotalGroup * CurrentPercent
)
Hi @DavidGolden
Please try
NewMeasure =
SUMX (
Apport,
VAR CurrentPercent = Apposrt[%]
VAR TotalGroup =
SUMX ( RELATEDTABLE ( Group ), Group[Total] )
RETURN
TotalGroup * CurrentPercent
)
It´s worth noting that each Individual city appears more than once in the Apport table.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 37 | |
| 31 | |
| 27 | |
| 27 |