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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
I have a column called CheckIn Time.
Data type: Text , Format: Text, Data category: Uncategorized.
I want to create a new column called Period of the day. Same like the one in the pic. In period of the day, i want to categorize the
checkin Time into different period of the day. How do i Start?
Please help ..
Solved! Go to Solution.
@Samiks95 , Create a new column
=
var _time = timevalue([Checkin time])
return
Switch( True() ,
_time < time(7,0,0) , "Early Morning",
_time < time(7,0,0) , "Last Morning",
// add other
"Late Night")
Change as per need
@Samiks95 , Create a new column
=
var _time = timevalue([Checkin time])
return
Switch( True() ,
_time < time(7,0,0) , "Early Morning",
_time < time(7,0,0) , "Last Morning",
// add other
"Late Night")
Change as per need
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 31 | |
| 19 | |
| 12 | |
| 11 |