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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Chart Issue

Status
Not open for further replies.

devnaren

Programmer
Aug 23, 2007
49
US
Hi All,

I'm using crystal XIR2 with Oracle. I created chart in which x-axis should show up the Q1, Q2, Q3 and Q4. If there is no records in Q3, then it shows Q1, Q2 and Q4 on x-axis.

My question is if there is no records fall in Q3, still i want to display that qtr on x-axis of the chart.



 
This is an instance of a general feature of Crystal - a potential group that has no members will not be shown.

With totals, the fix is a mock-crosstab. For a chart, you may need to find a way to include records that you don't intend to use for totalling, but their presence will allow a total to zero.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
You could try using conditional formulas, one for each quarter, as in:

if {table.date} in Calendar1stQtr then {table.amt}

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top