This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
dears good day!!
i would like to creat new column that has multiple if statment see pic below
my statment would be if time commit<9:00 AM then on time
if time commit between 9:00 am and 9:15 Am then almost late
if time commit between 9:15 Am and 9:30 AM then late
if time commit after 9:30 then after working hours
Solved! Go to Solution.
Hi,
Use the below code for creating the Column in your table :
Hi,
Use the below code for creating the Column in your table :
Hi
You can try with below DAX
Remarks = Var TimeCommit = TABLE[TIME_COMMIT]
RETRUN SWITCH (TRUE(),
TimeCommit < TIME(9,0,0), "On Time"
TimeCommit >= TIME(9,0,0) && TimeCommit < TIME(9,15,0), "almost late",
TimeCommit >= TIME(9,15,0) && TimeCommit < TIME(9,30,0), "late",
blank())
Appreciate a Kudos!
If this helps and resolves the issue, please mark it as a Solution!
Regards,
N V Durga Prasad
Check out the April 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 |
|---|---|
| 37 | |
| 32 | |
| 27 | |
| 24 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 50 | |
| 31 | |
| 26 | |
| 22 |