Forum Discussion
Excel files with the same name every month
Hi, I receive an excel file every month with the same rows & columns. The rows show different outcomes from an initial telephone call and the columns show the geographical areas. The below shows a basic sample but the actual sheet is many more rows & columns.
| Birmingham | Black country | Total | |
| Total number of calls | 1000 | 1000 | 2000 |
| Ambulance sent | 200 | 250 | 450 |
| Sent to ED | 600 | 500 | 1100 |
| Primary care | 150 | 200 | 350 |
| Dental | 50 | 50 | 100 |
The file has the same file name but the data changes every month. There is no date column in the file. Is there a way to combine these in power bi to be able to interrogate them by month, area & outcome? Currently, I have managed 1 month but even then I could only split the outcomes for each area on the pie chart visual as I could not get a bar graph to show the column names, it would only do it as a legend. Any help for a struggling newbie would be appreciated.
Anonymous , there is dax append technique, that you can check
https://blog.crossjoin.co.uk/2020/04/13/keep-the-existing-data-in-your-power-bi-dataset-and-add-new-data-to-it-using-incremental-refresh/
https://www.thebiccountant.com/2017/01/11/incremental-load-in-powerbi-using-dax-union/Along with adding date and time as column , not table
https://www.enhansoft.com/how-to-add-the-last-refreshed-date-and-time-to-a-power-bi-report/
1 Reply
- amitchandak
Super User
Anonymous , there is dax append technique, that you can check
https://blog.crossjoin.co.uk/2020/04/13/keep-the-existing-data-in-your-power-bi-dataset-and-add-new-data-to-it-using-incremental-refresh/
https://www.thebiccountant.com/2017/01/11/incremental-load-in-powerbi-using-dax-union/Along with adding date and time as column , not table
https://www.enhansoft.com/how-to-add-the-last-refreshed-date-and-time-to-a-power-bi-report/