UJO_READ_EXCEPTION_018 MDX invalid MDX command num_val = num_val

Hi Experts,
NW 740 CPMBPC 801 SP-05
I create input form in EPM or on web. When I choose value of context as parent node of hieararchy I get this error:
{"code":"UJO_READ_EXCEPTION_018","description":"MDX statement error: Invalid MDX-command  <num_val> = <num_val>","severity":"error","log_id":"051Mabeq7kIFi3UvBpRqnm","variables":[{"key":"DATAVALUE","value":"Invalid MDX-command <num_val> = <num_val>"},{"key":"MDX","value":""},{"key":"V1","value":"Invalid MDX-command <num_val> = <num_"},{"key":"V2","value":"val>"},{"key":"V3","value":""},{"key":"V4","value":""}]}]
I removed temporiry objects by prog: SAP_DROP_TMPTABLES
I refreshed cash of measures by prog: UJA_REFRESH_DIM_CACHE
Problem did not solved, pls help.
Regards
     Amirkhan

Hi Amirkhan,
Try OSS Note 1976552 - BPC generates MDX Statement with invalid property.
Regards,
Gersh

Similar Messages

  • MDX command does not generate records: "NO RECORDS GENERATED"

    Dear Experts,
    I am testing MDX command we are going to use in Cashflow calculation. Although I am aware this is not typical way to do this (usually account-based calculation business rule does the job) but there are some other factors and we really want to do that in script.
    I created a very simple script:
    // CASHFLOW TEST
    *XDIM_MEMBERSET TIME = 2014.JAN
    *XDIM_MEMBERSET ENTITY = DK10
    *XDIM_MEMBERSET CATEGORY = ACTUAL
    *XDIM_MEMBERSET CONSOSCOPE = G_NONE
    *XDIM_MEMBERSET AUDITID = IMPORT_LPM
    [ACCOUNT].[#12220_F220] = ([ACCOUNT].[12220],[FLOW].[F220])
    *COMMIT
    but the script does not behave as I am expecting it to behave. Basically no single record gets generated by the script.
    I am attaching the log. I have triple-checked the data region in question for the account 12220 and it is populated with the value.
    Am I doing someting wrong?
    Thank You!
    Marek

    Hello Marek,
    I understand. If you need any documentation on MDX and Script Logic please let mw know.
    You should take a look at this Performance Analysis and Optimization for BPC 10 , in particular to this part:
    MDX and RSDRI query
    As already recommended for BPC 7.5 splitting the report into MDX and RSDRI(SQL) queries has an positive impact on performance. By using one MDX query (as small as possible) and one RSDRI query (as large as possible) the best performance improvements were achieved. RSDRI queries are much faster, but can only be used for base level members (without aggregation). For the examples mentioned above the best performance was achieved with a split into two reports and Europe rows and 2012-Total columns as Local Members. The DB query time was reduced from about 20 seconds to 2.3 seconds while the client rendering time doubled from about 1 second to nearly 2 seconds.
    Figure 10: Measurements of split reports
    Thank you.
    Best regards,
    Raquel

  • SQL Processing Error: Error Processing MDX command : Cube AN_EFASHION

    Hi Experts,
    I am able to see data in HANA studio when i am doing data preview of analytic view. But when i am trying to view same data from Excel as per below link
    https://www.experiencesaphana.com/docs/DOC-1138
    I am getting Error as
    sql Processing error: Error Processing MDX command : Cube AN_EFASHION could not found.
    Please guide me.
    Thanks

    Hi Tomas,
    How should i check if my user have SELECT privilege to SYSBIC schema?
    Can i execute SQL statement to assign this privilege?
    I checked for my user.
    In General Roles: Modeling, Monitoring , Public and SLT_EC1_DATA_PROV has been assigned
    in SQL Privileges. COPA_TEMPLATE, SYSTEM and ZWEATHER has been assigned
    In Analytic Privileges : None
    In System Privileges: Import and Export
    In Package Privileges: Root package.
    I am able to execute below SQL statement successfully , check from clause , then it means, i have a necessary Privileges to select from SYSBIC schema.  
    Generated Data Preview Query: SELECT TOP 200 sum("MARGIN") AS MARGIN, sum("AMOUNT_SOLD") AS AMOUNT_SOLD, sum("QUANTITY_SOLD") AS QUANTITY_SOLD, "CATEGORY", "FAMILY_NAME", "ARTICLE_LOOKUP_ARTICLE_ID", "ARTICLE_COLOR_LOOKUP_COLOR_CODE", "COLOR_LABEL", "ARTICLE_ID", "YR", "QTR", "MTH", "CALENDAR_YEAR_WEEK_ID", "MANAGER", "CITY", "STATE", "OUTLET_LOOKUP_SHOP_ID" FROM "_SYS_BIC"."i065360/AN_EFASHION" GROUP BY "CATEGORY", "FAMILY_NAME", "ARTICLE_LOOKUP_ARTICLE_ID", "ARTICLE_COLOR_LOOKUP_COLOR_CODE", "COLOR_LABEL", "ARTICLE_ID", "YR", "QTR", "MTH", "CALENDAR_YEAR_WEEK_ID", "MANAGER", "CITY", "STATE", "OUTLET_LOOKUP_SHOP_ID"
    Thanks a lot
    Edited by: New_K_sap on Nov 22, 2011 5:06 PM

  • Urgent Please help: ORA-00940: invalid ALTER command

    I am not able to start my oracle db that is running Solaris 10, Oracle 10g.
    I made the following changes to Oracle Parameter and now I am not able to start.
    alter system set "_fix_control"='5705630:ON' scope=spfile;
    I get this error: ORA-00940: invalid ALTER command
    I am not even able to reset that parameter back, since oracle db won't start?
    I get this error when i run "startsap: on command
    Please help
    Thanks
    Kuamr
    Message was edited by:
            Kumar Subramaniam
    Message was edited by:
            Kumar Subramaniam

    I have renameed the spfile and try to start sap using initPR2.ora file and it worked fine and then I did this to re-create teh spfile.
    sqlplus / assysdba
    create spfile from pfile;
    shutdown immediate;
    startup;
    Everything works fine.
    Thanks for the quick response.

  • Unity Express - Invalid ITS command option

    when I try to add another extension to the phone. The error msg pop up "Configuration change failed. Please report the following error: Invalid ITS command option"

    Hi, for Unity questions, try www.answermonkey.com, which I believe now links to Cisco Unity forums.

  • CME Invalid ITS Command Option

    I'm trying to add an extension to my Cisco Call Manager Express and when I go to save it i get Invalid ITS command option. Has anyone come across this? What is the fix?

    or if you have logout profiles active on the phone remove it.

  • [wvdial, ppp] ATDT invalid dial command

    Strange problem. I can't go on the internet since I made a pacman -Su. There's a problem with ppp or something in the arch configuration (modules??).
    I have a serial external hardware modem that had always worked easily, BUT now wvdial cannot connect. The problem does not come from wvdial, I'm pretty sure of that.
    [root@myhost fred]# wvdial
    --> WvDial: Internet dialer version 1.60
    --> Initializing modem.
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    --> Modem initialized.
    --> Sending: ATDT5145992743
    --> Waiting for carrier.
    ATDT5145992743
    ERROR
    --> Invalid dial command.
    --> Disconnecting at Sun Jun 1 15:44:18 2008
    The only error I had doing the update was when compiling the new kernel26 (standard from arch). I had to remove "kermaps" in my mkinitcpio.conf because the hook keymaps was not found. After removing that, while keeping the old settings (my old mkinitcpio was not replaced during process, it made a .pacnew), everything went well.
    Except now wvdial doesn't work. I have the same rc.conf than before, the same mkinitcpio was used and it keeped the same ppp settings or the wvdial.conf. Everything I could look at is like before except it's more up to date and my kernel is also newer, I have the last one, kernel26 package.
    I tried all that :
    -Reinstalling wvdial, wvstreams and ppp and deleting all config files in /etc/ppp, reinstalling them or replacing them with working ubuntu config files
    -Deleting and rebuilding /etc/wvdial.conf, adding stupid mode on... but this file was not modified in process and it had always worked for me anyway...
    -Tried to add in wvdial.conf DIAL COMMAND = ATDP (for pulse dialing) but it changed nothing
    -tried rebulding the kernel with more options like (can't remember the exact name) adding the ppp module in mkinitcpio
    Last edited by tandycorp (2008-06-07 20:54:08)

    Here my /proc/modules
    it looks fine: RTC and ppp_generic are there...
    ipv6 256196 10 - Live 0xf8ca2000
    nls_cp437 5888 1 - Live 0xf8aa6000
    vfat 10880 1 - Live 0xf8aa2000
    fat 45984 1 vfat, Live 0xf8ab1000
    i2c_i801 9232 0 - Live 0xf8a80000
    nvidia 7816704 0 - Live 0xf9356000 (P)
    i2c_core 19348 2 i2c_i801,nvidia, Live 0xf8a9c000
    intel_agp 23740 0 - Live 0xf8a95000
    agpgart 28244 2 nvidia,intel_agp, Live 0xf8a8d000
    pcspkr 2816 0 - Live 0xf88c9000
    sg 27188 0 - Live 0xf8a85000
    thermal 15260 0 - Live 0xf8a66000
    evdev 9472 3 - Live 0xf8a6b000
    processor 32096 1 thermal, Live 0xf8a72000
    fan 4356 0 - Live 0xf8a63000
    button 6416 0 - Live 0xf8a4c000
    battery 10372 0 - Live 0xf893e000
    ac 4484 0 - Live 0xf8a45000
    ppp_generic 24348 0 - Live 0xf8a5c000
    snd_hda_intel 336440 1 - Live 0xf8ac9000
    snd_hwdep 7428 1 snd_hda_intel, Live 0xf8948000
    snd_seq_oss 30336 0 - Live 0xf8a23000
    snd_seq_midi_event 6656 1 snd_seq_oss, Live 0xf8945000
    snd_seq 48432 4 snd_seq_oss,snd_seq_midi_event, Live 0xf8a4f000
    snd_seq_device 6796 2 snd_seq_oss,snd_seq, Live 0xf8942000
    snd_pcm_oss 38656 0 - Live 0xf8a18000
    snd_pcm 68228 2 snd_hda_intel,snd_pcm_oss, Live 0xf8a2d000
    snd_timer 19848 2 snd_seq,snd_pcm, Live 0xf8922000
    snd_page_alloc 8072 2 snd_hda_intel,snd_pcm, Live 0xf892d000
    snd_mixer_oss 14848 2 snd_pcm_oss, Live 0xf8928000
    snd 46628 9 snd_hda_intel,snd_hwdep,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss, Live 0xf8931000
    soundcore 6496 2 snd, Live 0xf88cd000
    slhc 6016 1 ppp_generic, Live 0xf88d0000
    rtc_cmos 9120 0 - Live 0xf891e000
    rtc_core 15516 1 rtc_cmos, Live 0xf88d3000
    rtc_lib 2944 1 rtc_core, Live 0xf88cb000
    reiserfs 229760 1 - Live 0xf894d000
    usbhid 42944 0 - Live 0xf8900000
    hid 39168 1 usbhid, Live 0xf88d8000
    ff_memless 5128 1 usbhid, Live 0xf8872000
    sd_mod 23320 4 - Live 0xf885b000
    sr_mod 15300 0 - Live 0xf886d000
    cdrom 33952 1 sr_mod, Live 0xf8879000
    ide_pci_generic 4228 0 [permanent], Live 0xf8858000
    jmicron 2560 0 [permanent], Live 0xf8829000
    ide_core 103584 2 ide_pci_generic,jmicron, Live 0xf88e5000
    ehci_hcd 33804 0 - Live 0xf8863000
    uhci_hcd 22288 0 - Live 0xf8835000
    usbcore 129776 4 usbhid,ehci_hcd,uhci_hcd, Live 0xf88a8000
    ata_piix 17668 3 - Live 0xf882f000
    ata_generic 5636 0 - Live 0xf8824000
    pata_jmicron 4224 0 - Live 0xf8821000
    libata 141840 3 ata_piix,ata_generic,pata_jmicron, Live 0xf8884000
    scsi_mod 92204 4 sg,sd_mod,sr_mod,libata, Live 0xf8840000
    dock 7952 1 libata, Live 0xf881e000

  • 500 invalid port command

    I have a large site that changes monthly _ I keep getting a
    FTP 500 invalid port command message and the file does not upload
    which means I have to go through the whole thing manually.( I'm
    using Dreamweaver MX). I gather this is a Windows problem - does
    anyone know of a fix
    Many thanks for any advice

    After a client initiates an FTP session, the server establishes a new back connection to the client. This connection extends from the server (outside the firewall boundaries) to a dynamically allocated port number on the client computer. Because the port number is not known in advance, old packet filters open the entire range of high-numbered ports (greater than 1023) for incoming connections. This reconnection at a higher port is done with the following FTP command:
    This reconnection at a higher port is done with the following FTP command:
    port h1, h2, h3, h4, p1, p2
    The values of h1 through h4 are octets of the client IP address. The last two values of p1, and p2 are used to determine the port. The following formula is for p1, and p2:
    p1 X 256 + p2 = port
    If the Firewall Network Address Translation (NAT) does not correctly change this IP address (h1 through h4), the server generates the error message.
    The following sample command is an example of a port command:
    port 10,20,30,40,5,25 = (IP Address: 10.20.30.40 / Port: 1305)

  • Invalid SQL command after upgrading to Oracle 9i

    After upgrading to Oracle 9i, the SQL queries in some of our existing reports are no longer valid.  The Oracle error returned is "old style outer join () can not be used with ANSI joins". It appears that the SQL query generated by Crystal Reports is correct in that it uses "LEFT OUTER JOIN" instead of just naming the tables separated by a comma, but it also includes the "()" qualifer on the matching columns which is no longer allowed.  Is there any way to overcome this error short of rewriting the reports based on a command?

    Hello,
    A couple suggestions come to mind.
    Business Objects tend to take problematic SQL generation very seriously at least on the SQL and Oracle platforms (due to their widespread use) and I would first grab the latest database/engine hotfixes to be certain it hasn't been tracked and corrected already. If you can clearly reproduce this issue (sounds like you can) then it should be easy to convince the support team at BOBJ to track the issue. However...
    Since their hotfix release cycle is rather slow especially for items that have workarounds (even sometimes painful workarounds) you may want to consider using a Stored Procedure instead of a Command.
    Commands have a notorious history of issues/limitations that tend to burn you later - especially when you have to update many reports. A stored procedure would likely render the + qualifier a moot point.
    Cheers, Dylan
    <p><strong>Dylan Lopez - </strong>604.628.4467 </p><p>Previously: Microsoft .NET Resource in Developer Support @ Business Objects</p><p>Currently: Principal @ Inno Software Inc / Independent Contractor Group</p>

  • Invalid mdx question

    Hi experts,
    I've built a dashboard that uses QAAWS against a BEx query. The user selects a parameter from a dropdown list and this is passed to the query. The dropdown is populated via another BEx query. Certain selections cause the error below but others work fine..
    A database error occured. The database error text is: The MDX query SELECT  { [D9E1N6LMLM9YT92Q8JK6JJXTI].[D9E1N6LMLMAQHVEHK2ZSLZC3A], [D9E1N6LMLM9YT92Q8JK6JJXTI].[D9E1N6LMLMC9V42075V0QU4MU], [D9E1N6LMLM9YT92Q8JK6JJXTI].[D9E1N6LMLMDT8CPIU8Q8VOX6E], [D9E1N6LMLM9YT92Q8JK6JJXTI].[D9E1RGK09V98NHYRCDSG9Z852], [D9E1N6LMLM9YT92Q8JK6JJXTI].[D9E1RGK09VAS0QM9ZGNOEU0OM], [D9E1N6LMLM9YT92Q8JK6JJXTI].[D9E1RGK09VCBDZ9SMJIWJOT86], [D9E1N6LMLM9YT92Q8JK6JJXTI].[D9E1RGK09VD32LLJY2YIM47HY], [D9E1N6LMLM9YT92Q8JK6JJXTI].[D9E1RGK09VDUR7XB9ME4OJLRQ], [D9E1N6LMLM9YT92Q8JK6JJXTI].[D9E1RGK09VEMFU92L5TQQZ01I] }  ON COLUMNS , NON EMPTY  { [D9EXRDLJHLX0KVD68TZRK6KFQ].[D9EXVHBZ2PH1IWV1APPDCBNQU], [D9EXRDLJHLX0KVD68TZRK6KFQ].[D9EXUY6POKB6YZZPNWJYWP4VQ], [D9EXRDLJHLX0KVD68TZRK6KFQ].[D9EXUY6POK8VX50FPA94PEY2E], [D9EXRDLJHLX0KVD68TZRK6KFQ].[D9EXUY6POK7CJWCX27DWKK5IU], [D9EXRDLJHLX0KVD68TZRK6KFQ].[D9EXUY6POK6KVA15QNYAI4R92] }  DIMENSION PROPERTIES MEMBER_CAPTION ON ROWS FROM [Z_M25/Z_M25_Q023] SAP VARIABLES [!V000002] INCLUDING 58DFDF3E4D542B47B8128DD98EFB7B6C failed to execute with the error Invalid MDX command with DFDF3E4D542B47B8128DD98EFB7B6C.
    Does this mean that the value of the prompt "DFDF3E4D542B47B8128DD98EFB7B6C" is invalid? If I run the query in Analyzer and paste this value in the query executes successfully.....
    Thanks

    Just an update on this one in case anyone else has the same issue. Turns out to be a bug. See SAP Note 1505565 - "Error WIS 10901 when the SAP prompt value starts with a digit/number in Xcelsius".
    Workaround was concatenating double quotes around the prompt value which the MDX parser accepted.

  • OLAP Universe and Invalid MDX error

    Hi all,
    I'm new to OLAP/BW universes and I've run into some strange issues. I've generated a universe based on a Bex query and I'm getting invalid mdx errors when drilling on a couple of the hierarchies. There has been no customisation of the universe so I'm not sure how invalid mdx can be generated??? I've placed Product and Profit center hierarchies and a single Key Figure onto a report and when I drill down on the hierarchies I get the error. It only seems to happen when I have more than one hierarchy on the report. A single hierarchy with Key Figures does not cause an error.
    Business Objects Edge 3.1 SP2
    SAP Int Kit SP2
    OS: Linux
    BW 701 Level 6
    Executing the mdx in MDXTEST gives the error "Invalid MDX command with {...}"
    Webi log entry below.
    Any advice would be much appreciated.
    Cheers
    Keith
    kc3cdbtbdacs.cpp:3962:static ConnectionServer::Status tbCnxSrvrRecordSet::doCSExecute(ibo_ptr<IConnectionServer::JobResultSet>&, std::auto_ptr<ConnectionServer::ResultSet>&): TraceLog message 147
    2010/05/04 05:34:26.997|>=|E|X|17343|1596992400| |||||||||||||||Uncaught Exception in SilentScope: C3_dacs:CSJob::Execute(*Res): 6.598
    kc3cdbtbdacs.cpp:317:BOResult DoReportCSError(const ConnectionServer::Error&, int, const char*): TraceLog message 148
    2010/05/04 05:34:26.997|>>|E| |17343|1596992400| |||||||||||||||**ERROR:C3_dacs:CS::Error :  (DBD(1),ID:769) "The MDX query SELECT  { [Measures].[DCF59QUC57XIIT50PJKVFYR8K] }  ON COLUMNS , NON EMPTY CROSSJOIN( CROSSJOIN(  { [0PROD_HIER                    PRDHA].[10001                           0PRODH1] } , INTERSECT( INTERSECT( { Descendants(  { [0PROFIT_CTR                   1000YBPH].[000000000000000000000000100010000HIER_NODE] } , [0PROFIT_CTR                   1000YBPH].[LEVEL02]) } , { Descendants( [0PROFIT_CTR                   1000YBPH].[LEVEL01].MEMBERS, [0PROFIT_CTR                   1000YBPH].[LEVEL02], LEAVES) }  ) , { Descendants( {  }, [0PROFIT_CTR                   1000YBPH].[LEVEL02]) }  )  ), [0CUSTOMER].[LEVEL01].MEMBERS ) DIMENSION PROPERTIES MEMBER_CAPTION ON ROWS FROM [COPA_C01/COPA_C01_Q002] SAP VARIABLES [!V000001] INCLUDING [0FISCPER].[V62010010] failed to execute with the error Invalid MDX command with {...}"
    Edited by: Keith Liauw on May 5, 2010 2:18 AM

    Issue has been resolved by applying the following notes
    "1399684 - MDX: Flattening returns incorrectly formatted data"
    "1440912 - WebI reports incorrect after BW 7.1.5 upgrade: Cannot drill below Level 5 of Hierarchy."

  • Error MDX when executing WBI query with different prompt but same text

    Current version is BO XI 3.1 SP2 FP 2.6
    Connected with SAP BI7
    Identified problem :
    when using same text prompt in different filters, only the first one is correctly answered, the MDX code for following ones are not correctly generated : the engine uses the right filter but applied to the object from the first filter which gives a MDX code error.
    Example :
    In a report :
    - asking a user choice on 'document month' for operational view
    - using the same answer to fill up the 'posting month' in financial view
    Document month (0FISCPER) filter is filter !V000001
    Posting month (FISCPLCD) filter is filter !V000002
    Question text is unique : "Single Year Period ?" and should be sent to both prompts/variable.
    When using the same text prompt, the MDX code generated is :
    SELECT  { [Measures].[4IUX93YJGXQEHGLX0T0GPNA9Y] }  ON COLUMNS , NON EMPTY CROSSJOIN( [0FISCPER].[LEVEL01].MEMBERS, [FISCPLCD].[LEVEL01].MEMBERS ) DIMENSION PROPERTIES MEMBER_CAPTION ON ROWS FROM [CATS_M01A/ZGL_CATS_UTILISATION] SAP VARIABLES [!V000001] INCLUDING [FISCPLCD].[Z12010006]
    Please notice that in this generated code, the filter !V000001 is applied to the FISCPLCD object, while filter !V000001 is related to document month. A MDX error is generated.
    Any clue to solve this issue ?
    Thank you for your help.
    G.OM.
    Edited by: GERALDINE OMNES on Jan 14, 2011 12:44 PM

    Ok, I've simplified the case.
    Here is the real case :
    Object filter =
    Based on object =
    .[LEVEL01]
    Object filter =
    Based on object =
    .[LEVEL01]
    In WBI query result I take these objects :
    .[LEVEL01]
    .[LEVEL01]
    .[4IUX93YJGXQEHGLX0T0GPNA9Y]
    In query filters, my 2 filters with same text :
    1.
    I run the query.
    Answer to question 'Single Year Period ?' = Period 06 2010
    ==> MDX error
    A database error occured. The database error text is: Echec de l'exécution de la requête MDX SELECT  { .[4IUX93YJGXQEHGLX0T0GPNA9Y] }  ON COLUMNS , NON EMPTY CROSSJOIN( .[LEVEL01].MEMBERS, .[LEVEL01].MEMBERS ) DIMENSION PROPERTIES MEMBER_CAPTION ON ROWS FROM SAP VARIABLES INCLUDING .[Z12010006] INCLUDING .[Z12010006] avec l'erreur Invalid MDX command with . (WIS 10901)
    And you can see that the value sent to both filters is the same and come from the first filter .[Z12010006] instead of applying the value to each filter .[Z12010006] for the first one and .[Z12010006] for the second one.
    Please, notice that if I change the order of this 2 filters in the WBI query, the MDX generated become :
    SELECT  { .[4IUX93YJGXQEHGLX0T0GPNA9Y] }  ON COLUMNS , NON EMPTY CROSSJOIN( .[LEVEL01].MEMBERS, .[LEVEL01].MEMBERS ) DIMENSION PROPERTIES MEMBER_CAPTION ON ROWS FROM SAP VARIABLES INCLUDING .[Z12010006] INCLUDING .[Z12010006]
    Thanks for your help.
    G.OM.

  • MDX Filter Expression

    Hi,
    I am trying to get a filter expression to work.  I am trying to create a filter that will choose the current year.  This will be part of a filter condition that will be a YTD filter.  I am trying to get the year part working first.  Here is what I have so far.  I get this database error:
    A database error occured. The database error text is: Failed to execute MDX query. Reason: Invalid MDX command with ). (WIS 10901)
    Here is the MDS statement:
    <FILTER EXPRESSION="FormatNumber(Year(CurrentDate());'####')">
    <CONDITION OPERATORCONDITION="Equal">
    <CONSTANT CAPTION="1"></CONSTANT>
    </CONDITION></FILTER>
    Thank you for your help,
    Aaron

    I figured out the issue.  I cannot use formatnumber() Year() and getdate() in MDX.  I am using BO over SAP BW.  
    What I was trying to do is create a filter to automatically calculate the current month and year for a YTD filter.  I found out that the MDX YTD() function can be used but the function does not know the current date, so you have to use a prompt to have the user enter the current date.  If there is another way I am up for suggestions.
    Thank you
    Aaron

  • MDX Statement for TopCountin UniverseDesigner

    Hi together,
    I'm trying to build a TOP N function in a WebIntelligence Document. In a SAP BW Query I've created a formula variable.
    For example the User enters 5 for the variable, so I want to show the TOP 5 of one keyfigure.
    IN SAP BW i can use the condition in the Query to SOLVE it.
    Universes in SAP BO / WebIntelligence doesn't use conditions from the query.
    Can anyone help me to build a MDX-Statement in the Universe Designer to get the TOP N of a keyfigure.
    Thanks a lot!
    Kind regards
    Lars

    Hi Ingo,
    thanks for your fast reply.
    I found the document and I think I'm near a solution.
    My current MDX statement generated from the universe is:
    WITH MEMBER [Measures].[24145E65-73A0-DF11-85,88,14,60,A,C,0,0] AS
    TOPCOUNT([0ME_MED_ISS].[LEVEL01].members,3,Measures].[26SDIBEB571NMBEOG191RX7OO])
    SELECT  {[Measures].[26SDIBEB571NMBEOG191RX7OO],  [Measures].[24145E65-73A0-DF11-85,88,14,60,A,C,0,0],
        [Measures].[EQAO129PIC9UWXOJ2W2KRLANC] }  ON COLUMNS ,
    NON EMPTY UNORDER( {[0DIVISION].DEFAULTMEMBER} )  ON ROWS
    FROM [ZSDAMP004/ZSDAMP004_S004]
    SAP VARIABLES [Z1PME003] INCLUDING [0DIVISION].[40] [Z1PME003] INCLUDING [0DIVISION].[22] [Z1PME003]
    INCLUDING [0DIVISION].[21] [Z1PME003] INCLUDING [0DIVISION].[20] [Z1PME003]
    INCLUDING [0DIVISION].[00] [Z1PEI036] INCLUDING [0PLANT].[9010] [Z1PIN030]
    INCLUDING [0CALMONTH].[200906] : [0CALMONTH].[201008]
    [ZFV010] INCLUDING 2
    The Problem is the  Statement:
    WITH MEMBER [Measures].[24145E65-73A0-DF11-85,88,14,60,A,C,0,0] AS
    TOPCOUNT([0ME_MED_ISS].[LEVEL01].members,3,[Measures].[26SDIBEB571NMBEOG191RX7OO])
    if I use the statement in the one above and use the transaction mdxtest in bw:
    WITH MEMBER [Measures].[24145E65-73A0-DF11-85,88,14,60,A,C,0,0] AS 1 it works fine.
    My declaration in the univese for the TOPCOUNT is:
    <EXPRESSION>TOPCOUNT([0ME_MED_ISS].[LEVEL01],3,[Measures].[26SDIBEB571NMBEOG191RX7OO])</EXPRESSION>
    The Error for the statement is: "Invalid MDX command with ,"
    Thanks a lot.
    Lars
    Edited by: Lars Ohm on Aug 5, 2010 12:32 PM

  • Getting MDX Error.

    Hello Experts.
    I have created a query on GL. and made it externally visible to send the data into PCM. Now when i check in PCM Data bridge it is giving an error. its giving me and mdx error which says "Invalid MDX command with )". I have checked in MDX test in BW it is giving the same error.
    SELECT {[Measures].[4MOXVHUAY8XIP927RDRX7KKK2]} ON COLUMNS,
    NON EMPTY CrossJoin
    Descendants ([0GL_ACCOUNT].[All]),
    CrossJoin
    {[ZFISCPER4].[All]},
    {[ZRESBCENT].[All]}
    DIMENSION PROPERTIES MEMBER_NAME
    ON ROWS
    From [ZIC_GLPC1/ZREP_CUBE_MGL_DMAT]  
    Kindly help

    Hi,
    May help you:----
    Error While working with 2 hierarchy
    http://help.sap.com/saphelp_nw70/helpdata/en/ba/12533d6dd60610e10000000a114084/content.htm
    /people/reuben.cox/blog/2009/10/16/extracting-voyager-mdx-queries
    REgards,
    Suman

Maybe you are looking for