Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: New percentage column Post Reply Post New Topic
Author Message
crystalreporter
Newbie
Newbie
Avatar

Joined: 19 Sep 2011
Location: Turkey
Online Status: Offline
Posts: 1
Quote crystalreporter Replybullet Topic: New percentage column
    Posted: 21 Sep 2011 at 4:39am
Hi,

i have a report with DQL (Documentum Query Language). I use cross-tab reports because i need count of cases of workflows those are started by different users.

_____|case x___|case y___|total |
user a|count x-a |count y-a |tot a  |
user b|count x-b |count y-b |tot b  |

In addition i need percentages of count to totals

_____|case x___|____perc_1___|case y___|____perc_2___|total |
user a|count x-a |count x-a/tot a |count y-a |count y-a/tot a |tot a  |
user b|count x-b |count x-b/tot b |count y-b |count y-b/tot b |tot b  |

DQL does not let me use a select statement as a table ( from (select...) t1) so my question is:

can i add new columns using functions or other abilities of Crystal Reports?


Edited by crystalreporter - 22 Sep 2011 at 10:52pm
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 21 Sep 2011 at 8:13am
people use the Command Object to create tables for their reports.
 
CR won't let you add columns to the data, but you can link tables together which the command object would let you do.
 
If you could write a stored proc, well that is always my prefered method as it allows the most flexibility to the report writter.
 
HTH
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.