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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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!
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 129 | |
| 104 | |
| 56 | |
| 39 | |
| 31 |