Page "Power BI Embedded Report Part"
Properties
| Name | Value |
|---|---|
| Caption | Power BI |
| PageType | CardPart |
| SourceTable | Table System.Integration.PowerBI."Power BI Displayed Element" |
| Editable | False |
| RefreshOnActivate | True |
Methods
InitPageRatio
Obsolete
This element will become obsolete from version 25.0. Setting the page ratio is no longer supported. The add-in will instead be sized based on the available space in the client.
[Obsolete(Setting the page ratio is no longer supported. The add-in will instead be sized based on the available space in the client.,25.0)]
procedure InitPageRatio(ReportFrameRatioInput: Text)
Parameters
| Name | Type | Description |
|---|---|---|
| ReportFrameRatioInput | Text |
SetFullPageMode
Obsolete
This element will become obsolete from version 25.0. Setting full page mode is no longer supported. The add-in will instead be sized based on the available space in the client.
[Obsolete(Setting full page mode is no longer supported. The add-in will instead be sized based on the available space in the client.,25.0)]
procedure SetFullPageMode(NewFullPageMode: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| NewFullPageMode | Boolean |
SetPageContext
procedure SetPageContext(InputContext: Text)
Parameters
| Name | Type | Description |
|---|---|---|
| InputContext | Text |
SetFilterToMultipleValues
Filters the currently displayed Power BI report to multiple values.
These values are picked from the field number FieldNumber in the records within the filter of FilteringVariant.
procedure SetFilterToMultipleValues(FilteringVariant: Variant, FieldNumber: Integer)
Parameters
| Name | Type | Description |
|---|---|---|
| FilteringVariant | Variant |
A Record or RecordRef filtered to the records to show in the Power BI Report. |
| FieldNumber | Integer |
The number of the field of |
Remarks
The values will be applied to the first filter defined in the Power BI report. If no record falls within the filter, the filter is reset to all values.
SetCurrentListSelection
Filters the currently displayed Power BI report to a single value. Only values of primitive types (such as Text, Code, Guid, Integer, Date) are supported.
procedure SetCurrentListSelection(InputSelectionVariant: Variant)
Parameters
| Name | Type | Description |
|---|---|---|
| InputSelectionVariant | Variant |
A value to set as filter for the Power BI Report. |
Remarks
The value will be applied to the first filter defined in the Power BI report.