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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
cham
Post Patron
Post Patron

Remove rows

Hi,

 

I'm having data set includes call details. Some calls are replace by other users. So one call can be replace by many users. But i want to get the terminated user details because he is the perosn who resposible for that call.

 

So, I want to delete replaced value and only need to show terminated person details, How can i Do  that?

Please check the below table. I want to remove the highlighted rows.

 

DateCaller IDDestinationStatusRingingTalkingTotalsCostReason
1/12/2018Marry98728892answered0:00:000:00:08  Mary replaced by
 Jack99982725answered0:00:000:00:17  Mary replaced by Jack
 Peter92882882answered0:00:040:01:50  Jack replaced by Peter
 Jude82272882answered0:00:040:00:11  Jude was joined
 Rose82727822answered0:00:000:03:430:06:173.9Terminated by Rose
1/12/2018Chan83773883answered0:00:040:01:500:06:173.9Terminated by Chan
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Add a conditional column to filter out the "replaced" value rows with blanks. Then, remove the blank rows.

 

conditional column.JPG

 

Then in modelling tab, simply filter the blank rows or generate the following Power query code:

 

= Table.SelectRows(#"Changed Type", each [Custom] <> Blank())

 

Please accept the solution if I answered your query.

View solution in original post

4 REPLIES 4
v-juanli-msft
Community Support
Community Support

Hi @cham 

Does sbelanix 's suggestion really help you?

If it does, could you kindly accept it as a solution so others may benefit from it.

If not, please let me know.

 

Best Regards

Maggie

Anonymous
Not applicable

Add a conditional column to filter out the "replaced" value rows with blanks. Then, remove the blank rows.

 

conditional column.JPG

 

Then in modelling tab, simply filter the blank rows or generate the following Power query code:

 

= Table.SelectRows(#"Changed Type", each [Custom] <> Blank())

 

Please accept the solution if I answered your query.

v-juanli-msft
Community Support
Community Support

Hi @cham 

Does the last column "Reason" exsit in your dataset?

or is it written by you here to illustrate the case?

 

If the last column "Reason" doesn't exsit in your dataset, how do i find which rows need to be deleted?

 

Best Regards

Maggie

Hi Maggie,

 

Reason column is exist in my dataset.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.