Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 37 | |
| 31 | |
| 29 | |
| 26 |