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
Jeremyd
New Member

Time spent vs time available

I am pulling my calendar events from 365 where i have everything with a standard category.  I can calculate my time spent for each event, and percentage of a day.  But what I can't account for is when there is no event on the calendar.

For example, if i have a 2 hour meeting on Monday, power bi will pull data for Monday and calculate, but if don't have any meetings on Tuesday I should still beable to calculate 8 hours that I was available.

I was thing of new date table with everyday listed and hours available based on weekday and just calculating off of it.

 

And thoughts?

1 REPLY 1
Mahesh0016
Super User
Super User

 
So you can use filter TREATAS for match with fact table.
For E.g TREATAS(VALUES(Table B[date]),Date[Date]) it's give fact table base result

 

@Jeremyd I hope this helps you. Thank You!!

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.