Skip to content

Commit 993e0d4

Browse files
authored
Merge pull request #7425 from MicrosoftDocs/3089992
Update note for Power BI JavaScript - 3089992
2 parents 714d6c6 + 84ffb81 commit 993e0d4

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

powerapps-docs/maker/portals/add-powerbi.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: neerajnandwana-msft
55

66
ms.topic: conceptual
77
ms.custom:
8-
ms.date: 12/01/2022
8+
ms.date: 12/22/2022
99
ms.subservice: portals
1010
ms.author: nenandw
1111
ms.reviewer: kkendrick
@@ -109,7 +109,7 @@ The following list explains Power BI access types in brief and lists access type
109109

110110
### General Power BI considerations
111111

112-
- [Portals Studio](../portals/portal-designer-anatomy.md) performance can degrade while working with Power BI workspace for the following reasons:
112+
- [Portals Studio](../portals/portal-designer-anatomy.md) performance can degrade while working with Power BI workspaces because of the following reasons:
113113
- A high number of workspaces shared with a logged-in user.
114114
- Power BI workspaces are shared with many users.
115115
- [The capture Liquid variable](../portals/liquid/portals-entity-tags.md#powerbi) isn't supported in portals Studio while working with a Power BI component.
@@ -118,6 +118,8 @@ The following list explains Power BI access types in brief and lists access type
118118
- Adding users to Power BI dashboards and reports may take a while to reflect in the portals Studio.
119119
- Power BI dashboards and reports connected to a shared dataset present on a different workspace aren't supported.
120120
- Paginated Power BI reports aren't supported.
121+
- If you're using Power BI **Embed for your customers** access type to provide reports and dashboards for your customers, refer to the [powerbi-client JavaScript library](/admin/add-powerbi-report.md#how-to-use-powerbi-client-javascript-library-in-portals) for advanced customizations.
122+
- If you're using the Power BI **Embed for your organization** access type and want to hide the filter pane, refer to [hide filter pane in reading mode](/power-bi/create-reports/power-bi-report-filter?tabs=powerbi-desktop#hide-the-filters-pane-in-reading-mode) in the Power BI documentation.
121123

122124
### Power BI performance and optimization considerations
123125

powerapps-docs/maker/portals/admin/add-powerbi-report.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: neerajnandwana-msft
55

66
ms.topic: conceptual
77
ms.custom:
8-
ms.date: 03/30/2022
8+
ms.date: 12/22/2022
99
ms.subservice: portals
1010
ms.author: nenandw
1111
ms.reviewer: ndoelman
@@ -16,7 +16,6 @@ contributors:
1616

1717
# Add a Power BI report or dashboard to a webpage in a portal
1818

19-
2019
[!INCLUDE[cc-pages-ga-banner](../../../includes/cc-pages-ga-banner.md)]
2120

2221
> [!TIP]
@@ -82,7 +81,7 @@ Roles are contained within the Azure Analysis Services database and not in the r
8281
The following considerations apply when using Azure Analysis Services tiles in a dashboard:
8382

8483
- If an Azure Analysis Services tile is used in a dashboard with other tiles that require roles, the Azure Analysis Services role must be added to the list of roles.
85-
- Multiple tiles from different Azure Analysis Services sources can be used with their own roles, but the custom data must be the same for each, and multiple custom data values cannot be used in the Liquid code. The **customdata** tag and the **customdata** parameter for the EffectiveIdentity take only a string value.
84+
- Multiple tiles from different Azure Analysis Services sources can be used with their own roles, but the custom data must be the same for each, and multiple custom data values can't be used in the Liquid code. The **customdata** tag and the **customdata** parameter for the EffectiveIdentity take only a string value.
8685

8786
## Get the path of a dashboard or report
8887

@@ -113,12 +112,13 @@ Roles are contained within the Azure Analysis Services database and not in the r
113112

114113
## How to use powerbi-client JavaScript library in portals
115114

116-
You can use [powerbi-client JavaScript library](https://github.com/microsoft/PowerBI-JavaScript#powerbi-client) while embedding Power BI reports or dashboards in your portal. For more information about powerbi-client JavaScript library, see the [Power BI JavaScript wiki](https://github.com/Microsoft/PowerBI-JavaScript/wiki).
115+
You can use [powerbi-client JavaScript library](https://github.com/microsoft/PowerBI-JavaScript#powerbi-client) for Power BI Embedded reports or dashboards in your portal. For more information about powerbi-client JavaScript library, see the [Power BI JavaScript wiki](https://github.com/Microsoft/PowerBI-JavaScript/wiki).
117116

118117
Below is a sample JavaScript to update the report settings or to handle events. This sample disables filter pane, disables page navigation, and enables *dataSelected* event.
119118

120119
> [!IMPORTANT]
121-
> Use powerbi-client JavaScript library to disable or enable filter pane. However, if you want to restrict access to data or configure security, use [Row-level security (RLS) with Power BI](/power-bi/admin/service-admin-rls). Disabling filter pane doesn't restrict data access, and it can be re-enabled using JavaScript library code.
120+
> - Use powerbi-client JavaScript library to disable or enable filter pane. However, if you want to restrict access to data or configure security, use [Row-level security (RLS) with Power BI](/power-bi/admin/service-admin-rls). Disabling filter pane doesn't restrict data access, and it can be re-enabled using JavaScript library code.
121+
> - The powerbi-client JavaScript library is only supported for **PowerBI Embedded** flow.
122122
123123
```javascript
124124
$(document).ready(function () {

0 commit comments

Comments
 (0)