Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Good evening!
Some pateints can get the same disease multiple times and I am trying to find the most recent reinfection date. For each infection, I have the patient ID and episode date. How can I calcuate the last infection date, which is the most recent episode date before the current infection?
I added an index by using patient ID (ascending) and episode date (oldest to newest) so cases are in the order I need.
I am think of finding the FIRSTNONBLANK of the episode date with a filter of patient ID=the current Patient ID and index < the current index, but I couldn't make it work
Solved! Go to Solution.
hi @Fred1983
try to add the calculated column like:
hi @Fred1983
try to add the calculated column like:
User | Count |
---|---|
93 | |
83 | |
77 | |
72 | |
66 |
User | Count |
---|---|
115 | |
103 | |
93 | |
64 | |
61 |