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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

HELP!

Hi I have a report that I'm running which has staff absences listed per staff member . One column is the absence start date, second column is the absence end date and finally a date showing the number of days lost between the date range. I need to work out how many absences in a 3 month period but I'm struggling to do this. Could anyone please help

3 REPLIES 3
AlB
Community Champion
Community Champion

@Anonymous 

You're not answering my questions. Show a sample of the relevant data/tables

Again, what 3 months? Is it the last three months from today? is it the first 3 months from the contract start date?

Please mark the question solved when done and consider giving a thumbs up if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

 

SU18_powerbi_badge

 

 

AlB
Community Champion
Community Champion

Hi @Anonymous 

You need to explain the problem better. What 3-month period? What exactly will be counted as 1 absence, a block of contiguous dates with absence? Please show sample data and the expected result, explaining the reasoning behind it

Please mark the question solved when done and consider giving a thumbs up if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

 

SU18_powerbi_badge

 

Anonymous
Not applicable

Hi sorry that would have helped. So I work in education and a period can start from the start of a contract so for example if I started on the 1st January 2021 and I was absent on 4th January for 1 day the 8th January for 1 day and again today that would be 3 separate occasions in less than 3 months from the start of my contract. The problem I'm having is there are so many contracts that start at different times that I'm struggling to find away to do this. 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.