For more details about the functions used in this recipe, refer to the following links:
- CALCULATE: https://docs.microsoft.com/en-us/dax/calculate-function-dax
- MAX: https://docs.microsoft.com/en-us/dax/max-function-dax
- MAXX: https://docs.microsoft.com/en-us/dax/maxx-function-dax
- FILTER: https://docs.microsoft.com/en-us/dax/filter-function-dax
- ALL : https://docs.microsoft.com/en-us/dax/all-function-dax
- ALLEXCEPT: https://docs.microsoft.com/en-us/dax/allexcept-function-dax
- COUNTROWS: https://docs.microsoft.com/en-us/dax/countrows-function-dax
- IF: https://docs.microsoft.com/en-us/dax/if-function-dax
- ISBLANK: https://docs.microsoft.com/en-us/dax/isblank-function-dax
- BLANK: https://docs.microsoft.com/en-us/dax/blank-function-dax
- SWITCH: https://docs.microsoft.com/en-us/dax/switch-function-dax
- HASONEVALUE: https://docs.microsoft.com/en-us/dax/hasonevalue-function-dax
- COUNTX: https://docs.microsoft.com/en-us/dax/countx-function-dax
- ADDCOLUMNS: https://docs.microsoft.com/en-us/dax/addcolumns-function-dax