Forum Discussion

JohnnyK's avatar
JohnnyK
Advocate II
3 years ago
Solved

Slicer to indicate missing values in rows

Good day!

 

 

There are 2 columns of data. 1 column for names. Another column shows the colors under the names. Each name already has some colors, and at the same time, some colors are missing from [Green, red, yellow, blue, brown].

 

When the "Name" and "Data" put into a table, I want to use a slicer to filter the rows, when certain color is missing, like:

 

 

I tried but I can only use 1 missing color (when more colors put in, it shows a hierarchy).

 

What's the way that it can be done? Thank you.

 

(Data as below.)

NameDataHas blueHas brownHas greenHas redHas yellow
DavidGreen, red, yellowMissing blueMissing brown   
KateRed, blue Missing brownMissing green Missing yellow
MikeBrown, yellowMissing blue Missing greenMissing red 
  • Hi,

    I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.

    I tried unpivotting the table to have the structure like below, and then used the last column to create a slicer.

     

     

     

     

2 Replies

  • Hi,

    I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.

    I tried unpivotting the table to have the structure like below, and then used the last column to create a slicer.