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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.