Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: % of group total Post Reply Post New Topic
<< Prev Page  of 2
Author Message
natali
Newbie
Newbie
Avatar

Joined: 15 Jan 2013
Online Status: Offline
Posts: 26
Quote natali Replybullet Posted: 27 Oct 2014 at 11:06am
I placed my % formula in the footer.
The rest is correct.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 27 Oct 2014 at 11:13am
INstead of using the grouping, create two formula to get your values to sum
then you have two reults to use for the %
//Salary
if table.typefield = 'salary' then table.valuefield else 0
 
//benefits
if table.typefield = 'benefits' then table.valuefield else 0
 
if sum(@salary) <> 0 then
sum(@benefits)%Sum(@salary)
 
if you have another level of grouping in that then you can do the sum of each of the formulas at that group level (like summaries at an organizational team or an employee group)
IP IP Logged
natali
Newbie
Newbie
Avatar

Joined: 15 Jan 2013
Online Status: Offline
Posts: 26
Quote natali Replybullet Posted: 28 Oct 2014 at 3:30am
Thank you very much for your help.
I will try this. Hopefully it works.
Natalie.
IP IP Logged
<< Prev Page  of 2
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.