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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
I have 2 tables:
1. DIM table: CostCenters
-Id
2. FACT Table: Revenue
-OriginalId
-NewId
-Amount
There is a relation between CostCenters.Id and Revenue.NewId and I can easyily calculate the "Sum of Amount" of CostCenter.NewId.
However, I need a measure that gives me the "Sum of Amount" for the CostCenter.OriginalId.
I tried many things but nothing works 😞
Any help would really be appreciated.
Thx Christian
Solved! Go to Solution.
Hi @_chris_ ,
If I understand your question correctly then you need follow below steps:-
1. Create a inactive relationship between CostCenters.Id and Revenue.OriginalId
2. Create a measur as below:-
measure_ =
CALCULATE (
SUM ( Revenue[Amount] ),
USERELATIONSHIP ( CostCenters[Id], Revenue[OriginalId] )
)
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Thank you very much, Samarth!
I had in mind that it is possible to solve problems like this with an inactive relationsship. However, I did not know how to do this exactly.
On the other hand (as I am coming from SQL) where you can just join tables together without the need to add something to the (not existing) model, I am wondering if there is a way to achieve this w/o the need to create a relationship beforehand?
Anyway, I will accept your solution!
BR Christian
Hi @_chris_ ,
If I understand your question correctly then you need follow below steps:-
1. Create a inactive relationship between CostCenters.Id and Revenue.OriginalId
2. Create a measur as below:-
measure_ =
CALCULATE (
SUM ( Revenue[Amount] ),
USERELATIONSHIP ( CostCenters[Id], Revenue[OriginalId] )
)
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
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 |
---|---|
13 | |
11 | |
9 | |
8 | |
8 |