简体   繁体   中英

Error when connecting Firebase to Microsoft Power BI

I am looking to connect Power BI to Google Firebase.

I've followed the below steps,

  1. Get Data > Blank Query
  2. Entered the below Query
let
    Source = Json.Document(Web.Contents("url to firebase database")),
    #"Converted to Table" = Record.ToTable(Source)
    in
    #"Converted to Table"

I've entered the url but it looks like its expecting a JSON output. How can I get a JSON output to include on Power BI to visualise data stored on Firebase?

在此处输入图像描述

For what I am looking in the error message in image, the problem in not connecting with Firebase, instead the problem is the query you are using, the variable source is getting the content of the page and that is why is giving you that error.

You can try this command that return the Json of the a collection with the values in it.

projects/{project_id}/databases/{databaseId}/documents/{document_path}/

The document path is the document that you want the information And the databaseId if you don't know which is it, it is probably (default) you need to put the () in the url of the request

Here you can see how the Json is structured

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM