Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
i have 3 tables as follows
table 1 :
table 2 :
table 3 :
i need to get the sum of table1[value] and instert it as a column in table[3] as i will make extra calculations after this
Relations are as follows:
table1[code] & table2[code] , many to one.
table2[type] & table3[type] , one to many.
id column in table1 and table 3 has duplicates
Solved! Go to Solution.
Please try
CalculatedColumn =
SUMX (
FILTER (
CALCULATETABLE ( table1, CROSSFILTER ( table2[type], table3[type], BOTH ) ),
table1[id] = table3[id]
),
table1[value]
)
Hi @mhusaein
what are the cardinalities of these relationships? Which ones are active and which are in inactive?
Hi @tamerj1 , i updated table 2 , doesn't contain an id column now.
also added more details about the tables relations in the original post
Please try
CalculatedColumn =
SUMX (
FILTER (
CALCULATETABLE ( table1, CROSSFILTER ( table2[type], table3[type], BOTH ) ),
table1[id] = table3[id]
),
table1[value]
)
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | 
| User | Count | 
|---|---|
| 23 | |
| 12 | |
| 11 | |
| 10 | |
| 9 |