Sort in Analytical view

Hello Folks,
We have got an analytic view with some date columns.
I want to sort those columns. I am not able to find any property related to Sort in Data Foundation or Logical join.
Could you please suggest a way to sort apart from SQL script.

Hello Jasmin,
Thanks for inputs.
HANA is Primary db here. The views are created without any input parameters. So I think External view will be better option.
I have created a external view for Analytic one but I am not able to see its contents in SE16 while I can see its definition in SE11.
So my query is can we also create external view for analytic and calculation view ??

Similar Messages

  • How to perform Descending Order function on a DATE column in Analytical View

    Hi,
    I have the below requirement
    For the article/site having a+ stock quantity from table MARD field LABST, check the last goods movement date as a receipt table MSEG field SHKZG value "H".  To get this information fetch the data from the table MSEG & MKPF.  The lead time from that date till the present date is the ageing information.  Show the output sorted on the duration as ageing information.
    Created a calculate column with the below code and it is populating data i.e. multiple records for the same item for different dates like
    daysbetween(date("BUDAT"),date("CURRENT_DATE"))
    MC25001;1001;08;DC01;;H;WL;20150317;20150317;000000000000000233;2015-04-20;34;1,003
    MC25001;1001;08;DC01;;H;WL;20150312;20150312;000000000000000233;2015-04-20;39;2,006
    MC25001;1001;08;DC01;;H;WL;20141203;20141203;000000000000000233;2015-04-20;138;3,009
    MC25001;1001;08;DC01;;H;WL;20150409;20150409;000000000000000233;2015-04-20;11;1,003
    MC25001;1001;08;DC01;;H;WL;20141201;20141201;000000000000000233;2015-04-20;140;1,003
    Now I have to sort the date (BUDAT) (highlighted in bold above) to be sorted in Descending and then take the first record and then apply the the above formula to get the aging stock. 
    Any suggestions?
    Best Regards,
    Vijaya

    Hi,
    But I don't think you need to go for scripting view. What you can do here is create one more calculation view , insert this analytical view in the projection and select date as measure and pick max value and then create one calculated column and put your logic.
    I hope i got your requirement correctly.
    BR
    Sumeet

  • HANA Analytical View Display Data Issue

    SAP Experts,
    Need your kind help for the below issue,
    I've created an analytical view from a DSO Active Table in HANA Studio. Through IDT (Information Design Tool), when I tried to view the contents of this DSO table (AYPURDA0100) by connecting to HANA, I see the following error which is mentioned below,
    Error:
    Error while refreshing the data provider.
    Cause of Error:
    SAP AGSDBODBC DLLHDB General error;7 feature not supported: cannot execute select * on olap cube: zthd/AYPURDA0100: line 1 col 26 (at pos
    Note: The AYPURDA0100 table contents are displayed in HANA Studio. However when a view was created with NO join conditions for the same table with few selected fields including measures, the display data is not working.
    Your views are greatly appreciated. Thank You in advance

    Check out the comments from Marc and Lars in the thread below.
    http://forums.sdn.sap.com/thread.jspa?forumID=491&threadID=2138937

  • Error when using Analytic view with Input Parameters

    Hi,
    I am trying to create an info space based on my Analytic view which has input parameters. The infospace is validated and indexed without any issue. However when I ran the view, I get an error (50011) as it is unable to fetch any results. I tried using an infospace based on Calculation view with input parameters and the explorer view works without any issue.
    Has anyone faced similar issues?
    We are using HANA SP 6 rev 67 and BI 4.0 SP 4.
    Also is there a way to enable input prompts for the users when they refresh the BO Explorer view? If not currently available is there any work around ?
    Thanks

    Hello George,
    I don't have any personalization set on the info space. Also I am using mapped Account in BI to connect to HANA. The confusing part is that it is able to validate the infospace with the input parameters and index it. However query does not return any results. I even tried running the same query which explorer sends to HANA in the SQL editor and there too the same results,the query does not return anything. The model does return data when I do a data preview and if accessed from other tools like AAO.
    Also when I use SSO connection to HANA, indexing of the infospace fails. Where can I see the error log?
    Thanks,

  • Error while using Analytic view with BO explorer

    Hi,
    I am trying to create an info space based on my Analytic view which has input parameters. The infospace is validated and indexed without any issue. However when I ran the view, I get an error (50011) as it is unable to fetch any results. I tried using an infospace based on Calculation view with input parameters and the explorer view works without any issue.
    Has anyone faced similar issues?
    We are using HANA SP 6 rev 67 and BI 4.0 SP 4.
    Also is there a way to enable input prompts for the users when they refresh the BO Explorer view? If not currently available is there any work around ?
    Thanks

    Hello George,
    I don't have any personalization set on the info space. Also I am using mapped Account in BI to connect to HANA. The confusing part is that it is able to validate the infospace with the input parameters and index it. However query does not return any results. I even tried running the same query which explorer sends to HANA in the SQL editor and there too the same results,the query does not return anything. The model does return data when I do a data preview and if accessed from other tools like AAO.
    Also when I use SSO connection to HANA, indexing of the infospace fails. Where can I see the error log?
    Thanks,

  • Error While Activating Analytical View

    Hello Everyone,
    I am facing a strange issue while activating Analytical view in HANA Enterprise.  I have explained my scenario in detail. Could anyone help me or guide me if something is wrong here ?
    1. HANA Enterprise Version: 1.0.63
    2. I have created an Attribute view of Customer Table as ZCUST ( CUST_ID, CUST_NAME, CUST_CITY).
       I have created an Analytical view of Sales tables as ZSALES (ZINV_ID, ZINV_ITM, CUST_ID, MAT_ID, ZINV_PRICE, CURRENCY). Here i have taken ZCUST Attribute view and joined with Sales table to use ZCUST attributes.
    3. I saved this Analytical view without any error but while activating Analytical view, I am getting below error.
    Error: The table "HANATEST"."CUST_AT" (alias: <unset>) (columnName: CUST_ID) is not joined to the central table "HANATEST"."ZINV_AT" (alias: <unset>) (columnName: INV_PRICE) - i.e. the data foundation is fragmented. Deployment is canceled.
    Exception during activation: Error during deployment: Error during deployment
    com.sap.ndb.studio.sdk.resource.deployment.bi.DeploymentException: Error during deployment
        at com.sap.ndb.studio.sdk.resource.deployment.bi.cv.JoinManager.getJoinPath(JoinManager.java:215)
        at com.sap.ndb.studio.sdk.resource.deployment.bi.cv.CubeElement.processColumnMapping(CubeElement.java:487)
        at com.sap.ndb.studio.sdk.resource.deployment.bi.cv.CubeElement.processAttributes(CubeElement.java:357)
        at com.sap.ndb.studio.sdk.resource.deployment.bi.cv.CubeElement.processDimension(CubeElement.java:606)
        at com.sap.ndb.studio.sdk.resource.deployment.bi.cv.CubeElement.processDimensions(CubeElement.java:596)
        at com.sap.ndb.studio.sdk.resource.deployment.bi.cv.CubeElement.initialize(CubeElement.java:211)
        at com.sap.ndb.studio.sdk.resource.deployment.bi.cv.CubeSchemaRoot.initialize(CubeSchemaRoot.java:80)
        at com.sap.ndb.studio.sdk.resource.deployment.bi.DeploymentExecutor.initialize(DeploymentExecutor.java:172)
        at com.sap.ndb.studio.sdk.resource.deployment.bi.CubeDimensionDeploymentExecutor.initialize(CubeDimensionDeploymentExecutor.java:78)
        at com.sap.ndb.studio.sdk.resource.bi.core.impl.BIResourceController.clientSideActivate(BIResourceController.java:223)
        at com.sap.ndb.studio.sdk.resource.repository.core.impl.ResourceManager.activateTypes(ResourceManager.java:974)
        at com.sap.ndb.studio.sdk.resource.repository.core.impl.ResourceManager.activateAllFiles(ResourceManager.java:817)
        at com.sap.ndb.studio.sdk.resource.repository.core.impl.ResourceManager.activateAll(ResourceManager.java:359)
        at com.sap.ndb.studio.modeler.job.type.activate.ActivateJob.activateObjects(ActivateJob.java:117)
        at com.sap.ndb.studio.modeler.job.type.activate.ActivateJob.run(ActivateJob.java:91)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
    Did anybody face this problem earlier ? Because i am facing this issue with any scenario that i am developing. I tried taking standard table of SAP like VBRP and MARA but still facing same issue.
    If i remove Attribute view from my scenario and just take transaction table, Then I am able to activate analytical view.
    Regards,
    Komik Shah

    Hi Pawan,
    Thanks for your response. Joining are compatible and there is no issue over there. Also, as i said earlier, I am facing same problem if i take standard table of SAP like VBRP and MARA.
    Kindly find attached screenshot for your reference.
    Do let me know if you need any other details.
    Regards,
    Komik Shah

  • Filter (variable) applied at analytical view is not reflected in Caculation view.

    Hello All,
    I am new to hana and would like to discuss one issue here.
    Model is something like this:
    Calculation  view  ---- >   has one Analytical View  --->  has one attribute view and a fact table.
    Now, in analytical view I have applied a filter using a variable on dimension attribute ( column of attribute view). When I do data preview on  analytical view I get a prompt (asking single value to put in - mandatory). However when I do a data preview for calculation view (which involves analytical view created earlier) ...I don't get a prompt this time.
    Calculation view is a 2 level only [ semantic --> projection/aggregation(analytical view) ].
    Please assist with it.
    Thanks
    Sumit

    Thanks for your reply Ravi.
    It seems like this approach is applicable for "Input Parameters" only and not for "Variable" ?
    I created a variable & an Input parameter in Analytical view, and created same variable & input parameter in calculation view...and then clicked on "Input parameter managed mapping" button under section "Variables/Input parameters" of semantics. I could see only Input parameters listed on both sides not the variables.
    1. I am curious now to understand ...when it is recommended that the data needs to be filtered out at the lowest level...however we still need to define parameters at calculation level ?
    2. The prompt based filters applied at analytical view is getting reflected in calculation view when it(calculation view) is refreshed for data preview ?
    3. Is it possible to expose analytical or attribute view directly into the business objects universe ?
    Yours, and other member's reply on it will be appreciated.
    Thanks
    Sumit

  • How do i filter the records in analytic view by using variable/parameter for a time range

    i have a analytic view which has a output column as date type. i want the user who use this view have the control to decided the output records based on a time range (from x to y).
    i tried to create 2 variables, 1 for start_time, 1 for end_time. Ideally, i should have a expression for filtering data like this:
    $$start_time <= date_column <= $$end_time
    However, the variable windows doesn't seem to be feasible for the expression as above.
    Does anyone has the same problem and get it solved?
    Thanks!

    just figured out by my own. So the answer is using "variable" with "range" option.
    Making a variable, then set the "selection type" to "range".
    When preview the data, the variable input window pops up with operator on default "equal", use dropdown list to swtich it to "between", then you can enter the start_time and end_time as a range filter.

  • Error while executing the the SQL on top of Analytical view

    Hi all,
    below is the generic pattern of the query I am using on my Analytic view,
    Select a. col1, a.col2, a. sum(col3)
    from _SYS_BIC.SIMPLE_AN_VW  a
    where a. col3_date_field > a. col4_date_field and
    a. col5<=15
    group by a.col1,a.col2;
    I am getting the following error
    Could not execute '
    Select a. col1, a.col2, a. sum(col3) from _SYS_BIC.SIMPLE_AN_VW  a where ...' in 43 ms 446 µs .
    SAP DBTech JDBC: [7]: feature not supported: not allowed over OLAP VIEW : search without aggregation or grouping by expression other than view column    
    when I removed the where clause 'a. col3_date_field > a. col4_date_field' it is working fine.
    I know that this error occurs when there is no group by clause but I have the group by clause but I am still getting the error.
    Does any one have any idea on why this is happening??
    Please advice!! thank you!!
    -Gayathri

    Hi Krishna,
    Thank you for the reply.
    Option #2 :I added a dummy calculate column and the query just ran successfully.the calculated column is just a column with hard-coded value.
    Do you by any chance know the reason why this works??
    option #3 : Do you know how to do that filter ?
    the static filters can be applied if we have a know value like col1>50 but how can I apply them to filters such as col 1>col2
    Please advice!!. Thank you
    -G

  • "Alias Unset" Error While Activating Analytical View

    Hello Everyone,
    I am facing a strange issue while activating Analytical view in HANA Enterprise.  I have explained my scenario below. Could anyone help me or guide me if something is wrong here ?
    1. HANA Enterprise Version: 1.0.63
    2. I have created an Attribute view as ZCUST_AT( CUST_ID, CUST_NAME, CUST_CITY) from table CUST.
       I have created an Analytical view as ZSALES_ANA  on top of Sales tables ZSALES (ZINV_ID, ZINV_ITM, CUST_ID, MAT_ID, ZINV_PRICE, CURRENCY) and ZCUST_AT Attribute views.
    3. I saved this Analytical view without any error but while activating Analytical view, I am getting below error.
    Error: The table "HANATEST"."ZCUST_AT" (alias: <unset>) (columnName: CUST_ID) is not joined to the central table "HANATEST"."ZSALES" (alias: <unset>) (columnName: INV_PRICE) - i.e. the data foundation is fragmented. Deployment is canceled.
    Exception during activation: Error during deployment: Error during deployment
    com.sap.ndb.studio.sdk.resource.deployment.bi.DeploymentException: Error during deployment
        at com.sap.ndb.studio.sdk.resource.deployment.bi.cv.JoinManager.getJoinPath(JoinManager.java:215)
        at com.sap.ndb.studio.sdk.resource.deployment.bi.cv.CubeElement.processColumnMapping(CubeElement.java:487)
        at com.sap.ndb.studio.sdk.resource.deployment.bi.cv.CubeElement.processAttributes(CubeElement.java:357)
        at com.sap.ndb.studio.sdk.resource.deployment.bi.cv.CubeElement.processDimension(CubeElement.java:606)
        at com.sap.ndb.studio.sdk.resource.deployment.bi.cv.CubeElement.processDimensions(CubeElement.java:596)
        at com.sap.ndb.studio.sdk.resource.deployment.bi.cv.CubeElement.initialize(CubeElement.java:211)
        at com.sap.ndb.studio.sdk.resource.deployment.bi.cv.CubeSchemaRoot.initialize(CubeSchemaRoot.java:80)
        at com.sap.ndb.studio.sdk.resource.deployment.bi.DeploymentExecutor.initialize(DeploymentExecutor.java:172)
        at com.sap.ndb.studio.sdk.resource.deployment.bi.CubeDimensionDeploymentExecutor.initialize(CubeDimensionDeploymentExecutor.java:78)
        at com.sap.ndb.studio.sdk.resource.bi.core.impl.BIResourceController.clientSideActivate(BIResourceController.java:223)
        at com.sap.ndb.studio.sdk.resource.repository.core.impl.ResourceManager.activateTypes(ResourceManager.java:974)
        at com.sap.ndb.studio.sdk.resource.repository.core.impl.ResourceManager.activateAllFiles(ResourceManager.java:817)
        at com.sap.ndb.studio.sdk.resource.repository.core.impl.ResourceManager.activateAll(ResourceManager.java:359)
        at com.sap.ndb.studio.modeler.job.type.activate.ActivateJob.activateObjects(ActivateJob.java:117)
        at com.sap.ndb.studio.modeler.job.type.activate.ActivateJob.run(ActivateJob.java:91)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
    Did anybody face this problem earlier ? Because i am facing this issue with any scenario that i am developing. I tried taking standard table of SAP like VBRP and MARA but still facing same issue.
    If i remove Attribute view from my scenario and just take transaction table, Then I am able to activate analytical view.
    Regards,
    Komik Shah

    Hi Pawan,
    Thanks for your response. Joining are compatible and there is no issue over there. Also, as i said earlier, I am facing same problem if i take standard table of SAP like VBRP and MARA.
    Kindly find attached screenshot for your reference.
    Do let me know if you need any other details.
    Regards,
    Komik Shah

  • Error While opening an Analytic View (Imported View)

    Dear Colleagues,
    Procedure Followed as:
    I exported (through Developer mode) an analytic view named with "abc" from a system called "123"  to my local system. From my local machine I   imported the view into another system called "456", these two processes are successful.
    Issue:
    When we are trying to open the imported model ("abc") from "456" system it is through following error.
    Regards,
    Sharath 

    Hi Sharath,
    When you get error, below in job log you can see completed with errors. Just double click it.
    Through SYSTEM user, admin will give privileges to your user. If you are practicing HANA then if you have the access to do so, then you can do by yourself.
    If you are in project then ask your admin to give privileges.
    By the way what are all the privileges you have? It helps to know what additional privileges required under each category
    Regards
    Raj

  • Use different column Name in Analytic View depending by logon session language

    Hi everybody.
    Is it possible to have different column names for ONE single Analytic View column depending by the Client session language?
    For instance:
    - we have one (only one)  column name let's say that is 'fatturato' (for an Italian Client session) and 'invoiced' (for an English Client session) etc.. etc..
    in other word the 'column name' changes depending by the language but the column is only 1 (one).
    Is it possible to manage this and how? In SAP Hana Studio?
    Is it possible to store in some way the different names of that column and relate them to the column itself?
    Thank you in advance
    Best regards.
    Sergio

    Hi Sumeet.
    We already did your suggestion...
    But after the action:
    " tab--> Migrate--> Add---> OK"
    what do you have to do to have a multi-language column naming?
    Let's say we have a column name = 'product' (in English).
    We'd like to have for the same column also the following name:
    - 'prodotto'  ->  for Italian
    - 'produit'  -> for French
    - 'produkt' -> for German
    .. and so on
    depending  by the Client session language (and this has to be done automatically of course).
    How this can be achieved?
    Thank you
    Sergio

  • Error when activate analytic view (join tables)-Exception during activation

    Dear guru,
    I suffered an error showed "Exception during activation" when activate a newly created analytic view.
    I used two tables, one is NASDAQDAILY, one is NYSEDAILY.
    Private attribute are "DATE, STOCK(NYSE.STOCK), STOCK_1(NASDAQ.STOCK"
    Measure are "PRICEOPEN(NYSE), PRICEOPEN_1(NASDAQ)"
    JOINS are: Left Table-NASDAQ, Left Column-DATE
    Right Table-NYSE, Right Column-DATE
    Validate is sucessfully.
    But when "Save and Activate", it gave below error.
    Kindly help me on this. Thank you so much.
    com.sap.ndb.studio.sdk.resource.deployment.bi.DeploymentException: Error during deployment
    _     at com.sap.ndb.studio.sdk.resource.deployment.bi.cv.CubeElement.processMeasures(CubeElement.java:591)_
    _     at com.sap.ndb.studio.sdk.resource.deployment.bi.cv.CubeElement.initialize(CubeElement.java:170)_
    _     at com.sap.ndb.studio.sdk.resource.deployment.bi.cv.CubeSchemaRoot.initialize(CubeSchemaRoot.java:80)_
    _     at com.sap.ndb.studio.sdk.resource.deployment.bi.DeploymentExecutor.initialize(DeploymentExecutor.java:159)_
    _     at com.sap.ndb.studio.sdk.resource.deployment.bi.CubeDimensionDeploymentExecutor.initialize(CubeDimensionDeploymentExecutor.java:78)_
    _     at com.sap.ndb.studio.sdk.resource.bi.core.impl.BiResourceImpl.activateObjects(BiResourceImpl.java:236)_
    _     at com.sap.ndb.studio.sdk.resource.repository.core.impl.ResourceImpl.activateObjects(ResourceImpl.java:868)_
    _     at com.sap.ndb.studio.sdk.resource.repository.core.impl.ResourceImpl.activate(ResourceImpl.java:727)_
    _     at com.sap.ndb.studio.sdk.resource.repository.core.impl.ResourceManager.activateAll(ResourceManager.java:166)_
    _     at com.sap.ndb.studio.sdk.resource.repository.core.impl.ResourceManager.activateAll(ResourceManager.java:202)_
    _     at com.sap.ndb.studio.modeler.job.type.activate.ActivateJob.activateObjects(ActivateJob.java:92)_
    _     at com.sap.ndb.studio.modeler.job.type.activate.ActivateJob.run(ActivateJob.java:71)_
    _     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)_

    Hello,
    This issue is resolved now.
    The problem was with the file system space on the Unix server(on which portal is installed).
    The server administrators and the Basis team extended the disk space and issue got resolved.
    Thanks for all your inputs.
    Sonali.

  • Error when displaying analytical view

    Hi,
    I own a cloudshare account. i created attribute views and when i want to display, it worked. but when i created the analytic view and look for "open content" option, its missing. then i gave the sql command "Grant select on schema SYSTEM to _SYS_REPO with grant option". then also it didn't work. please help. the relevant screen shot is attached.
    Thanks,
    Murali.

    Hi,
    Try 'grant select on schema sap.murali to _SYS_REPO with grant option'.
    Regards,
    Michael Devine

  • Error in Restricted Column of Analytic View

    Hi,
    I created a Analytical view and performed join between the tables. All the data has been populated successfuly.
    I restricted for the Column PER UNIT SALES PRICE based on the attribute value MATERIAL_NUM = 25. I do get an error when i validate the current view. Errors are displayed below for your reference and the screen shot of Data Preview Analytic view is placed below the errors.
    Message :
    Internal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Deploy Analytic View: nn'PER UNIT SALES PRICE' is an invalid value(7)nnSQL: transaction rolled back by an internal error: column store error: <?xml version="1.0" encoding="utf-8"?><createCubeResult version="1.0"><status><message>The scenario XML is not valid</message><errorCode>2112</errorCode></status><details><errors><detail><element>cubeSchema -> cubes -> cube (_SYS_BIC:ID403381.Customerdetails/ANAL_CUSTOMER_MATERIAL/olap) -> measures -> measure (MONITOR_PERUNITSALES) -> formula</element><code>7</code><message>'PER UNIT SALES PRICE' is an invalid value</message></detail></errors></details></createCubeResult>nnCreate OLAP Scenario statement: CREATE OLAP SCENARIO '<?xml version="1.0" encoding="utf-8"?><cubeSchema version="3" operation="createHanaCube"><cube name="_SYS_BIC:ID403381.Customerdetails/ANAL_CUSTOMER_MATERIAL/olap" registerCubeForApsFlag="true" registerCubeForSqlApsFlag="false"><cubeTables><cubeTable name="ID403381:CUSTOMER" type="d-table"/><cubeTable name="ID403381:CUSTOMER_FACT" type="f-table"/><cubeTable name="ID403381:MATERIAL" type="d-table"/></cubeTables><joinConditions><joinCondition name="JOIN_CUSTOMER_FACT_CUSTOMER_1" referentialIntegrity="true" joinType="inner"><partner1 table="ID403381:CUSTOMER_FACT" column="CUSTOMER ID"/><partner2 table="ID403381:CUSTOMER" column="ID"/></joinCondition><joinCondition name="JOIN_CUSTOMER_FACT_MATERIAL_2" referentialIntegrity="true" joinType="inner"><partner1 table="ID403381:CUSTOMER_FACT" column="MATERIAL NUM"/><partner2 table="ID403381:MATERIAL" column="MATERIAL NUM"/></joinCondition></joinConditions><joinPaths><joinPath name="PATH_CUSTOMER_1"><joins><join name="JOIN_CUSTOMER_FACT_CUSTOMER_1"/></joins></joinPath><joinPath name="PATH_MATERIAL_2"><joins><join name="JOIN_CUSTOMER_FACT_MATERIAL_2"/></joins></joinPath></joinPaths><dimensionAttributes><dimensionAttribute name="SALES REP ID"><columnMappings><columnMapping name="SALES REP ID" technicalName="SALES REP ID" type="key" table="ID403381:CUSTOMER_FACT" column="SALES REP ID" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="SALES REVENUE"><columnMappings><columnMapping name="SALES REVENUE" technicalName="SALES REVENUE" type="key" table="ID403381:CUSTOMER_FACT" column="SALES REVENUE" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="ID403381.Customerdetails/ATTR_CUSTOMER$ID"><columnMappings><columnMapping name="ID" technicalName="ID403381.Customerdetails/ATTR_CUSTOMER$ID" type="key" table="ID403381:CUSTOMER" column="ID" joinPath="PATH_CUSTOMER_1" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="ID403381.Customerdetails/ATTR_CUSTOMER$NAME"><columnMappings><columnMapping name="NAME" technicalName="ID403381.Customerdetails/ATTR_CUSTOMER$NAME" type="key" table="ID403381:CUSTOMER" column="NAME" joinPath="PATH_CUSTOMER_1" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="ID403381.Customerdetails/ATTR_CUSTOMER$AGE"><columnMappings><columnMapping name="AGE" technicalName="ID403381.Customerdetails/ATTR_CUSTOMER$AGE" type="key" table="ID403381:CUSTOMER" column="AGE" joinPath="PATH_CUSTOMER_1" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="ID403381.Customerdetails/ATTR_CUSTOMER$ADDRESS"><columnMappings><columnMapping name="ADDRESS" technicalName="ID403381.Customerdetails/ATTR_CUSTOMER$ADDRESS" type="key" table="ID403381:CUSTOMER" column="ADDRESS" joinPath="PATH_CUSTOMER_1" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="ID403381.Customerdetails/ATTR_CUSTOMER$SALARY"><columnMappings><columnMapping name="SALARY" technicalName="ID403381.Customerdetails/ATTR_CUSTOMER$SALARY" type="key" table="ID403381:CUSTOMER" column="SALARY" joinPath="PATH_CUSTOMER_1" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="ID403381.Customerdetails/ATTR_MATERIAL$MATERIAL_NUM"><columnMappings><columnMapping name="MATERIAL_NUM" technicalName="ID403381.Customerdetails/ATTR_MATERIAL$MATERIAL_NUM" type="key" table="ID403381:MATERIAL" column="MATERIAL NUM" joinPath="PATH_MATERIAL_2" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="ID403381.Customerdetails/ATTR_MATERIAL$MATERIAL_NAME"><columnMappings><columnMapping name="MATERIAL_NAME" technicalName="ID403381.Customerdetails/ATTR_MATERIAL$MATERIAL_NAME" type="key" table="ID403381:MATERIAL" column="MATERIAL NAME" joinPath="PATH_MATERIAL_2" isVisible="true"/></columnMappings></dimensionAttribute></dimensionAttributes><measures><measure name="QUANTITY SOLD" table="ID403381:CUSTOMER_FACT" column="QUANTITY SOLD" aggregationType="sum" isVisible="true"/><measure name="PER UNIT SALES PRICE" table="ID403381:CUSTOMER_FACT" column="PER UNIT SALES PRICE" aggregationType="max" isVisible="true"/><calculatedMeasure name="MONITOR_PERUNITSALES" aggregationType="max" isVisible="true" calculateBeforeAggregation="false" datatype="fixedString" length="10" scale="0"><formula>PER UNIT SALES PRICE</formula></calculatedMeasure></measures><constraints/></cube></cubeSchema>'n
    The below displayed are the Data Preview of the Analytic view
    ANALYTICAL VIEW OUTPUT
    ID
    NAME
    AGE
    ADDRESS
    SALARY
    MATERIAL_NUM
    MATERIAL_NAME
    SALES REP ID
    SALES REVENUE
    QUANTITY SOLD
    PER UNIT SALES PRICE
    6
    Dinesh
    18
    Kerela
    2,829.34
    53
    TOLL
    267
    2660 EUR
    6
    5
    12
    Matthews
    41
    UP
    28,282.24
    25
    TRIMAS
    170
    1145 EUR
    9
    31
    10
    Thomas
    19
    Bihar
    27,282.21
    35
    CORES
    109
    1757 EUR
    11
    4
    I need guidance to proceed further!!!
    Thanks and regards
    Sanjay

    One quick question:
    The measure definition as shown as:
    <measure name="PER UNIT SALES PRICE" table="ID403381:CUSTOMER_FACT" column="PER UNIT SALES PRICE" aggregationType="max" isVisible="true"/><calculatedMeasure name="MONITOR_PERUNITSALES" aggregationType="max" isVisible="true" calculateBeforeAggregation="false" datatype="fixedString" length="10" scale="0"><formula>PER UNIT SALES PRICE</formula></calculatedMeasure></measures>
    Can you please check and confirm the data type for the Calculated measure.
    Regards,
    Ravi

Maybe you are looking for