Information Functions Flashcards
ISONORAFTER(scalar_expression, scalar_expression[, sort_order [, scalar_expression, scalar_expression[, sort_order]]…)
A boolean function that emulates the behavior of a Start At clause and returns true for a row that meets all of the condition parameters.
ISAFTER(scalar_expression, scalar_expression[, sort_order [, scalar_expression, scalar_expression[, sort_order]]…)
A boolean function that emulates the behavior of a ‘Start At’ clause and returns true for a row that meets all of the condition parameters.
ISEMPTY(table_expression)
Checks if a table is empty.
ISNONTEXT(value)
Checks if a value is not text (blank cells are not text), and returns TRUE or FALSE.
ISTEXT(value)
Checks if a value is text, and returns TRUE or FALSE.
ISLOGICAL(value)
Checks whether a value is a logical value, (TRUE or FALSE), and returns TRUE or FALSE.
ISNUMBER(value)
Checks whether a value is a number, and returns TRUE or FALSE.
ISERROR(value)
Checks whether a value is an error, and returns TRUE or FALSE.
ISBLANK(value)
Checks whether a value is blank, and returns TRUE or FALSE.
ISSUBTOTAL(columnName)
Creates another column in a SUMMARIZE expression that returns True if the row contains subtotal values for the column given as argument, otherwise returns False.
NONVISUAL(expression)
Marks a value filter in a SUMMARIZECOLUMNS expression as non-visual. This function can only be used within a SUMMARIZECOLUMNS expression.
COLUMNSTATISTICS ()
Returns a table of statistics regarding every column in every table in the model.
CUSTOMDATA()
Returns the content of the CustomData property in the connection string.
USEROBJECTID()
Returns the current user’s Object ID from Azure AD or security identifier (SID).
USERNAME()
Returns the domain name and username from the credentials given to the system at connection time.
USERCULTURE()
Returns the locale (language code-country code) for the current user, determined by the operating system, browser settings, or Power BI service.
USERPRINCIPALNAME()
Returns the user principal name.
ISEVEN(number)
Returns TRUE if number is even, or FALSE if number is odd.
ISODD(number)
Returns TRUE if number is odd, or FALSE if number is even.
CONTAINSROW(Table, Value [, Value [, …] ] )
Returns TRUE if there exists at least one row where all columns have specified values.
CONTAINS(table, columnName, value[, columnName, value]…)
Returns true if values for all referred columns exist, or are contained, in those columns; otherwise, the function returns false.
CONTAINSSTRING(within_text, find_text)
Returns TRUE or FALSE indicating whether one string contains another string.
CONTAINSSTRINGEXACT(within_text, find_text)
Returns TRUE or FALSE indicating whether one string contains another string.
HASONEVALUE(columnName)
Returns TRUE when the context for columnName has been filtered down to one distinct value only. Otherwise is FALSE.
HASONEFILTER(columnName)
Returns TRUE when the number of directly filtered values on columnName is one; otherwise returns FALSE.
ISINSCOPE(columnName)
Returns true when the specified column is the level in a hierarchy of levels.
ISFILTERED(TableNameOrColumnName)
Returns TRUE when the specified table or column is being filtered directly.
ISCROSSFILTERED(TableNameOrColumnName)
Returns TRUE when the specified table or column is cross-filtered.
SELECTEDMEASURENAME()
Used by expressions for calculation items to determine the measure that is in context by name.
ISSELECTEDMEASURE( M1, M2, … )
Used by expressions for calculation items to determine the measure that is in context is one of those specified in a list of measures.
SELECTEDMEASURE()
Used by expressions for calculation items to reference the measure that is in context.
SELECTEDMEASUREFORMATSTRING()
Used by expressions for calculation items to retrieve the format string of the measure that is in context.