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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
ToddMate
Helper II
Helper II

If between two times.

Hi,

 

I have a table called X_Phone with a column called Call Time in HH:MM:SS AM/PM format.

 

What i would like to do is create a measure that basically says, if the Call Time is > 06:00:00 PM and < 11:59:59 PM then "Off Peak" otherwise "Peak".

 

Can anyone assist me in creating this measure. 

 

Todd

1 ACCEPTED SOLUTION
Gordonlilj
Solution Sage
Solution Sage

1 REPLY 1
Gordonlilj
Solution Sage
Solution Sage

Hi,

 

Try the solution provided here

If condition between two times

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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