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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
ipon70
Helper I
Helper I

Class Schedule with Random Start times

Hello,

I am trying to make a class scheduler. 

Here is what I have already cleaned up and imported.

The class list with length of class, the day and times everyone works.

I have working the "class picker" and "date to schedule".  What isn't working is the time frame for the student.

Lets say a worker shows up for work at 10:00am and works until 6:30pm.

I want to schedule a class at 2:00pm that will end at 4:30pm.

That person is here for that entire time frame, but because his start time is 10:00am the slicer doesn't know to include him.

In excel I could see a "IF(AND(worker start time <= class start time, worker end time<=class end time),"YES","NO"))  But in PowerBi I am struggling.

I believe I need something like Class start time + the Length of the class = X

then

X is <= Workers End Time

 

I hope that made sense.

I am working on Version: 2.100.1401.0 64-bit (December 2021) of the desktop software.

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

HI @ipon70,

It sounds like a date range defined by multiple fields analysis requirement. I'd like to suggest you take a look at the following blog start end date part if it helps for your scenario.

Before You Post, Read This: start, end date 
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

HI @ipon70,

It sounds like a date range defined by multiple fields analysis requirement. I'd like to suggest you take a look at the following blog start end date part if it helps for your scenario.

Before You Post, Read This: start, end date 
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.