Max. version at query level

Hello Experts,
Excuse my limited knowledge on BI. I 've a question.
Say im my cube I have records as below:
DocNo. | Ver. | Value
11111   | 01    | 120
11111   | 02    |   140
11113   | 00    | 100
I want the query to extract the maximum version of the document such that it should give me record no.2 & 3.
Please note that the version and DocNo. are charectorstics while the value is a keyfigure.
thanks for your help.
regards,
Azmath

Hi Andrey.
Thanks for your reply. We created a KF and populate with the document version. then we created a condition on Bex with Top N so the result would look like something below. The doc no. 1001 have 2 version in the cube while in the query output it gives me the top most version which is 1. But the problem now is the result row in the end. If you notice the value comes as 2 while it should be only 1.
In the Cube we have:
DocNr |     Ver. |     Value
10001 |                            0 |                            1.00
10001 |                            1 |                            1.00
10002 |                           0 |                               0
In the query we get:
DocNr |     Ver. |     Value
10001 |                            1 |                            1.00
10002 |                           0 |                               0
Result                                                                       2.00
Kindly advice. Appreciate your help.
regards,
Azmath

Similar Messages

  • Determine Max Value from Lower level?

    Hi,
    I have requirement to determine maximum value from lower levels. Please post your ideas to resolve this requirement using BEx Query designer.
    Level_A1         MAX (KF1 of lower level - B1 to B2 or C11 to C1n + C21 to C2n)
        Level_B1     MAX (KF1 of lower level - C11 to C1n)
             Level_C11     KF1
             Level_C12     KF1
             Level_C13     KF1...
             Level_C1n     KF1   
        Level_B2     MAX (KF1 of lower level – C21 to C2n)
             Level_C21     KF1
             Level_C22     KF1
             Level_C23     KF1...
             Level_C2n     KF1
    Thank you very much…
    BW User

    Did you try @ancestval http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?ancestval.html
    Regards
    Celvin
    http://www.orahyplabs.com

  • How do I tell what version (update / release level) of version 6 has been applied to my system?

    Question
    How do I tell what version (update / release level) of version 6 has been applied to my system? I have applied several different release levels to version 6 of FF but all the about feature tells me is Version 6.0. no version! This seems to be a change in the way updates are handled. Is that a bending because of the speed of which you're pushing out updates and new releases?
    contact me if you need something more
    ''deleted email address''

    @cchur <br />
    Nope, I never used Chrome, but I did try Chromium on my Windows desktop PC for a few months last year. I got tired of the Google updater. exe running all the time and Google's method of doing updates, so it's gone. I do have Chromium on my Linux EeePC since last summer, but Ubuntu handles all updates and gives the user the capability to accept or deny, any or all updates - much more to my liking, similar to the way Mozilla does it. I don't like software developers forcing to update until I am ready to proceed.
    There's a lot more about this new Fast Release system, than just the lack of visible version numbers, that I don't like. The Nightly, Aurora, Beta, & Release sequence is dumb with the way it changes the version numbers. I prefer installing (for instance) what will become version 7 and have that installation progress thru the 4 stages, instead. Now it's like Nightly going from 7 to 8, Aurora going from 6 to 7, and Beta doing - hell, I won't know if it becomes a Release or if it just dies and I will have to install the Release version myself. ''Quite honestly I don't care, because I don't think this new "system" is going to last too long without major modifications. Too damn many users are so pissed off, that when Firefox starts losing large numbers of users, Chrome keeps growing and eventually passes Firefox in number of users and market share of usage - Mozilla will wake up and see the "light" and change back to the way things used to be done, to a certain extent.''
    I also dislike the UI changes in 4/5/6/7 enough that I am still using Firefox 3.6 for almost everything and Firefox 2.0.0.20 for the rest. I have been setting my toolbars up almost like Mozilla did for Firefox 4, since Firefox '''0.7''' in 2003 and I haven't come up with a workable combination of mods and extensions to configure Firefox to look and work the way I have been doing for almost 8 years now.

  • Query level filter not working in Webi report

    Hi All,
    I am using BOXI R3.1 (SP3), m facing one problem when refreshing Webi report on daily basis. I am using three query level filter as a prompt, but i checked one filter is not working then i need to reapply this filter and rest 2 filter is working fine.
    Can anyone suggest me why problem is coming?
    Regards,

    Hi,
    Prompts are interactive, and come from the query panel. Filters are not interactive, and are set on the report or block. There are also input controls, which are interactive filters
    1. Select the universe in the list of universes to open the Query Panel.
    2. Drag the Year object to the Result Objects pane.
    3. Drag the Number of Guests object to the Query Filters pane and create a report filter that restricts Number of Guests to greater than n.
    4. Click Combined Query.
    The Combined Query pane appears in the bottom left of the Query panel with the two queries joined by UNION.
    5. Click on the second query and remove the Year and Number of Guests objects.
    6. Drag the Reservation Year object to the Result Objects pane.
    7. Drag the Future Guests object to the Query Filters pane and create a report filter that restricts the future guests to greater than n.
    8. Click Run Query.
    Best Regards
    Naveen

  • When I Run Firefox It Says "XUL Runner" Platform version 1.9.2.3 is not compatible with min version 1.9.2.3 max version 1.9.2.3.

    When I Run Firefox It Says "XUL Runner" Platform version 1.9.2.3 is not compatible with min version 1.9.2.3 max version 1.9.2.3
    == This happened ==
    Every time Firefox opened
    == It Updated ==
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4

    Do a clean reinstall and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    You can skip the step to create a new profile, that is not necessary for this issue.
    See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Error message: Platform 1.9.1.9 is not compatible w/mini &max version 1.9.1.1.0

    You keep trying to get me to update but my grandson's program needs the older version. This last time it just started to up date and so I tried to close it to stop it. The next time I opened it it had the Error message of Platform 1.9.1.9 not compatible with mini and max version of 1.9.1.1.0
    == This happened ==
    Every time Firefox opened
    == June 2,2010 ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30618; .NET4.0C; [xSP_2:681f5ad376d4d512934f0fc563b77747_201]; 66760703)

    Do a clean reinstall and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    You can skip the step to create a new profile, that is not necessary for this issue.
    See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • The latest upgrade is not compatible. it says error run platform 17.0.1 is not compatible with min version 17.0 max version 17.0

    the latest upgrade is not compatible and is not allowing me to open firefox. the error message says run error platform 17.0.1 is not compatible with min version >17.0 max version <17.0

    hello paisley157, this error might be caused by security programs such as zone alarm - please temporarily disable those programs for the following procedure:
    *download the full firefox setup file from getfirefox.com
    *uninstall firefox on the machine (but don't chose to delete your custom files & settings in the uninstaller!)
    *manually delete all remaining files in the firefox program folder, which usually resides in ''C:\Program Files (x86)\Mozilla Firefox\''
    *reinstall firefox

  • XULRunner keeps saying "error: platform version 20.0.1 is not compatible with min version=19 max version=19 "how do i fix this?

    Windows XP SP3. Worked this morning! Now I get this error
    XULRunner keeps saying "error: platform version 20.0.1 is not compatible with >min version=19.0 <max version=19.0" how do i fix this?

    This is caused by a broken (corrupted) Firefox installation where not all files have been updated properly.
    Do a clean reinstall and delete the Firefox program folder before reinstalling a fresh copy of Firefox.
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 20.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.
    *Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will also lose your personal data like bookmarks and passwords from profiles of other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other profile data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.
    If you keep having problems then also create a new profile.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • WHEN RYING TO OPEN GETTING MESSAGE PLATFORM VERSION 8.0, MIN VERSION 7D MAX VERSION 7D

    ''duplicate of https://support.mozilla.com/en-US/questions/903944''
    WHEN I TRY TO OPEN FIREFOX AS AN INTERNET BROWSER I GET A MESSAGE PLATOFORM VERSION 8.0 NO COMPATIBABLEW WITH MIN VERSION 7.D MAX VERSION 7.D

    I suggest you download a fresh copy from getthunderbird.com and reinstall. I do not know what has caused it, but a reinstall should refresh the files and fix it.

  • Date to Month Conversion at Query Level.

    Hi,
    I have Net due date in the Info provider.
    At query level i have to create a restricted keyfigure based on Net Due Month.
    Is there any way i can calculate Net due month at runtime and then create the restricted keyfigure using the net due month instead of using net due date directly(linke 01-10-2010 to 31 -10-2010 for october 2010).
    Thanks and Regards,
    MuraliManohar.

    Hi,
    Is there any way i can calculate Net due month at runtime and then create the restricted keyfigure using the net due month instead of using net due date directly(linke 01-10-2010 to 31 -10-2010 for october 2010).
    you can calculate , but as he said you can add in cube ,  may be for cal month you are taking som eother date field.
    in this case write one customer exist code .
    create one varaibel on netdue date with customer not ready input (if user wants to enter input then ct=reate user entry varaible with reday input by using customer exit).
    in routine wriet the code as when that varaible .
    l_s_range - high , low and give then take the month form that date
    like netdue date +0(6)-- gives month and year
          netdue date +0(2)-- gives month
    then rtestrict that variable with your keyfigure.
    Thanks & Regards,
    sathish

  • Spell bound no longer works with nightly build.It did up ontill last update with max version altered.

    I have been using spell bound add on for years and have been updating the max version.After the last update for nightly yesterdday it no longer working.I'm getting error.
    Any ideas how to get it to work.

    Here's the error I'm getting.
    [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIEditorSpellCheck.GetNextMisspelledWord]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: chrome://spellbound/content/spellbound.js :: <TOP_LEVEL> :: line 633" data: no]

  • Logical Formula at query level?

    I have requirment like if D =  0 then ' ' (SAPCE) else E / F.
    I dont know how to get space ?
    please help me to create this formula at query level?

    hi Hari,
    I am not really sure ,but u can try this...
    if D = 0 then ' ' (SPACE) else E / F.
    use the same formula and make it Zero instead of space and then in the Query properties replace Zero with Blank or Space Values.
    Rgds
    SVU123
    Edited by: svu123 on Sep 30, 2010 6:53 AM

  • Infoset resulting multiple results at query level

    Hi,
    I have joined 1 DSO and 1 Infocube in Infoset.. Mapped Plant, Material and Batch
    DSO
    Plant     Material      Batch      Caldate         Qty
    P1          M1          B101          01/02/2014     1000
    P2          M2          B102          05/02/2014     2000
    Infocube
    Plant          Material         Batch     Caldate               %
    P1               M1               B101          02/02/2014          20
    P1               M1               B101          05/01/2014          20
    P2               M2               B102          07/02/2014           15
    I'm considering date only on DSO and ignoring Infocube date. When I execute the report for the month of February, report output is as follows.
    Plant   Material     Batch     DSODate         Qty           %
    P1          M1               B101     01/02/2014          1000          40 (Summing up with January Date)
    P2          M2               B102     05/02/2014          2000          15
    I want data % value to be 20%.
    Is there any possibility to change at query level or join level.
    If we have one line item, data is correct but not the case with multiple line items.
    Kindly do the needful!
    Thanks
    SS

    Hi,
    When you join the two infoproviders in the infoset ignoring infocube date, you are creating as many records for each record in DSO. That means for the first record the infoset creates :
    Plant     Material      Batch      Caldate         Qty     %
    P1          M1          B101          01/02/2014     1000  20   (for first row in infocube)
    P1          M1          B101          01/02/2014     1000   20  (for second row in infocube)
    I also think same as Anshu, you have all the common characteristics, you can as well use a multiprovider.
    regards
    Yasemin...

  • Currency Conversion at Query Level

    Guys,
    Can some one tell me step by step procedure to do Currency conversion from USD to Mexican PESO at query level in BI 7.0. I have read lot of threads but not clear in maintaining the Exchange rates and also in creating the variables. 
    Thank you,
    Kumar

    Hi Kumar ,,
    You're able to convert the currency amount on the routine ...
    Using this function :
    CONVERT_TO_LOCAL_CURRENCY
    Sample:
    CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
         EXPORTING
            DATE             =  " current date.
            FOREIGN_AMOUNT   = " local currency amount (peso)
            FOREIGN_CURRENCY =  " local currency
            LOCAL_CURRENCY   = 'USD'
         IMPORTING
            LOCAL_AMOUNT     = RESULT " result.
         EXCEPTIONS
            NO_RATE_FOUND    = 1
            OVERFLOW         = 2
            NO_FACTORS_FOUND = 3
            NO_SPREAD_FOUND  = 4
            OTHERS           = 5.
    To maintain the exchange rate, you can go to tcode: OB08
    Hopefully it can help you a lot..
    Regards,
    Niel
    thanks for the points you choose to assign.

  • Query level formula is not working for all the amounts

    Hi Friends,
    In my production system I found new thing that in my query level I done some calculation (as per my requirement I done amount devide by 100 to get correct values)
    It is working for all the amounts except 1or 2 amounts, im uploading same source file for  all the amountsu2026 why it is happening like this u2026and is there any availability to change those 1 or 2 values at data base tables level  or at any pleace (I hope in SAP it is may not possible)u2026can any body tell me why it is happening like this. u2026 because of  this issue only my report is pending to sign off u2026.please  can any body find  the solution ASAP.
    Regards,
    VENKAT

    Are they non decimal currencies?
    If yes, create RKF1 on amount field excluding the currencies for which you are not getting currect values then in CKF or formula as RKF1 / 100.   Similarrly create another RKF2 on amount only including the currencies which are excluded in RKF1, create a CKF or formula as RKF2/10000. Then created another formula wich adding CKF1 and CKF2.

Maybe you are looking for