Adding a Blank Dashboard

This example demonstrates how to use the Power BI Post Snap to create a blank dashboard in a specified workspace. This example assumes that you have configured and authorized a valid Power BI OAuth2 account (see Configure Microsoft Power BI Accounts).


Add a blank dashboard pipeline overview

Download this pipeline.
  1. Configure the JSON Generator Snap to pass the intended dashboard name as a JSON document.

    The Power BI Post Snap requires a name for the dashboard that you want to create.


    JSON Generator Snap settings
  2. Configure the Mapper Snap to map the JSON Generator Snap's output to the $inputParameters.name field.

    Mapper Snap settings
  3. Configure the Power BI Post Snap to perform the Add Dashboard operation.

    The Snap receives the dashboard name that the Mapper Snap mapped to the required parameter.


    Power BI Post Snap settings
  4. Run the pipeline.

    The Power BI Post Snap creates a dashboard with the specified name in the target workspace and displays the dashboard details in the output view.


    Power BI Post Snap output preview
  5. (Optional) Add the JSON Formatter and File Writer Snaps to write the Power BI Post Snap's output to a local file.

To reuse this pipeline in your environment:

  1. Download and import the pipeline into SnapLogic.
  2. Configure Snap accounts as applicable.
  3. Provide pipeline parameters as applicable.