Hello!
I have the following tables:
Tab 1: Dayparts
Daypart Slot Start Slot End
Early morning 07:00 09:59
Morning 10:00 12:59
......
Tab 2: Programmes
Programme Slot mid point Daypart
News 11:35 {DAX formula}
What I want to is to get a new column in the Programmes table that returns the value in Daypart if the Slot Mid Point falls between Slot Start and Slot End.
I would use Calculate if Daypart contained numbers, but what formula do I need to use so that I can get the right value from Dayparts/Daypart using the time conditions?
Any help much appreciated!
Many thanks,
George.