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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

@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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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!

December 2024

A Year in Review - December 2024

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