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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

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.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.