?
Solved

Turning off Point Labels in Report

Posted on 2008-06-10
3
Medium Priority
?
179 Views
Last Modified: 2013-11-26
I am in the process of creating a report and one of the graphs is a pie chart. Most of the totals are small, but there are a few that need highlighting. I can get the point labels to show as I like, but I cannot turn them off for the small values. Is this possible, and if so how.

Here is the code that I currently have for the Point Labels....

=IIF(Count(Fields!OUTAGE_ID__.Value)/Count(Fields!OUTAGE_ID__.Value, "Availability_vwReport_Events") > 0.05, FormatPercent(Count(Fields!OUTAGE_ID__.Value)/Count(Fields!OUTAGE_ID__.Value, "Availability_vwReport_Events"), 1) & "," & Fields!Cause_Code.Value, "")

That works and formats it properly, except the false puts in the series label. Attached is a the graph as it currently stands.

Thanks

Chris
graph.jpg
0
Comment
Question by:TWCMSN
[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
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
catherinelouise earned 1000 total points
ID: 21769439
Hello Chris!

I'm not an Expert, but had a play around and recreated your problem, and found that by putting at least one space between the double quotes prevented the label from being displayed.

So try this instead

=IIF(Count(Fields!OUTAGE_ID__.Value)/Count(Fields!OUTAGE_ID__.Value, "Availability_vwReport_Events") > 0.05, FormatPercent(Count(Fields!OUTAGE_ID__.Value)/Count(Fields!OUTAGE_ID__.Value, "Availability_vwReport_Events"), 1) & "," & Fields!Cause_Code.Value, " ")

Regards, Catherine
0
 
LVL 1

Author Comment

by:TWCMSN
ID: 21771117
This works for having the labels blank, but this still leaves the lines. If those can be disabled, the problem is solved. I'll see what I can do, and if someone has any additional informatoin, that would be great.

Thanks,

Chris
0
 
LVL 5

Expert Comment

by:catherinelouise
ID: 21814148
Hey,thanks for accepting my solution - I guess you didn't have much choice though eh ;-)

I just wanted to say that I looked and looked and found other people with the same problem, there just doesn't seem to be an answer for it.  The only additional point I have is that if you don't position the label yourself and use auto-label, then the text generally appears without the line and then this solution works OK.  I guess that all depends on the amount of data on your pie-chart as to whether that really is a suitable solution or not.
0

Featured Post

RHCE - Red Hat OpenStack Prep Course

This course will provide in-depth training so that students who currently hold the EX200 & EX210 certifications can sit for the EX310 exam. Students will learn how to deploy & manage a full Red Hat environment with Ceph block storage, & integrate Ceph into other OpenStack service

Question has a verified solution.

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

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
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…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

762 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