on 06-29-2016 5:16 PM
Hi Team
I have a data like this and having some values for every row
Country | Values |
Indiastate1 | 22 |
Indiastate2 | 1 |
Indiastate3 | 3 |
UsBay1 | 2 |
UsBay2 | 4 |
UsBay3 | 6 |
UKnnn | 1 |
UKmm | 2 |
Now I want summary for each country.Please suggest
Indiastate1
Indiastate2
Indiastate3
India Total : 26
UsBay1
UsBay2
UsBay3
US Total: 12
UKnnn
UKmm
UK Total: 3
Hi Vissu,
Insert a group on the country field.
Go to the insert summary option > choose the Values field as the Field to Summarize > Select Sum as the summary operation.
Under 'summary location', choose the Group for Country.
Suppress the Group Header section.
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhilash
Thanks for your response
I just gave sample data only
I need to group based on first name only
I have data like this
Department:
TTTaca
TTTbab
TTTcns
RRRads
RRRnsd
RRRdgs
sdsd
fdfd
sddfsd
dfsdf
The first name should never change for TTT and RRR
I need show total of TTT,RRR and remaining like below
What ever the data we have apart from TTT and RRR should consider as one group
TTTaca
TTTbab
TTTcns
Total for TTT
RRRads
RRRnsd
RRRdgs
Total for RRR
sdsd
fdfd
sddfsd
dfsdf
Total for remaning :
Hi Abhilash,
I have 3 remaining values in else condition.
How to write those.
Also I am getting data like tghis after adding group as you told above
TTT total:
RRR total:
Iam missing individual values
I wrote like this but getting error A string is required
If Left({db_txt.ASD}, 3) = 'TTT' then 'TTT'
else if Left({db_txt.ASD}, 3) = 'RRR' then 'RRR'
else {db_txt.ASD} in ['fsd','hfgh','pljgh']
You don't need to mention the remaining values as they need to be grouped together.
If Left({Name field}, 3) = 'TTT' then 'TTT'
else if Left({Name field}, 3) = 'RRR' then 'RRR'
else 'Remaining'
When you insert a group using this formula field, CR should create three groups. It should put all records where the first three letters = 'TTT' into a group called 'TTT'.
Similarly all 'RRR' records will be in their own RRR group.
And the rest will be grouped together into a group called 'Remaining'.
After you insert the group, go ahead and insert the summary as stated in my first reply.
Then, suppress the Group Header and move the summary to the Group Footer if it isn't on this section already.
-Abhilash
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.