Version

GetFilterValues Method

Method used to get the possible values for a given filter. For a Country filter, this will return the list of all countries, not only the selected ones. You can use this method to create your own UI to select filter values.
Syntax
'Declaration
 
Public Shared Function GetFilterValues( _
   ByVal dashboard As RVDashboard, _
   ByVal filter As RVDashboardFilter, _
   Optional ByVal cancellationToken As CancellationToken _
) As Task(Of IEnumerable(Of RVFilterValue))

Parameters

dashboard
The dashboard object obtained with LoadDashboard or LoadDashboardSync
filter
The filter to return the values for, a member of the collection RVDashboard.Filters, might be obtained also using RVDashboard.GetFilterByTitle or RVDashboard.GetFilterById
cancellationToken
Optional parameter that can be used to cancel the async operation

Return Value

The list of values for the given filter
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also