Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello,
I´ve been trying to use date difference between two columns in a database and Im unable to link them in the measure formula. Whenever I try to input ' the only options available are my other set of measures.
Basically what I´m looking to do is to calculate the delay between scheduled date and shipment date.
Thank you for your time.
Solved! Go to Solution.
Hi @Shackwell ,
Try something like this:
Days Difference = SUMX('yourTable', DATEDIFF('yourTable'[ScheduleDate], 'yourTable'[ShipmentDate], DAY))
Thanks,
Pragati
Hi @Shackwell ,
Try something like this:
Days Difference = SUMX('yourTable', DATEDIFF('yourTable'[ScheduleDate], 'yourTable'[ShipmentDate], DAY))
Thanks,
Pragati
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 41 | |
| 40 | |
| 36 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 67 | |
| 58 | |
| 30 | |
| 27 | |
| 25 |