Can crosstab show multiple objects in top header?

can crosstab show multiple objects in top header?
for example, the data showed as :
customer  city name  city value      product name  product value
    A             Paris          1             food              N
    A             London          2             milk              T
    B             London          3             food              E
    B             Paris          4             milk              M
    C             London          6             food              W
    C             Paris          3             milk              Q
    D             London          1             food              E
    D             Paris          2             milk              R
i want show these data in crosstab, and customer is the left header, city name and product name are the top header, and city value and product value are measures in the crosstab,
and i want show the data as below:
     London     Paris     food     milk
A     2     1     N     T
B     3     4     E     M
C     6     3     W     Q
D     1     2     E     R
but actually i got below result in crosstab:
     London     food     London     milk     Paris     food     Paris     milk     
A               2     T     1     N               
B     3     E                         4     M     
C     6     W                         3     Q     
D     1     E                         2     R     
anyone can help me on this?
thanks.

Can you see this image?
https://weblogs.sdn.sap.com/weblogs/images/252123862/trick2.JPG
The steps I did to get it were:
1. Insert a crosstab.  In the first column put this formula
=[customer]
2. In the blue row cell do not put the city name directly but this formula:
="*London*"
3. Add 3 columns. In each blue cell (header cells) put this formulas: ="Paris", ="food"
, ="*milk*"
4. Now, in the white cells:
In the first column put this formula:
=Max([city_value] Where ([city_name]="London"))
In the second
=Max([city_value] Where ([city_name]="Paris"))
In the third column:
=Max([product value] Where ([product_name]="food"))
In the fourth column:
=Max([product value] Where ([product_name]="milk"))
Sadly this is not dynamic as you can see, but is the only way to achieve what you want to display.
Otherwise better follow the advice by the other posters.
Edited by: PadawanGirl on Mar 2, 2011 5:48 PM

Similar Messages

  • Pages '09: Can't select multiple objects with mouse?

    Hello! I want to select some shapes. I know that I can hold down shift and click on them individually one by one, but they're very many and grouped together, so I just want to draw a 'selection-rectangle' with the mouse, just as it works in all other programs I've ever used. But this doesn't seem to work. What am I doing wrong?

    Hello Stef,
    You can simply click and drag over an area to select multiple objects if you are in a Page Layout document, but since this is your fourth post you may be new to Pages and you may not yet even be aware of the Page Layout mode. At the top of your Pages window is the document title and next to the title in parentheses are the words "Word Processing" or "Page Layout".
    So, in a Word Processing document, it's just a little bit more involved. In the upper left corner of the window, click on the View icon and select "Show Layout". You will see gray around the edges - your desktop, a white sheet - your paper, and three rectangular outlines - the header field, the text frame and the footer field. This assumes that you have the Header and Footer turned on.
    As you move your mouse, the text insertion bar, a vertical line with curved features top and bottom, will move about the document. Move the insertion bar to the margin, outside of the boxes, and press and hold the COMMAND key. Your cursor will change to an arrowhead. Now you can select multiple objects by click-dragging, just as you are accustomed to doing in other applications.
    Regards,
    Jerry

  • Can I put multiple object placeholder in Master slide?

    I would like to know if I can creat multiple object placeholder in Master slide or not.  After searching the disccusion, seems that this problem occur since Keynote 03 and is not improved till Keynote 09 now.  In fact, I would like to make a slide show of multiple photos, but I would like to arrange several photos in one slide and exactly the same position and size in each slide.  So, it would be easiler if I can make a master slide with mulitple object placeholders.  Can anyone help or if there is any alternative ways? Thank you.

    Apple Maps is not a GIS application. It might be one day. For now, you will have to use ArcGIS or something similar.

  • Can't select multiple objects in Pages 10 with "command+click".

    I've always been able to "command+click" to select multiple objects in Pages. However, since I updated to Pages 10, this shortcut does not work. Any thoughts?

    Apple is trying to make the iOS version and Mac versions match. Some incredibly stupid or lazy developers/designers took the iOS version as the standard and changed the OSX version to match. The stupidity in this is that iOS is not a good platform for work in the first place, it's incredibly cludgy to edit/write documents on the ipad, email maybe but editing real documents is a pain is the wazoo. The iPad is ok for watching videos, reading, browsing, but not for efficient work. Being able to select multiple items and work on them is a basic feature of most editors and has been for years. Microsoft Office for OSX is so much better that it will be difficult for Apple can catch up even if they wanted to. It's too bad for Apple makes prettier apps. And now MS Word for the iPad is available and free.

  • How can i show multiple windows on start?

    Hi everybody:
    I have an application that need to show 5 windows at the same
    time when the application is started. The 5 windows are seen but
    the canvas is not shown, so, i see 5 windows with no elements. I
    have tried with SHOW_WINDOW built in, but it only shows the
    window, not the canvas. If i use the GO_ITEM built in, in one
    item from each block i can only see the last block visited.
    Is there any property that i must change in canvases? (the
    raise on entry is in "yes"); i have to do anything else?
    Thanks.

    Windows have a property called "Primary Canvas". This sets what
    canvas should be shown in a window by default.
    Typically Forms knows what to display because the cursor is in
    an item, the item is on a canvas, the canvas is required to set
    its Window...you see the window with everything in it.
    The window property primary canvas for when you do a show_window
    and do not navigate to anything in the window.
    Thanks,
    Candace Stover
    Forms Product Management

  • Can I show multiple calendars at the same time, as you can  in Outlook

    I want to use the calendar for a service dept & show several calendars at the same time, vertically, for each person. Is this do-able?

    You can do a batch export by sending them to Adobe Media Encoder with the Queue button in the export settings dialog.
    However, you will have to set up each export one at a time.

  • Can I show multiple rows of bookmarks?

    In Firefox 3, I have three rows of bookmarks on the toolbar. I want to replicate this in Firefox 4. Is there a way to do this?

    You will have to wait until the extension that adds a multiple bookmarks toolbar is updated to work with Firefox 4.0
    You can try if it works if you bump the maxVersion or bypass the compatibility check.<br />
    See:
    * http://kb.mozillazine.org/Editing_an_add-on_to_change_its_compatibility
    * http://kb.mozillazine.org/extensions.checkCompatibility

  • Showing multiple Objects in a single row in Gantt Chart

    Hi,
    I am wokring on extending the cPro4.5 gantt chart.
    I have a tree hierarchy which I want to display on the Gantt Chart. But my need is to display all the children and its parent in single row i.e. in a new row bove the Poject row in the gantt tree (hierarchy shown on the left side) of existing chart.
    Is it possible with the Gantt chart?
    If yes, then where and how do I pass this information to the transformation I call in the end to convert the abap tables into XML file which is finally shown on the gantt.
    Kindly guide.
    Regards,
    Varun

    Hi Varum,
    Sorry but I think I don't understand your requirement. Do you need see on the left of your gantt project structure?
    Thanks,
    Sara

  • How to send multiple objects from appleto to servlet and vice versa

    how can i send multiple objects(ArrayLists and String) from servlet to applet and applet to servlet?

    Use an HTTPUrlConnection from the Applet to the Servlet to send data to the server, or request information from the servlet. To actually transfer the objects you will have to use a serialized version of the objects, almost always by wrapping the streams generated via the UrlConnection in ObjectOutputStream and ObjectInputStreams.

  • Can I have multiple stream types in one object?

    For my final project in my data commucnications class I'm writing a client/server socket application that will allow multiple clients to play TicTacToe simultaneously against the game on the server. The teacher is a C/C++ jock, and knows very little Java. We're free to choose any language that will do sockets, and I love Java and don't love C++.
    I've built the GUI, and got it to the point that I can reliably connect multiple clients on different machines in the school lab to the Server object, which accepts the new sockets and creates a new thread of ServerGame to do the playing in response to the client's moves. A mousePressed() detects clicks in the grid, and modifies a string to contain the status of the game. I've used a BufferedReader and PrintWriter combination on both sides, to send the GameString back and forth, starting with "---------", then the client makes a move and it changes to "X--------" and the PrintWriter sends it over and the ServerGame makes a move to "X---O----" and send it back, etc, etc. You get the idea. I have a ways to go with the implementation of strategy stuff for the ServerGame's moves, but I like it so far. But now I realize it would be really cool to add to it.
    What I want to do, since there can be multiple players, is have a way that it can be like a TicTacToe club. At any one time, it would be nice to be able to know who else is playing and what their won/loss record is. I plan a Player object, with String name, int wins, losses, ties, gets and sets. With Textfields and a Sign In button I should be able to send the Player name to the Server, which can look up the name in a Vector of Player objects , find the one that matches, and sends the Player object for that name over to the Client, and also provide it to the ServerGame. Each player's won/loss record will be updated as the play continues, and the record will be "stored" in the Server's vector when he "logs off". Updates shouldn't be too hard to manage.
    So, with that as the description, here's the question -- most streams don't handle Objects. I see that ObjectInputStream and ObjectOutputStream do. So -- am I headed for trouble in using multiple stream objects in an application? I suppose I could just use the object streams and let them send out a serialized String. In other words, I want to add this to my program, but I don't want to lose too much time finding out for myself if it works one way or the other. I already have working code for the String. Without giving too much away, can anyone give me some general guidance here?

    Anyway, here's the present roadblock that's eating into the time I have left. I've spent many happy hours looking for what I'm missing here, and I'm stumped, real-time.
    I found it was no problem to just send everything over and back with ObjectInputStream and ObjectOutputStream. From the client I send a String with the state of the game, and can break it down and code for decisions in the server as to a response and send the new String back to the client. I now have a Player class with Strings name and password, ints wins, losses, ties. I have a sign-in in the client GUI and old "members" of the club are welcomed and matched with their Player object stored in a Vector, and new members are welcomed and added to the Vector. My idea is to make the Vector static so the clients can have access to the Vector through their individual threads of the Game in the server. That way I should be able to make it so that any one player can have in his client window a TextArea listing who's playing right now, with their won-loss record, and have it updated, real-time.
    The problem is that in my test-program for the concept, I can get a Player object to go back and forth, I can make changes in it and send it back and have it display properly at either end after a change. What I'm aiming at in the end is the ability to pass a copy of the Vector object from the server to the client, for updating the status of everyone else playing, and when there's a win or loss in an individual client, it should be able to tell its own server thread and through that update the Vector for all to access. Sounds OK to me, but what's happening is that the Vector that goes into the pipe at the server is not the same as the Vector that comes out the pipe into the client. I've tried all the tricks I can think of using console System.out.println()'s, and it's really weird.
    I build a dummy Vector in the constructor with 4 Players. I can send a message to the server that removes elementAt(0), and tell it to list the contents of the Vector there, and sure enough the first element is gone, and the console shows a printout of the contents of all the remaining Player objects and their members. But when I writeObject() back to the client, the whole Vector arrives at the client end. Even after I've removed all the Player elements one by one, I receive the full original Vector in the client. I put it into a local Vector cast from the readObject() method. I believe that should live only as long as the method. I even tried putting clear() at the end of the method, so there wouldn't be anything lingering the next time I call the method that gets the Vector from the server.
    What seems the biggest clue is that now I've set up another method and a button for it, that gets the elementAt(0) from the server Vector, changes the name and sends it back. Again, after the regular call to get the Vector sent over, it shows in the server console that one element has been removed. And one by one the element sent over from (0) is the one that was bumped down to fill the space from removeElementAt(). But in the client, the console shows 4 objects in the Vector, and one by one, starting at (0), the Player whose name was changed fills in right up to the top of the Vector.
    So something is persisting, and I just can't find it.
    The code is hundres of lines, so I hesitate to send it in here. I just hope this somewhat lengthy description tips off someone who might know where to look.
    Thanks a lot
    F

  • My MeasureIt icon does not show anywhere, on the top or bottom of the page, after I upgraded Firefox to 3.6.17. How can I get it to show?

    I installed:
    Delicious Bookmarks 2.1.106 true {2fa4ed95-0317-4c6a-a74c-5f3e3912c1f9}
    Google Toolbar for Firefox 7.1.20110316M true {3112ca9c-de6d-4884-a869-9855de68056c}
    StumbleUpon 3.91 true {AE93811A-5C9A-4d34-8462-F7B864FC4696}
    MeasureIt 0.4.8 true {75CEEE46-9B64-46f8-94BF-54012DE155F0}
    RankChecker 1.8.5 true [email protected]
    Seo Toolbar 1.1.10 true [email protected]
    SEO For Firefox 3.5.1 true [email protected]
    Everything showed up at the top of the window, until I upgraded to Firefox 3.6.17. Now, the Google toolbar is still at the top, as is the StumbleUpon icon. The SEOBook letters are there, but the toolbar has changed to vertical dotted lines.
    Everything else appears at the bottom right of the window now, except MeasureIt, which doesn't appear anywhere. I really need MeasureIt the most, right now.
    When I look at Tools, Add-ons, Extensions, in the Firefox menu, the MeasureIt section only gives me the options to disable or uninstall. Is that what I need to do, then re-install?
    I'm not a techie, so please keep your explanation simple. I hope this can be fixed easily. Thank you!

    It works in FF4.0.1! "Right-click on a toolbar then choose "Customize". Look for the ruler icon in the popup that appears and drag it where ever you'd like it to appear. I put mine back at the top of my dev tool bar. Handy Little Tool!

  • I am using numbers in the new iWork. Just bought it 10 days back. I am not able to figure out how to add serial umbers from 1 to 100( for example) also i need to freeze the top header like in windows so that we can browse down without the heading going of

    i am using numbers in the new iWork. Just bought it 10 days back. I am not able to figure out how to add serial umbers from 1 to 100( for example) also i need to freeze the top header like in windows so that we can browse down without the heading going off. Can some one help?

    Hi Jay,
    Be aware that "Freeze Header Rows" and "Freeze Header Columns" apply only to rows and columns that are Header rows or Header columns. You can have up to five Header rows, Five Header Columns (and five Footer rows) on a Numbers Table.
    "Header rows" is a special designation. Besides being able to be frozen, Header and Footer rows are not included in formulas referencing whole columns, making it possible to place formulas such as =SUM(B) at the top (or bottom) of column B without causing a self-reference error, These designated rows are also not included in sorts of the rows in a table.
    Regards,
    Barry

  • How can I get iTunes to not show multiples of the same podcasts in my iPhone?

    Not all, but some have the same episdoe multiple times. Every sync seems to add another one of them. This happens, through iTunes, in my iPhone 5. In iTunes, I show that I have 69 unplayed podcasts. When I sync, I can see it got to 68 for my phone (likely one is in the cloud), but then it flashes and now it shows 113. When I look at the unplayed podcasts, I show that some of them have as many as 17 of the same episode in my phone. When I go to my phone's podcast app, I see it once.
    It doesn't happen to all episodes, and I can't find anything in common between those that it does happen to. The newest update to the podcast app and itunes brought back some features that have been missing for over a year, but this is getting weird.
    iTunes 11.2.1 (1)
    IOS 7.1.1

    After a couple of days, I'm noticing that the repeat(ing) offenders have more than 10 episodes, and seem to keep repeating them every time I sync.
    They only show once in my phone and in the iTunes Podcasts, but through iTunes and looking at what's in my phone is when I see the repeats.
    Even after I've marked a podcast as played, and deleted it from within my phone, as well as telling iTunes to delete the played episodes, it still shows multiples of the played episodes.
    There doesn't seem to be any rhyme or reason to it either. They aren't the newest ones either.

  • Can there by multiple accounts under one id?  I just loaded a $25 gift card and it showed up in my balance.  My daughter, under the same id had $12.0 left from a previous gift card.  Now only the $12.01 shows up and the $25 is nowhere to be found?

    Can there be multiple accounts under one apple id?  My daughter and wife apparently share an id between my daughter's ipod and my wife's ipad.  My daughter has what she believes is her $12.01 left from a gift card.  My wife loaded a $25 gift card recently (I saw the $25 balance in her account when she was done) and after a password change, now all that shows up is the $12.01?

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • Can we have multiple transports for the same object.

    Hi guys,
    Can we have multiple transports for same object in dev system. Can anyone tell me how can this be done.
    Thanks

    Its not possible for the same development object. Only 1 person can access an object at a time and if mutiple users modify an object new TASKs are created under the same TRANSPORT.
    Only after releasing the tr you can create a new tr on the same object.
    Message was edited by:
            Abhishek Jolly

Maybe you are looking for

  • Problem with login in to nokia store , after updat...

    Can anyone help me, after update to belle , my n8 wont log on to nokia store.

  • How do I get to the home screen in iOS7?

    In iOS 6 I used to just click or double-click the Home button, but in iOS 7 this brings up a new kooky display that shows you various windows from various open apps.

  • Error in filter with SQL Expression

    HI Experts, I have a sql query which works fine, but have to_date funtion() in the where clause as below : and oe.ORDERED_DATE BETWEEN to_date('09-APR-2009 23:59:59','DD-MON-YYYY HH24:MI:SS') AND to_date('10-APR-2009 23:59:59','DD-MON-YYYY HH24:MI:SS

  • IDS/IPS signatures to monitor streaming audio/video applications

    Hi folks, Can someone advise on the names or signatures that could be successfully used to monitor the usage of streaming applications on the network. The plan is to feed them to MARS and then create reports on streaming applications utilization to u

  • Chose DB where content will be stored?

    Is it possible to instruct portal where to store the content and metadata that is added to a content area. Ideally, I would like to put it in a separate database. This is because we will have 2 separate portal instances and I would like to have both