Forum Discussion

acbg's avatar
acbg
Resolver III
3 years ago

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

  • Anonymous's avatar
    Anonymous
    Not applicable

    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.

     

     

     

    • acbg's avatar
      acbg
      Resolver III

      Anonymous 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.