Access to the dates of the current context

Assuming we have a calendar table ("Calendar") and a "Date" field containing the dates, we can access the dates involved in the current context through said field. This allows us to access the first day, the last day, etc. of the period involved in the current context using DAX functions and simple arithmetic operations.

Thus, for example, we can access the first day of the current context by calculating the minimum value of the date column with the MIN function, as follows:

Submitted by admin on Wed, 06/26/2019 - 16:39

LOOKUPVALUE

The LOOKUPVALUE function returns the value contained in the result_columnName column that meets all the criteria specified by the search_columnName and search_value pairs of arguments.

Submitted by admin on Fri, 04/12/2019 - 11:19

CONTAINSSTRING

The CONTAINSSTRING function returns True if the string within_text included as the first argument contains the text find_text string included as the second argument.

Submitted by admin on Fri, 04/05/2019 - 10:24

CHISQ.INV

The CHISQ.INV function returns the inverse of the "left-tailed" chi-square distribution function.

Submitted by admin on Thu, 02/14/2019 - 14:51