Solved

Use running total as column field for Cross-tab

Posted on 2009-07-01
9
582 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 101

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 101

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
Independent Software Vendors: 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 101

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

Industry Leaders: 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!

Question has a verified solution.

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

Problem Statement In an SAP BI BO Integration project when a BO universe is built on a BEx query, there can be an issue of unit & formatted value objects not getting generated in a BO universe for some key figures. This results in an issue whereb…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

691 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