Archive

DISTINCT (table)

Returns a table by removing duplicate rows from another table or expression.

DISTINCT (column)

Returns a one-column table that contains the distinct values from the specified column. In other words, duplicate values are removed and only unique values are returned.

This function cannot be used to Return values into a cell or column on a worksheet; rather, you nest the DISTINCT function within a formula, to get a list of distinct values that can be passed to another function and then counted, summed, or used for other operations.

CROSSFILTER

Specifies the cross-filtering direction to be used in a calculation for a relationship that exists between two columns.

CALCULATETABLE

Evaluates a table expression in a context modified by the given filters.

CALCULATE

Evaluates an expression in a context that is modified by the specified filters.

ALLSELECTED

Removes context filters from columns and rows in the current query, while retaining all other context filters or explicit filters.

The ALLSELECTED function gets the context that represents all rows and columns in the query, while keeping explicit filters and contexts other than row and column filters. This function can be used to obtain visual totals in queries.

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.

ALLEXCEPT

Removes all context filters in the table except filters that have been applied to the specified columns.

ALL

Returns all the rows in a table, or all the values in a column, ignoring any filters that might have been applied. This function is useful for clearing filters and creating calculations on all the rows in a table.