Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Group data

Hello!!

After two hors without success, some idea how show this?

DATADATENAMEAMOUNT
15/09/2010GEORGE40
11/10/2010JANE10
19/10/2010GEORGE115
28/10/2010GEORGE900
01/11/2010JANE256
12/11/2010JANE200
14/12/2010GEORGE100
23/12/2010JANE25
I need show this.
Sep-10Oct-10Nov-10Dec-2010Total
JANE01045625491
GEORGE40101501001155

Thanks Regards

César Estrada

1 Solution

Accepted Solutions
pover
Luminary Alumni
Luminary Alumni

1. Create a pivot table with two dimensions:

Name, monthname(DATE)

and one expression

sum(Amount)

2. Expand the first column of the pivot table.

3. Drag the second column of the pivot table to above the expression column (sometimes this is a little tricky to do) and when a horizontal blue arrow appears let go of the mouse.

4. You have your report.

Regards.

View solution in original post

7 Replies
pover
Luminary Alumni
Luminary Alumni

1. Create a pivot table with two dimensions:

Name, monthname(DATE)

and one expression

sum(Amount)

2. Expand the first column of the pivot table.

3. Drag the second column of the pivot table to above the expression column (sometimes this is a little tricky to do) and when a horizontal blue arrow appears let go of the mouse.

4. You have your report.

Regards.

Miguel_Angel_Baeyens

Hi César,

Do a pivot table with NAME and

=Date(DATE, 'MMM-YY')


as Dimensions and

Sum(AMOUNT)


You will have to pivot the month columns.

Hope this helps.

Not applicable
Author

Hi,

Do this as a pivot table with Name and Date as dimensions and then sum(Amount) as the expression.

To get the months to group like that, edit the Date dimension like this:

=MONTH(DATE)&'-'&YEAR(DATE)

Hope that helps!

Cheers, Emma



Not applicable
Author

Just read Karl's post ... monthname(DATE) is better than my way! 🙂

Not applicable
Author

not sure using the date format will work - when I've tried it before this just gives me several columns for each month rather than totalling them up. Only works for me if I include monthstart as well ... then the formula becomes

=DATE(MONTHSTART(DATE),'MMM-YYYY')



Not applicable
Author

Thanks!!!! work perfect!!!!
Regards
César
pover
Luminary Alumni
Luminary Alumni

Agreeing with Emma, the date function usually maintains the original number value of the date, even though the format changes. I've had this problem in the script.

Regards.