Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Pivot Table % Calculation Issue

I am bringing in the data below from SQL Server. I cannot add a calculated
field because it is removed when it is refreshed.
The issue is with the SUM of the GP% ((GP $/Sales)*100). I manually added
another column to the right for only the ones that are wrong and what it
needs to be. Spent too many hours trying to resolve this one.
Data
Store Order No Description Sales GP $ GP% GP% Needs
to be
BR 00000231 SPRING RED 11.99 6.49 54.13
00000231 Total 11.99 6.49 54.13
00000232 SPRING RED 11.99 6.49 54.13
00000232 Total 11.99 6.49 54.13
00000233 BALL RACK 49.99 24.99 49.99
00000233 Total 49.99 24.99 49.99
00000234 BLUE PUP 39.99 19.49 48.74
00000234 Total 39.99 19.49 48.74
00000236 BLUE PUP 39.99 19.49 48.74
SPRING RED 11.99 6.49 54.13
SPRING YEL 11.99 6.49 54.13
00000236 Total 63.97 32.47 156.99 50.76
00000237 READ RACK 14.99 7.49 49.97
BLUE PUP 39.99 19.49 48.74
SPRING RED 11.99 6.49 54.13
00000237 Total 66.97 33.47 152.83 49.98
00000238 BALL RACK 49.99 24.99 49.99
00000238 Total 49.99 24.99 49.99
00000239 SPRING YEL 11.99 6.49 54.13
00000239 Total 11.99 6.49 54.13
BR Total 306.88 154.88 620.93 50.47
Grand Total 306.88 154.88 620.93 50.47

Any suggestions would be greatly appreciated.

Jeannette

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 434
Default Pivot Table % Calculation Issue

hi, Jeannette !

I am bringing in the data below from SQL Server.
I cannot add a calculated field because it is removed when it is refreshed.
The issue is with the SUM of the GP% ((GP $/Sales)*100).
I manually added another column to the right for only the ones that are wrong and what it needs to be.
Spent too many hours trying to resolve this one.
Data
Store Order No Description Sales GP $ GP% GP% Needs to be (...)


*if* you cannot add a calculated field... how/where/... do you get the data for your PT 6th field/column "GP%" -???-

*if* you add a calculated field every time your PT is refreshed (by code) ?
- try "constructing" a(nother) field from your query to your sql-server data
you might need to *group by* (order or description) -?-

if any doubts (or further informacion)... would you please comment ?
hth,
hector.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Table Updates Issue Phil Smith Charts and Charting in Excel 2 August 22nd 07 09:44 PM
Pivot Table Issue Titanium Excel Worksheet Functions 2 June 17th 07 08:51 PM
Pivot Table issue in Excel 2007 ExcelInstructor Excel Discussion (Misc queries) 1 June 29th 06 08:45 PM
Ongoing Pivot Table Issue roly Excel Discussion (Misc queries) 3 November 27th 05 11:40 AM
pivot table version issue maryj Excel Discussion (Misc queries) 1 October 4th 05 07:40 PM


All times are GMT +1. The time now is 12:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"