This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi,
I was wondering if there is a way to get sum of two measures where the date table relationships are inactive and active.
For example:
x1 Date table
x1 Salesforce Table
There Salesforce Table contains two dates Created Date (inactive relationship) & Closed Date (active relationship)
The measures i have
Open Revenue =
CALCULATE(SUM(ABC),
USERELATIONSHIP(Date[Date],Salesforce[CreatedDate]))
Won Revenue =
CALCULATE(SUM(ABC),
(Date[Date])
However, when i sum them up and use slicer to filter specific month I get a different number
Thanks in advance
Solved! Go to Solution.
Hi @fazza1991 ,
I think [Open Revenue] should be correct, you should remove (Date[Date]) in [Won Revenue] measure.
Won Revenue =
CALCULATE(SUM(ABC))
My Sample:
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
sorry i didnt get a notification on this response but worked thank you
sorry i didnt get a notification on this response but worked thank you
Hi @fazza1991 ,
I think [Open Revenue] should be correct, you should remove (Date[Date]) in [Won Revenue] measure.
Won Revenue =
CALCULATE(SUM(ABC))
My Sample:
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 26 | |
| 25 | |
| 22 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 42 | |
| 41 | |
| 40 | |
| 21 | |
| 20 |