DAX measures are incredibly powerful, allowing a single DAX calculation to be used in seemingly endless circumstances. Given the right dataset, a single DAX calculation for something such as year-over-year revenue could be used in the context of customers, products, product groups, locations, business divisions, and so on. Perhaps even more amazingly, you could even evaluate that same single measure within all of those contexts simultaneously! However, measures are not without their limitations. Specifically, measures cannot be used in Power BI for things such as slicers and chart axes and legends.
This recipe demonstrates how to do the impossible: to essentially use measures where you are really not allowed to use measures. This is, of course, a trick, and it is specifically known as the Disconnected Table Trick.