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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi Guys,
I jhave a problem with DATEDIFF formula.
I need to make the formula on date fields of different tables.
Please help me.
Ex. DATEDIFF between HH Doc Date and B.P. Req Date.
Thanks
Solved! Go to Solution.
DateDifference =
VAR StartDate = MAX(Table[HH Doc Date])
VAR EndDate = MAX(Table[B.P. Req Date])
RETURN
DATEDIFF ( StartDate, EndDate, DAY )
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
DateDifference =
VAR StartDate = MAX(Table[HH Doc Date])
VAR EndDate = MAX(Table[B.P. Req Date])
RETURN
DATEDIFF ( StartDate, EndDate, DAY )
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!