Page "Power BI Element Addin Host"
Properties
Name | Value |
---|---|
Caption | Power BI |
PageType | UserControlHost |
Methods
SetDisplayedElement
procedure SetDisplayedElement(InputPowerBIDisplayedElement: Record "Power BI Displayed Element")
Parameters
Name | Type | Description |
---|---|---|
InputPowerBIDisplayedElement | Table System.Integration.PowerBI."Power BI Displayed Element" |
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.