Ready to share exciting commission reports with incredible visuals with other Sales Cookie administrators or payees? This article explains how you can embed Power BI reports within Sales Cookie. This article assume you have already created a Power BI report and are ready to publish it.
Step 1 - Publish Report To Web
Follow these steps to publish your Power BI from your desktop to an online report:
- Open your report in Power BI desktop
- Click on File > Publish
- Click on "Publish to Power BI"
- Choose a destination
- Click on the link
- This opens the online report in a browser
Step 2 - Get Embed URL
Follow these steps to get an embed URL from the online report:
- Click on File > Embed report > Publish to Web (public)
- Create an embed code
- Copy the embed URL (not the iframe HTML)
If you get this error, your Power BI administrator needs to authorize embedding.
You can learn more about additional embedding options here.
Step 3 - Embed in Sales Cookie
Follow these steps to embed the online report in Sales Cookie:
- Login to your workspace
- On the left pane, click on Settings > Dashboards
- Click on the "Extensions" tab (if needed)
- Name the root menu (ex: "Reports")
- Add a sub-menu (ex: "Payouts")
- Paste the embed URL
- IMPORTANT - specify who can view the report using tags
- In the example below, only users tagged as "Full Admin" can see the link
- Save
Your report is now embedded within Sales Cookie under left bar menu Reports > Payouts.
Step 4 - Enable Auto-Refresh
Follow these steps to customize your report and enable auto-refresh.
Go back to your online report within Power BI (see step 2 above).
Under File > Settings, enable options as appropriate:
Click on "Datasets" in the left navigation bar, and select your report:
Click on Refresh > Schedule Refresh:
Under "Data Credentials", choose Anonymous and Public (only users who know the embed URL will be able to access the report):
Under "Scheduled Refresh", configure a refresh frequency:
Make sure to apply changes.
You can learn more about data refresh here. Please note that refreshes are not instant (whether manual or scheduled). Reports are cached for an hour so please be patient.