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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.