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!View all the Fabric Data Days sessions on demand. View schedule
Hi
I hope you can help!
I have three tables;
DISREPAIR DATA is a list of properties where a claim has been raised because the property is in disrepair and it contains a property reference.
REPAIR FOLLOWING DISREPAIR is the other table is where a repair has been raised following a disrepair claim, it also contains a property reference.
PROPERTY DATA third table is the property table with a property reference.
DISREPAIR DATA and REPAIR FOLLOWING DISREPAIR are connected to PROPERTY DATA using one-to-many relationships.
I want to calculate the cost of REPAIR FOLLOWING DISREPAIR (there is a repair cost column) ensuring that only property references which appear in both DISREPAIR DATA and REPAIR FOLLOWING DISREPAIR are calculated.
How would I do this? I thought it would be either relatedtable or related function but I can't get it to work.
Thanks in advance!
Solved! Go to Solution.
@Anonymous you can try out a measure like this
Measure =
CALCULATE (
SUM ( DisrepairFollowingRepair[RepairAmount] ),
TREATAS (
VALUES ( DisrepairData[Property Reference] ),
DisrepairFollowingRepair[Property Reference]
)
)
Hi
I hope the below is ok!
So I want to work out the repair amount in the Disrepair Following Table but only if the property reference in Disrepair Following Repair appears in the Disrepair Data table @amitchandak
@smpa01 I owe you a pint plus I've learnt something knew too which I've been trying to learn, thank you!!!
@Anonymous you can try out a measure like this
Measure =
CALCULATE (
SUM ( DisrepairFollowingRepair[RepairAmount] ),
TREATAS (
VALUES ( DisrepairData[Property Reference] ),
DisrepairFollowingRepair[Property Reference]
)
)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 13 | |
| 9 | |
| 9 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 28 | |
| 20 | |
| 20 | |
| 19 | |
| 12 |