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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
aravinthets
Regular Visitor

DAX Query

Hi All 

     i need your help to solve the following report query.

I have a employee time log data,from that i need to prepare monthly attendance report.

 

https://drive.google.com/file/d/1nu2damM4PXcRrsObSTDGW5Wo3JL13a0H/view?usp=sharing 

 

The data contains the following information

1. Date

2.Employee Name

3.Activity Code

4.Start time

5.End Time

6.Total Hrs

 

Note :

1.Employee leave also captuer in the time log by selectingactivity code as "Leave"

2.Half day leave also available

3.Employee may enter multiple time slot for a single day

4.want to show total number of working days in one column

5.If there is no time log for the day except sunday then it should mark as absent

 

2 REPLIES 2
TomMartens
Super User
Super User

Hey @aravinthets ,

 

what you want is not totally clear, at least not to me. Please take the time and prepare sample data. Upload the pbix to onedrive or dropbox and share the link. If you are using Excel to create the sample data, share the xls as well.

 

Describe your expected outcome based on the sample data you provide.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Hi Tom

     Thanks for your email. Herewith I have attached a excel sheet which contains input sheet and expected result sheet.

 

 

Thanks

Aravinth Thttps://drive.google.com/file/d/1nu2damM4PXcRrsObSTDGW5Wo3JL13a0H/view?usp=sharing 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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