Query will display No results

A very simple analysis in OBIEE11g, revenue watch without results.
In the journal, copy the generated SQL query and running in SQL Developer - works OK and returns several records.

I checked the physiqueet and logical diagrams, data type for the key... etc.

Pls. Any clue?

Antonio

Hello

Purge the cache and try to run the same query, also run many lines of update on the three tables in the physical layer of the RPD.

Kind regards
DpKa

Tags: Business Intelligence

Similar Questions

  • 2.1 EA1: Query Builder does not update the query to display the results

    When using the query designer, if you click view results to see the results of the current query, then return to "Select columns" or the tabs 'Create a Where Clause' change the query, the "View results" tab shows again the results of the original query, even if no tables or columns of the original query occurs. By clicking on the button run the report or by setting a refresh interval has no effect.

    On another note, the query designer again is not reentrant, because you cannot select (highlight a part where cursor in) a query, and then open the query for this request of change graphically Designer.

    Sentinel,

    The problem is known and is listed in the known issues in the release notes for the first users. We hope to have this sent to production.

    Returning Query Builder is always on our list of things to do. We intend to rewrite the Query Builder and examine a number of requests related to this function. I'm hoping to make it a priority for the next release.

    Sue

  • SQL query | To display the result of the particular format table

    Hello

    I need to generate the table results in the appropriate format.

    Input samples:

    with test01
    tant_que)
    Select ' 10 'field01, field02 ' 01', 'X' double union field03
    Select ' 10 'field01, field02 ' 02', 'X' double union field03
    Select ' 10 'field01, field02 ' 03', 'X' double union field03
    Select ' 20 'field01, field02 ' 01', 'X' double union field03
    Select ' 20 'field01, field02 ' 02', 'X' of the double field03
    ) select * from test01.

    FI FI F
    -- -- -
    10 01 X
    10 02 X
    10 03 X
    20 01 X
    20 02 X

    5 selected lines.

    Expected results:

    FI F F F
    -- - - -
    10 X X X
    20 X X

    2 selected lines.

    I am not able to do that. Could you help me with this?

    pivot search you will get what you want...

  • Google Images will display full results

    Recently I noticed a strange behaviour in Firefox on MacOS 10.7.3 10.0.2:

    Google Image search returns a large number of images, but shows only the first page. Previously, you could scroll down to see the many pages of hits.

    Thoughts?

    Which can be a problem with the Google and cookies using the functionality of the instant results.

    You can check this setting on the Google search settings page.

    Try to delete cookies from Google (or at least the Google PREF cookie).

    • Tools > Options > privacy > Cookies: "show the Cookies".
  • Link on the sidebar that will display the results in the middle of the same page column

    It's me again...

    The idea is to keep viewers on the same page.  I want to have the links in the left sidebar when you click will bring information and photos in the stratification of the middle column which is originally in the middle column.  It's kind of like swap image (which I work with a large number), but it would not be a case of glide mouse.

    Thanks for your help,

    Sandy

    Fixed position elements are exactly that.  Fixed compared to the upper left of the browser.  Since fixed elements are removed from the normal document flow, they do not behave like floats by-side.

    Nancy O.

  • Display SQL results in flash

    Hi all

    Can someone tell me how I would go about setting up flash to display the results returned by a query SQL, one at a time.  I can work on the query and PHP, but want I want to know, how to do flash take each of them and animate it, including the suspension and the compensation of the full screen, and then continues on a screen of 'new '.  That's essentially a list of events in a database.

    So, while watching the movie in action, you'd see

    White screen

    Event 1 (break)

    Tournament 2 (pause)

    Event 3 (pause)

    (make one pause and fade out)

    New screen

    Event 4

    Event 5

    Event 6

    .. and so on until all the results have been posted.

    Any help much appreciated.  In fact, it is possible that what I need is help as to how to achieve this returning from xml.  It's really the actionscript code that I am lost.

    Thank you

    James

    If you do not have a handle on the management of dynamic content in Flash, and then to the time you should focus on solving just this aspect and save with php/sql/xml eventually.  To creat now just a stufff array you want to treat it the way you want and it works from there.  Eventually, that's what you get when you feed the file, the data anyway.

    As far as the break and the animation of the aspects go, your best bet will be to search Google for a tutorial on perhaps a slideshow or marquee that runs automatically.  Understand how it works, and then find a way to turn it into something that suits your needs.

    The basic tools that you will be after will be the Tween class to animate the Timer class to trigger a break/motion, as well as their respective event listeners.  If you can find some simple tutorials just for these two things separately, you might be able to reason about the merger for what you are after.

  • My computer will display the BIOS boot screen then do nothing yet, I insert the Windows installation disc. What should I do with it?

    My computer will display the BIOS boot screen then do nothing yet, I insert the Windows installation disc and I press F11, 12 > no response, F10 > BIOS Setup. What should I do with it?

    Brand: HP
    Type: laptop
    Model No.: Pavilion zt3000
    512 MB DDR1 RAM
    Thank you very much!

    Hi Dominic,

    Are you able to get into BIOS to make changes?

    If so, you can try to reset the default settings of the BIOS and check.

    NOTE: Change (CMOS) BIOS/complementary metal oxide semiconductor settings can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can be solved. Changes to settings are at your own risk.

    You can also try to remove all external usb devices that can be connected to the system and start-up and see if the system boots.

  • Query to display records that match the given condition

    Hello

    Can you please help me with a query for results, which corresponds as indicated

    I have a table... Let's say SOURCE

    Contract_id Number (40)

    coverage_id number (40)

    product_Version_id varchar2 (20)

    product version of contract id coverage_id ID

    12345 1111 AAA

    12345 222 AAA

    12345 3333 AAA

    12345 4444 AAA

    6789 1111 AAA

    6789                     222                       AAA

    6789 3333 AAA

    My requirement is like do not display the id of the contract that has coverage id 4444

    Expected result:

    6789 1111 AAA

    6789                   222                     AAA

    6789 3333 AAA

    Currently, I get as

    12345 1111 AAA

    12345                  222                           AAA

    12345 3333 AAA

    6789                   1111                          AAA

    6789                      222                         AAA

    6789                     3333                        AAA

    I also get contract 12345... I don't want this contract id to display the result

    I used "<>", NOT IN, is not in the query, but I do not think that I am writing in a proper way. Please help me

    Thanks in advance

    Hello

    I hope that you can adapt the solution in #5 response above to your table.

    Here is another common way to do this sort of thing, by using a NOT EXISTS subquery:

    SELECT *.

    Contract_coverages m - m is hand query

    WHERE DOES NOT EXIST)

    SELECT 0

    S contract_coverages - s is subquery

    WHERE s.contract_id = m.contract_id

    AND s.coverage_id = 4444

    )

    ORDER BY contract_id, coverage_id

    ;

    EXISTS subqueries are almost always correlated with their Super request.  Why?  Discuss.

  • SQL query to display the sum of the values of each June and December

    Hello having problems of construction of a query to the list SQL query to display the sum of the values of each June and December each year.

    My Table;

    TABLE name: MONTH_TERM

    Fields with values:

    TERM_KEYMONTH_ACTUALMONTH_DATE
    8250001/11/2015 0:00
    8245001/12/2015 0:00
    8240501/01/2016 0:00
    8240001/02/2016 0:00
    8245001/03/2016 0:00
    8242501/04/2016 0:00
    8243501/05/2016 0:00
    8241006/01/2016 0:00
    8240901/07/2016 0:00
    8241501/08/2016 0:00
    8242009/01/2016 0:00
    8242210/01/2016 0:00
    8243611/01/2016 0:00
    8255601/12/2016 0:00
    8256801/01/2017 0:00
    8262402/01/2017 0:00

    What I would like to see in a query result:

    TERM_KEYMONTH_ACTUALMONTH_DATETotal of 6 months
    8250001/11/2015 0:00
    8245001/12/2015 0:00950
    8240501/01/2016 0:00
    8240001/02/2016 0:00
    8245001/03/2016 0:00
    8242501/04/2016 0:00
    8243501/05/2016 0:00
    8241006/01/2016 0:002525
    8240901/07/2016 0:00
    8241501/08/2016 0:00
    8242009/01/2016 0:00
    8242210/01/2016 0:00
    8243611/01/2016 0:00
    8255601/12/2016 0:002658
    8256801/01/2017 0:00
    8262402/01/2017 0:00

    ---

    Here's my query:

    Select

    "TERM_KEY,"

    "MONTH_ACTUAL,"

    to_char(MONTH_DATE,'MM/YYYY') MONTH_DATE,

    DEAL to_char (MONTH_DATE, 'MM')

    WHEN '06' THEN (SELECT SUM (MONTH_ACTUAL)

    OF MONTH_TERM

    WHERE the to_char (MONTH_DATE, 'MM') between 1 and 6

    AND term_key = 82)

    WHEN '12' THEN (SELECT SUM (MONTH_ACTUAL)

    OF MONTH_TERM

    WHERE the to_char (MONTH_DATE, 'MM') between 7 and 12

    AND term_key = 82)

    ELSE null

    END as SIX_MO_CUMM,

    of MONTH_TERM

    where term_key = 82

    It's my results:

    TERM_KEYMONTH_ACTUALMONTH_DATETotal of 6 months
    8250001/11/15 0:00
    8245001/12/15 0:003608
    8240501/01/16 0:00
    8240001/02/16 0:00
    8245001/03/16 0:00
    8242501/04/16 0:00
    8243501/05/16 0:00
    8241001/06/16 0:003717
    8240901/07/16 0:00
    8241501/08/16 0:00
    8242001/09/16 0:00
    8242210/01/16 0:00
    8243601/11/16 0:00
    8255601/12/16 0:003608
    8256801/01/17 0:00
    8262401/02/17 0:00

    Any ideas on how to fix would be great

    Select term_key,

    month_actual,

    month_date,

    case mod (to_char (month_date, 'mm'), 6)

    When 0 then sum (month_actual)

    During)

    term_key partition

    order of month_date

    between the previous month '5' interval and the current line

    )

    end '6 MONTHS in TOTAL'

    from tbl

    order of term_key,

    month_date

    /

    TERM_KEY MONTH_ACTUAL MONTH_DAT 6 MONTHS TOTAL
    ---------- ------------ --------- --------------
    82 500 NOVEMBER 1ST, 15TH
    82 450 1 DECEMBER 15 950
    82 405 1 JANUARY 16
    82 400 1 FEBRUARY 16
    82 450 1ST MARCH 16
    82 425 1ST APRIL 16
    82 435 1 MAY 16
    82 410 2525 1 JUNE 16
    82 409 1 JULY 16
    82 415 1ST AUGUST 16
    82 420 16 - SEP - 01

    TERM_KEY MONTH_ACTUAL MONTH_DAT 6 MONTHS TOTAL
    ---------- ------------ --------- --------------
    82 422 1 OCTOBER 16
    82-436 NOVEMBER 1, 16
    82 556 2658 1 DECEMBER 16
    82 568 1 JANUARY 17
    82 624 1 FEBRUARY 17

    16 selected lines.

    SQL >

    SY.

  • Unable to display the results of a detailed report or the results of a questionnaire which is inbedded in the project.  I checked the preferences of quiz and enabled for the draft declaration.  I use SCORM 1.2.  My LMS is not listed (MCN) and so I chose '

    Unable to display the results of a detailed report or the results of a questionnaire in a bed within the project.  I checked the preferences of quiz and enabled for the draft declaration.  I use SCORM 1.2.  My LMS is not listed (MCN) and so I chose 'other LMS standard.  Any ideas on why I see the results?

    Publish your SCORM SCORM Cloud and test if it will show you the results you want.  If so, then your problem is with your LMS.  If this is not your problem may be due to something in the settings of your current project.  Eliminate one thing at a time.

  • Error in query of the ordered result query contained CFSCRIPT in CF10

    I came across a very interesting error when you perform a query of a query within a CFSCRIPT tag...

    I get a result in withdrawal of a SQL Server stored procedure.  This is a list of metric names (METRIC_ID) and the metric measures themselves.

    I need to pull the METRIC_ID for this outcome, plans to make a JOIN on another query having display and other attributes of formatting for display in a web page.

    The following code runs without error when the query is not ordered:

    var displayDataQuery = new Query();

    displayDataQuery.setName ("joinedQuery");

    displayDataQuery.setDBType ("query");

    displayDataQuery.setAttributes (qry1 = fullMetricsListQuery);

    displayDataQuery.setAttributes (qry2 = arguments.cubeData);

    displayDataQuery.setSQL ("SELECT METRIC_ID FROM qry2");

    var tempResultSet = displayDataQuery.execute ();

    var cubeMetricIDList = tempResultSet.getResult ();

    When I take the same results of exact query of the same stored procedure, but it is controlled by an ORDER BY clause, this statement;

    var tempResultSet = displayDataQuery.execute ();

    get the following error: "value" cannot be converted to a number.»   It is 2 apostrophes, meaning an empty string between 'value' and 'impossible.'


    Wait, what?  I want to just a list of names metrics, varchars.  Why is there a conversion error...?


    The error in the end pprovided back to ColdFusion10\cfusion\CustomTags\com\adobe\coldfusion\base.cfc, line 445

    OK, this is where it takes an interesting twist...

    Starting at line 444, in base.cfc, line 445 bolded in red:

    "< cfif sqlType NEQ" "and arraylen (sqlParams) gt 0 >."

    < cfloop index = "i" = "2" to = "#ArrayLen (sqlArray) #" >

    < arraylen (sqlParams) of lte cfif (i-1) >

    < cfqueryparam attributeCollection = "#sqlParams [i-1] #" / >

    < / cfif >

    #getPreserveSingleQuotes (sqlArray [i]) #.

    < / cfloop >

    < / cfif >

    So if I understand correctly, when I have a query, unordered, copy the following code in base.cfc bed the SQL code in displayDataQuery.setSQL ("SELECT METRIC_ID FROM qry2"), but is not when the query is controlled by METRIC_ID... ?

    Oh, wait... the CFDUMP when using an ordered set of data says something else...

    query
    RESULTSET
    CACHINGfake
    EXECUTIONTIME4
    SQLSELECT * FROM qry1 ORDER OF METRIC_ID, LOCATION

    I'm a bit confused why the same data in works set ordered, while an ordered set causes this error.

    All useful suggestions or clues would be greatly appreciated!

    Do you mean that the error has occurred without the order by clause?

    Given that the error only occurs with one unsorted data set, I'm a bit confused why you ask this...?

    I've followed your suggestion:

    Run the same code, but use the cfquery instead of cfscript tag. The error persists there?

    My assumption was that your suggestion is to test it against a set of ordered data because that is what caused the original error.

    Unfortunately, the error occurs in the scenarios the tag and script-based.

    There is absolutely no sense why this happens.  The order of a set of data should have no impact on a query of a query on a column defined as varchar.

    If there are null values in the other columns defined as a type of digital, big deal, the code in question does not seek to assess these columns.  Still more interesting thing is why disorderly orderly vs makes a difference.

  • Refine a query to display only the entries for the current week

    Hello.

    Anyone know how to change a query to display only those records that have dates of the current week? Records have a start date and an end date, so the query should recognize that the entry may be valid for more than one week?

    Kind regards

    swelch

    Hi Steve,.

    I just created a dataset that contained the periods before, during and after the current week - on the assumption that if any day of a range (start/end) falls within the current week so it is included.

    In my example this is 'today', June 25, 2011, and a week is defined as Sun - Sat. So my week of 'course' is u 19 June 2011 / I June 25, 2011.

    A line any with a start date before or during my 'current' week and an end date that is after or during my "current" week, i.e. no matter what date in its range included in the 'in progress' week will appear.

    See you soon,.
    Rob

  • How to transpose the query with the following result

    Dear all,

    Can someone tell me a method to convert my query result

    Details are provided in

    http://obiee11ge.blogspot.com/2010/07/how-to-transpose-query-with-following.html

    Concerning

    Mustafa

    Hello

    Try this
    Create a request combined with,

    criterion no. 1: model, revenue (Actual), Cogs (Actual), Opex (Actual), PL (Actual)

    in the dummy column fx enter the "Real" value

    criterion 2: model, revenue (Yago), Cogs (YAgo), Opex (Yago), PL (Yago)

    in the dummy column fx enter the value as "Yago".

    criterion 3: model, revenue (Budget), Cogs (Budget), Opex (Budget), PL (Budget)

    in the dummy column fx enter the value as 'Budget '.

    Now go to the columns of result and set names coumn (revenue, COGS, Opex, PL) for the result set.
    For the Dumny, remove column header.

    In a sheet view, you will get the result.

    Thank you
    Vino

  • Display the results in the String form: dosen't work based on the example

    Hello

    To understand How to display the results as a string, I tried to reproduce this:
    [http://apex.oracle.com/pls/otn/f?p=31517:84 | http://apex.oracle.com/pls/otn/f?p=31517:84]

    I have my emp table
    EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO 
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
     7839  KING PRESIDENT -  81-11-17 5000 -  10 
     7698 BLAKE MANAGER 7839 81-05-01 2850 -  30 
     7782 CLARK MANAGER 7839 81-06-09 2450 -  10 
     7566 JONES MANAGER 7839 81-04-02 2975 -  20 
     7788 SCOTT ANALYST 7566 82-12-09 3000 -  20 
     7902 FORD ANALYST 7566 81-12-03 3000 -  20 
     7369 SMITH CLERK 7902 80-12-17 800 -  20 
     7499 ALLEN SALESMAN 7698 81-02-20 1600 300 30 
     7521 WARD SALESMAN 7698 81-02-22 1250 500 30 
     7654 MARTIN SALESMAN 7698 81-09-28 1250 1400 30 
     7844 TURNER SALESMAN 7698 81-09-08 1500 0 30 
     7876 ADAMS CLERK 7788 83-01-12 1100 -  20 
     7900 JAMES CLERK 7698 81-12-03 950 -  30 
     7934 MILLER CLERK 7782 82-01-23 1300 -  10 
    I've created with the wizard, on my page, a new AREA of REPORT
    -Selected SQL - RESULTS
    -Name: Test
    -Area Source Type: SQL Query
    -Model region: region report


    IN function enter SQL Query or PL/SQL returns a SQL query, I COPY-PASTE the following code to [http://apex.oracle.com/pls/otn/f?p=31517:84 | http://apex.oracle.com/pls/otn/f?p=31517:84]

    DECLARE
       p_vc_arr2   htmldb_application_global.vc_arr2;
       p_string    VARCHAR2 (2000);
    BEGIN
       SELECT ename
       BULK COLLECT INTO p_vc_arr2
         FROM emp
        WHERE deptno = :p84_select_deptno;
    
       p_string := 
         HTMLDB_UTIL.table_to_string (p_vc_arr2, ':');
       HTP.p (p_string);
    END;
    AND I have this error:

    + 1 error has occurred.
    Invalid query, no found select statement

    Is not a PL/SQP selected?

    Do I did wrong?


    Thank you

    Roseline Paquin
    Montreal, Canada

    1 error has occurred
    Invalid query, no found select statement

    What happens if you try

    DECLARE
       p_vc_arr2   htmldb_application_global.vc_arr2;
       p_string    VARCHAR2 (2000);
    BEGIN
       SELECT ename
       BULK COLLECT INTO p_vc_arr2
         FROM emp
        WHERE deptno = :p84_select_deptno;
    
        return 'select ''' ||  HTMLDB_UTIL.table_to_string (p_vc_arr2, ':') || ''' str from dual';
    
    END;
    

    ??

  • To display the result in the dialog box

    Hi all!

    I wonder if there is a way to make me at the end of a process, to display the result (number or string), I got in a dialog box.

    I mean at the end there is a dialog box containing the message as "the result is xxx" xxx is the result of this process.

    Any idea about it? Thanks in advance!

    Chao

Maybe you are looking for