Filter with similar request
Hi Gurus,
What is the use of filter with similar request option in which scenarios we will use these option.
Thanks,
Hi, David
Yes, this same one is the problem. But as indicates Obiee 1 Kenobi is a problem recognized by Oracle (Based on further research, it is not possible to use a union table to pass the filter to a target table.Bug 6067587 has been raised as a fix for this, and the "fixby" version is 11.1.1.2)
At the moment solve the problem using filters with AND-OR.
Thank you for your help.
Nora
Similar Messages
-
Combine with similar request dived values
Dear All,
I have one report with using Combine with similar request.(Union)
TableA
Name Amount SAR
TableB
Name Amt SAR
Result Column:
Name Salary
My requirment in salary result column i shoul use divided by 100.
When i clicl fn button i am not able to see in result column.
How will divide /100 then Multipla with another result column SAR
Thanks
Govind RHi ,
When you are using the combine with similar request..
under the results columns we wil not have the fx there will be only formarting options avilable.
If you want to perform any calculation you have to do on the each criteria ..then it will work
Thanks,
Ananth -
Sum lost after combine with similar request
Hi experts
I've used the 'combine with similar request' option to combine 2 reports that have exactly the same columns.
The only difference between them is that they're using different filters.
The combine action is done correctly but the The sum over the years is missing
When I run the 2 reports separatly for both of them the sum is shown in the report but when I combine them It's missing.
Any one can explain why??
Edited by: aharrab_be on Apr 30, 2009 10:32 AMhi..
even in table view, go to fx of particular measure.. and
below you find option Aggregation Rule, set it to sum and try...
And it would be nice if you assigned points for correct answer.. ;) -
I need to filter a column in a combined query results, and managed to add a filter but I get the following error "Element doesn't contain required attribute ."
please helpmeOk, I have been following that path.
I have 1 report with a specified criteria, which is linked a second one.
The issue is that if I have e.g.
Report 1*
Number| Weight| Height
1| 100| 6
3| 200| 10
4| 400| 20
Now based on based on the records found on report 1...Want to find in Report 2 those records where the attributes have a specified range (+/- 10%) Any records that fall within that range
Ranges_
Number| Weight| Height
1| 90-100| 5.4-6.6
3| 180-220| 9-11
4| 260-440| 18-22
End result
Report 2*
Number| Weight| Height
7| 110| 6.6
9| 180| 9
5| 260| 21 -
Hi,
My requirement is like this i want Current year in 1st criteria and previous year data in other criteria with labels(distinguishing current year and previous year). To do the needful for the requirement I got, I am using union of two different criteria's from the same subject area. The Issue which I am facing is like this. If one my criteria has no results then that row is disappearing but I want that row to exist though there is no results so that the layout will not change.
Thanks,
Phani.Hi,
Try using conditional formating on columns.If null display somthing like strike through etc.
Regards,
Srikanth -
Set filter (with presentation variables) for requests using "SQL Issued"
if I have a "SQL issued":
SELECT saw_0 saw_0, saw_1 saw_1, saw_2 saw_2, saw_3 saw_3, saw_4 saw_4 FROM (
SELECT saw_0 saw_0, saw_1 saw_1, SUM(saw_2) saw_2, SUM(saw_3) saw_3, SUM(saw_4) saw_4
FROM
SELECT "Period"."YearMonth" saw_0, "Customer"."CustomerName" saw_1, COUNT("Sales"."SalesDate") saw_2, "Sales"."No.OfConsumer" saw_3, 0 saw_4
FROM CRM
WHERE ("Period"."YearMonth" >= 200904) AND ("Period"."YearMonth" <= 200910)
UNION ALL
SELECT "Period"."YearMonth" saw_0, "Customer"."CustomerName" saw_1, 0 saw_2, 0 saw_3, Count("SuperSales"."SuperSalesDate") saw_4
FROM CRM
WHERE ("Period"."YearMonth" >= 200904) AND ("Period"."YearMonth" <= 200910)
) t1
GROUP BY saw_0, saw_1
ORDER BY saw_0, saw_1
) t2 ORDER BY saw_0
actually, in this request, I would like to set a filter for "Period"."YearMonth" using presentation variable.
is it possible to do this ?
Thanks !!Hi Forreging,
You can use presentation variables, but not if you are directly setting the SQL via the Advanced tab.
Instead, build up the first report just like the first part of the UNION statement. Then use the "Combine with Similar request" to build up the logic for the second part of the query.
When you approach it this way, you have the ability to set filters on each "Sub-Request" via the Criteria tab. Otherwise, OBIEE only lets you add a filter at the outer level of the query when you go the route of setting the SQL in the Advanced tab.
Good luck and if you find this post useful, please award points!
Best regards,
-Joe -
Answers, Aggregation with the combine with a similar request utilities
I use Answers (OBIEE)
I would like to know the way to do an aggregation (Sum) with the utility “combine with a similar request”.
Example with a little demonstration:
I combine the same query, but I get the repeat record for the same record value (PER MONTH).
2011 01 || 35 000
2011 01 || 35 000
2011 02 || 50 000
2011 02 || 50 000
2011 03 || 75 000
2011 03 || 75 000
I wish to obtain the sum of PER MONTH like
2011 01 || 70 000
2011 02 || 100 000
2011 03 || 150 000
Does somebody has a solution, thanks
Edited by: user8898885 on Feb 15, 2010 6:15 AMOk it's correct. But i added a result column to affect % variation of the result. And i got a problem.
Example: (Column 4 = Column 2 / Column 3)
2011 01 || 20 000 || 40 000 || 50 %
2011 01 || 20 000 || 20 000 || 100%
The result is 150%, it's wrong... 40 000/60 000 -
Conditional formating in pivot view using combine similar request
Hello,
I have a report using combine similar request. It's a union report with around 6 reports.
Now for first 2 report results the user wants red and 2 report results green and last two yellow.
Is there a way we can do this?
also the report is in pivot view.
thanks,
deepInstead of combining those 4 different criteria I would suggest to go by metric level filters or and then do the final calculation or else 'Filter based on results of another request'.
Pls mark if helps -
Union Of reports using Combine Similar Request
Hi,
I have a requirements to perform a calculation that involves results from 4 different reports.
I am using the Union Operation in Combine Similar request for analysis option and I built the table that pulls out values from 4 different reports. Now the business requirement requires that I sum the results of 3 of these reports and subtract the result of the 4th report from the sum. Is there a way to achieve this additional calculation.
To put this in an example
Report 1 Results + Report 2 Results + Report 3 Results - (report 4 results)
I made sure that all the columns in these reports match in terms of datatypes to perform the union operation on these 4 reports.
One addition, I do not have an option to extract this data just in one report due to differences in the filters and also these are sources from multiple fact tables.
Please help me with this request. If there are any portions of this message on which you need more clarification please let me know.
Any help will be greatly appreciated.Instead of combining those 4 different criteria I would suggest to go by metric level filters or and then do the final calculation or else 'Filter based on results of another request'.
Pls mark if helps -
ClassCastException, filter with webservice
I put together 'nothing' filter with wrapper on request.
When I try to put filter in front of webservice, it causes the exception.
If I use the filter with plain servlet, it is ok.
If I modify the filter to use original request, not the wrapper, it is also fine.
Has anybody experienced something similar ?
Is something conceptual wrong with puting a filter in front of webservice ?
Thanks
Here are the details:
java.lang.ClassCastException
at weblogic.webservice.server.servlet.WebServiceServlet.getWebService(WebServiceServlet.java:195)
at weblogic.webservice.server.servlet.ServletBase.doGet(ServletBase.java:95)
at weblogic.webservice.server.servlet.WebServiceServlet.doGet(WebServiceServlet.java:232)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at sunrise.crm.logger.MiniFilter.doFilter(MiniFilter.java:37)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6316)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class MiniFilter implements Filter {
private static Log log = LogFactory.getLog(MiniFilter.class);
public void init(FilterConfig filterConfig) throws ServletException {
log.debug("mini filter loaded" );
public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain) throws IOException, ServletException {
long startTime = System.currentTimeMillis();
HttpServletRequest hr = (HttpServletRequest)request;
MyRequestWrapper requestWrapper = new MyRequestWrapper( hr );
log.debug( "hit" + hr.getRequestURI() );
chain.doFilter(requestWrapper, response);
public class MyRequestWrapper extends HttpServletRequestWrapper {
public MyRequestWrapper(HttpServletRequest request) {
super(request);
public void destroy() {
log.debug( "bye bye");
}Hi Rajat,
Thanks for ur response. Actually I downloaded a CompressionFilter from the location give by u
"http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html"
It is woring file with the servlet and giving the expected result. But when I apply it with the jsp it shows me blank screen(Browser window). I Debug it and find out that filter is being called with the jsp but when response being compress and write back into the outputstream, actually it is not writing anything.
If u can help me for the same, would be very nice foe me.
Thanks in advance
Manish -
Prompts for Combine similar request (Union query)
I have been given 5 tables for creating one report out of each table. I created aliases and
necessary self joins. I now need a summaryreport that combines these five tables. I tried the
"combine similar request" and the report functions fine. Now I have to create two prompts, one for
country and one for job. These are fields available in 4 tables and have the same format alongwith
the same datatypes. Please help me with this.
Table 1 Report A
Table 2 Report B
Table 3 Report C
Table 4 Report D
Table 5 Report E
Table 1 - Table 4 contains Country and Job field which is of the same format and datatype.
Table 5 does not have these and its not necessary for us to prompt this.
This has no star schema setup and I am not in a position to get it done as well. I considered each
table to be a fact table and created aliases, selfjoins etc. Please help with the procedure to
create the two dashboard prompts. If I choose USA then the first four amongst the union queries
should reflect data for the USA. The same applies for Job.Hello
Thanks for the reply.
My problem here is that I have 5 different tables with country fields in them. They are of the same format and datatype but there is no join between these tables. If I choose one Country field from any particular table, then the combine similar request doesnt seem to take it for other queries where the fields come from a different table.
eg.
Table 1 - table 5 have country fields
I choose to create a prompt based on Country from Table 1. The union query doesnt seem to reflect on filtering values on the queries from other tables. It would filter only the values from table 1.
Please let me know as to what can be done! -
Check Interactive report filter with APEX item :P101_USERNAME
Hi,
is there a way to create a filter with IR which is based on the :P101_USERNAME item?
I use this variable with the windows user name and want to show only rows where the current user works with.
Thanks ahead,
TobiasHi John,
my plan was to reference the filter on the user level.
Parts of selection for the IR:
SELECT r.r_id,
c.c_name,
r.r_note,
UPPER(r.win_account)
FROM requests r, classes c
WHERE r.r_c_id = c.c_id
Info:
WIN_ACCOUNT looks like: ARNHOLD_TOBIAS
:P101_USERNAME looks like: ARNHOLD_TOBIAS
The goal is that a user in the standard view sees only his rows/calls and if he want to see the rows/calls from the colleagues too. He/She would only need to take off the filter for the USERNAME.
I could use my own items with an extra region too but I thought that there was an easier way then that.
Tobias -
Null query string in servlet filter with OC4J 10.1.3.1.0
I have a strange problem with OC4J 10.1.3.1.0. In the servlet filter, while requesting the querystring with HttpServletRequest.getQueryString the result is null, even if it is verified with a sniffer that that query string is there. This happens only with certain requests. The query string is long but nothing very special otherwise.
Any ideas what might be wrong?
Thanks,
MikaI got the same problem. I tried in others application servers alternatives and it works. By now i have to change links like this "http://localhost:8888/SIVIUQ/LoadIndex.portal?test=1" for forms using javaScript to send the parameters corresponding to the button pressed. To use buttons instead links is not the better solution due to usability. Any suggestion to solve this problem?
Thanks
Javier Murcia
Yo tengo el mismo problema. He intentado con otros servidores de aplicaciones y funciona. Por ahora tengo que cambiar links como "http://localhost:8888/SIVIUQ/LoadIndex.portal?test=1" por formularios, usando javaScript para enviar los parametros correspondientes al boton presionado. Usar botones en vez de links no es la mejor solucion debido a usabilidad. ¿Alguna sugerencia para resolver este problema?
Gracias
Javier Murcia -
Cannot place eps file "no filter found for requested operation"
I have two compuers running CS3. One computer can place .eps files into an InDesign document with no problem. The other computer tries to place an .eps file into InDesign and they get "no filter found for requested operation." It is able to place .jpegs, pdfs but not .eps. In the meantime, I opened the .eps in Illustrator and saved it as a .tiff and then placed it into the InDesign document successfully but this is NOT a good solution as I have hundreds of .eps files I need to work with.
How can I get this resolved?Try deleting preferences as outlined here. You might have to go so far as to reinstall InDesign, but I hope not.
Also, AI is a much better format for placing Illustrator files than TIF or even EPS. -
Applying filter in combined requests
Hi all,
In obiee 11g how can i apply filter when combining similar requests. I need to filter data from both the requests.
Thanks in advanceUse presentation variable while creating page/dashboard prompt and filter both the requests based on it.
Maybe you are looking for
-
USB device keeps disconnecting/connecting after upgrading to Windows 8.1
I have a device(Pedal for Sim Racing) connected via USB, everything is working fine in Windows 7 and 8 but after upgrading my machine to Windows 8.1 the device keeps disconnecting and connecting for like every 2 seconds. But after I open the Property
-
My ipod will not charge when connected to my dock or my computer. I will play when connected to both. I have tried both USB ports, checked the connections on my dock (power light is on) and it will just not charge.
-
New Page numbers for Sections in Pages 5.2
Hi, I can't figure out to how to start numbering pages from 1 in a new section using Pages 5.2. I've tried to add new sections via both the Inspector and Insert > Add Section Break, but when I attempt to insert page numbers in the header of a new sec
-
Splitting a signal based on frequencies
Hi, Im doing a project, where im driving 6 leds of different colours at different frequencies using the digital outputs of a usb-6009, and receiving a signal using a single photodiode using the analog input of the same usb-6009 So i have one signal,
-
Hi Experts, I am facing an issue in events of delivery. We maintain connection point/reason code for an event of a delivery. If we open that delivery using vl03n, we can see the connection point/reason code maintained. But if we open that delivery fr