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.
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)
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 |
---|---|
97 | |
95 | |
76 | |
72 | |
65 |
User | Count |
---|---|
136 | |
109 | |
104 | |
82 | |
73 |