Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all,
I'm currently working with a table that I have set up to refresh by connecting power query to a folder that the raw data are in.
I'm looking for a way to clean the data within power query for certain cells.
For example, I would want to correct the gender for a certain case in power query if it was input incorrectly in the raw data, which is easy enough to do once. However, once I get a new data set, there might be another case for which gender needs to be corrected.
Would there be a way to do this while still preserving the first change?
I've attached a sample workbook as a reference for what I have so far.
Darko
Hi @Darko_Giac,
Currently, data refesh will cover the old dataset. It is not available to keep the historical data. In your scenario, may be you need to load the updated data into a new query in desktop, make changes to it. Then, append the new query to the origianl one.
Regards,
Yuliana Gu
You could do it a few different ways. Here are 2.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingThe Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 130 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |