Solved

SSRS Hiding labels on a chart

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Visual Studio 2008 book recommendation 6 50
SSRS Calculation help 6 66
Executing multiple ssrs reports from ssis package 20 75
SSRS troubles 4 105
Written by Valentino Vranken. Introduction: The first step of creating a SQL Server Reporting Services (SSRS) report involves setting up a connection to the data source and programming a dataset to retrieve data from that data source.  The data…
It is helpful to note: This is a cosmetic update and is not required, but should help your reports look better for your boss.  This issue has manifested itself in SSRS version 3.0 is where I have seen this behavior in.  And this behavior is only see…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

739 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