Intresting query!!! may be for me...

Hello Friends
Please can you help me with your query for the following table
SQL for Oracle 10g table containing following data
Table 1
slNo Project issueno date
1 Prj1 issue11 2000-1-19 - project 1 added
2 Prj1 issue12 2001-2-11
3 Prj1 issue13 2002-3-12
4 Prj1 issue14 2003-4-13
5 Prj1 issue15 2004-5-14
6 Prj1 issue16 2005-6-15
7 Prj2 issue21 2002-2-11 - project 2 added
8 Prj2 issue22 2003-3-1
9 Prj2 issue23 2004-3-1
10 Prj2 issue24 2005-4-1
11 Prj2 issue25 2006-5-1
12 Prj2 issue26 2007-6-1
13 Prj3 issue31 2003-1-10 - project 3 added
14 Prj3 issue32 2004-2-1
15 Prj3 issue33 2005-3-1
16 Prj3 issue34 2006-4-1
17 Prj3 issue35 2007-5-1
18 Prj3 issue36 2008-6-1
19 Prj4 issue41 2003-1-12 - project 4 added
20 Prj4 issue42 2004-2-13
21 Prj4 issue43 2005-3-14
22 Prj4 issue44 2006-4-15
23 Prj4 issue45 2007-5-16
24 Prj4 issue46 2008-6-17
Can you write the sql in oracle to find out the number of projects added in each month (YYYY-MM)
Assumption: A project is created on the same day as first issueno
Period(YYYY-Q) Count of Projects
2000-1          1
2000-2 0
2000-3 0
...... 0
..... 0
2002-1          1
...... 0
...... 0
2003-4          2
Can we get this using Group by ROLLUP or just group by?
Please post your query on reply, Your comments would be much appreciated

Yes I can write it. So can a lot of people. But this
is your schoolwork and you need to do it yourself.
You can do so using GROUP BY.Why make it simple when you can make it fun (especially bearing in mind the specification is to have 0's for the months without a project start)
SQL> ed
Wrote file afiedt.buf
  1  WITH table1 as (select 1 as slNo, 'Prj1' as Project, 'issue11' as issueno, to_date('2000-1-19','YYYY-MM-DD') as dt from dual union all
  2                  select 2, 'Prj1', 'issue12', to_date('2001-2-11','YYYY-MM-DD') from dual union all
  3                  select 3, 'Prj1', 'issue13', to_date('2002-3-12','YYYY-MM-DD') from dual union all
  4                  select 4, 'Prj1', 'issue14', to_date('2003-4-13','YYYY-MM-DD') from dual union all
  5                  select 5, 'Prj1', 'issue15', to_date('2004-5-14','YYYY-MM-DD') from dual union all
  6                  select 6, 'Prj1', 'issue16', to_date('2005-6-15','YYYY-MM-DD') from dual union all
  7                  select 7, 'Prj2', 'issue21', to_date('2002-2-11','YYYY-MM-DD') from dual union all
  8                  select 8, 'Prj2', 'issue22', to_date('2003-3-1','YYYY-MM-DD') from dual union all
  9                  select 9, 'Prj2', 'issue23', to_date('2004-3-1','YYYY-MM-DD') from dual union all
10                  select 10, 'Prj2', 'issue24', to_date('2005-4-1','YYYY-MM-DD') from dual union all
11                  select 11, 'Prj2', 'issue25', to_date('2006-5-1','YYYY-MM-DD') from dual union all
12                  select 12, 'Prj2', 'issue26', to_date('2007-6-1','YYYY-MM-DD') from dual union all
13                  select 13, 'Prj3', 'issue31', to_date('2003-1-10','YYYY-MM-DD') from dual union all
14                  select 14, 'Prj3', 'issue32', to_date('2004-2-1','YYYY-MM-DD') from dual union all
15                  select 15, 'Prj3', 'issue33', to_date('2005-3-1','YYYY-MM-DD') from dual union all
16                  select 16, 'Prj3', 'issue34', to_date('2006-4-1','YYYY-MM-DD') from dual union all
17                  select 17, 'Prj3', 'issue35', to_date('2007-5-1','YYYY-MM-DD') from dual union all
18                  select 18, 'Prj3', 'issue36', to_date('2008-6-1','YYYY-MM-DD') from dual union all
19                  select 19, 'Prj4', 'issue41', to_date('2003-1-12','YYYY-MM-DD') from dual union all
20                  select 20, 'Prj4', 'issue42', to_date('2004-2-13','YYYY-MM-DD') from dual union all
21                  select 21, 'Prj4', 'issue43', to_date('2005-3-14','YYYY-MM-DD') from dual union all
22                  select 22, 'Prj4', 'issue44', to_date('2006-4-15','YYYY-MM-DD') from dual union all
23                  select 23, 'Prj4', 'issue45', to_date('2007-5-16','YYYY-MM-DD') from dual union all
24                  select 24, 'Prj4', 'issue46', to_date('2008-6-17','YYYY-MM-DD') from dual)
25      ,proj_start as (select slNo, project, issueno, trunc(dt, 'MM') as dt
26                      from (select slNo, project, issueno, dt, min(issueno) over (partition by project) as min_issue
27                            from table1)
28                      where issueno = min_issue)
29      ,mm_dates as (select min(dt) as min_dt, max(dt) as max_dt from proj_start)
30      ,dates    as (select add_months(min_dt,rownum-1) as dt
31                    from mm_dates
32                    connect by rownum <= months_between(max_dt,min_dt)+1)
33  -- END OF TEST DATA
34  select to_char(d.dt, 'YYYY-MM') as dt, count(p.dt) as cnt
35  from dates d LEFT OUTER JOIN proj_start p ON (p.dt = d.dt)
36  group by to_char(d.dt, 'YYYY-MM')
37* order by 1
SQL> /
DT             CNT
2000-01          1
2000-02          0
2000-03          0
2000-04          0
2000-05          0
2000-06          0
2000-07          0
2000-08          0
2000-09          0
2000-10          0
2000-11          0
2000-12          0
2001-01          0
2001-02          0
2001-03          0
2001-04          0
2001-05          0
2001-06          0
2001-07          0
2001-08          0
2001-09          0
2001-10          0
2001-11          0
2001-12          0
2002-01          0
2002-02          1
2002-03          0
2002-04          0
2002-05          0
2002-06          0
2002-07          0
2002-08          0
2002-09          0
2002-10          0
2002-11          0
2002-12          0
2003-01          2
37 rows selected.
SQL>

Similar Messages

  • Query /report asking for input ? in Apex

    Hello all, my name is John and I am asking for help with the following,
    I am new to Oracle, Apex and SQL, PL/SQL (as you can tell from my query below.)
    I have the very basics of Apex (in that of making reports,forms etc).
    I created this query on a view in SQL Developer where it is asking for start and end dates to filter the report. , which is what I want it to do and returns the results I want.
    Now I would like to create a report in Apex where it asks for the between dates as it does in the posted query, When that is done I want to pass it to the bipublisher report for pdf printing.
    I am running this query as a totals report already (without the line with WHERE clause query asking of course.) in an apex application, crude as it may be.
    I have it running as a Interactive reports and can filter the dates that way of couse but I want to learn to create the user input type query/report in Apex.
    I have been reading that I would need to use a "pl/sql anonymous block with a "declare' and a page process?. (gettting confused in the "declare" variables and the execute sections)
    I have looked at numerous samples and still do not quite getting the blocks down.
    If you could point me in the right direction of where to go or better yet if someome could show me coding on how to get this to work in apex report/query (s)?
    Slow learn I guess
    I am using APEX 3.1.2 on 11g database.
    Thanks in advance for help on this.
    ++++++++++++++++++++++++++++++++++++
    ----query for truck totals from view-----------
    ,select
    trucktotals.truck_number as "Truck Number",
    trucktotals. truck_type as "Truck Type",
    sum (trucktotals.end_miles-trucktotals.begin_miles) as "Total Miles",
    sum (trucktotals.reg_hours+trucktotals.ot_hours) as "Total Hours",
    sum (trucktotals.total_net_tons) as "Total Tons",
    avg (trucktotals.equip_rent) as "EQR P_HR"from "trucktotals"
    <strong>where trucktotals.wage_date between to_date(:Start_date) and to_date(:end_date)</strong>
    group by trucktotals.truck_number, trucktotals.truck_type
    order by trucktotals.Truck_Number----end query for truck totals from view------------------+++++++++++++++++++++++++++++++++++++
    Edited by: [email protected] on Oct 31, 2008 12:49 PM
    Edited by: [email protected] on Oct 31, 2008 12:53 PM
    Edited by: [email protected] on Oct 31, 2008 12:54 PM

    Hi Martin,
    Thank you for the information, it is a real help to me and gives me more insight toward my learning .
    It took me little while , the condition had to be modified a little bit
    (had to put parentheses around the :PXXX_START_DATE .... END_DATE, and remove the period to get it to work).
    where (:PXXX_START_DATE) is not null and (:PXXX_END_DATE) is not null
    It does work to the sense it shows the start and end date fields and the button and the report results below that, and you can enter the dates and the results change.
    Looking at my question, I should have been a little more clear in the fact I want query to ask for the dates first in a pop up type window, when you press the "Show Report" button,
    and then branches off to show the report. That is the reason I think, I referred to a block or procedure to acomplish this?
    Thanks and still learning
    John

  • Select query based LOV for tabular form attributes

    Hi HTMLDB Team,
    Congrats u all for the new release of HTMLDB in htmldb.oracle.com.
    I badly need a solution of the below problem.
    Say , i have table called user_col_comments now i want to display the table_name ,column_name and comments in a tabular form.I displayed only one row for the tabular form.Now i create a select query based LOV for attribute table_name where i got all table_name in drop down list.
    Point is that after selecting any data from drop down table list i want to get the corresponding fields to be populated in column_name attributes.How can i wrote the select query based LOV for the attibute column_name.
    I wrote it as 'select column_name d,column_name r from user_col_comments where table_name=:TABLE_NAME Its not working?
    Similarly i want same thing to display for comments after matching both table_name and column_name.
    Any solution to get rid of those problem will be highly appreciable...
    If u need my htmldb.oracle.com userid and password to solve the problem i will sure let u email it.
    Cheers,
    Eman

    hi rchalton,
    can u plz little bit more clearer .I know hopefully u can imagine the problem and may u guide me thru proper way.....One think i understand that there must be multiple process and submit but "only when..." that u have said i cant understand that part........
    U are welcome to give me proper solution.....
    Thanks for the reply ....atleast one can pay hid to me.....
    Cheers,
    Eman

  • How to query opening balance for all customer or Vendor for an speci. date

    Hi,
    How to query opening balance for all customer or Vendor for an specific date?
    Example:
    put any date and query will show all customer/ Vendor  that date opening/current balance.
    Regards,
    Mizan

    Hi mizan700 ,
    Try this
    SELECT T0.[DocNum] As 'Doc No.', T0.[CardCode] As 'Customer Code',
    T0.[CardName] As 'Customer Name',(T0.[DocTotal]-T0.[PaidSys]) As 'O/S Balance'
    FROM OINV T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
    INNER JOIN OCRG T2 on T1.GroupCode = T2.GroupCode
    INNER JOIN INV1 T3 ON T0.DocEntry = T3.DocEntry
    WHERE T0.[DocStatus] ='O'
    AND
    (T0.[DocDate] >='[%0]' AND T0.[DocDate] <='[%1]')
    Regards:
    Balaji.S

  • SSRS Error : Query execution failed for dataset 'dataSet'. (rsErrorExecutingCommand) Semantic query execution failed. Invalid object name 'RPT.*********'. (rsSemanticQueryEngineError)

    I am new to SSRS and I am trying to migrate reports from 2008 to 2012. As I have so many reports to migrate, I simply got the back up of ReportServer,
    ReportServerTempDB, and Encryption Key and restored them to test environment. I made necessary configuration from RS configuration tool. I am able to see the reports now when I browse //hostname/reports. But when I open any particular report I am getting some
    error.
    · An error has occurred during report processing.
    (rsProcessingAborted)
    Query execution       failed for dataset 'dataSet'.
          (rsErrorExecutingCommand
    Semantic query        execution failed. Invalid object name
           'RPT. ******'. (rsSemanticQueryEngineError)
    ****** - I am assuming this is a custom data class.
    Does anyone have insight on this? or any better way that I can migrate the reports to new server with less efforts.
    I don’t have the reports solution file to deploy the reports, so I have followed backup and restore process.

    Hi Kishore237,
    According to your description, you migrated some reports from Reporting Services (SSRS) 2008 to 2012. Now you get error when accessing the reports on SSRS 2012. Right?
    In this scenario, did you modify the report data source in database after migration? You can try to open the report in Report Builder or Report designer and check the report dataset. If you can preview the report in Report builder or Report designer,
    please try to redeploy the report to Report Server. If it is still not working, please try to restore the database from backup. And for migrating reports, please follow the "Content-Only Migration" in the link below:
    http://msdn.microsoft.com/en-us/library/ms143724(v=sql.110).aspx
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • What are the different messages that OCOD may return for a web service requ

    Hi,
    Please give me feedback on the questions below, concerning the limitations of web service, and messages which may return.
    1) What are the different messages that OCOD may return for a web service request? I need all the messages of all the scenarios which OCOD can meet, for example:
    - If the file is rejected (Error message)
    - If the file is accepted (to clarify that the records have been created)
    - if the application is unavailable (maintenance or web service is down)
    2) How many request can we send simultaneously, and how many records we can make per second?
    Best Regard,

    Have a look here Jquery slideshow tutorial for beginners | WEBTUTS

  • An error has occurred during report processing. (rsProcessingAborted). Query execution failed for dataset 'DimUserWorkCentre'. (rsErrorExecutingCommand). The Cube either does not exists or has not been processed

    Hi,
    I'm having issues with the report created using SSAS cube.
    An error has occurred during report processing. (rsProcessingAborted)
    Query execution failed for dataset 'DimUserWorkCentre'. (rsErrorExecutingCommand)
    The Operator_Performance cube either does not exist or has not been processed.
    I have searched through internet and tried all the solutions, but didn't worked for me.
    SSRS services running as NETEWORK SERVICE user.
    SSRS Execution running as a Different user, which is the login is used to logon ot that server. I have also verified this user has access to database. I'm using Shared DataSource(SSAS Source) for this report.
    Can any one please help me.
    Thank You,
    Praveen.
    Praveen

    Hello,
    Have you tried it to execute on report manager , Is your data source properly configured in Report Manager  and your report is mapped with Datset correctly?
    Have you executed the Dataset query MDX editor  now?
    What is the volume of data you are fetching in the report. Try it to execute in other than IE , I don't know the exact reason but some of our report with large volume of data  are failing on IE , on the other hand these reports are running fine Google
    Chrome
    blog:My Blog/
    Hope this will help you !!!
    Sanjeewan

  • Query security settings for users

    Hi again.
    I'm looking for a way of querying security settings for a user.
    ie I understand that company/division etc security is implemented through responsibilities.
    In which case, is there a way to retrieve those exclusions per user?
    (eg User 1 cant see company 50)
    Thanks,
    g.

    Hi again.
    I'm looking for a way of querying security settings for a user.
    ie I understand that company/division etc security is implemented through responsibilities.
    In which case, is there a way to retrieve those exclusions per user?
    (eg User 1 cant see company 50)
    Thanks,
    g.

  • Can we implement the custom sql query in CR for joining the two tables

    Hi All,
    Is there anyway to implement the custom sql query in CR for joining the two tables?
    My requirement here is I need to write sql logics for joining the two tables...
    Thanks,
    Gana

    In the Database Expert, expand the Create New Connection folder and browse the subfolders to locate your data source.
    Log on to your data source if necessary.
    Under your data source, double-click the Add Command node.
    In the Add Command to Report dialog box, enter an appropriate query/command for the data source you have opened.
    For example:
    SELECT
        Customer.`Customer ID`,
        Customer.`Customer Name`,
        Customer.`Last Year's Sales`,
        Customer.`Region`,
        Customer.`Country`,
        Orders.`Order Amount`,
        Orders.`Customer ID`,
        Orders.`Order Date`
    FROM
        Customer Customer INNER JOIN Orders Orders ON
            Customer.`Customer ID` = Orders.`Customer ID`
    WHERE
        (Customer.`Country` = 'USA' OR
        Customer.`Country` = 'Canada') AND
        Customer.`Last Year's Sales` < 10000.
    ORDER BY
        Customer.`Country` ASC,
        Customer.`Region` ASC
    Note: The use of double or single quotes (and other SQL syntax) is determined by the database driver used by your report. You must, however, manually add the quotes and other elements of the syntax as you create the command.
    Optionally, you can create a parameter for your command by clicking Create and entering information in the Command Parameter dialog box.
    For more information about creating parameters, see To create a parameter for a command object.
    Click OK.
    You are returned to the Report Designer. In the Field Explorer, under Database Fields, a Command table appears listing the database fields you specified.
    Note:
    To construct the virtual table from your Command, the command must be executed once. If the command has parameters, you will be prompted to enter values for each one.
    By default, your command is called Command. You can change its alias by selecting it and pressing F2.

  • App-V PowerShell: Script to Query XenApp Servers for App-V Publishing Errors and Output an Excel Document with the Results

    Please Vote if you find this to be helpful!
    App-V PowerShell:  Script to Query XenApp Servers for App-V Publishing Errors and Output an Excel Document with the Results
    Just posted this to the wiki:
    http://social.technet.microsoft.com/wiki/contents/articles/25323.app-v-powershell-script-to-query-xenapp-servers-for-app-v-publishing-errors-and-output-an-excel-document-with-the-results.aspx

    Hi petro_jemes,
    Just a little claritification, you need to add the value to the variable "[string]$ou", and also change the language in the variable "$emailbody" in the function "Get-ADUserPasswordExpirationDate".
    I hope this helps.

  • An error has occurred during report processing. (rsProcessingAborted).. Query execution failed for data set

    Hi All,
    I'm facing a strange problem..
    I've developed few reports. they are working fine in develop environment. after successfull testing they were published on web.
    in web version, all reports are executing for first time.. if I change any of parameters values or without chaning also..
    if I press "View Report"  following error occurs..
    An error has occurred during report processing. (rsProcessingAborted)
    Query execution failed for data set 'dsMLGDB2Odbc'. (rsErrorExecutingCommand)
    For more information about this error navigate to the report server on the local server machine, or enable remote errors
    please suggest any alternative ways to overcome this issue
    thanks in adv.

    in my case the problem is
    one virtual machine is for developers
    other for testers
    in developers i created a report, then save like *.rdl and copy to testers machine, does not work there
    the error what testers get is
    Error during the local report processing.
    Could not find a web-based application at http://developersMachine/AnalyticsReports/DataBaseConnector.rsds
    and the solution is to use alternative url or in some cases http://localhost/

  • An error has occurred during report processing. (rsProcessingAborted) Query execution failed for dataset 'dsPriority'. (rsErrorExecutingCommand)

    click report error:
    log file:
    processing!ReportServer_0-2!104c!04/27/2015-19:15:21:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing., ;
     Info: Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing.
     ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for dataset 'dsPriority'.
     ---> Microsoft.AnalysisServices.AdomdClient.AdomdErrorResponseException: Query (26, 25) The ALLMEMBERS function expects a hierarchy expression for the  argument. A member expression was used.
       at Microsoft.AnalysisServices.AdomdClient.AdomdDataReader..ctor(XmlReader xmlReader, CommandBehavior commandBehavior, AdomdConnection connection)
       at Microsoft.AnalysisServices.AdomdClient.AdomdCommand.ExecuteReader(CommandBehavior behavior)
       at Microsoft.AnalysisServices.AdomdClient.AdomdCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
       at Microsoft.ReportingServices.DataExtensions.AdoMdCommand.ExecuteReader(CommandBehavior behavior)
       at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.RunDataSetQuery()
       --- End of inner exception stack trace ---
       at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.RunDataSetQuery()
       at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.Process()
       at Microsoft.ReportingServices.OnDemandProcessing.RuntimeParameterDataSet.Process()
       at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.ProcessConcurrent(Object threadSet)
       --- End of inner exception stack trace ---
    open http://localhost:8080/tfs/TeamFoundation/Administration/v3.0/WarehouseControlService.asmx?op=ProcessWarehouse click Invoke:
    System.Web.Services.Protocols.SoapException: TF221029: Reporting for Team Foundation Server does not have any warehouse jobs defined. Use the Team Foundation Administration Console to rebuild the reporting. : 2015-04-27T19:30:29:782 ---> System.InvalidOperationException:
    TF221029: Reporting for Team Foundation Server does not have any warehouse jobs defined. Use the Team Foundation Administration Console to rebuild the reporting. at Microsoft.TeamFoundation.Warehouse.WarehouseAdmin.QueueJobs(String collectionName, String jobName)
    at Microsoft.TeamFoundation.Warehouse.WarehouseControlWebService.ProcessWarehouse(String collectionName, String jobName) --- End of inner exception stack trace --- at Microsoft.TeamFoundation.Warehouse.WarehouseControlWebService.ProcessWarehouse(String collectionName,
    String jobName)

    Hi shelman,
    I'd like to know whether you configured TFS reporting service properly, and if you can get the report normally before. From the error message, you might has wrong data source or the parameters of the dataset 'dsPriority'. You can check whether the data source
    for your report is available, try to use windows authentication. Or check the parameters of dataset 'dsPriority' make sure the query works when you execute it manually.
    To process the TFS data warehouse and analysis services cube, I'd like to know which operation you selected before clicking Invoke button. Please follow the instructions on this
    page to process TFS data warehouse and analysis service cube manually. You can also refer the James's last reply in this
    thread or this
    blog to check if the solutions work for you.
    Another option is run TFS best practice analyzer to check if there any configure issues on your TFS server machine. And check event logs to see if there any useful information, elaborate more details about your scenario including reproduce steps if the problem
    persists.
    Best regards,

  • Query execution failed for data set

    Hi,
    We are using SQL 2005 server for generating reports.When we ran the reports it taking so much time after some time it shows this error:---
     ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for data set  ---> System.Data.SqlClient.SqlException: A severe error occurred on the current command.  The results, if any, should be discarded.
    Can you help me out.
    Thanks,
       --Amit

    My team is also facing similar problem. The RS trace logs report:
    w3wp!processing!13!9/26/2007-15:31:23:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for data set 'msdb'., ;
     Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for data set 'msdb'. ---> System.Data.SqlClient.SqlException: A severe error occurred on the current command.  The results, if any, should be discarded.
    Operation cancelled by user.
    In our system, Report Server and Database are on different machines. Report Server access database using a service account who has stored proc execute permissions on database.
    Problem comes only if the query execution time exceeds 5 mins. Otherwise the report gets generated successfully.
    I suspected this to be some timeout issue. But I have checked that all timeout settings in rs config files are as default.
    Any pointers?
    Thanks
    puns
    [email protected]

  • Query picking data for the running request

    Hi Guyz,
    Am working on BW 3.5,
    We run a query on a Multicube on daily basis, the scenario here is when we ran a query during one of the infocube load which was not activated and not ready for reporting (Request for reporting available symbol is missing), even then the query picked data for the request which was still running.
    Cheers!
    Ravi
    Edited by: Ravi Srinivas on Aug 18, 2009 1:20 PM

    Good to know that your doubts are cleared...
    For more information browse through SDN and have a look at these notes:
    Note 411725 - Questions regarding transactional InfoCubes
    Note 1063466 - Transactional request is not set to qualok
    Hope it helps...
    Regards,
    Ashish

  • Query execution failed for dataset

    I have a problem in SSRS with MDX.
    Problem Statement: Query execution failed for dataset 'ds_ex' on Production server.
    Not able to reproduce this error in Dev machine.
    Problem
    Desc:
    When I select few values from drop down list it is throwing this error. and for combinations it is working.
    Thought of data issue, checked in cube, local RDL everything is fine.

    Hi Vamshi,
    According to the information, it's hard to determine the root case for this issue. So, please help to collect more log information while the issue happened. Please refer to the article below:
    Reporting Services Execution and Trace Logging:
    http://technet.microsoft.com/en-us/library/ms157403.aspx
    In additon, I would suggest you to check the "Report Execution Timeout" in the article below:
    Processing Options Properties Page (Report Manager):
    http://technet.microsoft.com/en-us/library/ms178821.aspx
    Troubleshooting Timeout errors in Reporting Services:
    http://blogs.msdn.com/b/mariae/archive/2009/09/24/troubleshooting-timeout-errors-in-reporting-services.aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • Can execute query be controlled for blocks

    Hi,
    I've 3 blocks in my form. The first and the second block are in query mode, therefore I cannot update, insert, delete values here.
    The third block, I have put on another canvas. So the moment there's data in the second block the third block gets displayed. The user is allowed to enter values only in the third block.
    Since the first and second block are in query mode I've put the execute_query in the W-N-F-I.
    Due to the execute_query in W-N-F-I the 3rd block also starts showing me values, which it shouldn't. It should be a clear block with no values displayed.
    Mainly I want the execute_query to work only for first and second block and not for the third block.
    I tried putting the execute query in pre-block trigger. But it showing me error as Illegal operation for join condition and the forms gets hanged.
    Kindly if you could help on the same
    Thanks for your help in adv.

    I'm not sure I completely understand what you are attempting.
    I've 3 blocks in my form. The first and the second block are in query mode, therefore I cannot up date, in sert, de lete values here.So, for BLOCK1 and 2 you have set the "Query Only" property for each block item to "yes". BLOCK3 allows all DML operations.
    Since the first and second block are in query mode I've put the execute_query in the W-N-F-I.Since, these blocks are Query Only, you automatically query them in the WNFI trigger.
    Due to the execute_query in W-N-F-I the 3rd block also starts showing me values, which it shouldn't. It should be a clear block with no values displayed.Here is where I'm a little confused. Do you have a block Relationship created with BLOCK3 or do you call Execute_Query on BLOCK3 in your WNFI trigger?
    I tried putting the execute query in pre-block trigger. But it showing me error as Illegal operation for join condition and the forms gets hanged.Which data block did you try the Pre-Block trigger? By definition, the Pre-Block trigger does not allow the execution of Restricted built-ins. The Execute_Query built-in is Restricted.
    So the moment there's data in the second block the third block gets displayed. The user is allowed to enter values only in the third block.How did you implement this? What is the code you use to display BLOCK3's canvas?
    So, what happens if you have records in BLOCK3 that relate to a record in BLOCK2? How will your user know this if you start with an empty block? I've confused by the description of your requirement...
    Craig...

Maybe you are looking for

  • Unable to launch application error

    Everytime I try to open a jnlp file i get the Unable to launch application error. I have no clue how to fix this and would like to know a solution. I currently have JRE 6 Update 6. Here is the error info. java.lang.Exception: cache failed forhttp://p

  • Custom Change Request Selection for Customer/Supplier Update

    Hi experts, Anyone knows how is possible to display the change request selector popup when starting a Customer/Supplier/BP update? For MDG-C and S I only have this popup when is related to creation process. When is a update the standard change reques

  • Home sharing always fails

    home sharing always fails

  • Question for all you vets of iweb

    i am wondering- with all the probs with iweb which yes, most are fixable, albeit with a lot of hassle and/or html knowledge, why would you not use one of the other programs listed elsewhere on the forums--like rapidweaver, softpress, etc? it seems th

  • Built my first PC, won't get past the first screen :(

    Took me 12 hours to do my first build (I know, took too long) and I was so happy at first once everything was done but that didn't last long unfortunately. :( I'm stuck at the first screen where it lists my PC components and it tells me to either pre