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

Which colour takes precedence?

Hi all

I want Type A and Type Be to show in different colours. as per Header1

but

when I select by Department I lose the colour ???

Jo

Header 1Header 2

Capture1.PNG

Capture2.PNG
1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try:

=if(getselectedcount(DEP) and DEP=DEP,Yellow(),Only({1}if( Type = 'A', RGB(102,153,255), RGB(166,218,140))))

View solution in original post

6 Replies
tresesco
MVP
MVP

Try color expression with set {1} like:

=Only({1} if(Type = 'A', RGB(102,153,255), RGB(166,218,140)))

josephinetedesc
Creator III
Creator III
Author

yes .. that works - but having done that  - the colour showing the DEP selected was visually good!  Can I do both in some way???

Jo

tresesco
MVP
MVP

Sorry, I could not follow. Could you explain a bit more?

josephinetedesc
Creator III
Creator III
Author

If you look at the second image (Header B) - When DEPA selected then - then DEPA is highlighed in blue - which you don't want in blue - but could be useful if it was in another colour.

Jo

tresesco
MVP
MVP

Try:

=if(getselectedcount(DEP) and DEP=DEP,Yellow(),Only({1}if( Type = 'A', RGB(102,153,255), RGB(166,218,140))))

josephinetedesc
Creator III
Creator III
Author

Yest thank you - that works beautifully