Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi there ;
i have a column which shows "day" value as below left , i would like to create a new column that writing status according to below rule
İf day column value is between -3 and +3 status = on time
if day column is bigger than +3 status is = late
if day column is smaller than -3 status is early
thanks in advance
day | Status |
0 | On time |
3 | On time |
5 | Late |
2 | On time |
1 | On time |
-6 | Early |
-4 | Early |
-3 | On time |
-1 | On time |
Solved! Go to Solution.
Hi @erhan_79
Status Column =
SWITCH(TRUE(),
[day] < -3, "early",
[day] > 3, "late",
"on time"
)
User | Count |
---|---|
117 | |
73 | |
58 | |
49 | |
48 |
User | Count |
---|---|
171 | |
122 | |
60 | |
59 | |
56 |