The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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!
User | Count |
---|---|
65 | |
60 | |
60 | |
53 | |
27 |
User | Count |
---|---|
181 | |
88 | |
70 | |
48 | |
46 |