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 nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
I have two tables:
The Opportunity table contains many different date columns, including:
Now I want to use the inactive relationships, so I have created the DAX measures below:
Sales by Est. Order Date:
CALCULATE (
SUM ( Opportunity[actualvalue_base] );
USERELATIONSHIP (
Opportunity[Est. Order Date];
'Date'[Date]
)
)The DAX Measure above is working as supposed for the inactive relationship for Est. Order Date , and I get the result I expected:
Now, when I try to use the Created Date column the same way - using the USERELATIONSHIP function as below it suddenly doesn't work.
Sales Price by Created Date:
CALCULATE (
SUM ( Opportunity[actualvalue_base] );
USERELATIONSHIP (
Opportunity[Created On];
'Date'[Date]
)
)
Am I doing anything wrong or is this due to any limitations with the function?
Solved! Go to Solution.
I can answer my own question.
I had to transform the Created Date from Date/Time to Date. Now it works. ![]()
I can answer my own question.
I had to transform the Created Date from Date/Time to Date. Now it works. ![]()
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 25 | |
| 20 | |
| 20 | |
| 20 | |
| 20 |