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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 50 | |
| 42 | |
| 23 | |
| 20 |
| User | Count |
|---|---|
| 139 | |
| 116 | |
| 53 | |
| 37 | |
| 31 |