cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
Microsoft

@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,
DataZoe


See my reports and blog at https://www.datazoepowerbi.com/

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors