Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi !
I am new to PBI and want to use it for R+D purposes. I created a nice report that is taking data from a small Excel file (3 sheets with about 50 rows). After loading data into PBI I modified the data using query editor (removed many top rows, some bottom rows, intermediate rows, removed many columns, renamed columns etc.). So the data structure in my PBI model is different from the source Excel file. Report works fine but now comes the refresh / update ... Excel file is updated few times per week with fresh data, some data is overwritten, other data is added in the form of new rows. Data refresh does not work as the data structure is different between source file and PBI model. Online videos suggest to use append or merge functions in query editor but this is impractical (need to do manual work every time I have a small update in the source file 😞 ).
How do I best solve this problem so I do not need to do any query editor work to refresh the model ? I could e. g. create a copy of the relevant data in additional Excel sheets that copy the data from my source sheets but have the same structure as the PBI model. That would work I guess ? But this way I merely shift the problem to Excel and I need to have duplicate Excel sheets, one for my raw data (that I may edit as I like) and one for automatic data transfer to PBI ?
Can you advise on a good solution ? Thanks !
Michael
Thanks a lot for the quick response, I will try so.
Hi @McChem ,
Thanks for reaching out to the Microsoft fabric community forum.
We really appreciate your efforts and for letting us know the update on the issue. Reply back after trying the solution provided by the @Alex_Sawdo . I would also take a moment to thank gaya3krishnan86 , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.
Best Regards,
Menaka.
Community Support Team
Unfortunately, Power BI really likes structured data and can't easily process a source that is constantly changing. So, what you could do is:
Offload the data you want to a seperate sheet (like you said) to ensure the formatting stays the same for upload.
Potentially add a column with Ignore/Include for each row in your current spreadsheet, and use Power Query to only allow the Include rows
Offload the information into a more stable format, like a database of some capacity.
I'm sure others may have some better ideas, but these are what I usually end up doing when processing Excel data into Power BI.
User | Count |
---|---|
81 | |
75 | |
73 | |
42 | |
36 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |