Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Trying to calculate Days between 2 date columns. Both Columns have nulls or no values
07-11-2022
11:39 AM
There is Actual Start and Actual End Date. Both columns have null values as project is in progress or no given date. Keep getting errors on below. Any suggestions? Just trying to get a number value on the difference between these 2 columns. Thanks
Days Between = If('BI Projects'[Actual Start]=BLANK(),"",DATEDIFF('BI Projects'[Actual Start], 'BI Projects'[Actual End],DAY))
Solved! Go to Solution.
1 ACCEPTED SOLUTION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2022
12:28 PM

Hi @ResearchDev
PLease try
Days Between =
IF (
'BI Projects'[Actual Start] <> BLANK ()
&& 'BI Projects'[Actual End] <> BLANK (),
DATEDIFF ( 'BI Projects'[Actual Start], 'BI Projects'[Actual End], DAY )
)
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2022
12:35 PM

Thanks so much! Worked like magic!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2022
12:28 PM

Hi @ResearchDev
PLease try
Days Between =
IF (
'BI Projects'[Actual Start] <> BLANK ()
&& 'BI Projects'[Actual End] <> BLANK (),
DATEDIFF ( 'BI Projects'[Actual Start], 'BI Projects'[Actual End], DAY )
)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2022
07:03 AM

Thanks so much!

Helpful resources
Announcements
Join our Fabric User Panel
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Power BI Monthly Update - June 2025
Check out the June 2025 Power BI update to learn about new features.

Featured Topics
Top Solution Authors (Last Month)
User | Count |
---|---|
65 | |
63 | |
52 | |
37 | |
36 |
Top Kudoed Authors (Last Month)
User | Count |
---|---|
82 | |
66 | |
61 | |
46 | |
45 |