Skip to content

Commit d7cbd1e

Browse files
committed
update
1 parent 691a221 commit d7cbd1e

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

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

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@ author: neerajnandwana-msft
55
ms.service: powerapps
66
ms.topic: conceptual
77
ms.custom:
8-
ms.date: 05/13/2019
8+
ms.date: 08/21/2020
99
ms.author: nenandw
1010
ms.reviewer: tapanm
1111
---
1212

13-
1413
# Add a Power BI report or dashboard to a web page in portal
1514

16-
You can add a Power BI report or dashboard to a web page in portal by using the [powerbi](../liquid/portals-entity-tags.md#powerbi) Liquid tag. You can add the tag in the **Copy** field on a web page or in the **Source** field on a web template. If you adding a Power BI report or dashboard created in the new workspace in Power BI, you must specify the authentication type as **powerbiembedded** in the *powerbi* Liquid tag.
15+
You can add a Power BI report or dashboard to a web page in portal by using the [powerbi](../liquid/portals-entity-tags.md#powerbi) Liquid tag. You can add the tag in the **Copy** field on a web page or in the **Source** field on a web template. If you're adding a Power BI report or dashboard created in the new workspace in Power BI, you must specify the authentication type as **powerbiembedded** in the *powerbi* Liquid tag.
1716

1817
> [!TIP]
1918
> This article explains how to add a Power BI report or dashboard using *powerbi* liquid tag. To add **Power BI component** on a webpage in your portal using the portals Studio, go to [Add a Power BI component to a webpage using the portals Studio](../compose-page.md#add-power-bi).
@@ -54,6 +53,23 @@ For example:
5453
> [!div class=mx-imgBorder]
5554
> ![Power BI dashboard tile ID](../media/powerbi-dashboard-tile-id.png "Power BI dashboard tile ID")
5655

56+
## Hide the Filters pane in portals web page
57+
58+
Power BI allows you to [hide the Filters pane](https://docs.microsoft.com/power-bi/create-reports/power-bi-report-filter#hide-the-filters-pane-while-editing) allowing extra space on screen when Filters pane isn't needed. Similarly, you can hide the Filters pane for a dashboard or a report embedded on a web page in your portal.
59+
60+
To hide Filters pane in portals web page, use the following sample code in your web page's [copy (HTML)](../configure/web-page.md#web-page-attributes) attribute.
61+
62+
```html
63+
<div id="hide-powerbi-filters">
64+
{% powerbi authentication_type:"powerbiembedded" path:"https://app.powerbi.com/groups/00000000-0000-0000-0000-000000000000/reports/00000000-0000-0000-0000-000000000000/" %}
65+
</div>
66+
<script>
67+
$(function() {
68+
//Set the "powerbi-settings-filter-pane-enabled" setting to "false" to hide the Power BI Filters panel
69+
$('#hide-powerbi-filters.powerbi').attr("powerbi-settings-filter-pane-enabled", "false");
70+
})
71+
</script>
72+
```
5773

5874
### See also
5975

0 commit comments

Comments
 (0)