Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
i want to create a colomn that devides the hours through the day into three time slots
8:00 AM- 4:00 PM
4:00 PM - 12:AM
12:00 AM- 8:00 AM
i have created the following calculated column :
however im only getting two timeslots in my filter instead of getting all the three timeslots :
can someone help with this
Solved! Go to Solution.
Hi @lawada
You need an AND (&&) instead of an OR (||) in the condition checks. And in the second line you actually need only to check if HOUR is >= 16. The < 00 will not work
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Hi @lawada
You need an AND (&&) instead of an OR (||) in the condition checks. And in the second line you actually need only to check if HOUR is >= 16. The < 00 will not work
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers