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 September 15. Request your voucher.

Reply
AshishTanwar88
Frequent Visitor

Hi, Prepare date wise summary for emplyees not sending attendance by department

Hi,

 

I need help preparing a summary report for employees' attendance by the department. I have two tables Employee and Daily attendance. The employee table has the department Name and EmployeeId And the other table contains the daily entry of the present employee for each day. I need to prepare a summary report for each day and each department with the count of employees not present on the given date. I am attaching a picture ofScreenshot 2024-12-03 at 5.51.53 PM.png the table structure and the final required report. Please provide some guidance to fulfill my requirements. Thanks a lot.

1 ACCEPTED SOLUTION
danextian
Super User
Super User

hi @AshishTanwar88

 

  1. Create ane to many relationship from DepartmentTable[EmployeeID] to EntryTable[EmployeeID]
  2. Create a measure that counts the records of entry table COUNTROWS (EntryTable)
  3. Select Matrix viz and add EntryTable[Date] and  DeparmentTable[DepartmentName] to row tile and the measure to the value tile

Please see screenshots of a sample below:

danextian_0-1733231459134.png

danextian_1-1733231475848.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

2 REPLIES 2
danextian
Super User
Super User

hi @AshishTanwar88

 

  1. Create ane to many relationship from DepartmentTable[EmployeeID] to EntryTable[EmployeeID]
  2. Create a measure that counts the records of entry table COUNTROWS (EntryTable)
  3. Select Matrix viz and add EntryTable[Date] and  DeparmentTable[DepartmentName] to row tile and the measure to the value tile

Please see screenshots of a sample below:

danextian_0-1733231459134.png

danextian_1-1733231475848.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Thanks a lot, @danextian , This is exactly what I was looking for 🙂 

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.