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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Creating a custom column with a New word if date column is empty or null

Hi, Trying to manage data that is missing info.  I have one column that shows type of 'termintaed' or 'new hire'.  I have another column that shows 'acquired date' .  The column that shows acquired date is for existing employees of a new company that we bought so they are really not a new hire.  I want to take the column with the current terminated or new hire, and add a new option in the column of aquired, based on if there is date in the 'acquired date' field.  Its got dates, blanks and null in it.

 

The columns are all in the same table.  Do I do this in query editor or a dax measure or column in desktop?  And what would be the formula?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

You could create a calculated column using IF() and ISBLANK() function.

https://docs.microsoft.com/en-us/dax/if-function-dax 

https://docs.microsoft.com/en-us/dax/isblank-function-dax 

 

Best Regards,

Jay

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

You could create a calculated column using IF() and ISBLANK() function.

https://docs.microsoft.com/en-us/dax/if-function-dax 

https://docs.microsoft.com/en-us/dax/isblank-function-dax 

 

Best Regards,

Jay

lbendlin
Super User
Super User

You do that in Power Query Editor, or in DAX as a calculated column (not as a measure)

Please provide sanitized sample data that fully covers your issue. Paste the data into a table in your post or use one of the file services. Please show the expected outcome.

 

Helpful resources

Announcements
Join our Fabric User Panel

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.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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