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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
tebtim19
Helper IV
Helper IV

Replace from date to empty

Is there anyway I can replace my data from blank, 

I have a terminate date which is set to 5555.12.31 for permanent employees and I want to replace that data to blank so I don't have any problem getting.

 

Active Employee

terminated Employee

New Joiner Employee. 

 

It's a bit complicated as I use date slicer. 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@tebtim19 , In DAX a new column

T date = if([termination date] = date(5555,12,31), blank(), [termination date])

 

and use

 

or use this formula with my blog

 

Current Employees = CALCULATE(COUNTx(FILTER(Employee,Employee[Start Date]<=max('Date'[Date]) && (Employee[End Date] = (5555,12,31) || Employee[End Date]>max('Date'[Date]))),(Employee[Employee Id ])),CROSSFILTER(Employee[Start Date],'Date'[Date],None))

 

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@tebtim19 , In DAX a new column

T date = if([termination date] = date(5555,12,31), blank(), [termination date])

 

and use

 

or use this formula with my blog

 

Current Employees = CALCULATE(COUNTx(FILTER(Employee,Employee[Start Date]<=max('Date'[Date]) && (Employee[End Date] = (5555,12,31) || Employee[End Date]>max('Date'[Date]))),(Employee[Employee Id ])),CROSSFILTER(Employee[Start Date],'Date'[Date],None))

 

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors