Forum Discussion
Remove 'Closed' status workitems completely from table
Hi - i need quick help with identifying those work items which have a 'Closed' status and then removing that work item number compltely (whether it's pending or active status) from analysis.
| Workitem No. | Status | Date & Time | Flag |
| W0956-19Feb | Closed | 29-06-20; 13:39:15 | Remove |
| W0956-19Feb | Pending | 19-06-20; 18:55:35 | Remove |
| W0956-19Feb | Pending | 17-06-20; 22:14:36 | Remove |
| W0956-19Feb | Active | 25-06-20; 03:45:27 | Remove |
| W2075-24Mar | Pending | 15-04-19; 20:10:40 | Retain |
| W2075-24Mar | Active | 04-01-20; 16:56:17 | Retain |
| W2075-24Mar | Pending | 25-12-19; 22:05:26 | Retain |
- Anonymous6 years ago
Hi navedkhan ,
As a supplement to DataZoe , check the following steps.
1# Copy and paste table1 as table2.
2# Filter rows in table2 which column status is closed.
3# Remove status and datetime column in table2.
4# Merge table1 and table2 with left anti jion.
5# Remove columns from table2 in merge table.
Best Regards,
Jay
2 Replies
- AnonymousNot applicable
Hi navedkhan ,
As a supplement to DataZoe , check the following steps.
1# Copy and paste table1 as table2.
2# Filter rows in table2 which column status is closed.
3# Remove status and datetime column in table2.
4# Merge table1 and table2 with left anti jion.
5# Remove columns from table2 in merge table.
Best Regards,
Jay
- DataZoe
Microsoft Employee
navedkhan Oh I think I see what you are talking about now! Sorry!
what you can do is in transform data, duplicate the table, then get it to only show the work items with a closed status de duplicated. You can then merge the tables, excluding any row that matches the "closed work items" from the main data set. Then hide that second table when you refresh the data.
Edit: here's a picture for you: