How to write the condition in SSRS for dynamically changing color of the cell based on value
Asked
Active
Viewed 189 times
3
-
1This existing answer might help you: [change color depending on value SSRS](https://stackoverflow.com/questions/34724228/change-color-depending-on-value-ssrs) – Niranjan Rajawat Nov 07 '17 at 08:57
2 Answers
2
- Choose the Cell / Row / Column that you want to Change the color dynamically
- Go to Properties (Hit F4)
- Select Back Ground Color and Choose Expression
- In the provided window, Give your Expression based on which the color will change.
Refer This Link for more details

Jayasurya Satheesh
- 7,826
- 3
- 22
- 39
2
try something like this:
=IIf((Fields!nbday.Value >= 0 and Fields!nbday.Value < 90) ,"#3174c3",IIf((Fields!nbday.Value >= 90 and Fields!nbday.Value < 120),"#02C1D3","No Color"))

Mohamed Azizi
- 144
- 1
- 4
- 14