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
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!
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!