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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
acbg
Resolver III
Resolver III

Delete data based on flag and upload new data

We are trying to avoid refreshing all of the data in service.

 

We cannot do incremental as historical data changes as well (some rows may get updated and some needs to be deleted).

 

Is there a way to delete data that we can create flags on and upload the new data in there?

2 REPLIES 2
v-rongtiep-msft
Community Support
Community Support

Hi @acbg ,

Yes, you can delete data in Power BI by creating a flag column in your data source that indicates which rows should be deleted. Then, you can use Power Query to filter out the rows with the flag value, and load the remaining data into Power BI. Here are the general steps:

1. Add a flag column to your data source that indicates which rows should be deleted.
2. In Power Query, filter out the rows with the flag value.
3. Load the remaining data into Power BI.

 

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

@v-rongtiep-msft will the older data stay as it is in the service? Trying to avoid refreshing everything all the time. Older data stays as it is and changed data only gets updated in the service.

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors