Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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)
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
User | Count |
---|---|
87 | |
84 | |
67 | |
63 | |
63 |
User | Count |
---|---|
208 | |
120 | |
113 | |
79 | |
72 |