Solved

Use running total as column field for Cross-tab

Posted on 2009-07-01
9
580 Views
Last Modified: 2013-11-15
Hi,
I want to create a cross-tab where each column has the same record number of each group.
Meaning that the first record in every group will be in the same column, and so the second and the thrid records of every group will be in the same column respectively.

So what i mean is a running total that resets upon change of group.
i have created a running total (both with crystal and a manual running total) and tried it but its not available for the cross-tab.

Maybe i'm using the wrong approach, but all other fields i have to use as column are number fields or date fields. these wont work. the numbers dont have any particular order they are just a value for that record. as for The date, it will force to put them in groups of date (monthly, daily, every second) but wont help to get records in the same column.

How can i work around this?

thanks
CRM
0
Comment
Question by:carlosmonte
[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
  • 4
  • 3
9 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 24759546
Have you tried doing that using the running total field as the column header?

mlmcc
0
 
LVL 1

Author Comment

by:carlosmonte
ID: 24763545
that is exactly what i want and what i tried but doesnt work.
i could create a command query and add such numbers to the records but i'm sure there must be a way to do it in the report
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 450 total points
ID: 24766395
I think the problem is when cross tabs are built.  They get built before the report is run and running totals are calculated.

This idea might work
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40e7130d-aa1e-2b10-ce9f-eee2a54ff4cd

mlmcc
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:carlosmonte
ID: 24767911
looks promising.
i will try it early next week (going away for 4th of july!)
i'll let you know if it works
Thanks,
CM
0
 
LVL 1

Author Comment

by:carlosmonte
ID: 25101865
Michael,
i got it to work from the article you sent me. Thanks.
the only other thing i wanted is to better understand how this works.
i understand how the field values are passed to the subreport but i dont understand how the cross-tab reads those split values as a field./column coming from the DB.
Can you explain a little?
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 25102217
It really doesn't read them as coming from the database.

Each record from the database is read and the formulas are executed for each record.  The formulas pull the correct value from the arrays.

mlmcc
0
 
LVL 1

Author Comment

by:carlosmonte
ID: 25102586
Thanks
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Hi, I am very much excited today since I'm going to share something very exciting Tool used for Analytical Reporting and that's nothing but MICROSTRATEGY. Actually there are lot of other tools available in the market for Reporting Such as Co…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

756 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