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!
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.
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 |
|---|---|
| 56 | |
| 42 | |
| 40 | |
| 21 | |
| 20 |
| User | Count |
|---|---|
| 150 | |
| 106 | |
| 65 | |
| 36 | |
| 36 |