Power BI App properties
- Last UpdatedJul 18, 2024
- 4 minute read
The following table shows Power BI App properties that must be assigned values during the configuration of the app.
All Power BI App properties can be bound to a reference in a ViewApp as a:
-
namespace attribute
-
object attribute
-
my content attribute
-
compound expressions
A Power BI report must have been previously published to obtain the following information to assign values to Power BI App properties:
-
Power BI App Authentication property (credential)
-
Client ID
-
Tenant ID
-
Client secret value
-
-
Power BI App Workspace ID property
-
Unique ID of the workspace where Power BI reports are published
-
-
Power BI App Report ID property
-
Unique ID of the Power BI report to be shown by the Power BI App.
-
|
Report properties |
|||||||||||
|
Authentication |
The Authentication property shows a list of available named credentials that store the Client ID, Tenant ID, Client Secret Value of published Power BI reports. The named credential must be configured of type "Username, password and DomainName". The following list shows the mapping of Power BI report properties to a credential's username, password, and domain name: User name = Client ID Domain name = Tenant ID Password = Client Secret Value
|
||||||||||
|
Workspace ID |
Unique ID of the workspace where Power BI reports are published. The Workspace ID appears as part of the URL when the published report is displayed in a web browser. Shows a validation error in the property grid if the configured WorkSpace ID is an invalid GUID or longer than the maximum character length, which is 36 characters including hyphens.
|
||||||||||
|
Report ID |
Unique ID of a Power BI report. The Unique ID appears as part of the URL when the published report is displayed in a web browser. Shows a validation error in the property grid if the configured Report ID is an invalid GUID or longer than the maximum character length, which is 36 characters including hyphens.
|
||||||||||
|
Appearance properties |
|||||||||||
|
Active Page |
Sets the active page displayed by the Power BI report as well as when the user changes the displayed page by a mouse click or touch gesture during runtime. The page selected by the user is written to the Active Page property as if it were bound to a reference in Write or Read/Write mode. This property can be used to show a selected page when the Page Navigation is disabled (which results in hiding of the pages of a report). If the configured name of the page is not present in the Power BI report, or if it is not configured, the app defaults to showing the page that is set as an active page at the report level by the Power BI administrator. Users can change the active report page shown by the Power BI report by using data binding or layout scripts in the Power BI App.
|
||||||||||
|
Show Filter Pane |
Determines whether the Filter pane of the Power BI report is displayed or not. When set to true, the Filter pane appears in the report.
|
||||||||||
|
Page Navigation |
Determines whether the ViewApp Navigation pane is displayed or not. When set to true, the Navigation pane appears in the report. When set to false, the active page displayed in the report is set by the value of the Active Page property.
|
||||||||||
|
Transparent Background |
By default, the background of the embedded content is white with gray margins. If you prefer to use a different background, you can give the embedded content a transparent background. Then, you can apply the style you want to the HTML div element that contains the embedded content. The div element's styling then becomes visible.
|
||||||||||
|
Display Option |
Controls the display of a report page within the dimensions of the pane in which the Power BI App has been placed. 0 = FitToPage Report contents are scaled to fit entirely within the pane dimensions. 1 = FitToWidth Report contents are scaled to fit within the width of the page. 2 = ActualSize Report contents are displayed at their actual size.
|
||||||||||
|
Contrast Mode |
Display a Power BI report in choice of several high-contrast color combinations based on an assigned integer value. 0 = None 1 = HighContrast1 2 = HighContrast2 3 = HighContrastBlack 4 = HighContrastWhite
|
||||||||||
|
Browser property |
|||||||||||
|
StyleSheet |
Cascading Style Sheet (CSS) whose properties override the appearance attributes set by the CSS of a web site. StyleSheet takes the entire CSS as string input.
|
||||||||||