Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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. ![]()
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 35 | |
| 31 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 75 | |
| 72 | |
| 38 | |
| 35 | |
| 25 |