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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors