Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin 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
I have a table that contains, among many others, fields called "DateScreened" and "DateOffered".
I need to create a new column ("Date Screeened to Date Offered") that shows the number of days between the 2 dates, but only when both are populated (it is not mandatory for either of these rows to be populated).
My new column is currently built like this:
Solved! Go to Solution.
Hi @OobuJoobu,
How about this:
Date Screeened to Date Offered =
IF (
OR ( ISBLANK ( [DateOffered] ), ISBLANK ( [DateScreened] )),
BLANK(),
[DateOffered] - [DateScreened]
)
Let me know if this helps 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
| Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
| Also happily accepting Kudos 🙂 |
| Feel free to connect with me on LinkedIn! | |
| #proudtobeasuperuser | |
Hi @OobuJoobu,
How about this:
Date Screeened to Date Offered =
IF (
OR ( ISBLANK ( [DateOffered] ), ISBLANK ( [DateScreened] )),
BLANK(),
[DateOffered] - [DateScreened]
)
Let me know if this helps 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
| Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
| Also happily accepting Kudos 🙂 |
| Feel free to connect with me on LinkedIn! | |
| #proudtobeasuperuser | |
Absolutely perfect, thank you!
Hi,
You can try below DAX
Date Screened to Date Offered = IF( [DateScreened] = BLANK(), BLANK(),[DateOffered] - [DateScreened])
Appreciate a Kudos!
If this helps and resolves the issue, please mark it as a Solution!
Regards,
N V Durga Prasad
Thank you, I expect that works perfectly, I've already tried the solution from @tackytechtom whch does the job lso.
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 |
|---|---|
| 48 | |
| 40 | |
| 38 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 68 | |
| 67 | |
| 30 | |
| 26 | |
| 26 |