Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Unsupported Refresh on Web.Contents

I saw some postings on this similar error but I don't understand how to write the MQuery for api that I have set up in my reports.  Can someone help me with the appropriate MQuery to be able to do a ...
  • Anonymous's avatar
    Anonymous
    6 years ago

    I was able to import and also get the Gateway refresh to work now.  I had to split it up this way:

    = Json.Document(
    Web.Contents("https://name.com:port",
    [
    RelativePath="/api/viewContents/projects/v1/PowerBiProjects?projectId=-1"
    ]

    )
    )