Options
All
  • Public
  • Public/Protected
  • All
Menu

A Power BI visual within a page

export
class

VisualDescriptor

implements

{IVisualNode}

Hierarchy

  • VisualDescriptor

Implements

Index

Properties

layout

The visual layout: position, size and visibility.

type

{string}

name

name: string

The visual name

type

{string}

page

page: IPageNode

The parent Power BI page that contains this visual

type

{IPageNode}

title

title: string

The visual title

type

{string}

type

type: string

The visual type

type

{string}

Methods

clone

exportData

getFilters

getSlicerState

removeFilters

  • removeFilters(): Promise<IHttpPostMessageResponse<void>>

setFilters

  • setFilters(filters: IFilter[]): Promise<IHttpPostMessageResponse<void>>

setSlicerState

  • setSlicerState(state: ISlicerState): Promise<IHttpPostMessageResponse<void>>

sortBy

updateFilters

  • Update the filters for the current visual according to the operation: Add, replace all, replace by target or remove.

    visual.updateFilters(FiltersOperations.Add, filters)
      .catch(errors => { ... });

    Parameters

    Returns Promise<IHttpPostMessageResponse<void>>

Generated using TypeDoc