Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Change line color?

$
0
0

I'm having trouble with an expression. I'm trying to change the color of my lines in SSRS. I really just want to make the field RunningTotalThisYr orange, RunningTotalLastYr black, and Goal red. (As a side note, I'm just using "Goal" to put a threshold line to see how close we are to meeting our goal). Here's what I've tried:

=Switch(Fields!RunningTotalThisYr.Value > 0, "Orange", Fields!RunningTotalLastYr.Value > 0, "Black", Fields!Goal.Value > 0, "Red")

Here is the dataset:

Here is the result:

Any help is appreciated :-)


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>