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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
EVEAdmin
Post Patron
Post Patron

Deleted Rows

In my data model, I will delete rows based on whether a column contains a text value.

What happens if the value is then edited and it does not match the criteria anymore?

Will the row be imported in the next data refresh?

 

Many thanks.

1 ACCEPTED SOLUTION
ImkeF
Community Champion
Community Champion

Hi @EVEAdmin ,
yes, the row will be loaded. With any data ordinary data refresh, Power Query is not aware of anything that has happened in any refresh before.

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

View solution in original post

6 REPLIES 6
EVEAdmin
Post Patron
Post Patron

@ImkeF many thanks, appreciated. It clears a doubt I've had for a while.

ImkeF
Community Champion
Community Champion

Hi @EVEAdmin ,
yes, the row will be loaded. With any data ordinary data refresh, Power Query is not aware of anything that has happened in any refresh before.

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Thanks @ImkeF 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
amitchandak
Super User
Super User

@EVEAdmin , a a new new step like

Table.SelectRows(
Table1,
each Text.Contains([Column], "Text")
)

 

or create a new column with Text.Contains and then use filter

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak many thanks, you often replied my queries, appreciated.

If I understand well, once a row is deleted, even if its content is edited by a user in the application and does not match the criteria, it will still be deleted on the next refresh. Is that right?

In my model, I would like to delete rows where ColumnNotes contains "some text".
However, if a user deletes "some text" from ColumnNotes, after I imported data to Power BI, then the row must not be deleted anymore, on the next data refresh.
Tnx again.

@EVEAdmin , Oh, I missed must not delete it in the next load. Let me check it out. Let us check with the Power query expert.

 

@ImkeF , please help with this

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.