Error in Dimension formula to find the average price

Hi all,
I have tried a dimension formula to find the average price of Product.
if the product is a parent level member then average price should be the average of the list price,other wise it should be the list price itself.
IIF([PRODUCT].CURRENTMEMBER.PROPERTIES("CALC")="N",[KEYFIGURES].[LISTPRICE],AVG(DESCENDANTS([PRODUCT].CURRENTMEMBER,[KEYFIGURES].[LISTPRICE],LEAVES)))
While i tried the same i received some strange error , i don know whether its having some dependency on the Customer dimension. since K0030101 is a memebr belonging to CUSTOMER dimension.
MDX statement error:"Value K0030101 for characteristic /CPMB/U6D7SXT un"
I'm not sure whether its an error with  the formula i created or any dependancy issue or whether this scenario is possible  using  dimension formulas or not.
Thanks in advance .
Anila Mohan

Hi everyone!
We are using BPC 7.5 NW SP08 and we've had the same error message while adding a formula to the Account dimension:
'MDX statement error: "Value 1 for characteristic /CPMB/S9D7Q23 un".
We then checked in BW for /CPMB/S9D7Q23 and found out that it was the Product dimension.
The solution for the issue was quite interesting. I had seen in another post that sometimes CALC property was not correctly determined for SP08. The solution proposed was to edit dimension members, clear ParentH1 column, process dimension, re-edit, paste back ParentH1 values and process dimension again. This corrected CALC property problem.
It also worked for my case. After doing it to Product dimension I tried again to set the formula in Account dimension and it worked!!
Hope this helps.
Regards,
Luigi Laporte

Similar Messages

  • Error!! Can not find the delivery details for the delivery Id :

    hi all,
    I have a report which i need to burst in seven different reports wherein my delivery key is column "emp_id". Now when i schedule the report to burst then the report completes with a warning. I see that there are various delivery cycles for the report and for one of the cycles i get the following message
    Error!! Can not find the delivery details for the delivery Id :
    hence, what happens due to this is, even there are successful deliveries for other delivery ids but then i get only two rows of data in each of the seven bursted ouput xls files. wheareas the data runs in thousands of rows for each cycle.
    Hence whats happening is, that due to error /warning in one of the delivery cycles other reports are also not showing data.
    I am not sure whats causing the issue and why i am not getting complete bursted files out.
    Please suggest
    Thanks
    Ronny

    I guess, you are in 10.1.3.3.2 :),
    in the latest release 10.1.3.4.1, there are more enhancement wrto bursting and performance i believe.
    check th release notes
    can you send me the xml and bursting query you have, i can try simulating in my local.

  • I have photoshop C6 on my MAC Pro and want to install it on my new MAC desktop.  I sent the files with AirDrop but photoshop wont open I get an error message that it cant find the Library.  Any thoughts?

    I have photoshop C6 on my MAC Pro and want to install it on my new MAC desktop.  I sent the files with AirDrop but photoshop wont open I get an error message that it cant find the Library.  Any thoughts?

    download the installation files and install using your serial number or adobe id,
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  12 | 11, 10 | 9,8,7
    Lightroom:  5.5 (win), 5.5 (mac) | 5.4 (win), 5.4 (mac) | 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • My home page is google and it works but when I open a new tab it displays an error message :Firefox can't find the file at chrome://quick_start/content/index.ht

    I've made sure a dozen times that my home page is set correctly, and when I hit the home button next to the search bar it works and takes me right to google BUT whenever i open a new tab i get the error that my page cannot load and the web url that it keeps trying to remember is in the error message:
    Firefox can't find the file at chrome://quick_start/content/index.html.
    of course the last dot is not the url anymore but the end of the sentence for the error message, but i don't ever use chrome ever on my laptop only my cell so what is going on????? help fix god please!!!!!!

    Do you have the FastStart extension?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • The share operation "master file" has failed. the operation could not be completed because an error occurred creating Frame 93164 (error-1). how can i find the frame?

    The share operation "master file" has failed. the operation could not be completed because an error occurred creating Frame 93164 (error-1). how can i find the frame?

    https://discussions.apple.com/thread/6219522

  • An error has occurred: Could not find the document.

    I get the "An error has occurred: Could not find the document." error when trying to open a URL using OpenDocument.  The URL is as follows:
    http://:<myserver>8080/BOE/OpenDocument/opendoc/openDocument.jsp?iDocID=AZjCUhaL3c9Is.YxtGMc7K4&sIDType=CUID
    I am certain the value of iDocID is correct, and I am also certain that I can get an OpenDocument to work on the server.  In fact, I tried the same URL using a different iDocID for a Webi report in a different folder, and it works.  For some reason, it appears as though the report in this folder won't open though.
    Any thoughts on this would be greatly appreciated.  I've been working on this for a couple of days an am completely stumped.  Also, I'm relatively new to Business Objects.  Is there a log file that I can view that might give me more details regarding the error?
    Thanks in advance for your help!

    May be that the user who is accessing the report does not have sufficient rights to view it.
    Check whether you are able to view the document as an administrator.
    Regards,
    Niraj

  • "An error has occurred: Could not find the document." on opening the BO report

    Hi ,
    On publishing the BO report in Portal, we get the blank screen with warning message as below screenshot and  facing the ""An error has occurred: Could not find the document."" error message when accessing the BO report using open document URL directly in browser instead of portal.
    Link: http://<host>:8080/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=ASClVc_yw55L
    We already have many BO reports successfully running in the production environment.
    But for this new report we are getting this error. The difference found in this report is from Infoviewapp the login page appears as below in to which the developer logs in.
    But for the reports coming with error the login page authentication value is changed to "Enterprise". So the system related fields disappear after that and looks like below
    Please let us know the root-cause of this error message. Is this something to do with user authorization in BO system at report level or some config changes related to SAP/Enterprise authentication.
    Multiple posts in SDN related to this error message points to check for user authorizations in BO system. Please provide details on this if this is the case.
    Regards,
    Bhaskar

    Hi ,
    The dropdown is now made visible to the users in the opendocument property as per the suggestion in the below links. The user can choose the authentication type and login into reports after that.
    http://scn.sap.com/thread/3525264
    http://scn.sap.com/thread/1417858
    My question now is after changing the visibility of the authentication true, the SSO doesn't work as before. Is there any way to make the SSO available with this setup ?
    Regards,
    Bhaskar

  • Give SQL command to find the average annual salary per job in each department

    Give SQL command to find the average annual salary per job in each department pls help

    with
    data as
    (select empno,deptno,job,payday,1000 + trunc(500 * abs(dbms_random.normal)) + decode(deptno,10,500,11,200,12,100,0) salary
       from (select 1000 + trunc(dbms_random.value(10,100)) empno,
                    10 + floor(dbms_random.value(1,10) / 4) deptno,
                    decode(trunc(dbms_random.value(1,10)),1,'A',2,'B',3,'C',4,'D',5,'E',6,'F',7,'G',8,'H',9,'I','?') job
               from dual
             connect by level <= 17
            (select add_months(to_date(to_char(level),'mm'),-12) + 10 payday
               from dual
             connect by level <= 12
    select deptno,job,avg(salary) average_salary
      from data
    group by deptno,job
    order by deptno,job
    DEPTNO
    JOB
    AVERAGE_SALARY
    10
    B
    1812.83333333333333333333333333333333333
    10
    F
    2046.08333333333333333333333333333333333
    10
    G
    1877.45833333333333333333333333333333333
    10
    I
    2081.75
    11
    C
    1456.08333333333333333333333333333333333
    11
    E
    1654.91666666666666666666666666666666667
    11
    G
    1650.5
    11
    I
    1579.33333333333333333333333333333333333
    12
    A
    1580.58333333333333333333333333333333333
    12
    E
    1414.33333333333333333333333333333333333
    12
    H
    1380
    12
    I
    1404.83333333333333333333333333333333333
    Regards
    Etbin

  • How to find the average of table row values it should display in next row in libwindow/​CVI

    Hi,
    How to find the average of table row values it should display in next row in libwindow/CVI
    Please let me know the solution.

    There isn't a built-in function to perform calculations on thable cells. What you can do is to retrieve thable cells values and calculate the average by yourself.
    To retrieve a bunch of cells in a single instruction you can use GetTableCellRangeVals: prerequisite for this function to work correctly is that cells are all included in a Rect structure (shortly, a rectangle) and are all of the same data type. See the help for the function for some explanations and the link to an example of its usage. In Cell range parameter you can pass VAL_TABLE_ROW_RANGE (row) macro to retrieve an entire row. See here for details.
    Once you have retrieved cell values in an array, you can pass it to Mean function to calculate the average.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How can I select an area of a picture (larger than one pixel) and find the average RGB values of all the pixels contained inside the area?

    I'm analysing the differences between several different images and I would like to select a large area of each (such as with lasso tool) and find the average RGB value of all of the pixels within the selection area made/

    With the selection you could do a copy paste and use the histogram of the new layer set the histogram source to selected layer.  The eye dropper sample size may also to get the average  of a square area around a point.

  • Finding the average of all the values stored in a two dimentional array

    public int avg(int[][] numbers2){
        int sum = 0;
        float avg = 0;
        for(int r = 0; r < numbers2.length; r++)
          for(int c = 0; c < numbers2[r].length; c++){
              sum += numbers2[r][c];
          }So I have this code that of course finds the sum of all the values stored in the array int[][] numbers. What I am having an issue with is finding the average of the numbers. When I attempt to use:
    avg = sum / numbers2.length; I get the sum / 3 because my array looks like:
    int[][] numbers2 = {{1, 2, 3},
                                {4, 5, 6},
                                {7, 8, 9}
                                          };Any ideas on what I should do or where I could find information on this process?

    2 dimensional arrays have 2 lengths:
    myArray.length and myArray[0].length
    The first one I believe is fixed, the second one may vary from row to row. But if you know that it won't vary, then you can just use the [0] row length.

  • Finding the average between 2 cursors

    Hi. I am using LabVIEW to produce a graph of force against time, and I am using cursors to locate specific points on this graph while the vi is running. I want to find the average force value between selected cursor points (either during or after the run) but I don't know how to do this - can anyone help?

    OK, here's a downconverted version. (I have not tested it in 8.2, hopefully it is still intact. ))
    (It might need a tweak or two, depending on if you want to include or exclude the cursor positions in the mean calculation. Modify as needed)
    Message Edited by altenbach on 11-10-2008 11:55 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    GetCursors82.vi ‏26 KB

  • How do you find the average bitrate for 1080p movies purchased in iTunes?

    Can anyone point me in the direction of how to find the average bitrate for 1080p movies purchased in iTunes?
    For instance, Sherlock Holmes: A Game of Shadows on Bluray has an average bitrate of 18.523 Mbps.
    Thanks in advance!

    Some titles look great from iTunes Store but over the years I have been very aware of distracting banding issues especially in dark/bright areas for example where you'd expect a smooth gery/black gradient but you get discrete bands of greys to black.
    Many people say they don't see it, but I'm very sensitive to it.
    I'm not convinced it's a pure bitrate problem, more to do with the encoding algorithm. Either way it's a clear disincentive to build a library of this content if you see it.
    AC

  • How do you find the average value of all the data between two points on a single channel

    I am tring to calculate the average value of all the data points on a single plot between two seperate points
    I have attahced an illustration.
    Tim
    Solved!
    Go to Solution.
    Attachments:
    plot.jpg ‏173 KB

    Hey smoothdurban,
    I've seen Brad's code, and trust me, it's worth the effort to let him help you get it up and running - it's definitely the most ideal way to solve this problem.  However, as Brad said, there are multiple ways to tackle this - both interactive and programmatic - so in the meantime, I'll take a second to detail one of the interactive and sure-fire ways to find the average of data between two points on a single channel.
    We'll use"Flags."  Set up your VIEW graph exactly as you did on your original screenshot, using Band Cursors to approximate the beginning and ending X-values representing the range you want to examine.  Next:
    1. Click the "Set Flags" button () that is a part of your 2D Axis System.  Note that you can hold down the Shift button if you ever decide you want to do this on more than a single curve at one time.
    2. Select the "Flags: Copy Data Points" button that enables after Flags are set.
    3. This creates new channel(s) in the default (bold) group in the Data Portal that contains only the Flagged data.
    4. Select DIAdem ANALYSIS.
    5. Select Statistics » Descriptive Statistics.
    6. In the Channels input, select the newly created channel containing your Flagged Y-Data.
    7. Ensure that the Arithmetic Mean parameter is set.  You can preview the data and the result in the dialog before pressing OK to execute the calculation. 
    You may have noticed that in the Descriptive Statistics calculation, one of the parameters that you can set is the range of channel rows to operate on - so, if you know the row numbers of your beginning and ending X-values, you could just simply run the Descriptive Statistics calculation and use this parameter to operate on a row subset of your original channel instead of the entire channel.
    Derrick S.
    Product Manager
    NI DIAdem
    National Instruments

  • Validation error: cvc-elt.1: Cannot find the declaration of element

    I use JAXP to do XML Parsing and validation. I use DOM and not SAX.
    My code is as follows:
    SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
    File schemaLocation = new File("C:\\config\\JMS_properties.xsd");
    Schema schema = schemaFactory.newSchema(schemaLocation);
    // Create the validator
    Validator validator = schema.newValidator();
    // Add an error handler to the validator
    JMSErrorHandler errorHandler = new JMSErrorHandler();
    validator.setErrorHandler(errorHandler);
    // Create the dom factory
    DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();
    // Set the namespace property
    domFactory.setNamespaceAware(true);
    // Create the document builder
    DocumentBuilder builder = domFactory.newDocumentBuilder();
    // Parse the xml file
    Document doc = builder.parse(xmlFile);
    // Create the dom source and destination
    // The destination will contain the doc augmented with the default attribute/element
    DOMSource source = new DOMSource(doc);
    DOMResult result = new DOMResult();
    // Validate and augment the source
    validator.validate(source, result);
    // Error checking
    if ( errorHandler.validationError == true ) {
        // errors occured during the parsing
        System.out.println("XML file is not valid");
        System.exit(1);
    // Get the augmented document
    this.augmented = (Document) result.getNode();When executing my code, I got:
    Validation error: cvc-elt.1: Cannot find the declaration of element 'JMSProperties'
    But the xml file has this element in it so I do not understand the meaning of that error.
    ??????

    I fight with the same error, it is curious that the schema from schemaLocation can not be validated. If i set the schema manually through an attribute it works. What i try to do is overwriting the resolveEntity in the handler to get the schema from another location and validate the xml against the schema specified in the attribute schemaLocation rather than setting it manually :-(

Maybe you are looking for