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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.