Creating hierarchy on measures

Hello,
I have a requirement where I need to drill-down or Hide/Expand on measure.
Ex.
Hierarchy expanded view.
Sales Europe
Sales USA
Sales Asia
Sales Total
Hierarchy normal view.
Sales Total
In the above example I need to hide detail rows  (Sales Europe, Sales USA, Sales Asia) and only show Sales Total but when I expand all the detail rows should be visible.  All the above rows are measures.
I can do it very easily in BEx by creating a structure with keyfigures and include detail rows under the total row as next level in the hierarchy.
Does any have any idea how this can be done in WebI?
Very thankful to any help.
/Suman
Edited by: Suman Vemula on Sep 19, 2011 2:45 PM

Hi Suman,
If you are creating a BEx query that is to be consumed in WebI, you should make use of the strenghts of WebI and not create it as you would for BEx analyzer. There are so many different ways to achieve the same goal in WebI.
First as stated above,
you can use just the base measure and pull in the characteristic that is underlying of the logic where you do define which sales are Europe, USA or Asia. So instead of four keyfigures, you use just one.
You will get three lines iso just one, but the beauty of WebI is that once you have them you can place them in any format you see fit. You can put them in a normal column table, a row table or crosstab. Or even in different blocks... you have much more control and do not NEED to do it all in one go and in one query
Once you have your data there is the interactivity to worry about, how to uncover more detail...
Again there is more than one option.
You can use the WebI drill functionality to uncover more detail (drill down the dimensions).
You can use input controls to show or hide certain elements (which can be a complete table block or chart).
You can use outline which gives you an option to fold and unfold much like the BEx analyzer fold,unfold (so there is a header that is shown and the details can be opened by clicking on the plus sign).
With all of these they are defined in WebI, you don't use any structure from BEx as-is, otherwise, why use WebI in the first place?
Good luck,
Marianne

Similar Messages

  • BO Webi report hierarchy with measure values showing more(almost double value) compare to BW Bex report

    Hi,
    In our BO Webi report hierarchy with measure values showing more(almost double value) compare to BW Bex report. Can any one please help on this.
    Is it BW problem or BO problem?
    I checked in some other threads but it's not given solution.
    Thanks,
    Manjunatha

    Hi,
    Is it BW problem or BO problem? : BO
    is it causing problem with hierarchly data only ?  without hierarchies data is matching or not?
    Post same in SAP BusinessObjects Web Intelligence  .
    Thanks.

  • How to create a custom measure for each level of a dimension

    Hi all!
    Can Anyone please explain me with an example, how to create a custom measure for each level for a dimension? I dont mine if you use
    one or more measures.
    thanks in advance
    hope someone helps me.

    For example:I create a dimension for product_dim witch has 4 levels:total, class, family and item:
    d_aben18
    n1_aben18
    n2_aben18
    n3_aben18
    n4_aben18
    herarchy:h_aben18
    cube:cubo_aben18
    measure:med_aben18
    I create this code to fetch the data to the dimension:
    TRAP ON CLEANUP
    SQL DECLARE c1 CURSOR FOR SELECT-
    total_product_id,1,'N1_ABEN18',total_product_dsc,-
    class_id,1,'N2_ABEN18',total_product_id,class_dsc,-
    family_id,1,'N3_ABEN18', class_id, family_dsc,-
    item_id,1,'N4_ABEN18',family_id,item_dsc-
    FROM PRODUCT_DIM
    "OPEN THE CURSOR
    SQL OPEN c1
    "FETCH THE DATA
    SQL FETCH c1 LOOP INTO-
    :APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N1_aben18_LEVELDEF,:D_ABEN18_long_description,-
    :APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N2_aben18_LEVELDEF,:D_ABEN18_parentrel,-
    :D_ABEN18_long_description,-
    :APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N3_aben18_LEVELDEF,:D_ABEN18_parentrel,-
    :D_ABEN18_long_description,-
    :APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N4_aben18_LEVELDEF,:D_ABEN18_parentrel,-
    :D_ABEN18_long_description,-
    "SAVE THE CHANGES
    UPDATE
    COMMIT
    CLEANUP:
    SQL CLOSE c1
    SHOW 'KK2'
    Then I create a cube with use compression off, and in rules sum for example.
    After, I create a measure and I select Override the aggregation specification for the cube, in rules I put nonadditive and I would like to create aprogram to assign distinct values to each level of the dimension. For example, I put 1, 2 3, and 4 values, but at the end I would like to put count(distinct(values)).
    for that I create another program:
    VRB D_RETURN DECIMAL
    if D_ABEN18_N1_ABEN18_LEVELDEF eq 'N1_ABEN18'
    then D_RETURN = 1
    if D_ABEN18_N2_ABEN18_LEVELDEF eq 'N2_ABEN18'
    then D_RETURN = 2
    if D_ABEN18_N3_ABEN18_LEVELDEF eq 'N3_ABEN18'
    then D_RETURN = 3
    if D_ABEN18_N4_ABEN18_LEVELDEF eq 'N4_ABEN18'
    then D_RETURN = 4
    else d_return=26
    return d_return
    "SHOW D_RETURN
    cubo_aben18_med_aben18_stored=d_return
    but it doesnt work.I dont know how to put to assign or to see what I want.
    I report the measure, or I report the program, but then how can I see the values of the measure?
    thanks in advance

  • Ssrs 2014 errorrule 'Create list of measure group-dimension pairs

    I'm getting this error generating a model for a ssas tabular model in ssrs 2014.  When I test the tabulur definition in Excel under SSAS everything works fine and there are no errors.
    Thanks
    From the log
    semanticmodelgenerator!ReportServer_0-1!b58!06/13/2014-15:39:25:: e ERROR: Semantic Model Generator: ModelGeneratorExtention
    An error occurred while executing rule 'Create list of measure group-dimension pairs':Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'..
    semanticmodelgenerator!ReportServer_0-1!b58!06/13/2014-15:39:25:: e ERROR: Semantic Model Generator: ModelGeneratorExtention
    An error occurred during the generation of semantic model : [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'..
    library!ReportServer_0-1!b58!06/13/2014-15:39:25:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ModelGenerationErrorException: , Microsoft.ReportingServices.Diagnostics.Utilities.ModelGenerationErrorException: An error occurred while
    generating model. ---> System.InvalidOperationException: An error occurred during the generation of semantic model : [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'..
    ---> System.InvalidOperationException: [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'. ---> Microsoft.AnalysisServices.Modeling.Generation.ModelGenerationException:
    Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'.
       at Microsoft.AnalysisServices.Modeling.Generation.ModelGenerationDiagnostics.Assert(Boolean condition, String message, Boolean throwOnFail)
       at Microsoft.AnalysisServices.Modeling.Generation.Rules.MapMeasureGroupsToDegenerateDimensions.Process(RuleFlowRecords& generatedRules, RuleExecutionRequirement& rulesExecutionRequirement)
       at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.ProcessRule(IRule rule, RuleContext ruleContext)
       --- End of inner exception stack trace ---
       at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.ProcessRule(IRule rule, RuleContext ruleContext)
       at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.ProcessRuleFlowRecord(RuleFlowRecord ruleFlowRecord)
       at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.ProcessRule(IRule rule, RuleContext ruleContext)
       at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.ProcessRuleFlowRecord(RuleFlowRecord ruleFlowRecord)
       at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.Process()
       --- End of inner exception stack trace ---
       at Microsoft.AnalysisServices.Modeling.Generation.Flow.RuleProcessor.Process()
       at Microsoft.AnalysisServices.Modeling.Generation.ModelGenerator.Generate()
       at Microsoft.AnalysisServices.Modeling.Generation.ModelGeneratorExtention.ReGenerateModel(IDbConnection connection, XmlReader currentModelReader, XmlWriter newModelWriter)
       at Microsoft.ReportingServices.Library.GenerateModelAction.GenerateModel(DataSourceInfo dataSource)
       --- End of inner exception stack trace ---;
    ui!ReportManager_0-2!3f3c!06/13/2014-15:39:25:: e ERROR: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: An error occurred while generating model. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ModelGenerationErrorException:
    An error occurred while generating model. ---> System.InvalidOperationException: An error occurred during the generation of semantic model : [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for
    cube dimension '[$DimDate].[DimDate]'.. ---> System.InvalidOperationException: [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'. ---> Microsoft.AnalysisServices.Modeling.Generation.ModelGenerationException:
    Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'.
       at Microsoft.ReportingServices.Library.ReportingService2010Impl.GenerateModel(String DataSource, String Model, String Parent, Property[] Properties, CatalogItem& ItemInfo, Warning[]& Warnings)
       at Microsoft.ReportingServices.WebServer.ReportingService2010.GenerateModel(String DataSource, String Model, String Parent, Property[] Properties, CatalogItem& ItemInfo, Warning[]& Warnings)
       at Microsoft.ReportingServices.UI.NewDependentItem.ApplyChanges()
       at Microsoft.ReportingServices.UI.BaseApplyPage.ApplyBtn_Click(Object sender, EventArgs e)
       at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
       at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
       at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    ui!ReportManager_0-2!3f3c!06/13/2014-15:39:25:: e ERROR: HTTP status code --> 200
    -------Details--------
    System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: An error occurred while generating model. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ModelGenerationErrorException: An error occurred while generating model.
    ---> System.InvalidOperationException: An error occurred during the generation of semantic model : [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'..
    ---> System.InvalidOperationException: [Create list of measure group-dimension pairs]Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'. ---> Microsoft.AnalysisServices.Modeling.Generation.ModelGenerationException:
    Unexpected error occurred : Unable to obtain cube schema object for cube dimension '[$DimDate].[DimDate]'.
       at Microsoft.ReportingServices.Library.ReportingService2010Impl.GenerateModel(String DataSource, String Model, String Parent, Property[] Properties, CatalogItem& ItemInfo, Warning[]& Warnings)
       at Microsoft.ReportingServices.WebServer.ReportingService2010.GenerateModel(String DataSource, String Model, String Parent, Property[] Properties, CatalogItem& ItemInfo, Warning[]& Warnings)
       at Microsoft.ReportingServices.UI.NewDependentItem.ApplyChanges()
       at Microsoft.ReportingServices.UI.BaseApplyPage.ApplyBtn_Click(Object sender, EventArgs e)
       at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
       at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
       at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    library!ReportServer_0-1!b58!06/13/2014-15:39:25:: i INFO: Call to GetSystemPropertiesAction().
    ui!ReportManager_0-2!3f3c!06/13/2014-15:39:25:: e ERROR: System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.AbortInternal()
       at System.Threading.Thread.Abort(Object stateInfo)
       at System.Web.HttpResponse.End()
       at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg)
    library!WindowsService_2!bd0!06/13/2014-15:41:25:: i INFO: Call to CleanBatch()
    library!WindowsService_2!bd0!06/13/2014-15:41:26:: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running jobs, 0 persisted streams, 0 segments, 0 segment mappings, 0 edit sessions.
    library!WindowsService_2!bd0!06/13/2014-15:41:26:: i INFO: Call to CleanBatch() ends
    rshost!rshost!3f3c!06/13/2014-19:37:27:: i INFO: Currently registered url http://+:80/ReportServer_SQLEXPRESS/ on endpoint 2
    rshost!rshost!3f3c!06/13/2014-19:37:27:: i INFO: Currently registered url http://+:80/Reports_SQLEXPRESS/ on endpoint 3
    rshost!rshost!3f3c!06/13/2014-19:37:27:: i INFO: Endpoint 4 is disabled and no url is registered vdir=/ReportServer_SQLEXPRESS/ReportBuilder, pdir=C:\Program Files\Microsoft SQL Server\MSRS12.SQLEXPRESS\Reporting Services\ReportServer\ReportBuilder.
    rshost!rshost!e38!06/13/2014-19:37:27:: i INFO: Derived memory configuration based on physical memory as 16487384 KB
    appdomainmanager!DefaultDomain!e38!06/13/2014-19:37:27:: i INFO: Appdomain:5 ReportServer_SQLEXPRESS_0-1-130471616741701355 unregistered.
    library!WindowsService_2!22c!06/13/2014-19:37:29:: i INFO: Call to CleanBatch()
    appdomainmanager!ReportServer_0-1!e38!06/13/2014-19:37:30:: i INFO: Appdomain:5 ReportServer_SQLEXPRESS_0-1-130471616741701355 unloading
    appdomainmanager!DefaultDomain!e38!06/13/2014-19:37:33:: i INFO: Appdomain:6 ReportManager_SQLEXPRESS_0-2-130471623126349107 unregistered.
    appdomainmanager!ReportManager_0-2!e38!06/13/2014-19:37:33:: i INFO: Appdomain:6 ReportManager_SQLEXPRESS_0-2-130471623126349107 unloading
    servicecontroller!DefaultDomain!e38!06/13/2014-19:37:41:: i INFO: Recycling the service from the default domain
    dbpolling!WindowsService_2!376c!06/13/2014-19:37:41:: i INFO: EventPolling polling service stopped
    dbpolling!WindowsService_2!376c!06/13/2014-19:37:41:: i INFO: NotificationPolling polling service stopped
    dbpolling!WindowsService_2!376c!06/13/2014-19:37:41:: i INFO: SchedulePolling polling service stopped
    dbpolling!WindowsService_2!376c!06/13/2014-19:37:41:: i INFO: UpgradePolling polling service stopped
    runningjobs!WindowsService_2!e38!06/13/2014-19:37:41:: e ERROR: Timer Database Cleanup (NT Service) still executing, breaking...
    rshost!rshost!e38!06/13/2014-19:37:48:: i INFO: Application domain type WindowsService statistics: created: 3, unloaded: 3, failed: 0, timed out: 0.
    appdomainmanager!DefaultDomain!e38!06/13/2014-19:37:48:: i INFO: Appdomain:7 WindowsService_3 started.
    library!WindowsService_2!22c!06/13/2014-19:37:52:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: , An error occurred within the report server database.  This may be due to a connection failure, timeout
    or low disk condition within the database.;
    library!WindowsService_2!22c!06/13/2014-19:37:52:: w WARN: Transaction rollback was not executed connection is invalid
    dbcleanup!WindowsService_2!22c!06/13/2014-19:37:52:: e ERROR: Error in CleanExpiredSessions: Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: An error occurred within the report server database.  This may be due to a connection
    failure, timeout or low disk condition within the database. ---> System.Data.SqlClient.SqlException: Database 'ReportServer$SQLEXPRESSTempDB' is being recovered. Waiting until recovery is finished.
    library!WindowsService_3!e38!06/13/2014-19:37:55:: i INFO: SQLDump flags: ReferencedMemory, AllThreads, SendToWatson
    library!WindowsService_3!e38!06/13/2014-19:37:55:: i INFO: MiniDump flags: DataSegs, UnloadedModules, ProcessThreadData
    library!WindowsService_3!e38!06/13/2014-19:37:55:: i INFO: Dump on: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException,Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException
    library!WindowsService_3!e38!06/13/2014-19:37:55:: i INFO: Do not dump on: System.Threading.ThreadAbortException,System.Web.UI.ViewStateException,System.OutOfMemoryException,System.Web.HttpException,System.IO.IOException,System.IO.FileLoadException,Microsoft.SharePoint.SPException,Microsoft.ReportingServices.WmiProvider.WMIProviderException
    library!WindowsService_3!e38!06/13/2014-19:37:55:: i INFO: Minidump location: C:\Program Files\Microsoft SQL Server\MSRS12.SQLEXPRESS\Reporting Services\Logfiles
    resourceutilities!WindowsService_3!e38!06/13/2014-19:37:56:: i INFO: Reporting Services starting SKU: Developer

    Hi shiftbit,
    According to your description, you get an empty Measure Group Columns list when defining relationship. Right?
    Based on your screenshot, you may notice that Measure group table is empty, so definitely it can't show any column in the dropdown list. If there's columns in the measure group that are related to the dimension columns, at least it will show the fact
    table for Measure group.
    In this scenario, please check if the fact table for the Measure group is existing. Re-process the Measure group and try again. If the issue persists, please re-create that measure group.
    Reference:
    Define Relationship Dialog Box (Analysis Services - Multidimensional Data)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • Create Hierarchy in REport

    Hello SAP Guru,
    Please any one can giv me procedure to create hierarchy in BPC Report using Report & Analysis.
    Thanks.
    With regards,
    Anand KUmar

    Hi Anand,
    I believe, you want a structure like this:
    Acc1
       Acc2
          Acc3
       Acc4
       Acc5
          Acc6
    Acc7
    If this is the case, then you need to setup a hierarchy in the dimension sheet first. You need to use the property ParentH1, etc. I hope you are aware of this. If this has been setup in the member sheet, then the system will automatically create a property called HLEVEL and then you can use the formula which I had specified earlier. It will definitely work. For the above example, you need to specify the formula only for Acc1, and then expand. You will get the display like above.
    Hope this helps.

  • How to Create Hierarchy From Flat file Structure

    Hi Gurus,
    There is a scenario for me regarding the Hierarchy.
    Required Hierarchy structure - Region>Director>Manager-->Sales id
    I have flat file which gives the info like user id , sales id , manager id, director id.
    But the transaction data Flat file has structure with sales id, region id, sales amt, sales qty.
    Note : Region id is another Master Data.
    How i can create hierarchy from the first flat file which doesnot have region info in that but it is available in the transaction data Flat file.
    Is there anyway we can create hierarchy based on the first Flat file structure which contains more that 1,00,000 records.
    Try to Suggest me in this regard .
    This is urgent.
    Regards,
    Mano

    Hi Mano,
                    Defining the source system from which to load data
    Choose the source system tree File  ® Create.
           2.      Defining the InfoSource for which you want to load data
    Optional: choose InfoSource Tree ® Root (InfoSources) ® Create Application Components.
    Choose InfoSource Tree ® Your Application Component ® Other Functions  ® Create InfoSource 3.x ® Direct Update.
    Choose an InfoObject from the proposal list, and specify a name and a description.
           3.      Assigning the source system to the InfoSource
    Choose InfoSource Tree ® Your Application Component ® Your InfoSource ® Assign Source System. The transfer structure maintenance screen appears.
    The system automatically generates DataSources for the three different data types to which you can load data.
    ○       Attributes
    ○       Texts
    ○       Hierarchies (if the InfoObject has access to hierarchies)
    The system automatically generates the transfer structure, the transfer rules, and the communication structure (for attributes and texts).
           4.      Maintaining the transfer structure / transfer rules
    Select the DataSource for uploading hierarchies.
    IDoc transfer method: The system automatically generates a proposal for the DataSource and the transfer structure. This consists of an entry for the InfoObject for which hierarchies are loaded. With this transfer method, the structure is converted to the structure of the PSA during loading, which affects performance.
    PSA transfer method: The transfer methods and the communication structure are also generated here.
           5.      Maintaining the hierarchy
    Choose Hierarchy Maintenance, and specify a technical name and a description of the hierarchy
    Hope this helps
    Regards
    Karthik
    Assign points if Helpful

  • How to create hierarchy across more than one dimesion

    Hi experts,
     How to create hierarchy on more than one dimension in SSAS.please guide me.
    Thanks

    Hi ,
    This is not Possible without making changes in the cube design .i.e;
    Using Join for have to create one dimension with all attributes that you require in dimension .
    Lets say you have
    Dim1
     att1
     att2
     att3
    Dim2
      F1
      F2
    You need Hierarchy as below;
    Hier
     att1
     att3
     F2
    1. Add one Table in DSV using Join between both the tables.
    2.Create Dimension using this newly added table.
    3. Create hierarchy
    https://www.simple-talk.com/sql/reporting-services/implementing-user-defined-hierarchies-in-sql-server-analysis-services/
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com

  • Created "Hierarchy Field" not saved in Import Mapping File

    Hello experts,
    I want to save the mapping created after having imported categories via MDM Import Manager.
    Everything works fine as I execute an initial import (In "Map Field" tab, I create a "hierarchy field" based on the three fields "Categorie Name, Categorie Name 2, Category Parent" and mapp the Split Hierarchy field consequently ).
    My problem is as I save the Mapping and try to reuse it for a new Categories import, the former "hierarchy field" does not appear anymore. I assume Saving Mapping does not save created hierarchy fields...
    Can anyone help me on this?
    Thanks in Advance
    Stephane Naigeon

    From XML, with fields "Category Name, Category Parent".
    Then in MDM Map Tab, I clone the Field "Category Name" and create the Hierarchy Field with name "Categories", parent field "Category Parent", Child Field "Category Name", and Node name field "Category Name Clone".
    Then I map the Split Hierarchy field with the destination field "Category Name [DF]", and the source field "Category Name" with the Remote Key.
    The matching field in Match Record Tab is "Category Name [DF]".
    I save then the mapping file but am not able to reuse it : as I said, the Hierarchy field disappears !

  • How to create  hierarchy on bi7 by using dtp

    how to create  hierarchy on bi7 by using dtp

    Hi Deba,
    Procedure to create Hierarchies:
    1.      In the Data Warehousing Workbench under Modeling, choose the InfoObject tree.
    2.      If you have assigned the hierarchy basic characteristic to an InfoObject catalog, select the corresponding InfoObject catalog for an InfoArea.
    If the hierarchy basic characteristic does not belong to an InfoObject catalog, choose the InfoArea Non-Assigned Nodes and the InfoObject Catalog Non-Assigned Characteristics.
    3.      Select the characteristic for which you want to create a hierarchy and choose Create Hierarchy from the context menu. The Create Hierarchy dialog box appears. The InfoObject name appears by default.
    4.      Enter a hierarchy name and description (short, medium, long). Other fields may be displayed, depending on which hierarchy properties were selected for the hierarchy basic characteristics
    Fields used to enter the Validity (valid to, valid from) for the hierarchy property Total Hierarchy Time-Dependent
    Fields used to specify the Hierarchy Version for the hierarchy property Hierarchies Version-Dependent.
    5.      Confirm your entries. The Maintain Hierarchy screen appears. You can define the structure of a hierarchy here.
    6.      To create a hierarchy node, you first need to choose an insertion mode:  Insert as First Child or   Insert As Next Neighbor (see Hierarchy Editing Functions).
    7.      Choose the type of node you want to create: Text Node, Characteristic Node, <Hierarchy Basic Characteristic Node> or Interval (see Hierarchy Nodes)
    8.      Repeat this procedure until the hierarchy structure has been set. For more information, see Modeling Nodes and Leaves.
    A hierarchy can contain 50,000-100,000 leaves at most. If your hierarchy is larger, you should insert a level that is used as a navigation attribute or preferably as a separate characteristic in the dimension table.
    9.      You can use Level Maintenance and Hierarchy Attributes to set how the hierarchy is to be displayed and processed in reporting (see Level Maintenance and Hierarchy Attributes).
    10.      Save the hierarchy.
    11.      Activate the hierarchy. See Editing Hierarchies.
    For more info
    [http://help.sap.com/saphelp_nw70/helpdata/EN/80/1a6736e07211d2acb80000e829fbfe/content.htm]
    [http://help.sap.com/saphelp_nw70/helpdata/EN/e6/951d102a6c11d5b2e40050da4c74dc/content.htm]
    Regards,
    Rajkandula

  • How to create cube and measure in sql?

    How to create cube and measure in sql?

    Cubes, measures and dimensions are created in the AW using the Java API for Analytic Workspaces or through XML documents that are processed by this API. SQL commands are not available for creating cubes, measures or OLAP dimensions.

  • How to Create Hierarchy

    Dear Experts!!!!!!!!!!
    Can some one explain me in detail, how to create hierarchy.
    both internal and external hierarchy,methodology,steps.................
    Thanks in advance......
    Regards,
    Suman.T

    Explain the steps to load master data hierarchies from R/3 system.
    A summary of the steps are as follows:
    1) Goto Hierachy tab in infobject on to which your loading Hierachy data.
    2) Select With Hierarchies.
    3) Select Hierarchy Properties ( Time Dependent or not time depen..etc..)
    4) Click on External Chars in Hierarchies, in that select the characterstics on which this Hierarchy is depending.
    5) Then Create Infosource, assign Datasource.
    6) Create Infopackage, to load Hierarchies.
    7) Hierarchy section tab in Infoapackage select load Hierarchy and refersh the Available Hierarchies from OLTP, If it is Time dependent select time interval in update  tab.
    8) Then start the load.
    If you want to load from Flat file, some what different way to do it.
    It is normally done by the following:
    Transferring the master datasources in RSA5 to RSA6 and then replicating the DS into BW and assignment of DS to Infosource and cretaion of Infopackage and load it into the master tables.
    Generally, the control parameters for data transfer from a source system are maintained in extractor customizing. In extractor customizing, you can access the corresponding source system in the source system tree of the SAP BW Administrator Workbench by using the context menu.
    To display or change the settings for data transfer at source system level, choose Business Information Warehouse --> General Settings --> Maintaining Control Parameters for Data Transfer.
    Note: The values for the data transfer are not hard limitations. It depends on the DataSource if these limits can be followed.
    In the SAP BW Scheduler, you can determine the control parameters for data transfer for individual DataSources. You can determine the size of the data packet, the number of parallel processes for data transfer and the frequency with which the status IDocs are sent, for every possible update method for a DataSource.
    To do so, choose Scheduler --> DataSource --> Default Settings for Data transfer.
    In this way you can, for example, update transaction data in larger data packets in the PSA. If you want to update master data in dialog mode, smaller packets ensure faster processing.
    Thanks,
    Praveen Yagnamurthy,
    SAP BI Consultant,
    Blue Marlin Systems-INDIA.
    http://bluemarlinsys.com/bi.

  • Problem while creating hierarchy

    I have 3 zones viz., East, Midwest and West.  Under each zone I have few cities like Atlanta and New York in East zone. 
    Now my goal is to create sales representatives for each city. 
    I've two ways one is I can right click on a city and select Sales rep ID Insert.  But when I am doing so I am getting the following screen:
    Create Sales representative: Multiple selection.
    with 2 columns Sales repr and short description
    Under Sales repr there is # and under Short description column there are the words Not assigned.
    However the fact is I've entered all the sales representatives’ names by right clicking on the characteristic Sales Representative name and selecting "maintain master data". 
    Now my question is why am I not able to view the names of the sales representatives when right click on a city and select Sales rep ID Insert.
    However I am able to find the names of all the sales reps when I do it manually i.e.
    1. Rt click on a city name and select Insert Characteristic node.
    2. Select the info object IO_SREPNM
    3. Here I am able to see the list of all the sales reps and also put the sales reps under their respective cities.
    But the next problem is arising when I proceed to the next step which is
    <b>To save the screen "Maintain Hierarchy 'IO_SREP hierarchy': 'Modified Version'. 
    I am getting a dump error when I save the screen. The dump error says “Error in ABAP application program AND
    If I perform a check on the screen i.e. click on the button Hierarchy Consistency Check (Ctrl+F10) then I am getting the error</b>
    <b>Screen name: Error log for consistency check of the hierarchy for InfoObject IO_SREP
    Node SAM already exists.  </b>
    The reason why it’s giving this error is because there is a rep SAM whose name occurs twice.  Now in my data I've Denver city in Midwest region and also in West region.  So sales rep SAM's name also comes once in Midwest and West region. 
    What I want is
    <b>How to avoid the dump error when I save the screen?  AND1
    What should I do to avoid the error Node SAM already exists.  </b>
    Please advice.
    Thank you.
    TR.

    Hi San,
    Thank you for your suggestion.  As per your advice this is what I've done.  please go through this and let me know if I am doing it right or where I am going wrong? 
    Thank you. 
    As per your suggestion I clicked on
    1.      InfoObjects under modeling tab.
    2.     Right clicked on IO_SREP and selected CHANGE option.
    3.     Clicked on the Hierarchy tab.
    4.     Selected the check box with hierarchies.
    5.     Selected the radio button Time-Dependent Hierarchy Structure [Please note that on my screen it appears as Time-Dependent Hierarchy Structure and not as "Hierarcy structure time-dependent".
    6.     Now I clicked on the “Maintain Hierarchies” button. 
    7.     A screen called “Initial Screen Hierarchy Maintenance” has opened. 
    should I click on the button “Maintain Hierarchies” because there is also another button called “External Chars. In hierarchies”. 
    Because when I clicked on the “Maintain Hierarchies” button in the screen “Initial Screen Hierarchy Maintenance” I found a text box called Restriction on hierarchy basic char. With IO_SREP in the box and with an option to select other InfoObjects. 
    I didn’t find any characteristics on the right panel as the screen was not divided into two panels. 
    But when I clicked on the button External Chars. In Hierearchies a screen called “External Characteristics in Hierarchies” opened with 2 pannels the left one  is Characteristics Template and the right one being External charactereistics. I think this is what you were referring to.  So I selected IO_SOFF and IO_SREP from the Characterisitics Template and put it in the External Characteristics window. 
    8. I hit the continue button and I was back to the screen “Change Characteristic IO_SREP: Detail”. 
    9. When I hit the Check All button I got the message Characteristics o.k. and when I hit the Activate button I got the message InfoObject IO_SREP is active. 
    10.     Now I am back to the Administrator Workbench: Modelling screen.
    11.     I selected IO_SREP and hit the Hierarchies icon.  The screen Initial Screen HierarchyMaintenanc”  opened. 
    12.     I selected IO_SREP and hit the “Create Hierarchy” button.  The “Create Hierarchy” screen opened. 
    13.     Now I entered the Hierarchy Name as IO_SREP_HIER and short description as IO_SREP hierarchy
    14.     Now I am in the screen “Maintain Hierarchy ‘IO_SREP_HIER’: ‘Modified Version’.
    15.     I right clicked on the IO_SREP hierarchy and selected the option “Insert Characteristic Node…”
    16.     Create Char. Node: Char. Selection” Screen opened.  I selected the InfoObject IO_SREG and hit the continue button. 
    17.     From the Create Sales region: Multiple selection screen I selected all the three regions East, Midwest and West and hit the continue button. 
    18.     I right clicked on each region and repeated steps 15 and 16 but selected IO_SOFF and entered the appropriate offices for each region. 
    19.     Now I had entered Denver in both Midwest and West region as it was in Midwest before 1.1.2000 and in West from 1.1.2000. 
    20.     Similarly I have also entered the employees in each city office by right clicking on each city and selecting the option “Sales representative Insert…”. 
    21.     Finally when I save it I am getting the dump error.  I’ve tried so many times till now and always I am getting the same dump error.  Is there something wrong with my system or am I going wrong somewhere?  Kindly advice. 
    While creating the hierarchies, I have noted that all the names of the cities and the regions are in yellow triangle whereas the names of the sales reps under each city are in green color triangle.  Is it something that yellow color means the hierarchy is not activated and green color means the hierarchy is activated?  Please advice. 
    In the dump error notes under How to correct the error its given as:
    The work area used to hold values passed for the work area operation must be at least as wide as the database table you are accessing.
    Now can you please explain me how to create this hierarchy without getting a dump error?

  • Problem creating hierarchy in BMM layer

    Hi,
    We are trying to create hierarchy for one of the dimension which contains 10 LTSs, each LTS represents Bridge-->Dimension join in physical layer. So, each LTS contains inner join between Bridge and Dimension tables.
    We performed the following.
    Right click on Dimension and select Create logical dimension--> Dimension with Level-Based hierarchy.
    The error is "Admintool is unable to create the structure for the dimension <<Dim name>> "
    Can anybody help..
    Thanks,
    Anilesh

    Hi,
    Here we have created 10 LTSs for supporting 10 bridge tables. We are joining same dimension table with multiple bridge tables in physical layer. And each bridge is joined with corresponding fact table. when id comes to BMM layer, we created single dimension which contain LTSs for each bridge table, and we joined the dimension to fact.
    Thanks,
    Anilesh

  • Error while creating hierarchy through " Create Hierarchy field" option

    Hi All,
    while trying to create hierarchy through Create Hierarchy field option i am facing the following error
    I am giving the following inputs
    Hierarchy field name : XYZ
    Parent field                : Level1
    Child Field                  : Level2
    Node name field        : Level3
    Cannot find the parent ID value "abc" in Field ID Level2 of Table " Hierarchy"
    FYI
    The source hierarchy is in Columns format with Level1(Parent)---->Lever2(Child of Level1) and Level3(Child of level2)
    Kindly guide me where i am going wrong
    Thanks in Advance
    Regards
    Sharma

    Hi Sharma,
    Your input file should have 3 columns for hierarchy one which will store level 1 information,2nd will have corresponding level 2 information and 3rd will have corresponding level 3 info.
    Now in Import Manager go to Partition,select 1st ,2nd and 3rd column.Donot combine the fields. Now map the partition fields with the target hierarchy field.Perform the value mapping and import.
    Or
    YOu can have one column in the excel file.with values L1>L2>L3(split by some delimiter).
    In import manager go to source hierechy pany select the Column and from context menu select option split into hierechy as per the delimiter.
    Now map the parttion field and target field ,do value mapping and import.
    Regards,
    Neethu Joy

  • Create Hierarchy using listitems

    Hi all
    I need Some help From anyone
    I want to create Hierarchy for list items in Forms6i using add_list_element and Delete_List_element OR any other alternative
    .....Your Help will be appreciated
    HTH
    RangaReddy

    create a table and populate the table
    Create Table MyTreeData
    (INITIAL_LEVEL             NUMBER,
    NODE_DEPTH                NUMBER,
    NODE_LABEL                VARCHAR2(10),
    NODE_ICON                 VARCHAR2(30),
    NODE_DATA                 VARCHAR2(40),
    NODE_PARENT               VARCHAR2(10),
    NODE_EXPAND_FLAG          NUMBER);
    Insert Into MyTreeData Values (-1,2,'Car','','CAR','TRANSPORT',0);             
    Insert Into MyTreeData Values (-1,2,'Plane','','PLANE','TRANSPORT',0);         
    Insert Into MyTreeData Values (0,2,'Bike','','BIKE','TRANSPORT',0);            
    Insert Into MyTreeData Values (1,1,'Transport','','TRANSPORT','',1);           
    Insert Into MyTreeData Values (0,3,'Honda','','HONDA','CAR',0);                
    Insert Into MyTreeData Values (0,3,'Boeing 747','','747-400','PLANE',0);       
    Insert Into MyTreeData Values (0,3,'Mazda','','MAZDA','CAR',0);                
    Insert Into MyTreeData Values (1,1,'Food','','FOOD','',0);                     
    Insert Into MyTreeData Values (-1,2,'Fruit','','FRUIT','FOOD',0);              
    Insert Into MyTreeData Values (-1,2,'Vegetable','','VEGETABLE','FOOD',0);      
    Insert Into MyTreeData Values (0,3,'Spinach','','SPINACH','VEGETABLE',0);      
    Insert Into MyTreeData Values (0,3,'Carrot','','CARROT','VEGETABLE',0);create a form and a data block and named it as MYTREE
    create a base item with item type as hierarchical tree and named is as MYTREE
    on the base item property enter the code at the Data Query property
    SELECT initial_level, node_depth, node_label, node_icon, node_data
      FROM MyTreeData
    START WITH node_parent IS NULL CONNECT BY node_parent = prior node_datacreate a data block trigger WHEN-NEW-BLOCK-INSTANCE and create the code as follows:
    Declare
         vTree Item;
         Top_Node FTREE.NODE;
         Find_node FTREE.NODE;
    Begin
         vTree := FIND_ITEM('MyTreeBlock.MyTree');
         FTREE.POPULATE_TREE(vTree);
    End;     run the form. hope this helps.

Maybe you are looking for

  • I am not able to Sync my Voice memos to the Itunes

    I have 2 voice memos which i need to transfer to my PC. I am not able to do the same.

  • SSAS Max date in grouped set of records

    I have a query where I need to pull back the latest risk assessment rating for a record, but need to do this for all records from the query. I have MS SSRS Report Builder (V3) as the only way to access this data and no access to modify the underlying

  • Stdio - file descriptor limits - Solaris 10

    Hi New to Solaris from HP-UX and we are porting an application. I run into a problem whereby we run out of file descriptors - application is TCP/IP and file I/O intensive. Sometimes it happens, sometimes not. It manifests itself as an error when call

  • Iphone UK- Help Needed !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Hey ive been doin some research and found out that if you put bogas info in about yourself which makes you fail the credit check you can have a kinda oay& go service. at&t do a kinda pay&go service where you pay in advance but with slighly worse plan

  • Use Lecroy 44Xi-A scope as chart recorder

    How would on go about using a Lecroy 44Xi-A scope as a chart recorder, or any DSO for that matter? It would seem to me that this should be possible as these scope are really nothing more than a Windows PC with a high speed DAQ. Even the "scope" runs