Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All,
I need a Help!
I want to make a new column of status. What i want to make is Status column.
There are 4 categories that i want to have as conditions below.
Condition :
1. Delivered on time : Comparing Actual Delivery date with Target date, it is on time then,
2. Delivered Late : Comapring Actual Delivery with Target Date, it's delivered late then,
3. Delayed : No Delivery date and also passed Target Date then,
4. To be delivered : Target date is not yet come then...
Actual Delivery Date | ROS TARGET | Status |
null | 17/09/2019 | Delayed |
null | 06/05/2020 | to be delivered |
null | 31/07/2019 | Delayed |
null | 31/07/2019 | Delayed |
null | 31/07/2019 | Delayed |
06/08/2019 | 01/05/2019 | Delivered Late |
06/08/2019 | 01/05/2019 | Delivered Late |
null | 31/07/2019 | Delayed |
null | 01/05/2019 | Delayed |
06/08/2019 | 01/05/2019 | Delivered Late |
null | 31/07/2019 | Delayed |
null | 09/05/2019 | Delayed |
null | 31/07/2019 | Delayed |
null | 31/07/2019 | Delayed |
23/07/2019 | 16/05/2019 | Delivered Late |
23/07/2019 | 16/05/2019 | Delivered Late |
03/06/2019 | 16/05/2019 | Delivered Late |
03/06/2019 | 16/05/2019 | Delivered Late |
18/01/2019 | 20/09/2019 | Delivered on time |
18/01/2019 | 20/09/2019 | Delivered on time |
18/01/2019 | 20/09/2019 | Delivered on time |
18/01/2019 | 20/09/2019 | Delivered on time |
18/01/2019 | 20/09/2019 | Delivered on time |
18/01/2019 | 20/09/2019 | Delivered on time |
18/01/2019 | 20/09/2019 | Delivered on time |
Is there any idea?
Thank you,
CL
Solved! Go to Solution.
try this calculated column
STATUS = if(and(NOT(ISBLANK(Table1[Actual Delivery Date]));Table1[Actual Delivery Date]<=Table1[ROS TARGET]);"Delivered on time";if(not(isblank(Table1[Actual Delivery Date]));"Delivered Late";if(and(isblank(Table1[Actual Delivery Date]);NOW()>Table1[ROS TARGET]);"Delayed";"To be delivered")))
try this calculated column
STATUS = if(and(NOT(ISBLANK(Table1[Actual Delivery Date]));Table1[Actual Delivery Date]<=Table1[ROS TARGET]);"Delivered on time";if(not(isblank(Table1[Actual Delivery Date]));"Delivered Late";if(and(isblank(Table1[Actual Delivery Date]);NOW()>Table1[ROS TARGET]);"Delayed";"To be delivered")))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
94 | |
84 | |
67 |