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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
caznaran
Helper I
Helper I

Count emails sent during non-working hours

Is there a way to obtain the number of emails being sent during non-working hours in a Microsoft 365 tenant?

 

We're aiming to create a Digital Disconnection score to count emails that shouldn't be sent until next day for reliefing the stress of the team.

 

Is there any standard Microsoft 365 database I can use for this query?

1 ACCEPTED SOLUTION
v-janeyg-msft
Community Support
Community Support

Hi, @caznaran 

 

If you are using Outlook mailbox, you can get the corresponding data through the PBI connector, then you can count the data you want.

Like this:

4.png3.png

If it doesn’t solve your problem, please feel free to ask me.

 

Best Regards

Janey Guo

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-janeyg-msft
Community Support
Community Support

Hi, @caznaran 

 

If you are using Outlook mailbox, you can get the corresponding data through the PBI connector, then you can count the data you want.

Like this:

4.png3.png

If it doesn’t solve your problem, please feel free to ask me.

 

Best Regards

Janey Guo

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@caznaran , This video talks about how to deal with business hours. See if that can help to get opposite of it https://exceleratorbi.com.au/calculating-business-hours-using-dax/

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks for the help. I actually want to know if there is a datasource (like O365 Analytics) for all emails being sent from a tenant. I do not want to read the contents but just basic stats like number of emails sent during non-working hours. 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.