Solved

SSRS Hiding labels on a chart

Posted on 2013-05-10
5
2,846 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
ID: 39161255
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
ID: 39197815
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
ID: 39290295
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
ID: 39316735
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
ID: 39329087
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SSRS report add paramter listing user running the report 2 64
SQL Server agent & maintenance task issue ? 8 79
SSRS Report 2 46
Present Absent from working date rage 11 38
Written by Valentino Vranken. A while ago I wrote an article called Chart Optimization Tips (http://www.experts-exchange.com/articles/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Chart-Optimization-Tips.html).  This article explained how …
Hi, I have heard from my friends that it’s not possible to create Label Printing report using SSRS. I am amazed after hearing this words not possible in SSRS. I googled lot and found that it is possible to some of people know about the Report Bui…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

820 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