How to use measure as a slicer

There are several methods that could work around to achieve measure slicer if you search online. I watched this video from Sam


And tried to replicate the same technique. Basically, the measure is linked to a supporting table, and used the ‘groups’ column from the supporting table as the slicer.