For more details regarding the functions in this recipe, refer to the following link: VAR: https://docs.microsoft.com/en-us/dax/var-dax