Dynamic Aggregation Using BI Query Wizard

Hi,
Is it poosible to perform dynamic aggregation using Oralce Query Wizard. In other words , is it possible to change/filter the dimension members of a particular dimension and recalculate the aggregation with out changing the fact/dimension table contents.
Your help is appreciated.
Panneer

Hi,
Not sure exactly what you are tying to achieve. However, if your data is stored in Analytic Workspace objects then you can recalculate data via OLAP DML programs or models dynamically from within a BI Beans application. The AW environment is always attached in read-only mode as a default. Hence, you can change the data during a session and then dump the changes when the user exits the application.
From within a relational environment it is very difficult to create the same approach since it is possible a commit could be issued. Unless you mark the required tablespaces as read-only. In which case you could execute PL/SQL procedures to recalculate data. However, not sure how you would resolve the refresh of any related MVs
Hope this helps
Keith Laker
Product Manager
Oracle Business Intelligence Beans

Similar Messages

  • Generate dynamic reports using sql query and send via mail

    Can anyone provide me the links to dynamically generate the sql query based reports and send it to Mail. it should be called from the scheduler program using PL/SQL

    suppose you have the query as
    spool myrep.txt
    select * from emp where rowid<3;
    spool off
    write the query in the emp.sql query at any directory like d:\sqljobs\emp.sql
    the call make a batch file like sndml.bat and write the following codes
    sqlplus scott/tiger@orcl @d:\sqljobs\emp.sql
    explorer mailto:[email protected] d"\sqljobs\myrep.txt
    or if you are using any mailing software then you can use that..

  • How to make table control rows dynamic/unlimited using TC with Wizard

    Hi Friends ,
    I have designed a table control layout using table control with wizard.
    Now the problem is when we design a TC layout ,then we have to design it on the page . The page has upper & lower limits. so the maximum size & maximum rows in layout is limited. I have tried to create a TC layout with maximum size & maximum rows . Maximum rows created in Layout is 25.
    Now suppose if enduser wants 100 entries to enter by coping a file of 100 records in my TC present on entry screen , then ONLY 25 entries are displayed on entry scren before doing any user action or saving and after saving only these 25 entries are sved in DB. Means enrtries from 26 to 100 are not displayed on entry screen or saved in DB.
    So my requirement is to display all 100 entries at a time in entry screen before saving with scrolling up & down facility and these 100 entries should also get saved in DB after clicking save button. In short I want dynamic entry screen table control which can show/dieplay Any Number . of entries whatever the number may be entered by enduser .
    Plz note that I have used all 3 facilliteis i.e.
    1. Scrolling
    2. INSERT/DELETE
    3. SELECT/DESELECT
    while designing TC with wizard .
    Scrolling buttons like FIRST PAGE, PREV. PAGE, NEXT PAGE, LAST PAGE are displayed.
    BUT they are not functioning though there is system generated code present in both MPP and in PBO & PAI. After clicking any of them , data which is dislaying on entry screen ( Here it is 25 entries ) is getting cleared/disappeared from enry entry screen.
    Waiting for ur response & solutions.
    Thanks & Regards,
    Sudhir

    Hi Ashish ,
    Do one thing .
    At PAI of screen holding TC , there is module name tc_mark on request .
    in this module , there is work area declared g_tc_wa .
    Now go to tc_init module of pbo , where u have given your select command .
    select * from ........................................
    use this code .
    if g_tc_wa is initial .
       SELECT * FROm
       g_tc_wa = 'X'.
       REFRESH CONTROL 'TC' FROM SCREEN dynnr.
       ENDIF.
    Just do this , m sure all buttons, insert, delete , scroll bar.. everything will work .

  • Dynamic Routing Using Query String (SOAP)

    Hi Folks,
    Does anyone have any examples on how to do a dynamic routing using a query string from a SOAP Adapter. I know how to get the query string but don't know how to map for dynamic routing.
    Thanks,
    AArhyn.

    After some further examination it seems that both calls are picked up by the same interface. In the RWB both the messages are picked up by the MIOS_GetDetails...
    How can i fix this?

  • How to create a viewobject dynamically without using wizard

    Hi,
    I am Using jDEV 11G, i need to create a viewobject dynamically without using wizard, without binding from any entity.
    Actually my intention is to make a grid like in .Net, when a user want to create a new row in RichTable without using DB.
    just like shopping cart.
    i have done thsi code:
    ViewObjectImpl view=new ViewObjectImpl();
    view.addDynamicAttributeWithType("Att1","String",null);
    view.addDynamicAttributeWithType("Att2","String",null);
    view.addDynamicAttributeWithType("Att2","String",null);
    Row rw=view.createRow();
    rw.setAttribute("Att1","First1");
    rw.setAttribute("Att2","First2");
    rw.setAttribute("Att2","First3");
    view.insertRow(rw);
    I have a RichTable , i need bind this viewobject into that.
    Edited by: vipin k raghav on Mar 10, 2009 11:39 PM

    Hi Vipin,
    You can create the view object with rows populated at run time.
    [http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcquerying.htm#CEGCGFCA]
    For reference of how to create an empty rwo at run time on button click
    [http://kohlivikram.blogspot.com/2008/10/add-new-row-in-adf-table-on-button.html]
    ~Vikram

  • Oracle Forms List Items :not populating list Dynamically using select Query

    Hi ,
    I need to create a list item. And the values to be populated in the list are from Database but I'm unable to populate from database.
    Please help me out how to populate the values from database.
    In Property Pallete we have Elements in List under Functional section , In this we have to manually enter the List values but we can't use any Query to Dynamically populate.
    Thanks,
    Kiran Sanga

    When you need to fill a list with the result of a query, you'll have to do it at runtime.
    Andreas has a good blogpost about this.

  • About dynamic aggregation and using model

    I want to use model to realize dynamic aggregation.
    for example, I have a dimension named "product",it contains some values like :
    "apple" "orange" "beer" "beef" "bullfrog" "coffee"....
    I also have a "wastage" measure base on this dimension.
    I sometimes wanna see fruit wastage(fruit=apple+orange),sometimes breakfast food wastage(breakfast=apple+beef+coffee),sometimes other aggregation.
    how can I solve this problem? thanks for any suggestion.

    There are two answers depending on the scoping that
    you want the members to have. Both cases use the
    same model:
    DFN Foodmod MODEL
    MODEL
    DIMENSION product
    FRUIT = AGGREGATION('APPLE' 'ORANGE')
    BREAKFAST = AGGREGATION('APPLE' 'BEEF' 'COFFEE')
    END
    If you want the dynamic calculations to be persistent
    across sessions then you should make the model part
    of the definition of the aggmap.
    DFN Foodmap AGGMAP
    AGGMAP
    Relation Food.Food
    Model Foodmod PRECOMPUTE(na)
    END
    If you just want the positions to last for the session
    you can dynamically add a model to a pre-existing
    aggmap.
    DFN Foodmap AGGMAP
    AGGMAP
    Relation Food.Food
    END
    CONSIDER Foodmap
    AGGMAP ADD Foodmod

  • Sum and group by using CAML query

    Is there any way to get the SUM of values with group by ID using CAML query?
    I have a custom list, in that I have ID and Value columns as below
          ID         Value1      Value2
          1             10             4
          2              5              3
          1             15             2
          3             20             1
    I want to get result:
         ID          Value1        Value2
         1             25                6
         2             5                  3
         3             20                1
    I used CAML query:
    <View>
    <Query>
    <Where>
    <IsNotNull>
    <FieldRef Name="ID" />
    </IsNotNull>
    </Where>
    <GroupBy Collapse="FALSE">
    <FieldRef Name="ID" />
    </GroupBy>
    </Query>
    <ViewFields>
    </ViewFields>
    <Aggregations Value="On">
    <FieldRef Name="Value1" Type="SUM" />
    <FieldRef Name="Value2" Type="SUM" />
    </Aggregations>
    </View>
    But
    this query returns all the records
    that satisfy the condition <Where>.
    I
    do not correctly?

    You need to work with current view based aggregation. Please check below threads for your reference.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/dda5735a-fecf-403f-9495-1b63617d2fbf/question-on-a-caml-query?forum=sharepointdevelopmentlegacy
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/24e88d6a-ee15-4d81-a5fe-504c7bd14e46/how-to-sum-a-column-value-using-caml-query?forum=sharepointdevelopment
    Hope this helps.
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful
    I've seen these
    issues and articles and do them, but
    does not work. I use object mozhel
    Sharepoint (javascript).

  • HR-ABAP using Table Control Wizard

    My requirements is to customize an infotype which is customer specific.
    After creating the infotype in PM01, I also create the screen(2000) for the
    infotype. The issue is in the table control. I create a table control
    using  table control wizard, getting the information that i need to output in the
    screen, using another infotype which is PA0007 planned working time.
    The expected result is that the data will diplay on the screen when i execute PA30.
    Do you have any idea or any recommendation to resolve the issue? thanks.
    And here are my codes.
    in PBO
      LOOP AT   g_table5_itab
           INTO g_table5_wa
           WITH CONTROL table5
           CURSOR table5-current_line.
        MODULE table5_move.
        MODULE table5_get_lines.
      ENDLOOP.
    Inside the  module pool.
    MODULE TABLE5_INIT OUTPUT.
      IF G_TABLE5_COPIED IS INITIAL.
    *&SPWIZARD: COPY DDIC-TABLE 'PA0007'
    *&SPWIZARD: INTO INTERNAL TABLE 'g_TABLE5_itab'
        SELECT * FROM PA0007
           INTO CORRESPONDING FIELDS
           OF TABLE G_TABLE5_ITAB
    *Start of Insert
           WHERE pernr = pskey-pernr.
    *End of Insert      .
         G_TABLE5_COPIED = 'X'.
         REFRESH CONTROL 'TABLE5' FROM SCREEN '2000'.
      ENDIF.
    ENDMODULE.
    MODULE TABLE5_MOVE OUTPUT.
    *Start of Delete
      MOVE-CORRESPONDING G_TABLE5_WA TO PA0007.
       MOVE-CORRESPONDING G_TABLE5_WA TO PA9201.
    *End of Delete
    *Start of Change
       MOVE G_TABLE5_WA-begda TO PA9201-zzpensda.
       MOVE G_TABLE5_WA-endda TO PA9201-zzpendda.
       MOVE G_TABLE5_WA-empct TO PA9201-zzempct.
    *End of Change
    ENDMODULE.
    MODULE TABLE5_GET_LINES OUTPUT.
      G_TABLE5_LINES = SY-LOOPC.
    ENDMODULE.

    Hi,
    Create a table control in layout and place your fields in table control.
    Press F6 and give the table name and click on get from dictionary and select the 5 fields which you required and palce those fields in table control.
    Double click on table control and give table control name .
    In Top include create a stmt as
    CONTROLS : TABlecontrolname TYPE TABLEVIEW USING SCREEN '1000'.
    In PBO under a module write your logic that means select query and place it in an internal table. Place that select query under IF condition.
    Module Read.
    If SY-UCOMM = 'ENTER'.
    Process query.
    endif.
    endmodule.
      LOOP AT ITAB INTO WA WITH CONTROL TAB.
        MODULE DISP.
        ENDLOOP.
    In PAI.
       LOOP AT ITAB.
         ENDLOOP.
    Here ITAB is internal table name.TAB is table control name.In display module write the code
    MODULE DISP OUTPUT.
    MOVE-CORRESPONDING WA TO database tablename.
    ENDMODULE.
    And in 1000 screen create SET PF status in the function keys assign a keyword to Enter Icon as 'ENTER'.
    Hope this is helpful.
    Regards,
    G.Aditya

  • Deploy project using sql query

    hi
    i am trying to deploy project in ssis catalog using below query.
    Exec
    catalog.deploy_project@folder_name
    =@folder,@project_name
    =@ProjectName,@Project_Stream
    =@ProjectBinary,@operation_id
    =@operation_id
    out
    getting error:
    (1 row(s) affected)
    Msg 27203, Level 16, State 1, Procedure deploy_project, Line 139
    Failed to deploy project. For more information, query the operation_messages view for the operation identifier '51564'.                                                                                                                                                                                                                 
    also when i m trying to opne ispac file , i am getting error :
    TITLE: Failed to launch the wizard
    To launch the Integration Services Deployment wizard, one of the components: Integration Services, Management Tools - Basic or Business Intelligence Development Studio has to be installed by the SQL Server 2012 Standard, Enterprise, Developer, or Evaluation
    Edition. To install a component, run SQL Server Setup and select the component name.
    BUTTONS:
    OK
    is this 2 are related,how to solev it

    Which version of SQL Server are you using? Are you deploying to a server with multiple instances of SQL Server installed? Are you deploying the packages to different server?
    if so does the destination server has Integration services installed ?
    Deploying from the command line. In most large organizations, deployments are done by a DBA or systems administrator. In such environments, it's a great practice to use deployment scripts as much as possible to make the deployments
    more manageable as the number of SSIS packages increases. In SQL Server 2012, you can deploy SSIS packages using the command-line tool ISDeploymentWizard.exe. This tool works with the .ispac file, which is created in the project's BIN directory when you build
    the project in SQL Server Data Tools. The .ispac file for a project typically contains the following:
    The project's manifest
    All the packages belonging to the project
    The parameter file (Project.params)
    If you want to see the file's contents, you can change the extension from .ispac to .zip, then open it in Windows Explorer.
    To deploy the Test_Project project from the command line, you first need to copy the .ispac file to a shared folder. Then, in a Windows command shell, navigate to the folder containing the .ispac file and execute this ISDeploymentWizard command:
    "%ProgramFiles%\Microsoft SQL Server\110\DTS\Binn
      \isdeploymentwizard.exe" /S /ST:File
      /SP:Test_Project.ispac /DS:<SQL Server Instance Name>
      /DP:/SSISDB/MyTest/Test_Project

  • Query wizard and PLD

    Hi experts,
    I use query wizard making a query, and I can found it in query manager. then I created a report for that query. everything is ok but i don't know how to show the report and print it out. please help, thanks.

    Hi,
    This is very simple goto tools queries-> query Print Layout
    it will display all the query print layout . select the query for which you want to have the preview.
    and select teh print preview button it will display you report..
    Regards
    Chidambaram

  • How to Use SQL Query having IN Clause With DB Adapter

    Hi,
    I am using 11.1.1.5 want to find out how to Use SQL Query having IN Clause With DB Adapter. I want to pass the IN values dynamically. Any ideas.
    Thanks

    invoke a stored procedure, it's safer than trying to put together an arbitrary SQL statement in the JCA adapter

  • Dynamic alias name in query

    Is it possible to use dynamic alias name in query for interactive report?
    I have this SELECT and I would like to use the parameters used in alias request to build a dynamic crosstab report:
    SELECT p.annee AS "Ann&eacute;e", p.desc_rls AS "RLS",
    SUM(CASE WHEN p.age BETWEEN :P2_AGE1 AND :P2_AGE2 THEN p.pop END) "0-4 ANS",
    SUM(CASE WHEN p.age BETWEEN :P2_AGE3 AND :P2_AGE4 THEN p.pop END) "5-9 ANS",
    SUM(CASE WHEN p.age BETWEEN :P2_AGE5 AND :P2_AGE6 THEN p.pop END) "10-14 ANS"
    FROM pop_rls_isq_111 p
    GROUP BY ROLLUP(p.annee, p.desc_rls);
    Instead of coding "0-4 ANS" as alias, I would like for example use the parameters ":P2_AGE1 - :P2_AGE2 ANS".

    Hi,
    to make your column headings dynamic you can use the substitution syntax in the "Column Heading" property of your IR columns. For example:
    &P2_AGE1. - &P2_AGE2. ANSHope that helps
    Patrick
    My blog: http://www.oracleapex.info/
    New Check out the Oracle APEX Essentials!

  • How to use BI Integration Wizard ?

    When I click BI Integration Wizard tag,error message is : warning 2003:Zoom the current diagram is to a level of as iview or a service?
    what's wrong with it?
    Anyone know?
    Thanks!

    Hi,
    the error clearly saying the solution.
    if you want to work with BI integration wizard ,creat a model and drag a iview to it them drill down to the iview level then clcik on BI integration wizard then it will work.
    reason is why we are using BI integration wizard ? to get the queries from BI right
    but to drag the query or BI service to VC design board we should be in Iview level.
    hope it helps you
    Regards,
    Govindu

  • Dynamic change in the query name based on user input

    Hi Gurus,
    In a scenario, country appears as a user input variable.When the user specifies his country, the same query displays <b>Business trends</b>' data pertaining to his own country and rest of the world(international) in two tables.The reports are developed using Web application designer.
    Can the name(description) of the query be changed  so that the user input value for country gets dynamically reflected in the query name like <b>Business trends:Selected country vs International</b>?
    Regards,
    Balaji

    Hi Bala,
      ya this can be done by text variables. create a text variable( replacement path on the country infoobject) by going to the query properties on the description.
    if the user enters country value then it will be displaed on the description of the query .
    assign points if useful .
    regards
    santosh

Maybe you are looking for

  • HP Probook 4540s upgrading RAM

    Hi, I would like to upgrade my memory (4GBs are not enough in theese days) for probook 4540s Now, I have 1 module with theese specifications: CPU-Z: DIMM #                1     SMBus address        0x52     Memory type        DDR3     Module format  

  • HTTPService POST with XML does not declare charset encoding

    Hi all. I'm trying to do a HTTP POST of some XML using HTTPService and I've got it working apart form the fact that the HTTP message sent does no declare what charcater set it is using for encoding. As a test I send a 'ñ' character and it seems from

  • Exporting to m2v using QT

    <Just purchased Qt Pro 7.1.5 with plug-in Mpeg 2 player and I can't seem to export my movies to m2v. Also, not able to export to m2v with FCP anymore. Used to be able to do so with QT Pro 6 but this version does not work with the Intel. Any ideas???

  • Calendar does not display correct recurrent event

    Using Mac OS 10.8.3 with an Exchange 2010 server. Some recurrent calendar entries are displayed 24-hours too early in Calendar. The entries are displayed correctly on my Iphone, Outlook Web App and Outlook 2012. Any idea how to fix this?

  • Why do I have to reboot my apple tv every time I use it

    Every time I use my ATV2 I have to reboot it, is there a solution?