Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
Dear experts,
Can you please help me with this: I have a table with tasks IDs, their end dates, machines(projects we call them) that these tasks were done for, technicians who completed those tasks.
We are tracking the "repetitive" tasks that occur more than once within a month (because that'd mean they have not been done properly the first time around).
I now have the count of those like so:
I redesigned the approach to this issue. Please see the sample of data below. What I need now is to add three columns: previous end date, previous idd_tk_user, and time difference (current row's End Date - Previous End Date) that would add a previous idd_tk_user, a previous End date, and the time difference between end dates if the task type title is not "Filling the vending machines". So we find the latest non-vending task for the selected project and map to it the end date and the user for the previous non-vending task. In advance, thank you kindly!
User | Count |
---|---|
93 | |
92 | |
85 | |
83 | |
49 |
User | Count |
---|---|
150 | |
142 | |
112 | |
73 | |
55 |