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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.