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 Experts, I thought I had this covered and after some months, i realised I have overlooked the mistake on Conditional Column. I have these dates columns - Start date, End Date, Shpt ETD, Shpt ETA... and by job type, I set the conditional column to pick the date into the column (R-Date I call it). If the job is "OB", it will take Shpt ETD. Else, Start Date. Somehow, when Shpt ETD is null, it does not take the Start date.
I attach a screen grab of the file and conditional column setting.
I will very grateful if someone can help me to understand "Else if" in this issue here. Thanks.
Sincerely.
Patrick
Solved! Go to Solution.
Hi @PGAT ,
From your statement of requirement , Somehow, when Shpt ETD is null, it does not take the Start date.
You have only specified the condition for JobType Equals OB then Shpt ETD, but does not specify that if Shpt ETD is null take Start Date.
Can you post this step in Power Query here to make changes.
Cheers
CheenuSing
Hi @PGAT ,
From your statement of requirement , Somehow, when Shpt ETD is null, it does not take the Start date.
You have only specified the condition for JobType Equals OB then Shpt ETD, but does not specify that if Shpt ETD is null take Start Date.
Can you post this step in Power Query here to make changes.
Cheers
CheenuSing
Hi CheenuSing,
Thanks. I have thought that the "ELSE" = Start Date will apply if the rule above does not apply. How do I use "ELSE"?
I added the last two steps as per your advice. The "null" in R-Date has gone down in numbers but still I cannot figure out why some records are null.
Hi CheenuSing, further to my reply below, I thought I may have done it wrong. I tried moving the condition up to the right place but despite the shift, i still cannot get "start date" when ETD = null. Appreciate your advice to this, and also your guidance on how to use "ELSE" at the end of it. Thanks.
Hi CheenuSing, I got it now. I moved the rule (ETD=null, use Start) to the 1st rule. Thank you!
Hi,
If the first reply has solved your issue, please mark it as a solution for others to see.
Thanks!
Best Regards,
Giotto
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 |
---|---|
104 | |
95 | |
80 | |
67 | |
62 |
User | Count |
---|---|
147 | |
109 | |
107 | |
85 | |
63 |