Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SSRS Hiding labels on a chart

Posted on 2013-05-10
5
Medium Priority
?
3,251 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 750 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

After much searching across the internet I have found that you could not set the name of the file you were attaching to dynamic report subscriptons in Microsoft Reporting Services. I did manage to find one article showing you how your could make a s…
A recent questions about how to add SSRS named instances, couldn't find any that talks about SQL server 2008, anyway I decided to help by creating some screen shots. The installation is straightforward, you just pop the SQL server 2008 installati…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

722 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