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
julsh41
Helper II
Helper II

Excluding dates prior to Hire date

I have a date table and added columns to identify week days vs weekends and added a column to reduce available days by federal holidays.  I am try to figure out how to reduce 2018 available hours for specific employees based on their hire date.  

 

 screen shot

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @julsh41,

 

Please share some sample data with expected result to help us clarify your requirement, it is hard to coding formula without any detail information.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

So I actually got this to work from suggestions from another user.  I simply changed the direction on the relationship between my date table and my employee table from single to both.  So now I get available hours per person based on their hire date.  The problem I am having now is that the matrix column won't sum by those values.  It only gives me the Available hour MAX if you will.  see picture below...the billable hours column sums correctly, and the Utilization subtotal is doing the correct math.  However, the Available hours column is wrong.  that should equal 13,720.  Any advice would be appreciated.

 

Subtotals 2.PNG

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.