Solved

SSRS Hiding labels on a chart

Posted on 2013-05-10
5
2,657 Views
Last Modified: 2013-07-16
I have a series on a chart that is a Moving average calculated Series.  I want to display a label for only the last value.  

An elegant solution I found would be do to do this for Visible
=iif(me.Value=Max(Fields!Approved_date.Value,"LabReports"),TRUE,FALSE)

Open in new window

But me.Value only has an option for me.Equals and me.Reference equals

If I try to use this for the value:
=iif(Fields!Approved_date.Value = Max(Fields!Approved_date.Value,"LabReports"),"#VALY","")

Open in new window


If always returns the value. Fields!Approved_date.Value always evaluates to the Max value for some reason.
0
Comment
Question by:newbie-netter
  • 3
  • 2
5 Comments
 

Author Comment

by:newbie-netter
Comment Utility
I also tried adding a series using the RunningValue function

Int(100*RunningValue(Fields!DEVELOP_TEST.Value,Sum,Nothing)/(RunningValue(Fields!APPROVAL_TEST.Value,Sum,Nothing)+RunningValue(Fields!DEVELOP_TEST.Value,Sum,Nothing))

Open in new window


The series calculated correctly but I'm still unable to get the me.Value to work
0
 
LVL 22

Accepted Solution

by:
Nico Bontenbal earned 250 total points
Comment Utility
I'm afraid the hidelabels property is not evaluated for every label, but only once for the entire chart. So they are all on, or all off.
The only thing I can think of that comes close to what you want is using a data label. For a data label you can use an expression and this is evaluated for every value. See this article for an example:
http://markvsql.com/2012/05/dynamic-ssrs-chart-data-label-visibility/

Wait...............just thought of another possible solution. You could use the axis title. Hide the labels, and use the Axis title to show the last value on the right of the Axis. (Right align the Axis title).
0
 

Assisted Solution

by:newbie-netter
newbie-netter earned 0 total points
Comment Utility
I saw that example as well but couldn't get it to work for my application.  I ended up just showing all the values but making the font smaller so it didn't cause as much of a problem.  The axis title idea is interesting, but not going to try at this time.
0
 
LVL 22

Expert Comment

by:Nico Bontenbal
Comment Utility
So I think you should close this question then marking your own answer as the solution. Or delete the question.
0
 

Author Closing Comment

by:newbie-netter
Comment Utility
I saw that proposed solution as well but couldn't get it to work for my application.  I ended up just showing all the values
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Written by Valentino Vranken. Introduction: In a previous article (http://www.experts-exchange.com/articles/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Reporting-On-Data-From-Stored-Procedures-part-1.html) I announced that I would writ…
Hi All, I am here to write a simple article to move SSRS (SQL Server Reporting Services) reports from one server to another. When I have faced the same issue to move reports those were developed by developer on development server and now need to …
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now