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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.