Page "Power BI Element Card"
Obsolete
This element will become obsolete from version 26.0. Use page 6324 "Power BI Element Addin Host" instead.
Properties
| Name | Value |
|---|---|
| Caption | Power BI |
| DataCaptionExpression | PowerBIDisplayedElement.ElementName |
| DeleteAllowed | False |
| InsertAllowed | False |
| LinksAllowed | False |
| ModifyAllowed | False |
| RefreshOnActivate | False |
| PageType | Card |
| ObsoleteReason | Use page 6324 "Power BI Element Addin Host" instead. |
| ObsoleteState | Pending |
| ObsoleteTag | 26.0 |
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.