Query shows No Results

A very simple analysis in OBIEE11g Employee, Revenue shows No Results.
In the log, copying the SQL query generated and executing it in SQL Developer - runs OK and returns several records.
I've checked the physicall and logical diagrams, data type for the keys... etc.
Pls. Any hint ?
Antonio

Hi,
Purge cache and try executing the same query, also perform update row count on all three tables in Rpd physical layer.
Regards,
Dpka

Similar Messages

  • How To Make Search Query Showing the Result As List of Buttons.

    Can some one give me an idea how to start to make a Search Query showing the results as list of buttons.. i have already have my buttons with names. i just dont know how to make a search query.
    this is my on screen keyboard i made..
    im making a system that the result were a list of buttons.. showing like this
    This was supposed to be the output of the query that i need to do..
    Please help me.. i just need a idea or tips how to make this one.

    Here is code I posted recently for another question
    Public Class Form1
    Const BUTTON_SIZE As Integer = 20
    Const SPACE As Integer = 5
    Sub New()
    ' This call is required by the Windows Form Designer.
    InitializeComponent()
    ' Add any initialization after the InitializeComponent() call.
    Dim buttons As New List(Of List(Of MyRadioButton))
    For row = 1 To 6
    Dim newRow As New List(Of MyRadioButton)
    buttons.Add(newRow)
    For col = 1 To 6
    Dim button As New MyRadioButton()
    button.row = row
    button.col = col
    button.Height = BUTTON_SIZE
    button.Width = BUTTON_SIZE
    button.Left = col * (BUTTON_SIZE + SPACE)
    button.Top = row * (BUTTON_SIZE + SPACE)
    button.Name = String.Format("radGr1{0}_{1}", row.ToString(), col.ToString())
    Me.Controls.Add(button)
    newRow.Add(button)
    AddHandler button.CheckedChanged, AddressOf Radio_Change
    Next col
    Next row
    End Sub
    Private Sub Radio_Change(ByVal sender As Object, ByVal e As System.EventArgs)
    Dim button As MyRadioButton = CType(sender, MyRadioButton)
    Dim row As Integer = button.row
    Dim col As Integer = button.col
    End Sub
    End Class
    Public Class MyRadioButton
    Inherits RadioButton
    Public row As Integer
    Public col As Integer
    End Class
    jdweng

  • Query shows diferrent result

    After migrating to oracle10g query is showing wrong result
    SELECT PS, SUM(K) FROM
    ((SELECT 'F' PS, 0 K FROM dual
    UNION ALL SELECT 'P' PS, 0 K FROM dual
    UNION ALL SELECT 'R' PS, 0 K FROM dual
    UNION ALL SELECT 'S' PS, 0 K FROM dual
    UNION ALL SELECT 'W' PS, 0 K FROM dual )
    UNION
    (SELECT process_status PS, COUNT(*) K
    FROM production_control p
    WHERE p.process_group = 'SA_WEEKLY'
    GROUP BY p.process_status))
    GROUP BY PS
    Wrong Result After Migration
    P SUM(K)
    W 0
    R 0
    P 0
    F 0
    S 254
    Correct Result Before Migration
    P SUM(K)
    F 0
    P 0
    R 0
    S 253
    W 0

    Hi,
    >>without order by it was giving correct result in another database.
    Correct result ?? How can you know that is the right result ? Don't trust on a order of the rows when selecting, if you not using a ORDER BY clause on your select statement.
    >>I am having problem with pariticular database only
    This is not a problem. You need specify the ORDER BY clause on this query to guarantee the order of the rows (on all databases) when perform a select statement on this table.
    Cheers

  • Report Query shows different result when executed manually

    Hi!
    When I run our report I'll get 7577 distinct rows.
    From here on I copied the SQL query with SQL inspector, then pasted it in Oracle SQL Developer and replaced the user variable with the same value I entered when I ran the report from within Oracle Discoverer Desktop.
    But when I run this query I'll get 10925 distinct rows.
    How is that even possible??? I think the SQL inspector is supposed to print the exact same query which he used to display the data in the report? Am I missing something here?
    Thanks in advance!

    I found my error.
    I queried v$sql to get the real quey sent to the database and then saw how it actually got processed. I'ts ok now.

  • Why this query does not show the result?

    Why the query with the schema prefixed does not show the result and the query without schema display the correct results?
    SQL> select data_object_id,object_type from dba_objects where object_name='HR'.'JOBS';
    select data_object_id,object_type from dba_objects where object_name='HR'.'JOBS'
    ERROR at line 1:
    ORA-00933: SQL command not properly ended
    SQL> select data_object_id,object_type from dba_objects where object_name='HR.JOBS';
    no rows selected
    SQL> select data_object_id, OWNER, object_type from dba_objects where object_name='JOBS';
    DATA_OBJECT_ID     OWNER                          OBJECT_TYPE
    69662              HR                                 TABLE
                       OE                                 SYNONYM
    SQL> SELECT USER FROM DUAL;
    USER
    SYS

    Hi,
    the column object_name refers to a object_name which is 'JOBS', the column owner refers to the owner 'HR', the value isn't stored together, so you have to select the two columns. It is the same behaviour as every other table/view. Have a look at the values in the view DBA_OBJECTS.
    Herald ten Dam
    Superconsult.nl

  • Query not showing detailed result when run through query Designer or Portal

    Hi,
    There is one query which not showing detailed result while running through Query Designer or run in Portal.
    But strange thing is that it is showing the detailed result when i run it through BeX Analyzer.
    While all the other queries don't have this problem in system. All showing the correct detailed result.
    If anyone have some idea on this issue plz let me know.
    Regards,
    Javed
    Edited by: Javed Akhtar on Jul 7, 2009 3:59 PM

    Hi,
    We can do this setting in WAD. Please check the web template and try to remove that setting. When you have hierarchy then we can display only till certain level in portal, this setting is done in web template APIs, but in bex analyzer you can see all the detailed information.
    Edited
    Go through this thread for some more detailed information
    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/7b5f0a95ce12d0e10000000a422035/frameset.htm
    Regards,
    rik

  • Show unit results in query

    Hello,
    I have a requirement where I need to show the results of units in the query. The query result would have multiple units like KG, EA, LB.
    But I would want to have the result of each unit at the end. Is this possible in anyway. It should something look like
    Material     Qty
    1111          10 KG
    1230           20KG
    1222           20 LB
    1232           10 LB
    1343            10 EA
    1232            20 EA
    RESULT      30KG
                      30 LB
                       30 EA
    Thanks,
    KK

    Hi KK
    For this to work unit must be a characteristic that is stored in the infoprovider
    Try creating a structure in the rows with 3 RKF, drag in the unit characteristic a restrict to the following:
    1. Unit restricted to KG
    2. Unit restricted to LB
    3. Unit restricted to EA
    Then under the RKF include the material characteristic, this will give a break down of material by the above unit types.
    Then in the columns include quantity.
    Hope this helps
    Josh

  • Variance Scaling in Query and Web Template Showing Different Results

    Hi experts,
    I have the following problem - variance scaling in my query and web template are showing different results.
    My variance in column is set as follows:
    Formula: NODIM(A % B)
    Scaling Factor: 1
    I have a structure in row that uses Scaling Factor of 1,000.
    Let say the value of Column A is 120 and Column B is 100.
    When I execute the query, it will show 0.02
    However, when I execute the web template it will show the correct scaling i.e. 20.
    May I know what can I do to correct above scaling error?
    Thank you!

    You can not remove the scalling factor, but once you check the checkbox below the dropdown menu, the scalling factor will go away.
    I checked at my end and when I set the scalling fact as 1, I was getting 9.9% while I was expecting 9900%. When I removed the scalling factor I started getting 9900%.
    I would let you know if I came across anything else.
    What about the unit of Column A and B. Are they same or different?
    - Danny
    Edited by: Danny Matt on Jun 22, 2009 1:54 PM

  • Dont want to show overall result in my report

    Hi
    Probably quite simple,  i just dont fint how to " NOT show overall result in my query"

    if u have infoobject characteristics on columns, suppress results there also
    *helpful answers deserve some points*

  • Same query giving different results

    Hi
    I m surprised to see the behaviour of oracle. I have two different sessions for same scheema on same server. In both sessions same query returns different results. The query involves some calculations like sum and divisions on number field.
    I have imported this data from another server using export / import utility available with 9i server. Before export every thing was going fine. Is there some problem with this utility.
    I m using Developer 6i as the front end for my client server application. The behaviour of my application is very surprizing as once it shows the correct data and if I close the screen and reopen, it shows wrong data.
    I m really stucked with the abnormal behaviour. Please tell me the possiblities and corrective action for these conditions.
    Regards
    Asad.

    There is nothing uncommitted in both the sessions. But still different results are returned.
    I m sending u the exact query and result returned in both sessions.
    Session 1:
    SQL> rollback;
    Rollback complete.
    SQL> SELECT CC.CREDIT_HRS,GP.GRADE_PTS
    2 FROM GRADE G, COURSE_CODE CC, GRADE_POLICY GP
    3 WHERE G.COURSE_CDE=CC.COURSE_CDE
    4 AND G.SELECTION_ID=45 AND G.GRADE_TYP=GP.GRADE_TYP
    5 AND G.TERM_PROG_ID=17 AND GP.TERM_ID=14
    6 /
    CREDIT_HRS GRADE_PTS
    3 4
    4 3.33
    4 3.33
    3 4
    3 4
    3 4
    3 4
    7 rows selected.
    SQL>
    SESSION 2:
    SQL> rollback;
    Rollback complete.
    SQL> SELECT CC.CREDIT_HRS,GP.GRADE_PTS
    2 FROM GRADE G, COURSE_CODE CC, GRADE_POLICY GP
    3 WHERE G.COURSE_CDE=CC.COURSE_CDE
    4 AND G.SELECTION_ID=45 AND G.GRADE_TYP=GP.GRADE_TYP
    5 AND G.TERM_PROG_ID=17 AND GP.TERM_ID=14
    6 /
    CREDIT_HRS GRADE_PTS
    3 4
    4 3.33
    3 4
    3 4
    3 4
    3 4
    6 rows selected.
    SQL>
    U can see in session 1, seven rows are returned while in session 2 six rows are returned. I have issued a rollback before query to be sure that data in both sessions is same.

  • Dba_index_name and dba_ind_columns showing different results

    Hi All,
    I am confused why it is showing different results:
    [email protected]#>select index_name from dba_indexes where table_name='CRBTPROV_FINAL';
    INDEX_NAME
    CRBTPROV_INDX1
    [email protected]#>select index_name from dba_IND_COLUMNS where table_name='CRBTPROV_FINAL';
    INDEX_NAME
    CRBTPROV_INDX1
    MSISDN_IDX
    When trying to drop index MSISDN_IDX it gives error:
    ERROR at line 1:
    ORA-00054: resource busy and acquire with NOWAIT specified
    But when trying to check where all the index is used using v$access:
    select * from v$access where object='MSISDN_IDX';
    no rows selected
    Regards,
    Kirti

    If I run the following query on a 9.2.0.6 database, no index is listed:
    select type, count(*) from v$access group by type;CURSOR
    FUNCTION
    NON-EXISTENT
    PACKAGE
    SEQUENCE
    SYNONYM
    TABLE
    TRIGGER
    VIEW
    It seems that index is not taken into account by v$access ?

  • Is it possible to submit a list item and at same time query/search the results if parameters are matched.

    Hello,
    Is it possible to submit a list item and at same time query/search the results if parameters are matched.
    Example - user logon to site enter search parameters and hit submit button. Once done parameters gets saved in list and shows search results on page. I have been asked to do this with
    SP designer and InfoPath doesn’t work due items limits.
    Please suggest.
    Thanks,
    Manish
    Manish

    Hi Manish,
    may i ask if you need,
    when user account click the login button, it will be authenticate the user and then it will show search result page?
    may i know how the keyword of words to be put? is it together with the user account box, password and keyword?
    or it will be like, after user authenticate, it will redirect to search page, so that user may use the search page to input the keyword?
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Possibility of query showing deviated behaviour

    I have a strange problem which I am facing, I would explain that after giving the background. I have a front-end application web application with Oracle 11g as the database, in one of the screen of our GUI we have filters based on different criteria. I would simulate the problem faced with a simple example, say we have a GUI screen showing details of employee table and we put a search for a particular employee Id, the problem here is that details of all the employees are shown sometimes but rarely and not always. Is it possible that the "where" clause running in the background could be causing this deviated behaviour in a random fashion but not always. Could it be dependent on that some browsers do not support some things?
    I hope my query is clear that the web-based front-end application with Oracle database as the back-end is showing erratic behaviour on rare occasions of showing all results in a search condition whereas it should show a filtered set of records.
    Please revert with the reply to my query.
    Regards

    You haven't given us much to work on but I will go out on a limb and guess that your GUI front end is constructing the SQL dynamically and under some conditions are causing the variance in results. Did you instrument your application? Can you see the SQL query that is being passed to the backend database to verify that it is correct?

  • CKF not showing correct results in BEx Analyzer

    Dear Friends,
    I am getting different results when viewed from BEx Analyzer and Web Analyzer for the same query. BEx Analyzer shows incorrect results. The column that is showing different is a local formula (say Formula3) that is a result of dividing Formula1 by Formula2.
    BEx Web calculates Formula3 correctly while BEx analyzer does not.
    I am in BI 7.0 SP 10.
    Any Clues?
    Thanks
    Viren

    For this calculated column set aggregation level as sum.

  • On starting BI Server Report is showing 0 Result

    I have facing a strange problem.One report is showing 0 Result on starting server,checked back end query,it shows it is hitting some other fact,tht'why measure is not found and cast Null as 0 is happening.
    Strange thing is when I pull some other column from the same fact (But different Presentation table,same Logical table and Same LTS) along with my required measure it is showing data,hitting correct fact.But If I restart the server,again 0 result is coming.
    I disabled cache and restarted,still the issue is coming.
    I thought from BMM Layer the measure is not getting correct joins.
    So I check all logical and physical join with conformed dimensions with Logical Fact.All are ok.
    Measure has 2 definition at two LTS.
    1.CASE "Oracle Data Warehouse"."Catalog"."dbo"."Fact_W_ORDERITEM_F"."TOP_LVL_LN_FLG" WHEN 'Y' THEN "Oracle Data Warehouse"."Catalog"."dbo"."Fact_W_ORDERITEM_F"."ROW_WID" END
    2."Oracle Data Warehouse"."Catalog"."dbo"."Fact_W_ORDER_F"."NUM_ORDER_ITMS"
    Please suggest possible reason.
    Edited by: 980674 on Jan 8, 2013 9:04 PM
    Edited by: 980674 on Jan 9, 2013 7:12 AM

    Say the data is like this.
    Material Sold to Party Act Bud
    M1          S1               100   0
    M1          #                    0    50
    M1          S2               200   0
    And you want to see like below.
    Material Sold to Party Act Bud
    M1          S1               100   50
    M1          S2               200   50
    If this is your requirement, let the sold to party be in Rows.
    In columns, for budget, create a local selection, drag budget kf, sold to party (restrict this by # and right click and choose constant selection). This makes the budget kf independent of what is coming in the rows and always shows data corresponding to sold to party #. Hope this is clear.

Maybe you are looking for

  • Can't get 2 macs on same network!

    Hi all, I've got a netgear router that's worked perfectly for the last 2 years (connected to a PC) with a sole user (me) on the wireless network. We've now got a MacBook Pro in the house aswell, and there's a problem. We can't connect to the network

  • New iWork Update Fixes Bugs!

    Just finished installing and it works perfectly!

  • How does Business content work with BI 7 and R/3 4.6 as backend?

    Dear Bwers, We have BI 7.0 with source system as R/3 4.6. I have the following questions: 1. I want to know how to install new BI 7.0 datastructures from business content when the datasources from R/3 are in the old version? 2. Is Business Content up

  • Why does e mail search not work

    My i pad2 is incapable of searching for past e mails. What can I do without talking about lions bad cougars and the like. Keep it simple please

  • ESS Form 16 ~designbaseurl illegal host entry

    While executing the form 16 in portal we are getting an error. ~designbaseurl illegal host but if i run this directly using the url its working fine. Suggest mes. Thanks in advance, Mr.Chowdary