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,
When I prepared date for work completed, I use the logic below:
= Table.AddColumn(#"Changed Type15", "Custom", each if [WO Work Completed] <> #date(2099, 12, 31) then [WO Work Completed] else if [WO Date As Built Sub] <> #date(2099, 12, 31) then [WO Date As Built Sub] else if [WO Date As Built Rec] <> #date(2099, 12, 31) then [WO Date As Built Rec] else if [Date TECO 1st] <> #date(2099, 12, 31) then [Date TECO 1st] else #date(2099, 12, 31)).
However, the results are shown below:
WORK ORDER | WO Work Completed | WO Date As Built Sub | WO Date As Built Rec | Date TECO 1st | Work Completed Date Derived | Work complete date Expected | Variance |
40013831 | 21/05/2014 | 21/05/2014 | 21/05/2014 | - | |||
40013249 | 10/09/2014 | 9/10/2014 | 10/09/2014 | - 29.00 | |||
40013250 | 10/09/2014 | 9/10/2014 | 10/09/2014 | - 29.00 | |||
40013251 | 10/09/2014 | 9/10/2014 | 10/09/2014 | - 29.00 | |||
40013253 | 10/09/2014 | 9/10/2014 | 10/09/2014 | - 29.00 |
I found that the month and day were exhanged. how to fix these?
Regards,
Ling
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.