Integration with data analysis tools (BI)
Connect your Dastra custom reports to Power BI, Google Looker or Tableau, with data that refreshes automatically.
Dastra lets you import custom reports into your BI tool (Power BI, Google Looker, Tableau Software, etc.). You analyze the data in depth with your tool, and the reports refresh automatically.
Set up in Dastra
In the Reporting module, open a report and click Connect BI Tools.
In the window that opens, click Create connect link. The link is copied to your clipboard.
The window then shows two tabs, depending on how your tool connects:
Link: the public address of the report, to paste into the tool. Anyone who has this link can access the raw data of the report.
Authentication (Bearer): the Service url and the Authentication token, to enter separately. Your tool sends the token in the HTTP header
Authorization: Bearer <token>. Prefer this tab when your tool can add a header: the address alone then gives no access to the data.

To cut off access, click Remove connection in the same window, then confirm. The link and the token stop working: you can create a new connection with Create connect link.
Set up in the BI tool
Microsoft Power BI
Open Power BI Desktop :
Launch Power BI Desktop on your machine.
Connect to the Web data source:
In Power BI Desktop, go to the Home tab.
Click on Get Data, then select Web.
Enter the URL of the JSON link:
In the Get Data Web window that appears, enter the URL of your JSON file or API (if you have a JSON share link).
Make sure the URL points to a JSON file or API that returns JSON data.
Click on OK.
Authentication (if required):
With the link from the Link tab, no authentication is needed: select Anonymous.
With the Authentication (Bearer) tab, enter the Service url in step 3, then click Advanced and add, in the HTTP request header parameters, the
Authorizationheader with the valueBearerfollowed by the token. Then select Anonymous.
Access JSON data:
Power BI will connect to the URL and retrieve the JSON file.
Once successfully connected, a JSON data preview window will appear. You can explore the data in the form of nested lists, objects or tables.
Google Looker
Google Looker connects to Google BigQuery, a Google Cloud data warehouse that can store and process JSON files.
1. Using Google BigQuery as a data source
Upload the JSON file to Google Cloud Storage :
If your JSON file is accessible via a share link, start by uploading the file to Google Cloud Storage.
Make it public or set the appropriate permissions.
Load JSON data into BigQuery:
Access the Google Cloud Platform console (Google Cloud Console).
Go to BigQuery and select or create a project.
In BigQuery, select your dataset and click on Create Table.
Select Google Cloud Storage as the source and enter the URL of your JSON file in the URL field.
Set the data format to JSON and make sure BigQuery can correctly interpret the structure of your file.
Connect BigQuery to Looker :
Once the JSON file has been loaded into BigQuery, you can connect Looker to BigQuery.
In Looker, go to Admin > Connections and add BigQuery as a data source.
Once the connection has been established, you can query BigQuery data directly in Looker and visualize it.
2. Use ETL tools to integrate JSON into Looker
If you need to automate the integration of JSON data from an API or external file into Looker, you can use ETL (Extract, Transform, Load) tools such as Fivetran, Stitch or Airflow. These tools can extract JSON data, transform it and load it into a Looker-compatible data warehouse.
Example with Fivetran :
Connect a REST API or JSON source to Fivetran.
Transform the data to match the requirements of your data warehouse.
Load the data into the warehouse (e.g., BigQuery).
Connect Looker to this data warehouse to start querying and visualizing the data.
Tableau Software
1. Open Tableau Desktop :
Launch Tableau Desktop on your machine.
2. Connect to a Web data source:
In Tableau Desktop, go to the File menu and select New Data Source.
In the data source selection window, click on Web Data Connector. This option lets you connect to data from various web sources, including JSON files via an API or URL.
3. Enter JSON URL:
You'll need to enter the URL of the JSON file or API in the window that appears.
4. Authentication:
With the link from the Link tab, no authentication is needed.
If your connector can add an HTTP header, use the Authentication (Bearer) tab: enter the Service url and the header
Authorization: Bearer <token>.
5. Analyze JSON data in Tableau :
Tableau will connect to the URL, download the JSON file and attempt to convert it into an understandable tabular format (a table or structured data view).
Tableau can automatically detect the structure of JSON data, but in some cases, if the file is very complex or nested, you may need to make adjustments in the data editor to flatten or transform the data into an appropriate format.
Last updated
Was this helpful?