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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors