Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Null Values in Chart 1

Status
Not open for further replies.

lcfc

Programmer
Dec 4, 2001
27
GB
Can anybody tell me how to supress null values in a chart?
 
Hi thanks for responding. It is not a line chart, but a bar. The null values just leave a 'blank' column
 
One approach is to create a formula:

if not isnull({table.summaryfield}) then {table.onchangeoffield}

Substitute your chart fields for {table.summaryfield} and {table.onchangeoffield}. Then use this formula as the "on change of" field. This will result in one bar per x-axis value that is non-null, but will also include one bar representing all nulls. In the chart expert, highlight the "on change of" field->order and choose "specified order". Add the non-null x-axis values by using the drop-down list. Then choose the "other" tab and choose "discard all others." This will eliminate the "nulls" bar.

If you might have different x-axis values depending upon a parameter in your record selection statement, first run the report with all values and add them into the specified order list so that the appropriate values are available to appear when a new parameter value is chosen.

-LB
 
That doesn't work as I can't select the formula in the ORDER sorting.. the count({Membership.WTCOUNTRY},{Membership.WTCOUNTRY}) is what causes this
 
Please see my response in your thread--you were misinterpreting the suggestion.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top