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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
PhazeRCIL
Frequent Visitor

How to filter workday when day goes over to 3am?

Hello,

I am trying to make a simple statment that checks if it is the current day based off of my calendar. 

IsToday = IF(DimDate[Date] = TODAY(), "Yes", "No")


But our day starts at 3am and ends at 3am the next day. So with this formula if the current date is the 26th, TODAY() is the 26th, but as midnight rolls over and the date changes to the 27th, TODAY() becomes the 27th. What I want is for it to stay the 26th until 3am on the 27th.

 

What would be the best way to solve this problem?

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

subtract 1/8 from your datetime value.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

subtract 1/8 from your datetime value.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors