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! Get ahead of the game and start preparing now! Learn more
Hello,
I am currently building a dashboard and having trouble creating an expression computing the difference between dates.
This issue is there are three dates to account for
The Created date
The Due Date
The Negotiated Due Date.
In my scenario I need an expression to compute the time lapsed between the Created date and the Negotiated due date UNLESS the negotiated due date is null, then instead I need the difference between the created date and the Due Date.
Any help would be greatly appreciated!
Hi @Anonymous,
I guess you need a calculated column like this:
In plain text:
Difference Calculated Column =
DATEDIFF ( [Created Date], IF ( ISBLANK ( [Negotiated Due Date] ), [Due Date], [Negotiated Due Date] ), DAY )
Best Regards,
Alexander
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 11 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 19 | |
| 12 | |
| 11 |