Solved

SSRS Hiding labels on a chart

Posted on 2013-05-10
5
2,725 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SSRS reports 5 31
SSRS report builder 3.0 6 38
After dropping index,  load taking a long time. 5 49
SSRS Total a column based on a calulated field - Report Writer 3.0 12 59
Time Corrections for Reports Working with a report, we made some interesting discoveries about the time corrections/updates We are using the following Parameters: Starting Entered Date (Date) formatted as Data type: "Date/Time" Ending Entered …
Introduction Earlier I wrote an article about the new lookup functions (http://www.experts-exchange.com/A_3433.html) that ship with SQL Server 2008 R2.  In this article I’m going to show you another new feature of SSRS 2008 R2, this time in the vis…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

867 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

21 Experts available now in Live!

Get 1:1 Help Now