Forum Discussion
Changing a table row colour when selected
Hi,
I have a table in a PowerBi report where the user can select records, and using Power Automate, send e-mails to those selected. As standard, PowerBi greys out the rows not selected leaving the selected rows as they are. However, this is not that clear in the table. Is there a way of changing the colour of the background or text when a row or multiple rows are selected? I've read that it can be done with slicers but that doesn't do what I need the report to do. Has anyone found a way of doing this?
Thanks Aled
4 Replies
- eliasayyyMemorable Member
hello
Background = SWITCH( SELECTEDVALUE('Table'[Name]), "A","green", "B","yellow", "C","blue" ) - AledDaviesRegular Visitor
Thanks eliasayyy. That will be useful for another report I'm creating. However,one I'm trying to do it without a slicer. When the user selects a row or does Ctrl and selects multiple rows in the table it changes it's colour of the ones selected. Not sure if it's possible though.
Thanks again
Aled
- eliasayyyMemorable Member
oh i see yes if you just select the rows from the table it wont work
- AledDaviesRegular Visitor
I didn't think it was possible. Thanks for the help though.