Topic: crystal reports - bar chart query Posted: 06 Mar 2009 at 2:50am
hi,
i have created a bar chart for one single customer. That means on the
chart i have just one bar (which is what i want). The bar is subdivided
into 2 sections based on a 'yes' or 'no' value in another database
field called {yesnofield}.
in the chart expert in the 'show values' box, i have nothing; i set the
drop down box to 'for all records'. In the 'show value(s)' box, i have
2 formulas that look something like this:
formula1: if {yesno} field='yes' then 1
formula2: if{yesno} field='no' then 1
in the chart i have set these to 'sum of formula1' & 'sum of formula2'.
the information being displayed on the bar sections is correct.
however, if, lets say one sections sum is 0, a 0 is displayed on the
chart. How can i get it that if the sum of formula1 (or formula2) is
zero, then no value is displayed on the chart. (except for the values
greater than 0) ?
Joined: 25 Feb 2007
Location: United States
Online Status: Offline
Posts: 33
Posted: 08 Mar 2009 at 5:36pm
I suspect someone will chime in here with a decent suggestion - this SHOULD be solvable. However if it continues to be a hassle, please be advised that our add-in charting module for CR called CRChart could solve this trivially (see the @HIDE_ZERO macro for instance).
-Dan
DISCLAIMER: I work for the company, threedgraphics.com, that makes this product. This product costs money.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum