Displaying different levels of the same hierarchy in the different columns

I have a parent child hierarchy and wish to display different levels of the hierarchy in different columns of the resultset eg
level 1 level 2
Europe UK
Europe France
N America US
N America Canada
However writing MDX like the below
select
{} on 0,
([Geo].[level 1],[Geo].Level 2] on 1
from cube
results in the error "The [Geo] hierarchy is used more than once in the crossjoin
How can I get around this??

Hi,
You can make use of CrossJoin function in MDX, I give a sample MDX based on the AdventureWorks database:
select {[Measures].[Reseller Sales Amount]} on 0,
crossjoin({[Sales Territory].[Sales Territory Group].[Sales Territory Group].members},{[Sales Territory].[Sales Territory Country].[Sales Territory Country].members}) on 1
from [Adventure Works]
After execut the MDX you will get the result like this:
Reseller Sales Amount
Europe
France
$4,607,537.94
Europe
Germany
$1,983,988.04
Europe
United Kingdom
$4,279,008.83
NA
NA
(null)
North America
Canada
$14,377,925.60
North America
United States
$53,607,801.21
Pacific
Australia
$1,594,335.38
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

Similar Messages

  • How to display the same content in the two different main windows?

    Hi experts,
    How to display the same content in the two different main windows?
    Thanks in advance.
    sarath

    Hi
    Sorry but you can't have two main windows in sapscripts.
    Regards
    Gregory

  • Urgent ! Assigning (or Linking ) the same workbook into two different roles

    Hi Gurus,
    Coul you tell how to link the same workbook to two different roles.
    I am assigning the same workbook to two different roles, but in the second role the workbook is displaying with different structure than in the first role. I want the workbook should be displayed with same structure in both the roles.
    This is Urgernt.
    Thanks in advance.
    Best regards
    Hari

    Hello hari,
    Both the roles should diplay the same layout for a single workbook.
    please ensure that both the users(with these 2 roles) have similar (all the other)authorisations.
    it's possible that one of the users may have further restrictions in authorisations. check out for z-authorisation objects if any.
    hope it helps..
    thanks,
    (*Don't forget to Assign points on SDN)

  • Can i use 2 ipad's on the same itunes account with different apple accounts?

    Both me and partner have an ipad 4. Though we only have one computer, can we use the same itunes but with different apple acount without any issues? We use some of the same apps, but my partner plays fx Baldus Gate and is worries that save files will be corrupted.

    Each iPad should be linked to its owner's personal, private and nonshared AppleID. In the Mac, each one should have a different login account so each has their own iTunes Library containing your iPad's details. When you use iTunes on the Mac, since each logs in with a different login and corresponding Home directory, iTunes picks up the correct AppleID.

  • In a multiple monitor situation, how do I get popup windows to open on the same monitor as the parent application is displayed.

    I have two monitors. I have an application that I run all day, displayed on my secondary monitor. Whenever a popup windows is launched form that application, it always opens on the primary monitor. Very annoying. Any way to get the popup to launch in on the same monitor as the parent application?

    Did you solve this problem ?

  • How do I get to synchronise 3 videos of the same thing from 3 different Angles to play in a FLA and switch between them?

    Hi all,
    It's been a long time since I was on here... well here goes(I need a bit of technical help with a question if I may)
    This client of wants a flash video player of a model, modeling some clothes.
    They are going to set up 3 different cameras around her at the same time filming her - one from the front, one from the side and one from the back. Each clip lasts exactly 3mins and they are filming her at THE SAME TIME.
    Now after this, they want to put a FLASHPLAYER on their website with the video playing in a screen with 3 buttons underneath one saying FRONT VIEW, one saying SIDE VIEW AND one saying BACK VIEW. The three separate videos will be integrated in some way with this one flash file.
    The video player might start playing the FRONT VIEW first.
    BUT lets say 30 seconds into the clip I press the SIDE VIEW button the video switches to the side view on 30 seconds - The side view video doesn't play right from the start. Like I said before for example if the person is speaking and says "hello there", if you switch angle by clicking one of the buttons just at the point after she has said the word "hello", you switch to the angle where he is just about to say "there". If you see what I mean.
    As I said before there are 3 separate video clips:- FRONT VIEW, SIDE VIEW and BACK VIEW. Now I am not sure if these have to be embedded in the FLA file or can be contained in a separate folder on the server so that the SWF can access them. I am worry about streaming over the internet thats why I THINK Flash Media Server3 MIGHT be a solution BUT I don't know. BUT they must be seamless.
    AGAIN to reiterate...LETS say I am watching the SIDE view 30 seconds after the clip has started and the model starts scatching her head and then AT THAT POINT  I click the front view button below I see the model scratching her head from the front view at THAT precise moment.
    So all the videos seem to work at the same time to the casual viewer/user and it looks as though you are just switching views whenever you want.
    I have been looking all over the net to see if someone has produced a working example or if there is a tutorial somewhere but I have found NOTHING.
    I think there might be a problem pulling this one off as each video clip could be 4-5 MB in size and if they are streaming then there would be download problems and these videos might stop due to people with various bandwidth restrictions UNLESS all the videos were integrated into the flash library and were referenced from within by Actionscript but then the resultant SWF could be HUGE.
    I would really appreciate any help/suggestions here and any link to any working samples on the NET that I can download and disect at my leisure.
    BTW:-
    My email is [email protected]
    Cheers

    Use Flash Media Server to stream the files.......set up a timer and have all three of them play at once....and have a button switch the streams depending upon which stream you want to play.....and wallah......
    you can also capture the stream.time from the video playing and resume from that point on the other videos as well....havent done this theoretically so I dont know how smooth the transistion between streams will be....but it can be done....
    plus u may have to use double buffering techniques to make sure it starts up right away......
    thelegendaryghost

  • I have installed iOS7 on my iPhone4. I am able to add/edit contacts by clicking the "contact" icon. But when I am trying to do the same after clicking the "phone" icon, it is not displaying the keypad. I believe it is a bug in iOS7. Please confirm. iPhone

    I have installed iOS7 on my iPhone4. I am able to add/edit contacts by clicking the "contact" icon. But when I am trying to do the same after clicking the "phone" icon, it is not displaying the keypad. I believe it is a bug in iOS7.
    Please confirm.
    iPhone 4, iOS 7

    Hello jayanand,
    You may need to force close all open apps, then restart the phone. If necessary, you may need to reset the phone after that.
    iOS: Force an app to close
    http://support.apple.com/kb/HT5137
    iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/HT1430
    Cheers,
    Allen

  • I have multiple devices backed up to the same computer each with different data. how do i keep them from syncing all data when i back up or transfer stuff from the computer to a device?

    i have multiple devices backed up to the same computer each with different data. how do i keep them from syncing all data when i back up or transfer stuff from the computer to a device? one is an iphone 6 and the others are ipad mini first gens, each ipad has 64gb and the iphone has 128, need to keep the data seperate as they are not all mine

    Itunes content and pics are NOT part of the backup that itunes performs.
    Backing up, updating, and restoring iPad, iPod touch, and iPhone software
    You should transfer any purchases from iphone regularly:  File>Transfer Purchases  , if they fail to be transferred when you sync.
    You buy one and only one download.  It is your responsibility to move/copy/backup your purchases.
    You can try contacting itunes support and asking for an exception, but they are under no obligation to allow.
    http://www.apple.com/support/itunes

  • How do i backup my iphone 3 started on one itunes account and restore to the same phone with a different itunes account without losing all my information?

    how do i backup my iphone 3 started on one itunes account and restore to the same phone with a different itunes account without losing all my information?

    Please search the forums. This has been covered here extensively.

  • How to use the same OC4j server with different port number

    How to use the same OC4j server with different port numbers..?
    I have to OC4J installed on my machine on different hard disk drives....
    I want to be able to run both the server simultaneously..?
    is it possible ..it yes then how..?
    for that i have changed the port number of one server...
    but when i am trying to start the other server with different port number..it says that JVM -Bind already...
    Is there any clues...?
    Nilesh G

    In the config directory:
    default-web-site.xml: Change the port the HTTP listener listens on
    jms.xml: Change the port the JMS service listens on
    rmi.xml: Change the port the ORMI listener listens on.
    Or, you can add another web-site.xml file, and deploy your applications to 1 server, and bind the web applications to the different web sites. This way you only have to deploy your applications to 1 place.
    Rob
    Oracle

  • 2 iphones 1 computer. updated my wifes phone to ios 5 her phone got wiped of all apps and all my contacts are on her phone. we had been using the same apple id but different user accounts on our laptop. How do i get her phone back to normal?

    2 iphone 4, 1 computer. i upgraded to ios 5 and just updated my wifes phone as well. her phone got wiped of all apps and all my contacts were put on her phone. we had been using the same apple id but different user acct on our laptop. How do i get her phone back to normal??

    Have your wife log in to her user account on the laptop. Launch iTunes, then connect her phone to the computer with the USB cable. Sync. That should put back all apps and media. Since you already upgraded her to iOS 5 she'll have to manually enter all her settings and preferences, and organize her home screens.

  • How can i use the same id on two different laptops?

    When trying to use the same login on two different laptops so that i can connect my nook to either depending on which one is free, i get the error that the id is already in use on another computer?

    The issue is embedded in the way the software works.  To comply with the
    Digital Millenium Copyright Act of 2000, all software companies in this
    business keep track of where their software is installed, making
    information about the computer and ereaders part of an ID file.  So, your
    user ID is embedded in the ID file of each computer, but each computer has
    a different ID of its own that is also embedded in that file.  Adobe's
    master server (yes, there is one that you connect to even if you didn't
    know it) also has that information, and when you try to use an ID on one
    that's embedded in the file of another, Adobe's server blows the whistle,
    and as you can see, you can't do that....
    ==========

  • HT4356 I have an air-print enabled printer: HP Premium e-all-in-one C310.  Can't print from iPad iOS6.  They're on the same network, but have different IP addresses.  On the iPad it's 192.16.1.126 and on my printer it's 192.168.1.133.  Can I match them? H

    I can't print from my iPad2 to my air-print enabled printer (HP Premium e-all-in-one C310).  They're on the same network, but have differed IP addresses!  The iPad IP is 192-168-1.126 and the printer is 192-168.1.133.  That's the only difference I can see.  Is there a way to fix this?

    fyi:
    you put periods between the numbers.
    Each device needs a unique number.
    for the 192.168.1 the right must number should vary.  192.168.1.x
    the numbers you have look ok.
    Power off all devices: wifi router, printer, ipad.. wait 10 minutes.  poweron router ... wait power on printer wait then power on ipad.
    cross fingers.
    Robert

  • Use two indicators for the same variable in two different VIs

    hello, I want to use two indicators for the same variable in two different VIs running at the same time
    should I use global variables?? I want to avoid because I have lot of variables and it would takes too much memory,I tried with this code but the value of the second indicator is not updated 
    I tried to use the queue and it works but the problem is as i said previously that i have many variables shoud I use a queue for each one??
    what should I do?
    thank you in advance
    cordialy
    Attachments:
    projet.zip ‏13 KB

    CrisSTine01 wrote:
    hello, I want to use two indicators for the same variable in two different VIs running at the same time
    I'm a huge fan of User Events to send updates to GUIs from who knows where.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Can I use the same itunes program for different phones?

    I have two iphones I am upgrading to new iphones. I have one computer with itunes on it. With each of the old phones can I use the one itunes to backup one of tthe old phones then restore to one of the new phones. Then do the same sequence for the second old phone?

    If you haven't been syncing the iPhones with iTunes then see Recover your iTunes library from your iPod or iOS device.
    Make sure each device has a different name so you can restore the right backup to its replacement.
    tt2

Maybe you are looking for

  • How to Refresh a Page once saved to database in ADF.

    Hi, I created a JSF page using project template as "JSF,ADF,business components". There is a List of values displayed in a dropdown list, User can create new value and once it is saved to the database it should reflect in the list of values.But it is

  • Can I use upgrade win 8 pro license on win 7 pro lenovo system that comes with a tablet?

    I really like to use the custom edition from Lenovo in my girlfriend's Thinkpad Twist. Can anybody answer me? Thank you for reply.

  • My iPad is damaged, heat ??

    I just noticed my new iPad is slightly damaged, at dock connector!! I brought it to an apple premium reseller, there saying its impact damage, impossible as its never out of its case !! I have photo !! Don't know where I stand with warranty :( 

  • ITunes Store Account Verification

    Hi, The link sent to me after registration doesn't work... Need help please. Thanks

  • Create transaction code

    Hi all, is it possible to create a transaction code for a report that has no selection screen und no screens (dynpros)? I've tried to create a transaction code for my report by using SE93, but there was no appropriate radio button for a report withou