im looking to add some arrow indicators to compare 2 values within my Matrix. Current week v Last week.
I'm getting confused on where to put my expression which I'm currently using (for a Red arrow going down)
=Fields!COUNT_Signed.Value<Fields!COUNT_Signed_lw.Value
I have entered this into the Start Expr and have -1 in the End Expr.
all I'm getting is Green arrows going up as I'm also using > for green
Any help would be grateful
I think you have Fields!COUNT_Signed_lw.Value as the Value and you just need to use =Fields!COUNT_Signed_lw.Value as your END and -1 as the START.
The START and END values are the range of values to compare the Value with.
In this example, the indicator would be RED if ADMIT is Between 0 and 33.
MSDN - Indicators
Related
I am trying to apply an indicator arrow that feeds from a variance Percentage as per screenshot. The only options available within the indicator require me to set a start and end, however. The column that I wish to reference merely shows % change. This can be positive 0.9% for example or negative -2.3%. When working with the percentage change in this way how do you apply a start and end? Ideally, I would like simply to say green up arrow if >0 or red down arrow if less than 0. (right pointing orange arrow if 0 to show no change). Have been google(ing) for a couple of hours now and cannot find a working solution.
The arrows do not work as all currently show Green and up.
This looks like it will solve your issue:
MSDN
It basically doesn't use the values but has an expression for the colour instead.
I have an SSRS report with a bar chart with multiple series by CountryName Category group. What I want to do is have gridlines which split each country like below:
However in SSRS the major gridlines seem to interval with the line in the middle of the country name when the grid interval is set to 1 like below:
Can someone point me in the right direction into how to rectify this?
Also is there a way of adding the X axis in SSRS to start from zero like I have in my first graph?
Thanks
You can do it, there is an offset property on the grid lines (horizontal and vertical are separate). Click one one of the gridlines and look in the properties pane. Change the offset to 0.5.
Gives you this.
I'm not sure what you meant about starting from zero on the X-Axis, you have negative values so you'll start from a negative number. If you meant you wantde zero aligned to the middle. You can do that to. You need to set the min and max values of the horizontal axis to the following
Min Value:
=MAX(ABS(Fields!MyValueField.Value), "MyDataSet")*-1
Max Value will be:
=MAX(ABS(Fields!MyValueField.Value), "MyDataSet")
Basically we take the ABSolute largest value and use that as the extent (*-1 for the min value). The problem is that zero might not show so you'll have to play around with the Axis properties maybe to get that working. I'm sure it's possible but I don't have time to test at the moment.
My test data is not great as the number are large
What expression do I need to get a date field(DateAdded) to turn red 3 days after "today"? (ex: Today is 3/13. The field would turn red on 3/16 and stay red)
I think this is what you need. Assuming stay red is keep it red if the difference is 3 days or more.
=IIF(Datediff(DateInterval.Day,Fields!YourField.Value,Today)>=3,"Red","Transparent")
DateDiff function returns the difference between two dates in terms of a specific interval of time.
In this screen shot from an SSRS report with bar charts, I would like for 0 values to display a tiny bit of color rather than just being blank. Here's what it looks like now:
Most of these charts have many series. I am generating a copy of the charts for each person under review and including the comparison values for everyone else in the group. I am thus coloring the bar representing the person under review differently from the normal color so they can easily see their performance compared to others.
Now, while there are y-axis labels, I would also like the 0 value to have at least a tiny sliver of color so everything is symmetric and the color can be seen. (I am also thinking about putting those with no data at all in the chart and need a way to distinguish those, so any ideas on how to accomplish that would help as well.)
I thought about making the axis start at -1 so the space from -1 to 0 would be colored, but I can't figure out how to get the labels to start at 0 (as shown) when I do this. I have played with quite a few settings and nothing is coming out right...
Sigh. I just figured it out.
Select the X axis.
Set CrossAt and Minimum properties to -1.
Set the IntervalOffset property to 1.
Important note: the chart in Design mode will NOT show correctly. Since I put an Interval of 20, it is showing -1 19 39 59 79 99, but when I actually Preview the report, the result is correct. Don't let yourself be thrown off by the design-mode pre-preview.
Now it looks like this:
If you leave out the CrossAt property, then the bars float away from the y-axis, leaving a gap. You must use all the properties I mentioned above to make the color reach past 0 all the way to the axis line.
I will start with a picture (I know it's a bit difficult to see):
As you can see in the report I have three groups:
Organization level 1 - with some grade and indicator
Second group grouped by the entity type (person of organization) and each one has an average grade with indicator
The third section is a list of persons of organization with their grades and indicators
The indicators are set follows:
The problem is that sometimes the indicator shows the color yellow when the grade is 100 (the indicator should show the color green).
I have checked the following:
The grade that returns is 100 but the indicator still shows the color yellow
I have tried to create c color expression and the result was the same.
I have started to think that this is a bug of Report builder 3 / Reporting services
I have a few suggestions.
Can you add decimals to the output to see if the yellow 100 is over 100? As these are averages this may effect the upper limit.
Also try putting the colours in order of green to red.
Edit:
Something doesn't match up in your report and / or data as the green "56" acording to tat value should be red, and some of the yellows are to be red.
You need to check the value you print next to the traffic light as these values are not in any way reflective of the vaues you are getting out for the indicators.
Also check the data type on the grade field or may be add a convert funcrtion, say cint() to your expression.
Your fields should be 0 to .60, .60 to .85, .85 to 1 as it looks like the field you are basing this on is an avg.
You can give a try by Changing the range for the yellow and green as
Yellow: 61 to 85
Green : 86 to 100