Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Shape 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.

Reply
navedkhan
Helper III
Helper III

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.StatusDate & TimeFlag
W0956-19FebClosed29-06-20; 13:39:15Remove
W0956-19FebPending19-06-20; 18:55:35Remove
W0956-19FebPending17-06-20; 22:14:36Remove
W0956-19FebActive25-06-20; 03:45:27Remove
W2075-24MarPending15-04-19; 20:10:40Retain
W2075-24MarActive04-01-20; 16:56:17Retain
W2075-24MarPending25-12-19; 22:05:26Retain
1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

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

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

2 REPLIES 2
v-jayw-msft
Community Support
Community Support

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

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
DataZoe
Microsoft Employee
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:

anti merge.JPG

 

Respectfully,
Zoe Douglas (DataZoe)



Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.