Jump to content

Recommended Posts

Posted

Hi,

A couple of issues I have with trying to pull a report with R in PowerBi using one of your scripts from github. If I keep in the line if(runID > 0)  it tells me the argument is of the length of zero when the report has been run 3 times previously. 

If i take that line out I get further but then I get - Error in grepl(runStatus, "completed") : invalid 'pattern' argument 

Thanks

Ryan

Posted

Hi Ryan,

Could you do a quick check to see if you are on the latest version.  There was an update on June 28th.  This may not fix your issue but always worth checking, just in case. The current version is 1.1.0

Regards, 

James

Posted

I assume its something to do with the runID, the only reason I can see that the script returns "argument is length of zero" is if runID input is the length of zero? I don't know if that parameter has changed but the only reason I can see why it says what is says. 

  • 1 month later...
Posted

Hi, 

Still having the same issue, tried creating the a blank report (no filters or anything) and trying to run powerbi  but exactly  same error.

Ryan 

Posted

All,

Worked out that the API key wasn't authenticating so I created a new one and it ran fine, i guess this is why the runID was returning NULL which is what the argument is length of zero means. 

Thanks

Ryan

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...