cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Hutchisoni Frequent Visitor
Frequent Visitor

Absence Stats Help

I have 3 tables

 

1 Employee table contains Employee ID & Employee Name

1 Employee Job table contains Employee ID, Job Description, Start Date, End Date, Contracted Hours

1 Absence table contains Employee ID, Date Absent, Hours absent

 

Im looking how I can display a table showing all employees employed by month showing total hours contracted and next to these any applicable hours lost for the employee.

 

I need to let the user filter by month & year and preferrably report for the whole year or parts of the year. 

 

Im really struggling with this as it deals with start and end dates and not just one date field. 

 

Any help would be much appreciated.

 

Thanks

 

Ian

1 ACCEPTED SOLUTION

Accepted Solutions
Super User IV
Super User IV

Re: Absence Stats Help

@Hutchisoni you need to break down your employee job table by date which can be done in power query and then it is easier. here is an example on how to break down by date.

 

Let me know if you need further help. 

 






Did I answer your question? Mark my post as a solution.

Proud to be a Datanaut! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





View solution in original post

2 REPLIES 2
Super User IV
Super User IV

Re: Absence Stats Help

@Hutchisoni you need to break down your employee job table by date which can be done in power query and then it is easier. here is an example on how to break down by date.

 

Let me know if you need further help. 

 






Did I answer your question? Mark my post as a solution.

Proud to be a Datanaut! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





View solution in original post

Microsoft v-ljerr-msft
Microsoft

Re: Absence Stats Help

Hi @Hutchisoni,

 

Have you tried the solution provided by @parry2k above? Does it work in your scenario? If it works, could you accept it as solution to close this thread?

 

If you still have any question on this issue, feel free to post here. Smiley Happy

 

Regards

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors