OLAP query returning "name" rather than "key" attribute for a dimension

Hello,
I am busy with a project that involves drawing data from an OLAP cube (in SAP BW), then transforming and contextualising for use in an EMI environment. The project runs on MII 12.1.
The standard OLAP connector and OLAP queries have been used (would prefer not to go the route of creating a call to the OLAP XMLA web service directly). One of the important dimensions is returned as a name (descriptive text) rather than a key (the cost element code itself), preventing us from reliably applying business rules to classify cost elements. Categorising cost elements based on their text descriptions is not a sustainable solution.
The output needs to allow for two dimensions (cost element and an equipment identifier) against which individual cost values will be listed. It appears that the two dimensions must both be on the "x-axis", as result columns are automatically renamed, e.g. C000001, C000002, etc. If anyone knows of a way to suppress this renaming behaviour, please let me know.
Is it possible to force the "key" attribute to be returned instead of the "name" attribute? I have identified two preferred options:
1. MDX syntax of the query itself
2. configuration of the OLAP connector
I have not found a way to do this through MDX syntax, but would welcome any suggestions.
Alternatively, perhaps there is a non-standard way of configuring the OLAP connector so that the key rather than the name attribute is returned for all dimensions. Has anyone anything, e.g. chosen a non-standard ColumnNameAttribute or DataTypeAttribute, in this regard?
Thanks,
Marc Chaplin

<b>Apologies for the formatting above</b>
Part 1:
Hello,
I am busy with a project that involves drawing data from an OLAP cube (in SAP BW), then transforming and contextualising for use in an EMI environment. The project runs on MII 12.1.
The standard OLAP connector and OLAP queries have been used (would prefer not to go the route of creating a call to the OLAP XMLA web service directly). One of the important dimensions is returned as a name (descriptive text) rather than a key (the cost element code itself), preventing us from reliably applying business rules to classify cost elements. Categorising cost elements based on their text descriptions is not a sustainable solution.
The output needs to allow for two dimensions (cost element and an equipment identifier) against which individual cost values will be listed. It appears that the two dimensions must both be on the <i>x-axis</i>, as result columns are automatically renamed, e.g. C000001, C000002, etc. If anyone knows of a way to suppress this renaming behaviour, please let me know.

Similar Messages

  • Change Dimension Attribute to group by name rather than key

    Hi
    I am taking over a cube which has been built for speed rather than functionality. For example if you bring one dimension in and a measure you would get a result like this.
    ? 200
    Mancheste 400
    Manchester 200
    ? 100
    Derby 5
    when really it should look like this
    ? 300
    Mancheste 600
    Derby 5
    I believe this can be changed in the dimension attributes group it on name rather than key (although you get slower performance) but I can't find where about I change this

    hi,
    If you in BIDS, select the attribute you want to change and look at properties.
    Under the properties group Source, you have the definition for KeyColumn and NameColumn.
    My understanding is that you would want a keycolumn which is on the same level as your name column.
    I e change the key column to a better one.
    (Optionally, but not as good, you could set the KeyColumn to the same column as your name column)
    best wishes /Carl
    thanks I would mark this as the answer but it won't let me for some strange reason.

  • Sorting Map on values rather than keys

    Is it possible that I can have a Map which is sorted based on values rather than keys ?
    If not is there an alternative.
    Basically I have keys as strings and values as integers.
    The values keep incrementing and at the end I want to get the top 50 keys based on the values.

    Sorting a Map by values is not a good idea, I did something similar before, it doesn't support the design, but it is better in performance, which is implementing a custom class (name it Record) that contains two members: key and value, create a record and insert it into a SortedSet e.g. TreeSet.
    make sure to do the following:
    1. This custom class must implement Comparable and compares two values
    2. Override euqlas method and accept strings (check using instanceof) then compare it to the key so you can retrieve the records using the key (to let it work as a map)
    Now you have a sorted set with key,value pairs, use the add method to insert a new pair, use the remove to retrieve the desired object and the set is already sorted :)
    Regards
    Mohammed

  • Sorting files by file name rather than ID Tags

    Some of my files have incomplete or missing ID Tags ( a lot of mp3's from vinyl) making sorting more difficult and I typically find it more usefull to sort by file name rather than ID Tag anyway. Does anyone know how to sort by file name?

    Aloha!
    While this is not possible in iTunes right now, I might be able to help.
    It sounds like you've taken care to ensure that your music is properly labeled. That should make it easy to use a third party app to tag the lot as a batch. I am aware of one application that folks around here seem to like called "Tag & Rename" that can build a set of tags for you from folder and file names. I believe it has (or had) a free demo period as well. Try a google search or check out sites like versiontracker and you will find several apps that can do the task for you.
    Once done, iTunes will be able to handle the collection that has apparently been with you for some time. Hope this helps you decide on a course of action.

  • My iPad display become white rather than keys are not working, i can not turn off .

    My iPad display become white rather than keys are not working, i can not turn off .
    version number iSO 8

    Your statement makes no sense at all. Please clarify.

  • Using index in a query return few records than full table access

    Today we have an issue with a query, when it use the ok index the returned are not all records that apply to where clause condition.
    See bellow
    explain plan for
    select * from movdb.zan_m03 where
    M00AF = TO_DATE('11/01/28','YY/MM/DD') AND
    M00za = 10 AND
    m00AC = 50 AND
    M00AD between 136906 and 136999
    SELECT * FROM TABLE(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 1882720105
    | Id | Operation | Name |
    | 0 | SELECT STATEMENT | |
    | 1 | TABLE ACCESS BY INDEX ROWID| ZAN_M03 |
    |* 2 | INDEX RANGE SCAN | PK_ZAN_M03 |
    Predicate Information (identified by operation id):
    PLAN_TABLE_OUTPUT
    2 - access("M00AF"=TO_DATE('11/01/28','YY/MM/DD') AND "M00ZA"=10 AND
    "M00AC"=50 AND "M00AD">=136906 AND "M00AD"<=137141)
    filter("M00AD"<=137141 AND "M00AD">=136906)
    Note
    - rule based optimizer used (consider using cbo)
    20 rows selected.
    The query above return only one row insted 1579 record that apply to this conditions.
    When forcing a full table acess with a hint, the query return all records that apply, the 1579 record.
    select /*+ FULL(zan_m03) */ M00AF, M00za, m00AC , M00AD from movdb.zan_m03 where
    M00AF = TO_DATE('11/01/28','YY/MM/DD') AND
    M00za = 10 AND
    m00AC = 50 AND
    M00AD between 136906 and 137141
    Can you help me to identify what's happening?
    I am with Oracle 10g R2 10.2.0.4 standard edition
    the statistics are up to date
    the opitimizer_mode are rule, but altering in session level to all_rows happens the same issue.
    Nothing about corruption in the alert log.
    Thanks in advance
    Regards
    Cristiano

    Yes the query are the same and correct restriction for where clause are M00AD between 136906 and 137141.
    I've pasted, by mistake, another test query
    The corrects are:
    select M00AF, M00za, m00AC , M00AD from movdb.zan_m03 where
    M00AF = TO_DATE('11/01/28','YY/MM/DD') AND
    M00za = 10 AND
    m00AC = 50 AND
    M00AD between 136906 and 137141
    This use pk index and return one row
    select /*+ FULL(zan_m03) */ M00AF, M00za, m00AC , M00AD from movdb.zan_m03 where
    M00AF = TO_DATE('11/01/28','YY/MM/DD') AND
    M00za = 10 AND
    m00AC = 50 AND
    M00AD between 136906 and 137141
    This does a full table access and return 1579 records
    I´ve been searching for wrong results bugs on my oracle support, but not found one that mentions something like our issue.
    I checked the dba_tables and dba indexes and the number of rows are different, and I think this would be the same because it's is a pk.
    Look this
    SQL> select NUM_ROWS from dba_tables where table_name = 'ZAN_M03'
    2 /
    NUM_ROWS
    228527878
    select NUM_ROWS from dba_indexes where index_name = 'PK_ZAN_M03';
    SQL> select NUM_ROWS from dba_indexes where index_name = 'PK_ZAN_M03';
    NUM_ROWS
    217510185
    Is normal a index for pk having much fewer rows than table? I think not, but not sure.
    Again
    Thanks in advance
    Regards
    Cristiano

  • OT: Did you know you can change your profile to show your real name, rather than just your Adobe ID?

    I realize this is off-topic for this particular forum, but I hope it may help some readers. Since this forum is "where I live" in the Adobe forums, I wanted top share it here first. Perhaps after some feedback to refine things, I may post it elsewhere (another forum perhaps, and/or my blog).
    As I was answering a question from someone, finding myself again able only to refer to them by their brief Adobe ID (which often seems to have no connection at all to their name), I wondered:
    Do people realize that they can change their forum identity so that their real name (or whatever other identifying info) shows up rather than just their brief Adobe ID? It's just that some folks would much prefer "talking" with someone by refer to them by their real name (or at least something more than just their Adobe ID).:-)
    I suppose some may choose intentionally to remain “relatively anonymous” with just that ID to identify them, but I think many more simply don't know that they *can* change what's shown. You can. But it seems we can't do it inside the forums software itself.
    Instead, we just need to modify our "Adobe account" to associate a name with our ID (which of course could have benefit in other places where our names might be used).
    You can do by going to https://www.adobe.com/account.html, then choose “My Information” (and login if prompted). Then, on the page shown, under the section “My Personal Profile” you can fill in the first and last name fields. (You can also your password here, and it seems even your username.)
    It may be possible that after making that change, you would need to sign out and back into the forums (forums.adobe.com) for the change to be picked up, but if it is, you should then see "Welcome [your name]" in the top right corner of the forums page, if it's worked.
    And now any forum messages you create should have that name at the top of the message when people read it, and it would also be in the FROM address if people receive it as email (note we're NOT talking about your email address. That is never shown. If people reply to forum messages received by email, the reply goes back to a generic forum email address.)
    Hope all that's helpful to someone.
    BTW, I had done the change myself a long time ago, so I'm retracing these steps now for others to do it. If you try it and can confirm that it works, please drop a note here. Thanks.

    It works, thanks!

  • BUG Apex4.0 AnyChart: apex_util.flash  - returning zero rather than null

    [Line chart screen capture|http://www.anaruk.com/linechart.jpg]
    The chart image I linked to above is a year over year sales chart. The first series returns 2009 Sales. The second returns year to date 2010. The problem is that even though the query returns no data for August through December of 2010 - because they haven't happened yet - the XML returned by the apex_util.flash proc returns those months with a zero value causing the chart to plot that data.
    2009 query result set:
    LINK MONTH SALES
    - Jan 250
    - Feb 230
    - Mar 360
    - Apr 130
    - May 120
    - Jun 180
    - Jul 130
    - Aug 280
    - Sep 270
    - Oct 250
    - Nov 360
    - Dec 410
    2010 query result set:
    LINK MONTH SALES
    - Jan 130
    - Feb 970
    - Mar 170
    - Apr 140
    - May 110
    - Jun 230
    - Jul 440
    XML for 2010 comes back:
    <series name="YTD 2010" type="Line" color="0x1D8BD1">
    <point name="Jan" y="130">
    </point>
    <point name="Feb" y="970">
    </point>
    <point name="Mar" y="170">
    </point>
    <point name="Apr" y="140">
    </point>
    <point name="May" y="110">
    </point>
    <point name="Jun" y="230">
    </point>
    <point name="Jul" y="440">
    </point>
    <point name="Aug" y="0">
    </point>
    <point name="Sep" y="0">
    </point>
    <point name="Oct" y="0">
    </point>
    <point name="Nov" y="0">
    </point>
    <point name="Dec" y="0">
    </point>
    </series>
    IF I modify and load the following, AnyChart correctly does not plot the last four months:
    <series name="YTD 2010" type="Line" color="0x1D8BD1">
    <point name="Jan" y="130">
    </point>
    <point name="Feb" y="970">
    </point>
    <point name="Mar" y="170">
    </point>
    <point name="Apr" y="140">
    </point>
    <point name="May" y="110">
    </point>
    <point name="Jun" y="230">
    </point>
    <point name="Jul" y="440">
    </point>
    <point name="Aug" y="">
    </point>
    <point name="Sep" y="">
    </point>
    <point name="Oct" y="">
    </point>
    <point name="Nov" y="">
    </point>
    <point name="Dec" y="">
    </point>
    </series>
    Thanks for any feedback.
    Walter
    Edited by: WannaRock on Jul 23, 2010 2:17 PM
    - made Subject more descriptive
    - fixed three typos

    Hi Walter,
    Thanks for bringing this to our attention. The behaviour you have reported is the current default behaviour for handling null values on the Line chart, where they are represented as zero in the series data. I appreciate this handling is not what you would expect, particularly in your scenario, where you do not wish to represent certain points on the chart (AUG - DEC 2010), so I will revise this behaviour and include a fix for this in our upcoming patch release 4.0.1. I've logged bug 9945462 to track this issue.
    Regards,
    Hilary

  • Printer Policies - DNS Name rather than IP

    Is there a way to point to a DNS Name entry rather than IP address when I associate it with a printer? Reason being Networking would prefer us using DNS entries as the ips might change one day.
    At this time, this fails all the time for me.
    Nhat

    nhatdoan,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Names Rather than Numbers

    I have an E71. When people ring me their number comes up to show me who is calling. If these people are in my contact list I would like their name to come up rather than their number.
    Can anyone tell me haow I get their name to come up. 
    I have found that some people's names come up but other don't!!!
    Please help.

    sounds like you have duplicate contacts check through your phonebook
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • TS1702 Triple clicking on touch screen. I need to triple click (rather than 1 click) for all functions on the touch screen. I have rebooted and upgraded software. Any help please!?

    With the Ipod touch it requires 3 x clicking to the touch screen rather than 1 for all interactions. I have updated software, all apps, rebooted and reset but still doing it. Any suggestions very welcome.

    All good - as per "Single click on touch screen doesn't work" problem. The VoiceOver under Settings/general/accessibility was set to "on".
    When you turn this off, the ipod resorts to one touch instantly.

  • Can i create more than one attributes for the custom class created using java API

    Hello everyone,
    I have been creating class and its attributes programatically using java APIs, I want to know that is there any way to create multipal attributs for the same class in just one call of API with all the options for each attributes,
    thanks

    You can create a new class and define all of the Attributes at the time the class is created - this is the preferred way of creating classes. Use the addAttributeDefinition() method on ClassObjectDefinition. If you need to add attributes to existing classes, you can only add them one at a time (using the addAttribute() method on ClassObject).
    (dave)

  • Maverick Calendar Location Names rather than Street Addressses

    Perhaps I've been using Calendar Locations "wrong" all this time. I've always entered the location name and full address there. I also have a separate calendar that I call "travel time" where I block out time in the car or on the bus, so I was THRILLED to see that the new and improved Calendar would actually do that for me.
    Except that it only works if I enter only the address and the not the location name in the location field. Is there any way to override this? 
    Now, instead of my calendar saying
    Snorkel with the Fish
    Sea Life Minnesota Aquarium
    Mall of America
    120 East Broadway
    Bloomington, MN 55425
    it says ...
    Snorkel with the Fish
    120 East Broadway
    Bloomington, MN 55425
    I guess that I know what's at "120 East Broadway", but "Sea Life Minnesota Aquarium" is much more informative to me that "120 East Broadway" — especially when I'm not familiar with an address.
    I know that I can just change the event title to "Snorkel with the Fish — Sea Life Minnesota Aquarium", but I'd rather not have to do that.
    Is there any way to keep the location name in the location field and still make use of the travel time feature?
    I do have Sea Life Minnesota Aquarium in my Contacts.
    Thanks for your help.

    Funny - after my testing out of Nokia Drive+ and realizing all the limitations listed compared to an OLD Garmin Nuvi AND no glimmer of hope or response for a month, I actually went out and bought a Nuvi 3490 instead. I'm currently not using my Nokia Drive for any navigation...
    I could see myself start using it again if some of the features, incl. traffic information being part of routing decisions making it's way back. But for long haul navigation, everything needs to be there, and still the Nuvi 3490 wins hands down. And since that is now already paid for also with life time updates to maps and traffic info, it now requires a signficantly BETTER navigation app to bring me back.
    One thing I would like to see though that will make Nokia my most used daily navigation tool is the Nokia Commute app for Copenhagen area. That apps approach for short haul routine routing is really attractive.
    I originally went for the Nokia Lumia series over competing WP8 vendors due to the strong software add-ons with the mapping functionality being a key factor. There's still many other elemeents that just make Nokia a bit better, but the one I thought was the biggest turned out to not be enough, and that has now put aside as I got a better navigation system than any phone can currently offer - thus making the playing field a little bit more level across WP vendors. Nokia needs to work MUCH harder and faster, if they want to differentiate themselves on mapping / navigaiton. Granted there's other areas like photo quality, social apps, build quality, accessories, etc. I would like to put Nokia Music in there as well, but that has never launched in Denmark after 3 years...
    Sincerely
    Allan Hvass

  • Dimension based on OLAP source returns text value not key value

    Hi,
    I have a Business Objects Universe based on a BEX query sitting on top of a BW datasource.  I imported the BEX query into Designer and several dimensions were created for me as well as several detail objects.  I was hoping the dimension objects created when pulled onto a Webi report would display the KEY value of the info object from BW, but unfortunately it appears to be pulling in the text value of the info object.
    Is there a way to change the default behavior so that the default dimension created will pull in the key value?
    Example:
    Universe dimension Object definition:  [ZCPCNTR].[LEVEL01]
    When pulled into a Webi report the MDX statement generated contains:  NON EMPTY [ZCPCNTR].[LEVEL01].MEMBERS DIMENSION PROPERTIES MEMBER_CAPTION
    Somewhere ".MEMBERS DIMENSION PROPERTIES MEMTER_CAPTION" gets added to the MDX statement.  I think this results in the Webi report displaying the text of the info object as opposed to the key value.  Is this modifiable?  If so what do I change to get it to display the key value?
    Thanks,
    Tim

    SAPBO786,
    Yes I do see the key value as a detail object under the dimension.  Do you kow of a way to change the default behavior so the dimension returns the key value?
    I have a bunch of reports (approx. 50) I built based on the dimension assuming the value was going to be key.  I don't want to go back and change all those reports if possible.  I am aware that I can take the Key detail object, change that to a dimension object and then modify my reports to pull that new dimension onto them, but I don't want to do that if there is a way to change the default behavior.
    Thanks,
    Tim

  • Change the Finder search default to Find by Name (search by file name) rather than Find by Content

    I just discovered another way to set the finder Find option to default to "find by name" (search by file name). I'm using Mac OS X 10.8.5 Mountain Lion. I'm not sure if this works on other OS versions, but it probably does.
    Here's a step by step:
    #1: Open System Preferences
    #2: Click on "Keyboard"
    #3: Click on "Keyboard Shortcuts"
    #4: Click on "Application Shortcuts" (on my system this was the last item located on the left-hand side window)
    #5: Click the little "+" right below the right-hand side window
    #6: Click on the "Application" menu and choose "finder.app"
    #7: Click into the field "Menu Title:" and type "Find by Name..." (Type it exactly like that including the three dots. Don't type the quotes BTW.)
    #8: Click into the field "Keyboard Shortcut:" and press the command-key and F at the same time. It should look like this ⌘F
    #9: Close System Preferences
    That's it. Basically what you are doing is remapping the command-F key (⌘F) to "Find By Name".
    I tried to post this to other previous discussions asking this same question, but they were all locked.

    Apple doesn’t routinely monitor the discussions. These are mostly user to user discussions.
    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback

Maybe you are looking for