Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
murali5431
Helper III
Helper III

Considering null value date as incomplete

Hi,

 

I have 4 columns of date fields in my dataset. I am trying to build a calculated column which shows status as completed only if all 4 timeline columns have a date entered. 

 

If any one column is blank, it should consider as pending under "Completion status" as shown below. Please assist. Thanks in advance! 

 

Timeline1Timeline2Timeline3Timeline4Completion status
01-Aug-2005-Aug-20  Pending
02-Aug-2004-Aug-2008-Aug-2015-Aug-20Completed
01-Aug-20   Pending
01-Aug-2005-Aug-2007-Aug-20 Pending
05-Aug-2010-Aug-2011-Aug-2017-Aug-20Completed

 

Thanks,

Muralidhar

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@murali5431 , Create a new column like

if(not(isblank([Timeline1])) && not(isblank([Timeline2])) && not(isblank([Timeline3])) && not(isblank([Timeline4])) , "Completed" , "Pending")

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@murali5431 , Create a new column like

if(not(isblank([Timeline1])) && not(isblank([Timeline2])) && not(isblank([Timeline3])) && not(isblank([Timeline4])) , "Completed" , "Pending")

Thanks a lot... @amitchandak 

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

Top Solution Authors