Forum Discussion
refresh excel with altered column names
Hi all,
I would like your help to figure out how to refresh a dataset in BI, when I have altered the column names?
In more words;
I need to extract excel sheets from a local system and then save them in my personal OneDrive each month. As the extracted columns in the excel have unclear names (I am not able to alter these in the system), I alter the column names in BI after I upload the excel files. But how do I make sure that BI recognizes the newest excel-files, and thereby able to refresh, when I alter the column names?
Best
//Kvisborg
- Anonymous7 years ago
Kvisborg,
"I would like to compare and sum several months"
In this case, please put all excel files to a local folder, then use Folder connector in Power BI Desktop to connect to the data source. Please make sure that the table structure in all the original excel files are same(same columns, same column names). After that, you can rename columns in Power BI Desktop, create report in Desktop, publish report to Power BI Service.
In Power BI Service, you can set schedule refresh for the dataset after configuring gateway and adding the Folder within gateway.
Regards,
Lydia
6 Replies
- AnonymousNot applicable
Kvisborg,
Do you directly connect to the Excel file in Power BI Service and then create report?
If so, you are able to rename the fields when creating visuals. And you can set onedrive refresh for the dataset in Power BI Service. This way, each month, you can upload new Excel file to OneDrive to replace existing file, new data will get updated automatically in Power BI report. Please make sure that all the excel files have same table structure(same excel file name, same columns and same column names in excel table).
Regards,
Lydia- KvisborgNew Member
Thanks for your answer, Anonymous
Being entirely new to PBI, this might be a follish question so bear with me:
You ask, if I connect directly: Maybe? I Upload the excel data to PBI manually via the Desktop solution by choosing "Get Data" (is that a direct connect?)And if I understand you correctly, I just have to replace the exsiting excel in OneDrive with new excel each month - and before replacing I need to make sure, that the column names in the excel sheet match what I have chosen in the PBI report I have set up?
//Kvisborg- AnonymousNot applicable
Do you use web connector in Power BI Desktop? What data would you like to get in Power BI report? Data of all months or data of the latest month?
Regards,
Lydia