Sub query filter may not reference current Report
Hi,
I've 2 reports, i'm calling one from the another report by navigate methode(Column Propertives--> Value-->Navigate). 2nd report is having narrative veiw in title of the report .
Getting Error:
Sub query filter may not reference current Report
hi,
have u seen this ?
http://siebel.ittoolbox.com/groups/technical-functional/siebel-analytics-l/issue-with-drill-down-1710714
thanks,
Saichand.v
Similar Messages
-
Report Issue - A subquery filter may not reference the current report
Hi,
I a, trying to create a drill down report - I am getting below error when I drill down from summary report to detail -
A subquery filter may not reference the current report (or contain a circular reference to any report).
Error Details
Error Codes: S6C66RYK:WIF3IYGO
Recursion limit exceeded in Xml Expression Visitor
The issue is I have a budget report which will drill down to display amount by each period -
Jan-10 Feb-10 Mar-10
1223 123 10
Now I am trying to display detail GL transactions by clicking the amount field.
This means summary report should pass period along with amount to display detail GL transactions.
Please help me to resolve this issue.
Thanks,
PoojakExplain exactly how you create your 2 reports.
The second one must have "is prompted" filters if you want it to use the values of the first one. -
BEX query: filter is not displayed in one of the users
Hi,
We created a BEX Query with a Month/Year filter.
When I run the query with my user, it's working ok (photo 2).
When I run it with another user, the filter is not dislayed (photo 1).
I've checked the role with PFCG, bit i don't know what it's misssing. The infoarea, infocube and name of the query are included in the PFCG, as well as the activities: execute, visualize, etc. (Photo 3).
Any ideas?
Thanks in advanced!!
FlorenciaHi,
Just compare assigned roles for My user and other user.
Then you may know the missed authorizations.
As my guess your issue will authorization related one.
Thanks -
Passing Mutivalue Constant Query Filter is not working
Hi All,
I am using Webi4.0.On the Query panel when I try to pass multiple values to a constant filter it does not work.For example if I try to apply State filter in my Query and if I select Constant as its type and type A,B then Webi takes only A in the query and not B.
I know it a simple task but however it is not working.
Any help on this will be appreciated.
Thanks in advance.Hi Riddhi,
Can you pls put scrrenshot how you are passing multiple value to filter.
~Anuj -
Retrieving Query Filter conditions for a WebI Report
I'm developing a Java program using the Business Objects SDK to gather all relevent data from a WebI report and export it to a XML document. I'm having an issue retrieving the Filters correctly.
Right now I have a method that retrieves a query from a query container. Then I retrieve a condition container from the query. After that I use a loop to get the filtercondition nodes in the conditioncontainer and I get their name and ID's. My goal is to get all the information the object, the dimension, condition, and values seperatly instead of it all printing out together. For example my code prints out this as the filter name : "Period Of Time_Air Date Greater Enter Start Date:" . The name contains all the information from the filter but is there a way to get each peice of information for the filter seperately.
I'd appreciate any help.
Edited by: ccmagrane on Feb 28, 2011 8:55 PM
Edited by: ccmagrane on Mar 3, 2011 2:42 PMPlease find below a snippet code that shows how to access those objects:
Query q=oDataProvider.getQuery();
ConditionContainer condCont=q.getCondition();
ConditionObject condObj=null;
FilterConditionNode fcn = null;
FilterCondition fc = null;
FilterConditionValue fcv = null;
FilterConditionContainer fcc=q.getCondition();
if(fcc==null)
continue;
int conditionCount=q.getCondition().getChildCount();
for(int jj=0;jj<conditionCount;jj++)
fcn=fcc.getFilterConditionNode(jj);
System.out.println(getConditionLabel(fcn));
if(fcn==null)
continue;
if(fcn instanceof AdvancedCondition)
AdvancedCondition ac=(AdvancedCondition)fcn ;
int nDim= ac.getResultObjectCount();
else if(fcn instanceof ConditionObject)
condObj = (ConditionObject) fcn;
fc=(FilterCondition)(condObj).getOperand();
if(fc!=null)
System.out.println("==================================================");
System.out.println("Operand Count - " + fc.getOperandCount());
for (int k =0; k < fc.getOperandCount(); k ++)
fcv=fc.getOperand(k);
System.out.println("Operand Value - " + fcv);
System.out.println("==================================================");
System.out.println("==================================================");
System.out.println("Condition Name - " + fcn.getName());
System.out.println("Condition Data Source Object - " + condObj.getDataSourceObject().getName());
System.out.println("Condition Operand - " + condObj.getOperand().toString());
System.out.println("Condition Operator - " + fc.getOperator());
System.out.println("Condition Operand Count - " + fc.getOperandCount());
System.out.println("=================================================="); -
InfoView - Query Filter for date variable of previous week
I am trying to automate the process to generate a report for the previous week's data. Right now I just prompt the user to enter in the start & end date/times, but I would like to somehow automate the date filtering using a Query Filter.
In particular, the report will be generated every Thursday at 12:35 PM, and it needs to filter only the date field between the date's of the previous Thursday @ 1:31 PM, and the current Thursday @ 12:30 PM.
I know there is a way to do this using an offset or something like that, but I'm a bit of a newbie to InfoView....so any help is greatly appreciated. Sorry if the explanation is confusing.
Thanks so much,
NickHi,
You can create two objects on universe level or first database level then add in the universe based the sysdate.
Then go to webi query and replace the prompt value by these objects and from next time when ever user refresh this report will run without any prompt.Same thing in the scheduled report.
Thanks,
Amit -
Hi ,
I have created a sub query with order by on a column.( i have cutomized the IKM control append to put order by).I can see the order by condition.If i use this subquery(yellow interface) in main query(is also yellow interface) i can't see the order by condition
Subquery(Q-yellow interface):
select
PID,
START_TIME,
ACTION_TYPE_CODE
FROM
select DISTINCT
SERVICE_TRACKING_S.PID PID,
TO_TIMESTAMP(TO_CHAR(SERVICE_TRACKING_S.ACTION_TIME,'DD-MON-YY HH24:MI:SS'),'DD-MON-YY HH24:MI:SS') START_TIME,
SERVICE_TRACKING_S.ACTION_TYPE_CODE ACTION_TYPE_CODE
from KSTGDB.SERVICE_TRACKING_S SERVICE_TRACKING_S
where (1=1)
ORDER BY-----------------------------------------------
PID
,START_TIME ASC
ODI_GET_FROM
Main query(Q1--yellow interface):
select
PID,
START_TIME,
ACTION_TYPE_CODE,
RN,
RN_MAX
FROM (
select
Q.PID PID,
Q.START_TIME START_TIME,
CASE WHEN Q.START_TIME-LAG(Q.START_TIME,1,Q.START_TIME) OVER (PARTITION BY Q. PID ORDER BY Q.START_TIME)> numtodsinterval(75,'minute')
or Q.PID!=LAG(Q.PID,1,0) OVER (PARTITION BY Q.PID ORDER BY Q.START_TIME) THEN 1 ELSE Q.ACTION_TYPE_CODE END ACTION_TYPE_CODE,
ROW_NUMBER() OVER(PARTITION BY Q.PID ORDER BY Q.START_TIME) RN,
count(*) over (PARTITION BY Q.PID ORDER BY Q.START_TIME ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING )
RN_MAX
from (
select DISTINCT
SERVICE_TRACKING_S.PID PID, TO_TIMESTAMP(TO_CHAR(SERVICE_TRACKING_S.ACTION_TIME,'DD-MON-YY HH24:MI:SS'),'DD-MON-YY HH24:MI:SS') START_TIME, SERVICE_TRACKING_S.ACTION_TYPE_CODE ACTION_TYPE_CODE
from KSTGDB.SERVICE_TRACKING_S SERVICE_TRACKING_S
where (1=1)
----------------- i don't see order by here--------------------------------
) Q
where (1=1)
) ODI_GET_FROM
thanks in advance
KHi,
Add a new KM step with the SQL you want to use for the sub query and select the +"Use Current Command for Derived-Table sub-select statement"+ checkbox. This new step can be the last one of your IKM.
Basically, you can copy the select statement of the "Insert new rows" step.
Regards,
JeromeFr -
How can i query the current report only?
Note: The ScheduleToken is set to “Since Advertised”.
SQL Query:
Select
OfferName Name,
Recieved,
Failures,
ProgramsStarted 'Programs Started',
ProgramsFailure 'Program Errors',
ProgramsSuccess 'Program Success',
ProgramsFailureMIF 'Program Errors',
ProgramsSuccessMIF 'Program Success (MIF)',
PkgName Package,
PkgProgram Program,
CollectionName 'Target Collection',
PresentTime 'Available After',
ExpirationTime 'Expires After',
OfferID 'Advertisement ID'
From vOfferStatusSummarizerRoot
Where ScheduleToken = '0001128000080008'
Order by OfferNameCurrent report as in the latest advert?
if yes, this should work
Select top 1
OfferID 'Advertisement ID',
OfferName Name,
Recieved,
Failures,
ProgramsStarted 'Programs Started',
ProgramsFailure 'Program Errors',
ProgramsSuccess 'Program Success',
ProgramsFailureMIF 'Program Errors',
ProgramsSuccessMIF 'Program Success (MIF)',
PkgName Package,
PkgProgram Program,
CollectionName 'Target Collection',
PresentTime 'Available After',
ExpirationTime 'Expires After'
From vOfferStatusSummarizerRoot
Where ScheduleToken = '0001128000080008'
Order by Offerid
Blog: http://theinfraguys.com
Follow me at Facebook
The Infra Guys Facebook Page
Please remember to click Mark as Answer on the answer if it helps you in anyway -
Query not running in report builder 3.0
hi, i can run my query in mgmt studio (version 2008R2) and within the query designer of report builder 3.0 but it will not run from report builder. i get a generic error message of "an error has occurred during report processing. (rsProcessingAborted)".
the query uses report parameters and is written with dynamic sql (using a pass-through to oracle). any ideas why the query doesn't execute in report builder ? thanks a bunch,Hi KanataPablo,
According to your description, it seems that you are using linked server to pass value to oracle. Seeing that the query is worked well in Management Studio, you may have the permission to connect to oracle (In this scenario, make sure the users to run the
query in SSMS and Report Builder are the same user). So this issue can be caused by the user’s permission to connect to report server, the credential of data source and the dynamic query.
We can add the current user as a Login, then click Properties and navigate to User Mappings page, enable ReportServer and ReportServerTempDB options.
We can try to type user name and password, and enable “Use as Windows credentials” as the credential used to connect to data source.
Try with dynamic query:
="Select column1, column2 From tableName where ID IN (" + JOIN(Parameters!param1.value, ",") + ")"
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Desktop apps: Report Builder 3.0 (x86) that does not let me allow query result which I created Customers Report. Here is the error message returns as following.
Database query from: AdventureWorks2014
System.Web.Services.Protocols.SoapException: The permissions granted to user 'SQLServer2014\Mubs' are insufficient for performing this operation. ---> Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The permissions granted to
user 'mujb-HP\mujb' are insufficient for performing this operation.
at Microsoft.ReportingServices.Library.ReportingService2010Impl.CreateReportEditSession(String Report, String Parent, Byte[] Definition, String& EditSessionID, Warning[]& Warnings)
at Microsoft.ReportingServices.WebServer.ReportingService2010.CreateReportEditSession(String Report, String Parent, Byte[] Definition, String& EditSessionID, Warning[]& Warnings)
The permissions granted to user 'mujb-HP\mujb' are insufficient for performing this operation.
Is there anybody help me out, pl
My MSSQL Server express 2014 edition x64 and My desktop "Report Builder (RB) 3.0' is 32bit (x86).
Does Report Builder x64 exist? I didn't see anywhere so I downloaded x86 RBHi mujb,
Per my understanding you are using the report builder 3.0 to design the report and when you click the query designer button to execute the query you got the error message above, right?
I have tested on my local envornment and your issue can be caused by the user "SQLServer2014\Mubs" and "mujb-HP\mujb" haven't grant permission to the report server or the shared dataeource/dataset if you have used this.
I would like to confirm if you have assigned both the Item-Level and System-Level role of the user above to sucessfully access the report server, If you haven't grant any access to the above user and when you connect to the report server in the report builder,
you may got the error message:
More details information below for your reference:
Please execute the query in the microsoft SQL Server Management Studio to see if you have permission to execute the query.
If the query works fine in step1, please run the report builder as Administrator and if you are using the shared datasource/dataset the issue can be cause by the you haven't grant access the share datasource, Double click to open the Datasource
and click the "Test Connection" as below to test if it can connect successfully:
If the "Test Connection" failed, please click the shared datasource/dataset on Report Server to check if you have grant correct permission.
Related information about the grant permission to report server for your reference:
https://msdn.microsoft.com/en-us/library/ms156034.aspx
http://www.allenkinsel.com/archive/2013/01/adventures-in-ssrs/
If your issue still exists, please try to provide more details information.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
Issue : In sharepoint 2013, I am experiening below error while using filter in the list view due to the number of items in this list exceeds the list view threshold, which is 10000 items. Tasks that cause excessive server load (such as those
involving all list items) are currently prohibited.
Error :cannot show the value of the filter.The Field may not be filterable or the number of items returned exceeds the list view threshold enforced by administrator
Could you please suggest a way to avoid this issue apart from incrementing the list view threshold limit .
PrashanthReorganizing content, or creating more specific views. sharepoint is warning you that the content is structured in such a way that it can cause performance issues, which should be addressed in some way.
Kind regards,
Margriet Bruggeman
Lois & Clark IT Services
web site: http://www.loisandclark.eu
blog: http://www.sharepointdragons.com -
Oracle 8i - PL/SQL sub query not working in PROC, but works ins SQL
I have read about certain things not working in 8i and I think this is one of them, but I was wondering if anyone had a work around. In the place of the SELECT SYSDATE FROM DUAL, I have a table look up, where I am going to look up the OCN of the corresponding VENDOR_ID ( a column in the original query ). I am doing it in a decode statement because if the first condition in the decode statement is met, that's it. But if not, it needs to look up the OCN number in this other table. Simple enough, conceptually. I thought of a view but that necessitates a SELECT statement, too. Anyway, here is the code with the appropriate text bolded:
CREATE OR REPLACE PROCEDURE tstINS_RATE_ROUTE_RECORDS_PROC (GET_CUR_PERIOD IN DATE) IS
CUR_PERIOD DATE;
BEGIN
CUR_PERIOD := GET_CUR_PERIOD;
Insert into RATE_ROUTE (
CVBI_KEY
, VENDOR_ID
, OCN
, ST_CD
, PERIOD
, MDFY_DT )
Select
C.CVBI_KEY
, C.VENDOR_ID
<b>, decode( c.send_lca, 'YES', 'XXX', (SELECT SYSDATE FROM DUAL) )</b>
, decode( c.send_lca, 'YES', 'XX', SUBSTR(C.ZLOC,5,2) )
, CUR_PERIOD
, TO_CHAR(SYSDATE)
FROM
rpt_ds1_cnt_cat c
, cogs_resource cr
, cogs_t1activity ct1
, rpt_ds1_aloc_zloc_reverse_vw az
where (C.CVBI_KEY = CR.CVBI_KEY (+)
and CR.PERIOD = CUR_PERIOD)
AND (C.CVBI_KEY = CT1.CVBI_KEY (+)
and CT1.PERIOD = CUR_PERIOD)
and (az.master_route_name=c.aloc||'-'||c.zloc OR az.reversed=c.aloc||'-'||c.zloc)
END; -- INS_RATE_ROUTE_RECORDS_PROChave read about certain things not working in 8i and I think this is one of them,Yes as I said scalar sub-queries were also not recognized within PL/SQL in 8i.
Re: PLS-00103: Encountered the symbol "SELECT" when expecting one of the fo
I was wondering if anyone had a work around.Write a function that returns the value. You may incur a performance penalty from a context switch to PL/SQL, but it may be balanced by the decode optimization you are attempting. -
Date query filter not working in job schedule
'm trying to add a schedule to an existing BQY job. Here's the process that i follow
1. Right click the Interactive Reporting Job > Add Schedule
2. Assign name to schedule
3. Define job parameters starting with - 'New Values' selected
4. Default cycle - Modify
5. In the 'Set Values', there are no values by default.
6. Below that, in the 'Modify Filter' section, I selected 'Custom Values' from the drop down
7. A list of custom values are displayed in the segment to the right
8. I selected two of those values, and clicked ' Update Filter'
The two values must now appear in the 'Set values' section, however they don't. That is the main issue here.
How then, do i add these custom values to the cycle of a scheduled job?
I'm using:
Internet Explorer 9 32-bit on Windows 7 32-bit
Any help would be much appreciated.Hi,
Prompts are interactive, and come from the query panel. Filters are not interactive, and are set on the report or block. There are also input controls, which are interactive filters
1. Select the universe in the list of universes to open the Query Panel.
2. Drag the Year object to the Result Objects pane.
3. Drag the Number of Guests object to the Query Filters pane and create a report filter that restricts Number of Guests to greater than n.
4. Click Combined Query.
The Combined Query pane appears in the bottom left of the Query panel with the two queries joined by UNION.
5. Click on the second query and remove the Year and Number of Guests objects.
6. Drag the Reservation Year object to the Result Objects pane.
7. Drag the Future Guests object to the Query Filters pane and create a report filter that restricts the future guests to greater than n.
8. Click Run Query.
Best Regards
Naveen -
Is it ok to query tables/views that are not in the reporting database?
I have a requirement to show when a resource submitted/modified each of the items in their time sheet I found that we can get in this information by going directly to the publishing table MSP_Assignment_Transactions but it is well documented that accessing
the publishing tables directly is not supported by Microsoft.
What other options are there to get the data from this table or for that matter any table other than the reporting tables that Microsoft would support?
Just as an FYI we do not want to write to them we just want to select the data we need.Even though accessing published DB is not supported for several reason, depending upon query you may start experiencing performance problems, if a later CU/SP alters the DB schema your reports may fail, but personally haven't experienced it in long
time,
Also in my personal experience if you are not acquiring lock on the table while querying, it doesn't harms but then there are downside of it
However as an alternate as Rod suggested use PSI to get the data and stage it in staging table or something and then use it for reporting or you can replicate the publish DB and use that for reporting purpose
Thanks | Sunil Kr Singh | http://epmxperts.wordpress.com -
Hi,
when running queries in webi, on a universe that is based on a BW BEx query, we often see a problem when trying to at dimensions in to the query filter pane. This often lead to columns switching place and/or report just showing the technical ID, not text. If we do the same filtering in the report filter pane after the query has run, there is no issue.
When running a query on a universe based on a BEx query, my understanding is that a filter on a dimension (blue object), will be applied after the BEx query has delivered it's result to BO, and then BO/Webi should only keep the records fitting the filter. Why would this obscure the report result? Anybody else had issues with this?
The users are used to adding filters to the query, and not adding filters in the report afterwards, and they are expecting this to work...
Regards,
ØysteinHi,
To apply filters at two levels:
The query definition u2013 this is the data defined on the Query tab, retrieved from the data source, and returned to the report.
The data displayed in the report u2013 this is a subset of the query definition data that you want to display in a specific version of the report
Filters you apply to the query definition are called query filters. You use query filters to reduce the amount of data retrieved from the data source. Query filters decrease the time it takes to run the report and ensure that only the data relevant to the report users is saved.
Filters you apply to the data displayed in the report are called report filters. Once the report is generated, you or other users can apply report filters to restrict the values displayed in the report table or chart. The values hidden by the report filters are still saved with in the microcube. You can modify the report filters to display different values in the report or remove the report filters to display all the values retrieved from the data source.
Tip
Filtering the query minimizes the size of reports, reduces the time it takes to refresh report data, and ensures that the data the documents contain is relevant to users consulting the reports. Individual users can then filter the displayed report values by applying the report filters relevant to their specific business focus.
All the Best,
Madhu...
Maybe you are looking for
-
Error while registering the schema
SQL> DECLARE 2 bibtex VARCHAR2(5000) := 3 '<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 4 xmlns:xdb="http://xmlns.oracle.com/xdb"> 5 <xs:annotation> 6 <xs:documentation> 7 This is a VERY simple XML Schema that will be used to validate th bt
-
Hey fellow Apple people, I'm looking to interview people who have the iPad 2 about the things they like and dislike about it for a Yahoo! news article. If you're interested please let me know! Thanks!
-
Hi i am trying to parse a xml file and my getting the following error please can anyone help me Can't make «class xmld» {"<?xml version=\"1.0\"?><xml_api_reply version=\"1\"><weather module_id=\"0\" tab_id=\"0\" mobile_row=\"0\" mobile_zipped=\"1\" r
-
How to go back in Finder with touch gesture?
In Snow Leopard, I could to go back in Finder with two finger swipe. (equal with Safari's backword gesture) Now, Safari support go back by one finger swipe, but Finder does not. How can enable this?
-
Hi All, After the migration from 10.1.3.2.1 to 10.1.3.4., we are not able to view the shared folders after clicking on the answers link. Can you please let me know how can i resolve the same. Thanks in Advance Siva.