Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Cross Tab Doubt... Post Reply Post New Topic
Author Message
padreport
Newbie
Newbie


Joined: 20 Mar 2007
Location: India
Online Status: Offline
Posts: 38
Quote padreport Replybullet Topic: Cross Tab Doubt...
    Posted: 14 Jun 2007 at 9:56pm
Hi
 
    In cross tab i've a field in the column (In Cross Tab Expert) eg: Days.
That is 1 to any number of days (based on the data). So that horizontal portion will grow... right ?. In each day some Amout will be displayed in the summarized field in cross tab expert (eg: Amount is the field).  But i would like to display that Days field value from 1 to 5 with the corresponding amount. Then 6 to remaining values the amount value has to consolidated and display in the 6 the colum value itself. how to do it. any idea....
 
Like the following i would like to display here i didn't give the rows details. As it is some row details will be displayed...
 
day1  day2  day3  day4  day5  day6/Consolidated
100    200    300    400   500    3200
 
Thanks in Advance
PAD
IP IP Logged
themessenger
Groupie
Groupie
Avatar

Joined: 15 Aug 2008
Location: United Kingdom
Online Status: Offline
Posts: 48
Quote themessenger Replybullet Posted: 15 Aug 2008 at 5:00am
Use formulas to find each day

myDayTitle
CASE
 WHEN {Value_Date} = {Given_date} : 'Day1'
 WHEN {Value_Date} = {Given_date}+1 : 'Day2'
 WHEN {Value_Date} = {Given_date}+2 : 'Day3'
 WHEN {Value_Date} = {Given_date}+3 : 'Day4'
 WHEN {Value_Date} = {Given_date}+4 : 'Day5'
 WHEN {Value_Date} > {Given_date}+4 : 'Day6/Consolidated'
END


so in the report footer you will have your crosstab

myDayTitle
========
SUM(value)
Managing Director
www.allmymenus.com
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.016 seconds.