The logic is to create a table with the DAX function UNION. Each Table expression in UNION function represents a value of slicer. Apart from that slicer related value, all the rest of the values are blanks. It is key to have them as blanks than zero’s, we don’t see any data.
In other words, pivoting the table to turn one measure with several different category values into one measure per category. If you know the number of categories (4 in this case), this solution can work well for you.