Filter Flashcards
Function
Description
ALL
Returns all the rows in a table, or all the values in a column, ignoring any filters that might have been applied.
ALLCROSSFILTERED
Clear all filters which are applied to a table.
ALLEXCEPT
Removes all context filters in the table except filters that have been applied to the specified columns.
ALLNOBLANKROW
From the parent table of a relationship, returns all rows but the blank row, or all distinct values of a column but the blank row, and disregards any context filters that might exist.
ALLSELECTED
Removes context filters from columns and rows in the current query, while retaining all other context filters or explicit filters.
CALCULATE
Evaluates an expression in a modified filter context.
CALCULATETABLE
Evaluates a table expression in a modified filter context.
EARLIER
Returns the current value of the specified column in an outer evaluation pass of the mentioned column.
EARLIEST
Returns the current value of the specified column in an outer evaluation pass of the specified column.
FILTER
Returns a table that represents a subset of another table or expression.
FIRST
Used in visual calculations only. Retrieves a value in the visual matrix from the first row of an axis.
INDEX
Returns a row at an absolute position, specified by the position parameter, within the specified partition, sorted by the specified order or on the specified axis.
KEEPFILTERS
Modifies how filters are applied while evaluating a CALCULATE or CALCULATETABLE function.
LAST
Used in visual calculations only. Retrieves a value in the visual matrix from the last row of an axis.