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

Filter Cross Tab?

Status
Not open for further replies.

Bonediggler1

Technical User
Jul 2, 2008
156
US
Hello -

I have a pivot table in Excel that I am trying to mimic in Crystal. Basically, the columns are months, the rows are product, and the summarized value is revenue. The "Page Field" is customer...so the end user can filter the pivot table by customer. Is there any way to do this in crystal (i.e. set up a system so the end user can filter data by customer?)

Thank you!!!
 
Insert a group on customer and insert a crosstab in the group header or group footer that uses month as the column, product as row, and sum of revenue as the summary field.

Go to report->selection formula->record and add:

{table.customer} = {?Customer}

Assuming you want them to be able to pick multiple customers, the crosstab per group will give you one crosstab per customer. Then go into the section expert->group footer->new page after->x+2 and enter:

not onlastrecord

This will create one page per selected customer.

-LB
 
Thanks LBass...but when I put the {table.customer} = {?customer} i get the message:

"This field name is not known"


referring to {?customer}
 
You have to create the parameter in the field explorer->parameter->new. Set it up as the same datatype as the customer field. Replace {table.customer} with your actual field name.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top