So I have this script on Powershell which generates a csv that is used on a Power BI template. When it is done with the csv it is supposed to open the template and show a report with the data updated but I still need to refresh it by hand.
Edit: Forget it. The template opens updated but I still don't know if I can generate the report with commands
I have thought about using a "refresh update" and upload the report to the Power BI server but I don't want it to be only avaliable online.
This is my script (very basic version since its long):
#lots of commands to make the csv Invoke-Expression "file" The commands generate a clean csv which can be used with a common import but in R they appear as empty fields - probably because idk how to use R properly.
Is there any way I can do what I want using this script without having to upload the report first?
Thanks for your answers!