Hello,
Hope you are all doing well.
Funny question for today cause i think i'm stuck.
I created a SharePoint site with a Powerapps form. I have a workflow that exports the content of the form into CSV files. this works perfectly. I have 16 sections in my form (it's a big form connected to 16 lists) and I get my 16 CSVs filtered on the selected department.
the problem is, it's multiple CSVs and i need to consolidate everything into a single document that is used as a report (and XLSX document) so i created an additional document where ....I first tried to use PowerQuery to link the CSVs to this document but due to the fact that i work in a secured environment, queries fail...... however i figured out a connection to the CSVs work so i created 16 connections to my CSVs.
Now while it works when i test it for myself on SahrePoint the problem i have is... everything is currently in a SharePoint library , multiple users might request the consolidated report clicking a button on my form. the thing is it overrights the same CSV files again and again which is not really efficient. also, since it's a connection, if user A does a request, downloads the document the B does a request and A opens again the document, A gets the values from B....that's not good.
so my idea was to send all the files to the user's OneDrive.... so when i do this i want the flow to create a folder in the user's OneDrive and put the CSV in this folder
and my first question here is... it does it for me but will it do it for the user who starts the workflow in his own OneDrive for Business ?
After this i copy the consolidated XLSX file from SharePoint to the ...user's OneDrive for Business ... but there are connections in it and if i'm not mistaken...documents were linked on SharePoint but once they are copied to one drive... ok the CSVs are on OneDrive but the XLSX document still tries to retrieve information from SharePoint..... so then how can i keep the connection working with the files that have been moved to the same location on OneDrive
Voila...I'm a bit lost with transposing everything to OneDrive .... and I know my question is a mix between Power Automate and Excel...
If someone has a very good idea to help me achieving this .... 😛
Thanks a lot for your help !

Report
All responses (
Answers (