| 开发者 |
Atlas Public Policy
atlaspolicy |
|---|---|
| 更新时间 | 2026年10月6日 05:13 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
/wp-content/plugins/report-viewer-for-power-bi directory, or install it from the Plugins > Add New screen in WordPress.Four things, all entered on the Power BI Reports > Settings screen:
Open the report in Power BI and look at the address bar. The URL contains both values, in this form:
https://app.powerbi.com/groups/{Group ID}/reports/{Report ID}/...
Yes. Each report has Width and Min Height settings. Width is the space the report takes on the page (100% by default). Min Height is only the starting height while the report loads — once it appears, the height adjusts automatically so the report keeps its correct proportions.
You can also override both for a single placement directly in the shortcode:
[powerbi_report id="123" width="100%" height="800px"]
No. The plugin signs in with your service account on the server, so visitors just see the report. Use the Content Restriction setting on each report to decide who on your site is allowed to see it.
No. A "Power BI Report" in WordPress is just a saved configuration — it has no page of its own and is not listed anywhere publicly. Reports only appear where you place the shortcode.
Your credentials are encrypted using your site's security keys from wp-config.php. If those keys change — which can happen when a site is moved, restored from a backup, or when the keys are deliberately regenerated — the saved credentials can no longer be read. Go to Power BI Reports > Settings and enter the Client Secret and Master User Password again.
Your Azure AD credentials and display preferences are removed. Your saved reports and report categories are kept, so reinstalling the plugin brings them back — you only need to re-enter your credentials.
The full source code, including the React/TypeScript front end, is available on GitHub: https://github.com/AtlasPublicPolicy/report-viewer-for-power-bi Everything the plugin needs is already included in the download — you do not need any build tools to use it.