This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello! I am looking to create a formula that's if this and that, then this with time.
I want: If the time is between 6am-5:10pm, then "First Shift"
and if the time is between 5:25pm - 5:55am, then "Second Shift"
Thanks in advance!
Solved! Go to Solution.
Hi @nataliesmiy1357 - create below calculated column in your table, replace your Datetime column as per your model.
Hope it helps
Proud to be a Super User! | |
Hi @nataliesmiy1357 - create below calculated column in your table, replace your Datetime column as per your model.
Hope it helps
Proud to be a Super User! | |
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 32 | |
| 25 | |
| 23 | |
| 22 | |
| 13 |
| User | Count |
|---|---|
| 61 | |
| 47 | |
| 27 | |
| 24 | |
| 19 |