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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
NidhiBhusari
Helper IV
Helper IV

Status change of employee upon dynamic date selection using slicer

Given is the Emp Name, Start Date and EndDate of project during this period the employee was considered as BILLABLE. If any other Date is selected from slicer which is not in StartDate and EndDate then Status must show as NONBILLABLE.

Employee NameFromDateToDate
07-07-202107-12-2021
B08-04-202108-10-2021
C09-03-202109-11-2021
D10-07-202110-12-2022
E11-01-202011-12-2021
F12-08-202112-01-2022
G13-02-202113-06-2021
H14-05-202114-01-2022

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@NidhiBhusari , Create a measure as current employees give in this blog.

 

Then plot table date(from date table) and employee

 

a new measure you need is

example, few more filters to be added

if(isblank([current employee]) , "Non billable", "Billable")

 

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

2 REPLIES 2
NidhiBhusari
Helper IV
Helper IV

@amitchandak thanks for quick response and exact solution...It's working.

amitchandak
Super User
Super User

@NidhiBhusari , Create a measure as current employees give in this blog.

 

Then plot table date(from date table) and employee

 

a new measure you need is

example, few more filters to be added

if(isblank([current employee]) , "Non billable", "Billable")

 

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.