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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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
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.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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