Solved

Turning off Point Labels in Report

Posted on 2008-06-10
3
174 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
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
catherinelouise earned 500 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

832 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