Forum Discussion

kowas2's avatar
kowas2
Advocate I
4 months ago
Solved

Does data cleaning automatically happen monthly?

Hi! I'm doing up a report on employee termination. Every month we get a new updated excel file of terminated employees, but this file is just the previous month's list with new names appended E.g. ...
  • danextian's avatar
    4 months ago

    hi kowas2 

    Since you steps involve combining worksheets then removing the duplicates, Power BI will remove the duplicates when you refresh the semantic model. Just be aware though that that Power BI will keep the first row it sees for each distinct value which may not be necessarily ordered by month.

  • Olufemi7's avatar
    4 months ago

    Hello kowas2,

    In Microsoft Power BI, your data cleaning steps (like Remove Duplicates) are saved in Power Query and only run when you refresh.

    • Add new file → nothing happens yet
    • Click Refresh (or use scheduled refresh)
    • Power BI recombines files and removes duplicates again

    You don’t need to remove duplicates manually each time.

    If you want it monthly without action:

    • Set up Scheduled Refresh in the Service

    Docs:
    Working with duplicate values 
    Data refresh in Power BI