Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have a table below where I need to find the occurances where the Application status changes from Incomplete to complete for the same application ID's on the same day.
Date | Application ID | Outcome | Application Start Time | Application End TIme | Occurrence |
30-06-2021 | 123456789 | Incomplete | 30-06-2021 15:44 | 30-06-2021 15:53 | |
02-07-2021 | 123456789 | Incomplete | 02-07-2021 14:57 | 02-07-2021 15:04 | |
02-07-2021 | 123456789 | Complete | 02-07-2021 14:57 | 02-07-2021 15:04 | 1 |
30-06-2021 | 234567891 | Incomplete | 30-06-2021 15:44 | 30-06-2021 15:53 | |
02-07-2021 | 234567891 | Incomplete | 02-07-2021 14:57 | 02-07-2021 15:04 | |
03-07-2021 | 234567891 | Complete | 03-07-2021 14:57 | 03-07-2021 15:04 | 0 |
Solved! Go to Solution.
@NoviceBloke12 , Create a new column like
var _max = maxx(filter(Table, [Application ID] = earlier([Application ID]) && [Application End TIme] < earlier([Application End TIme]),[Application End TIme])
var _st = maxx(filter(Table, [Application ID] = earlier([Application ID]) && [Application End TIme] =_max && [date] = earlier([date]) ),[Outcome])
return
if([Outcome] = "Complete" && [Outcome] = "Incomplete", 1, 0)
@NoviceBloke12 , Create a new column like
var _max = maxx(filter(Table, [Application ID] = earlier([Application ID]) && [Application End TIme] < earlier([Application End TIme]),[Application End TIme])
var _st = maxx(filter(Table, [Application ID] = earlier([Application ID]) && [Application End TIme] =_max && [date] = earlier([date]) ),[Outcome])
return
if([Outcome] = "Complete" && [Outcome] = "Incomplete", 1, 0)
User | Count |
---|---|
98 | |
91 | |
84 | |
72 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
66 |