OBI Nested Subqueries does not execute before main query

Hello,
I am using Oracle Business Intelligence 11.1.1.6.0. I am trying to create a report that uses 4 different analyses. I will refer to them as analysis A, B, C & D.
Analysis A & B have the normal filters that will be updated by a prompt on a dashboard.
Analysis C has filters updated by the same dashboard prompt, but it also uses analysis A & B as part of its filter.
Analysis D has filters updated by the same dashboard prompt, but it also uses analysis C as part of its filters. This is the analysis that shows the final results on the dashboard.
After selecting the prompts and running the queries, I get no results from analysis D. However, if I hard-code the values for the filter for each analysis (A-D) and run analysis D, I get the results. I cannot get the results via the dashboard. It seems that the filters for the other analyses (A, B & C) are not updated before analysis D is executed.
What am I doing wrong?
Thanks.

user1396441 wrote:
Thanks for the suggestion but AndFilter is a subclass of AllFilter. So it is probably already an AllFilter behind the covers. If my problem is caused by a Coherence bug, I doubt that the bug is in constructing an AllFilter from an AndFilter. I doubt an AllFilter would solve the problem. I know the custom extractor suggested by robvarga would work. I just have to try it to see if the code is as readable with it.
Edited by: user1396441 on Sep 21, 2011 1:01 PMThe only difference in how the code would look like is that you would have to wrap the method name string into the construction of the extractor:
instead of
new WhateverFilter("methodName", ...) you would have something like
new WhateverFilter(new NullOnErrorReflectionExtractor("methodName"), ...) If the filter is a custom filter, then you can even hide the explicit extractor instantiation inside the constructor of the filter.
Take care to use the extractor not only in creating the filter but also at creating the index otherwise indexed queries would not find the index. And of course the index would have to properly implement equals(), hashCode(), and the serialization methods belonging to your service configuration (ideally both POF and ExternalizableLite).
Best regards,
Robert

Similar Messages

  • Oracle ADF refresh as deferred does not execute query on page load

    In the oracle ADF page I have two panel boxes. (Oracle ADF 11.1.1.4)
    a) Personal information panel box with PanelFormLayout (PersonalInfoViewObj) - ReadOnly View Object
    b) Address information panel box with Table (AddressInfoViewObj) - Read Only View Object
    For the iterators in a) and b) I have kept refresh condition as deferred and cacheResult=false. Also in b) for af:table, I have kept contentDelivery="immediate"
    When page loads it fires SQL query for a) and populate the data in Personal information panel box. However for b) it does not execute the SQL query and the data is not getting populated ( in AddressInformation panel with the tables. Please note data is there in the DATABASE......)
    Becasue with the refresh as deferred it was not executing the sql query for Panel b) (panel with Table and table iterator). I have tried refresh as always and refresh ifNeeded/renderModel/prepareModel however in that case it is executing the SQL query two times (twice).
    Please let me know the best way to fix this issue.

    Hi,
    I think you need a method in an application module to init your data.
    In your AM : create a method like :
    public void init(){
    getViewObject().executeQuery();
    }In your adfc-config.xml create a methodCall from this method and a "control flow case" from the methodCall to your page.
    and keep refresh as "deferred " in your pageDef.
    Clément

  • App Signing Error, Number of Folios Does Not Match the Main Folio File

    Hi All;
      I have a 250 page standalone app that I am trying to compile for the Apple Store. I read through the forums and enabled "AppBuilderLoggingEnabled.cfg" in my user directory to capture the issue. Here is the snippet of the log that was created that, to me, shows why the app isn't being signed.
    46386 ERROR [main] codesign.Signer - Failure during signing
    java.lang.RuntimeException: invalid package, number of folios does not match the main folio file (Folio.xml or Issue.xml) 251-250
              at com.adobe.devtech.codesign.IPAOutputHelper.convertFolioProduceFormatToFolio(IPAOutputHelp er.java:272)
              at com.adobe.devtech.codesign.IPAOutputHelper.replacePlaceholderFolio(IPAOutputHelper.java:1 92)
              at com.adobe.devtech.codesign.IPAOutputHelper.execute(IPAOutputHelper.java:82)
              at com.adobe.devtech.codesign.Signer.sign(Signer.java:169)
              at com.adobe.devtech.codesign.Signer.processArgs(Signer.java:106)
              at com.adobe.devtech.codesign.Signer.main(Signer.java:46)
    46388 ERROR [main] codesign.Signer - Error: invalid package, number of folios does not match the main folio file (Folio.xml or Issue.xml) 251-250
    I've stripped out special characters from the article titles and re-built the app only to face the same error. I went ahead and created a new AppID in the Apple Developer Portal, created new provision files, and the error remains. I am now creating a new folio and importing the articles into the new folio to see if that will solve the "number of folios does not match" issue.
    Any help or insight would be amazing. Thank you all.
    -matt

    I created a new folio and imported all of the articles again. After hitting "Create App" for this new folio, at about 10 pages in a "PDF Export" error stopped the create app process. I went into InDesign to update the layout for the 10th page to see that the PDF export issue was stopping me from updating the layouts as well. Something in the InDesign file wasn't playing nice with the folio creation, so I created two new InDesign files, deleted the article, and built a new article from scratch. I was able to import the new layouts as a new article to the main folio and hit "Create App" again. This time there were no issues with the creation process. I synched up the provision files in App Builder and was able to code sign the application.
    I guess the moral of the story is to double and even triple check every article along the way to make sure there are no issues being introduced into the process that will ultimately cause headaches during the distribution phase of app creation!
    -matt

  • Tcode opens selection screen, but does not executes the program

    Hi!
    tcode opens selection screen of a custom program, but it seems that it does not executes the program itself.
    Sounds strange, but how to explain this if I can run a program manually with no problem and it displays result screen, but when I try to run the program with tcode - it opens selection screen but program quits before displaying result screen. I was putting a breakpoint at the begining of the program - it does not triggers debuger when running a tcode (it triggers debugger if to run program manually).... any ideas?
    Help will be appreciated,
    Mindaugas

    Are you using this???
          SET PARAMETER ID '80B' FIELD T_TABLE-OPBEL.
          CALL TRANSACTION 'FPE3' AND SKIP FIRST SCREEN.
    That way it should work....
    Greetings,
    Blag.

  • SSIS The parameterized sql statement yields metadata which does not match the main SQL statement

    Hi all,
    I'm getting the above error when trying to execute a custom lookup.  What I'm trying to do is lookup the minimum promotional price between date ranges.  The SQL executes fine in SSMS
    SELECT refTable.PRICE
    FROM ( SELECT MIN(PRICE) AS PRICE ,
    NAME ,
    ITEMRELATION ,
    FROMDATE ,
    TODATE
    FROM [dbo].[AllCustPrices]
    GROUP BY NAME ,
    ITEMRELATION ,
    FROMDATE ,
    TODATE
    ) [refTable]
    WHERE [refTable].[NAME] = ?
    AND [refTable].[ITEMRELATION] = ?
    AND ? BETWEEN [refTable].[FROMDATE]
    AND [refTable].[TODATE]
    but errors in SSIS?

    Apologies, totally forgot i posted a question on here.  I still haven't resolved this.  full error text is TITLE: Package Validation Error
    Package Validation Error
    ADDITIONAL INFORMATION:
    Error at Data Flow Task [Lookup MIN Price [440]]: The parameterized SQL statement yields metadata which does not match the main SQL statement.
    Error at Data Flow Task [SSIS.Pipeline]: "Lookup MIN Price" failed validation and returned validation status "VS_ISBROKEN".
    Error at Data Flow Task [SSIS.Pipeline]: One or more component failed validation.
    Error at Data Flow Task: There were errors during task validation.
     (Microsoft.DataTransformationServices.VsIntegration)
    BUTTONS:
    OK
    If I take off the MIN function and just put * SSIS is quite happy, it does not like MIN for some reason?
    I'm really stumped with this... checked metadata for third parameter which is W/C Date DT_DBTIMESTAMP which is same as FROMDATE, TODATE where i'm using BETWEEN...

  • Class "adressverwaltung.AdressverwaltungView" does not have a main method

    Hello
    I'm new to Java and also to Netbeans.
    In Netbeans I created a new project as a Java Desktop application. If I will run this application (Run > Run file) I'll get the following error message: Class "adressverwaltung.AdressverwaltungView" does not have a main method.
    What do I have to do to get a main method?
    Thanks in advance.
    Peter

    linux_desktop wrote:
    2: You're right: I have to learn the basics. But the first answer of db didn't help. If I have a site with a lot of chapters, I'm interested in to know which chapter will explain the solution of my problem. Because I'm not interested in to spend a lot of time for nothing.If you're not interested in investing time to learn the basics, then that's your choice.
    However it means that you are highly unlikely to get any good help around here.
    This is not a homework service and we don't usually condone people taking shortcuts, because there aren't any shortcuts that result in actual learning here.
    If you want to do an address management application, then you will need the information contained in the tutorials, there's no way around it.
    And presenting you with "this is how you write a main method" will not help you, because you'll still be missing tons of other stuff.
    3: Only to read is not enough. I have to create an example, learning by doing is it called.As you've been told, you should have looked into the tutorials before discarding them. They do include examples where you should program.

  • Running Two Process together!!.. second process does not execute!!

    Hello all,
    Am trying to run two process continously.. taking outputs.. from first process as input for second!! But second process should occur when first process is completed!!.. as it is moving files created by first process!!
    Process process1 = Runtime.getRuntime().exec(optimizer.exe);  //It creates some files in temp folder.. !!
    String another = System.getProperty("user.dir");
    String path = another + File.separator + "temp" + File.separator + "*.*"
    String script = "cmd /c move path d:/temp"
    Process process2 = Runtime.getRuntime().exec(script);process2 does not take place since process1 does not finished before executing that line.. so no files are there to move!!
    How to make stop my program for a while until first process is finished??
    Thanks!!
    gervini

    How can you figure out when optimizer is finished?
    Do you know how many files it will create? Will it
    t create all of them at once? Yes optimizer.exe creates 3 files at once..!!
    Then I have to move these files to different location..
    You're going to have
    to either be notified or do some polling to find out
    when it's ready for the second process. A simple
    example of this is a loop that checks the temp
    directory for files and proceeds once there are some
    with a sleep() in there some place so it doesn't kill
    the machine.How to keep checking for files then!! .. smething like this!!
    boolean exists = (new File("filename")).exists();
        if (exists) {
            // File or directory exists
        } else {
            // File or directory does not exist
        }

  • Help - Editor does not contain a main type error (Eclipse)

    Hello,
    I'm trying to run a Text input program out of the Eclipse program and I keep getting this Editor does not contain a main type error - can someone help me
    here's the code
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.text.DecimalFormat;
    import java.util.Scanner;
    import uwcse.io.Input;
    public class FileInputExample {
         public static void main(String[] args) {
              // Create a Scanner to read the input file
              String fileName = new Input().readString("Input file name? ");
              System.out.println();
              Scanner scan;
              try {
                   scan = new Scanner(new File(fileName));
              } catch (FileNotFoundException e) {
                   System.out.println(fileName + " doesn't exist!");
                   return;
              // Read the file and count the number of occurences of A, B, ...
              int[] count = new int[26];
              while (scan.hasNextLine()) {
                   String line = scan.nextLine();
                   line = line.toLowerCase();
                   for (int i = 0; i < line.length(); i++) {
                        char c = line.charAt(i);
                        if (c >= 'a' && c <= 'z') {
                             count[c - 'a']++;
              scan.close();
              int length = 0;
              for (int i = 0; i < count.length; i++) {
                   length += count;
              // Display the statistics (as an histogram)
              DecimalFormat df = new DecimalFormat("0.00");
              for (int i = 0; i < count.length && length > 0; i++) {
                   double percent = count[i] * 100.0 / length;
                   String display = "" + (char) ('a' + i);
                   display += "(" + df.format(percent) + "%):\t";
                   for (int j = 1; j <= Math.round(percent); j++) {
                        display += "X";
                   System.out.println(display);
    }Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    First, note that your program uses a non-standard class, "uwcse.io.Input" which is not available to us. Normally that is a show stopper - in this case, it's not, as I was able to eliminate its use.
    Your program runs fine, so the error is an Eclipse error unrelated to Java.
    You need to ask for help at an Eclipse support site, not here, as these forums are Java language forums.

  • [Eclipse Problem] Selection does not contain a main type?

    well i am using a GUI builder software which generates java code, i made a simple one to test and it will not compile.
    import java.awt.*;
    import javax.swing.*;
    public class name  {
         @SuppressWarnings("unused")
         private void initComponents() {
              panel1 = new JPanel();
              label1 = new JLabel();
              textField1 = new JTextField();
              panel1.setLayout(new FlowLayout());
              label1.setText("Name:");
              label1.setHorizontalAlignment(SwingConstants.LEFT);
              panel1.add(label1);
              textField1.setColumns(12);
              textField1.setText("hi");
              panel1.add(textField1);
         private JPanel panel1;
         private JLabel label1;
         private JTextField textField1;
    }it should make a basic swing GUI but it just gives me the error "Selection does not contain a main type"
    I did not select in eclipse "use public static void main" i know im not supposed to because this has no main method, but how am i to compile this? =X
    Edited by: -Johnny- on May 14, 2008 6:44 PM
    Edited by: -Johnny- on May 14, 2008 6:44 PM

    -Johnny- wrote:
    ya i used javac instead of eclipse then running it complains like you say
    but is there any way to compile this code and it will work? I was hoping to use this GUI builder for business purposes but it seems like a waste of money so far if i can't make working java application with it =\The code is fine. You need to learn the basics. Start with the intro tutorials at the Sun type and start reading and coding.
    Here is what the rest could look like:
    import java.awt.*;
    import javax.swing.*;
    public class name
        @SuppressWarnings("unused")
        private void initComponents()
            panel1 = new JPanel();
            label1 = new JLabel();
            textField1 = new JTextField();
            panel1.setLayout(new FlowLayout());
            label1.setText("Name:");
            label1.setHorizontalAlignment(SwingConstants.LEFT);
            panel1.add(label1);
            textField1.setColumns(12);
            textField1.setText("hi");
            panel1.add(textField1);
        private JPanel panel1;
        private JLabel label1;
        private JTextField textField1;
        public name()
            initComponents();
        public JPanel getPanel()
            return panel1;
        private static void createAndShowUI()
            JFrame frame = new JFrame("name");
            frame.getContentPane().add(new name().getPanel());
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.pack();
            frame.setLocationRelativeTo(null);
            frame.setVisible(true);
        public static void main(String[] args)
            java.awt.EventQueue.invokeLater(new Runnable()
                public void run()
                    createAndShowUI();
    }Edited by: Encephalopathic on May 14, 2008 7:10 PM

  • When I touch my iPad screen to execute an app, the screen goes dark then the app icon reappears. The app does not execute.

    When I touch my iPad screen to execute an app, then the screen goes dark then the app icon reappears. The app does not execute. Any thoughts?

    Try a Reset...
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    Basic troubleshooting
    From Here
    http://www.apple.com/support/ipad/basics/

  • Global succession updates are limited to 500 relationships. If more than 500 exist PLM presents a warning message and does not execute the update

    Global succession updates are limited to 500 relationships. If more than 500 exist PLM presents a warning message and does not execute the update.
    How/Where to increase the relationship count?
    The message which I can see :
    Warning:
    This specification has exceeded the number of parent relationships allowed by Where Used. The Where Used tool only supports up to 500 parent relationships.
    Thanks

    This really brings up a larger topic around change management.
    The questions you should start with is
    1. What kind of change is happening to the raw material? 
    2. Will this change affect anything upstream inside or outside of PLM4P? (Will this change affect nutrition, compliance, the ingredient statement, the label etc?)
    3. Who needs to approve this change?
    If they are non-material changes (changes that don't affect theoretical calculations, the ingredient statement, labeling, upstream systems that need to be notified etc) then you should be using get latest revision instead of global succession.   Get Latest Revision will automatically switch out the material with the latest approved version.  This logic is also configurable in case you need to add additional guard conditions.   We can also provide guidance around locking the get latest revision lock once a specification has reached the retired/obsolete state so changes won't occur for specifications in those statuses.
    If the changes to the raw material are material changes (changes that affect calculations, labeling etc) then the change should be reflected with a copy of the specification.  Dependent specifications then need to be re-issued so calculations can be performed and the appropriate workflow reviews can occur.   Smart Issue allows for filtering based on status and should let you re-issue in smaller blocks. 
    Let me know more about your change management strategy, how often large material changes happen and maybe example causes for those mass changes.  We can also schedule a change management training session for everyone where we can share our vision and tools available for change management.  This topic is quite large and generally requires a lot of business process discussion beyond just the tools available. 
    Thanks
    Kelly

  • User exit code does not execute

    I'm having a problem with User exit code that does not execute yet seems to be set up correctly.
    The User exit is implemented as FM "EXIT_SAPLIPW1_001" in function group XQSM.
    I've tried everything I know of with the CMOD and SMOD transactions, and I suspect some sort of transport error.
    The only clue I can find in comparing the development system (which works) with the test system (which does not work) is that running "Extended Check" in SE80 on function group XQSM fails with the following error:
    "The namespace of program SAPLXQSM has the setting "C" and cannot be tested."
    Has anyone any idea what could have happened?

    Let us try to retrace the steps.
    1. You created a Z project in CMOD and assigned the enhancement IQSM0001 and the component EXIT_SAPLIPW1_001 and activated the same. This is there in the transport.
    2. You double clicked on the include in the user exit and created it. You activated the code and included it in the same transport.
    If you did the above steps, then your user exit should be active in your test system.
    Can you please go to SE10, and list out the objects in your transport? You should see entries in there like below(not necessarily a complete list)
    R3TR CMOD <your project name>
    R3TR PROG ZXQSMU01
    See if you created any of the objects as local objects.
    Srinivas

  • Actions does not executed on quotation saved.

    Hi,
    Actions does not executed on quotation save.
    Action profiles has been created as per my production system.
    In production system it is executing properly. but in development system it does not get triggered.
    Pls suggest.
    Points will be rewarded.
    Thanks

    Hi Vinayak
    U can check in 'Define Conditions' for the actions and see whether the actions for the Action profile have been scheduled or not.
    On the left hand side u get the action profiles. U can right click on that and schedule the actions.
    Plz reward points if it helps.
    Thanks and regards
    Debolina

  • My calendar is stuck. i press 'done' and it stays as is.  I noticed this on my contacts also. it sometimes does not execute.

    my calendar is stuck. i press 'done' and it stays as is.  I noticed this on my contacts also. it sometimes does not execute.

    http://support.apple.com/kb/TS3281
    Apple does not respond here this is a user to user forum There are no Apple staff here
    Millions have updated without issue

  • I have a slide with 4 smart shapes that I am using as buttons. If I select include in quiz, the On Success branch does not execute. If I deselect include in quiz, the On Success branch executes. What am I missing?

    I have a slide with 6 smart shapes that I am using as buttons. If I select include in quiz, the On Success branch does not execute. If I deselect include in quiz, the On Success branch executes. What am I missing?

    What setting do you have in Quiz > Settings > Required?  If it's not set to Optional, do that.

Maybe you are looking for

  • Routine is not working properly?

    Expert's please tell me is there any problem with this routine? Because this routine is not working properly.It is not populating to all the fields the RESULT value. if   COMM_STRUCTURE-/BIC/ZVEN_NAME = 'VENDOR1' or COMM_STRUCTURE-/BIC/ZVEN_NAME = 'V

  • Method calling, a little difficultly, some help please

    Hi there! I have a "main" Class named Exchange (has the GUI elements) and instantiates other Classes. Another Class named Comms performs some methods which listen to an incoming stream of data. One particular method named incomingBody( StringBuffer s

  • My computer doesnt do anything

    i have a thing called a windows Pro Defence kit and i dont have any idea how i got it but it doesnt let me get on anything like the internet or anything and if i try to switch it anything it tells me to get the full thing and that i have to buy it an

  • Internet Security / Virus Programs

    I just got my iMac G5 yesterday and was surfing the web. Having come from MS Windows, I started to worry about hackers and viruses. Do I need a virus program? Such as Norton, Mcafree, etc? Do you suggest one particular program?

  • Project Roadmap Tasks

    Hi, Is it possible to create tasks in project roadmap? Like transaction type 1003? Or how can we manage task in Solution Manager Project Management Best regards