Hi there,
I am looking to automatically refresh a local query based on a tigger in MS Flow, but am having difficulty.
Here's my current workflow
- Data is emailed to me weekly as an attachment
- As soon as the Email hits my inbox, a MS Flow rule saves this attachment to OneDrive (good so far)
- I then open PowerBI and manually refresh my query using that newly modified file in OneDrive (which is synced to my desktop) as a data source, plus one other file needed in the transformation
- The query pings an API and returns a list of JSON values that I perform further transformation on
- A bit of R script at the end of my query exports the transformed data as a new file out to OneDrive
- Microsoft Flow detects the exported file from PowerBI in OneDrive, and the FTPs the fully transformed dataset to a server
In essence, what I am trying to remove my manual intervention from Step 3.
My Issues
- How do I get Step 3 triggered via Flow?
- I require a file to be exported out of PowerBI when my query ends ready for FTP-ing.
Where I've got to so far
Can anyone lend a hand?