473,320 Members | 1,831 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Pivot design to add more (stationary) column headers

I have this data:

Company Service Planned Authorized Date
XYZ 1 100.00 50.00 FY12
XYZ 1 100.00 25.00 FY11
XYZ 2 20.00 20.00 FY12
XYZ 3 100.00 25.00 FY11
XYZ 3 100.00 25.00 FY12
XYZ 3 100.00 25.00 FY13
XYZ 4 15.00
XYZ 4 15.00
XYZ 5 54.00 23.00 FY12
XYZ 5 54.00 15.00 FY11
XYZ 6 70.00 70.00 FY12
XYZ 7 125.00 75.00 FY12
XYZ 7 125.00 25.00 FY11
XYZ 8 63.00
XYZ 8 63.00
XYZ 9 48.00 20.00 FY11
XYZ 9 48.00 4.00 FY11
XYZ 3 100.00 25.00 FY14

I need to turn that data into:

Filter by: Company Name
Display:
service (row)
amount planned (column)
authorized total (column)
years (column)
delta (column) = [amount planned] - [amount authorized]
authorized amount per year (values)

I have tried using pivots, but it seems to limit me on the column headers...

The idea is to build this in access so I can import data tables, format into the above, and export the documents in excel. If there is a better way to do this please let me know as well! Please help!
Feb 20 '14 #1
2 1390
zmbd
5,501 Expert Mod 4TB
I usually start with good ole Allen Browne's crosstab tutorial when trying to do something beyond what the wizards will accomplish.

See if this information will help: •Crosstab query techniques

If not, please post back with your questions.
Feb 24 '14 #2
Might be easier to just query the table from excel as the data source when you create the pivot table, I find managing pivot tables in excel much, much easier.

*EDIT: Ensure you set your connection to "Share Deny None" to avoid locking your db!
Feb 24 '14 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

15
by: Roedy Green | last post by:
In a spreadsheet you can arrange that column headers are always visible no matter how much your scroll the table itself. What is the best way to get this effect in CSS?. Does it require frames or...
2
by: Yaron | last post by:
Hi I'm creating a control very similar to the ListView in Details mode. I'm confused as to how to go about drawing the column headers at the top As the column headers are static and stay in one...
2
by: MFRASER | last post by:
I am trying to populate a listview and I can not see the column headers, is there a property I am forgetting to set? Here is my code // Create three items and three sets of subitems for each...
2
by: David Veeneman | last post by:
How can I set a bound DataGridView control to use a dataset table's column captions, instead of column names? I'm working with a DataGridView control, which I have bound to a table in a dataset....
4
by: Hans Merkl | last post by:
Hi, Is there a way to show the column headers of a GridView control even if there is no data? The only thing I see is the EmptyDataTemplate but I would also like to display the column headers. ...
1
by: ElenaR | last post by:
I need to figure out how to name my column headers in a DataGrid. In VB6, I could write DataGrid1.Columns(0).Caption = "ID". What is the format for VB.NET? Thanks in Advance!
3
by: JL | last post by:
Is it possible and if so, how, to change the color (and/or font) of a listveiw's column headers at runtime and individually? TIA, John
0
by: nkparimi | last post by:
Hi, Here's what I'm trying: given an html table, to freeze the column headers and/or left column in IE. I understand that this is possible thru style sheets in IE, as suggested in the following:...
2
by: John Walker | last post by:
Hi, We have a datagrid with column headers. If the datagrid has more than say 25 rows the user needs to scroll down to be able to see the rest of the grid. When the user does this the column...
1
Denburt
by: Denburt | last post by:
This function was originally created back in the dawn of time, over the years I have made a number of changes and after searching the net I still didn't see 1 that allowed for the use of column...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.