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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Because there are multiple dates within the table I must use the USERELATIONSHIP dax. Here is what I have:
Solved! Go to Solution.
Hi there!
I would be like this:
CALCULATE(
[OE]
DATESYTD( 'Calendar'[Date] ),
USERELATIONSHIP( 'Calendar'[Date], Sheet2[CREATE_DATE] )
)
Let me know if that helps!
Hi there!
I would be like this:
CALCULATE(
[OE]
DATESYTD( 'Calendar'[Date] ),
USERELATIONSHIP( 'Calendar'[Date], Sheet2[CREATE_DATE] )
)
Let me know if that helps!
That did it, thank you! How could I enter USERELATIONSHIP in this DAX?
Just add it as another argument of your calculate expression, as it will enable the indicated relationship for the duration of the calculation. Should be like this:
CALCULATE (
SUM ( 'Sheet2'[ORDER_QTY] ),
FILTER (
ALLSELECTED ( 'Calendar'[Date] ),
ISONORAFTER ( 'Calendar'[Date], MAX ( 'Calendar'[Date] ), DESC )
),
USERELATIONSHIP ( 'Calendar'[Date], Sheet2[CREATE_DATE] )
)
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!