Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

Dynamically color cell in table based on slicer value

Hi Everyone ,

 

I have a requirement as follows :

I have 3 columns containing names .

Column A     Column B     Column C

 Name 1         Name 2         Name 3

 Name 2          Name 1        Name 3

 Name 3          Name 2        Name 1

 

Now I need to create a report page , which has a slicer and a table visual.

The slicer should contain all the names from Column A , B & C.

Eg : If Name 1 is selected in the slicer, in the table where ever Name 1 appears ( in all 3 columns) , the cell should get highlighted with a colour.

Is this possible to achieve..

 

Would appreciate any help ... 

 

Thanks in Advance ..

SS

 

 

 

@amitchandak @truptis 

1 ACCEPTED SOLUTION
truptis
Community Champion
Community Champion

Hi @Anonymous ,

Refer this video:

https://youtu.be/DLq5i1mlFqg 

 

If this works, please mark it as a solution & hit the thumbs up. Thank you.

View solution in original post

5 REPLIES 5
truptis
Community Champion
Community Champion

@Anonymous -> go to transform data and try to unpivot 

Anonymous
Not applicable

@truptis Thanks thanks ... I got it 🙂 

 

One last question ... Can we achieve the same if we use a Text Filter (Search) instead of the Slicer ?

 

Thanks 

SS

@Anonymous , you have got a search option within the slicer. You can use that.

Click on the slicer-> click on the 3 dots-> search

 

This will give you a search bar on the slicer.

 

truptis
Community Champion
Community Champion

Hi @Anonymous ,

Refer this video:

https://youtu.be/DLq5i1mlFqg 

 

If this works, please mark it as a solution & hit the thumbs up. Thank you.

Anonymous
Not applicable

Hi @truptis ,

 

Thank you so much for the super fast reply ... Yes it does help the part of my requirement which needs the cell to be highlighted.

In addition , I was thinking of combining values from the 3 columns into 1 to put into the slicer. But how do I , on the filter selection, search through the 3 different columns and highlight values in each column where the selected value appears..

 

Thanks,

SS

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.