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

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.

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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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