For more details regarding the functions that were used in this recipe, please refer to the following links: SELECTCOLUMNS: https://docs.microsoft.com/en-us/dax/selectcolumns-function-dax FILTER: https://docs.microsoft.com/en-us/dax/filter-function-dax UNION: https://docs.microsoft.com/en-us/dax/union-function-dax