Solved

Crosstab- need a distinct count for each row

Posted on 2014-11-24
4
122 Views
Last Modified: 2014-11-28
I have a crosstab listing each product number as row and each "selected" store as column. Summary is the # sold for each item/store.  I need to do a distinct count of the stores selling each item and put it in the Total column only.  I can do this for each column, and it works quite well.  I cannot figure out how to place this in the Total column only.  I tried an embedded summary, and this gives me a column with each line the entire count of stores.  

Is there a way to do this?
0
Comment
Question by:Datakat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 40463823
I don't think you can do that in the cross tab.

mlmcc
0
 
LVL 35

Expert Comment

by:James0628
ID: 40464204
If you're getting the grand totals that you want, and the problem is simply that you don't want to see the subtotals in the columns, you could try making the field as small as possible and suppressing it.

 James
0
 

Author Comment

by:Datakat
ID: 40464775
I have tried suppressing the column, as James0628 suggested, which works for printing or viewing, but the request is to be able to export this to Excel, and then there will be an empty column in the spreadsheet, which the users do not want.
0
 
LVL 35

Accepted Solution

by:
James0628 earned 500 total points
ID: 40465003
You know, I thought of the Excel thing, but you didn't mention exporting, so I was hoping that that wouldn't be an issue.

 I don't know if there's any other way to do that.  In the past, CR cross-tabs were pretty rigid, and I haven't used the newer versions that give you some additional capabilities.  The only other thing I thought of was actually putting a second cross-tab (with a single column with a total) beside the first one, but even if you could get that looking OK, including working out the spacing due to the variable number of columns in the first cross-tab (the simplest thing would probably be to put the new cross-tab on the left), then you'd probably have more issues with the export.

 James
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question