pbi_eval
Execute JavaScript in a Power BI report page and return the JSON-serialized result. Code referencing powerBIAccessToken is rejected.
Instructions
Escape hatch: evaluate a function-body or arrow-fn string in the reportView page. Rejects any code referencing powerBIAccessToken. Returns the JSON-serialized result. NOTE: the powerBIAccessToken rejection is a best-effort textual guard (a regex on the code string), not a sandbox.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| js | Yes |