Drill down problem when using union all combination
Hi All,
I have a simple report with a drill down. The report has three columns Region, Sales, Flag... which will drill down to detail level of sales. The Flag column has Y, N values and we added 'All' Value in flag so that the user can select Y, N and All from the table prompt in the report . We have used union all in the report using combination to add the ' All ' Value in the flag. The problem is that now the main report is not passing the Flag values to the detail report. Flag is prompted in the filter in detail report.
If I remove the 'All' value from Analysis with only Y N selection criteria the drill down works.
Is there any work around? I have to use table prompt and All value selection in flag for drill down.
Thanks,
Virat
The problem is without union all when doing combination of analysis drill down works, when I use combination drill down does not work because it does not pass the parameters for flag . I have used union all to add All value in flag.
Similar Messages
-
Cannot export query output when using UNION ALL
Hi
I can run a query in SQL Developer 1.5.5 and if it's a SELECT statement it works fine, but if I output the result of several SELECT statements using UNION ALL after some 10,000 records the SQL Developer crashes and it generates a file whose size is 0 kb
Is there a workaround for this??
Thanks and Regards!
IsaacShould be fixed in the upcoming 2.1... you can try the RC1 also...
Regards,
K. -
Drill down problem when execute CR Viewer from Sap Web Application Server
Hello,
We are using Sap Was 7.01.
The report viewer jar files deployed to the j2ee engine , and I am using j2ee servlet application to execute the report.
Everything works OK, but when I am trying to drill down to the next sub report the screen become blank.
I checked with httpwatch and it seems that there is no response from the server , after DD.
The web.xml file look like this:
<web-app>
<display-name>WEB APP</display-name>
<description>WEB APP description</description>
<context-param>
<param-name>crystal_image_uri</param-name>
<param-value>./CrystalReports/crystalreportviewers</param-value>
</context-param>
<context-param>
<param-name>crystal_image_use_relative</param-name>
<param-value>server</param-value>
</context-param>
<context-param>
<param-name>crystal_servlet_uri</param-name>
<param-value>/CrystalReportViewerHandlers</param-value>
</context-param>
<servlet>
<servlet-name>CrystalReportViewerServlet</servlet-name>
<servlet-class>com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>reportviewerClient.jsp</servlet-name>
<jsp-file>/reportviewerClient.jsp</jsp-file>
</servlet>
<servlet>
<servlet-name>ReportViewerSrvlt1</servlet-name>
<servlet-class>com.illumiti.demo.ReportViewerSrvlt1</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>CrystalReportViewerServlet</servlet-name>
<url-pattern>/CrystalReportViewerHandler</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ReportViewerSrvlt1</servlet-name>
<url-pattern>/jRun</url-pattern>
</servlet-mapping>
</web-app>
There are no javascript errors and I can see that the following JS files exist on the browser cache:
allInOne.js
allStrings_en.js
crv.js
Also the dynamic rendering of the graphic objects working, for exampale:
http://sapdevpor.themigroup.net:52000/ReportViewerNwds/CrystalReportViewerHandler?dynamicimage=crystal1258027361240644774257355486184.png
sapdevpor is the Sap application server.
Need help with this asap.
Thanks
NirHello,
to which directory have you unzipped the Files? I would suggest C:\temp because there are problems with long filenames. Have you tried to reboot and then disconnect Drive M:?
Regards
Gregor -
I upgraded to Lion and then all video clips on for instance Youtube freeze every tenth second to buffer more data. I have a MacBook Pro and never had any problems when using Snow Leopard. Has Lion problems with this?
Ulf, SwedenUse the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps. -
Hi all, I bought one iphone and 3 ipads, i set up all on one apple ID. Now i have a problem when using messages: when sending message from one device it appears again on screen from the other 3 devices. I need help on how to set up messages on each device separately and to start using messages app on each device independently. Thanks
search google for "iphone remove picture from contact"
-
Xcelsius drill down problem.
Hi gurus, I'm developing drill down chart and table.
I want to reset, making cell blank, the drill down cell when i click combo box.
I used push button to refresh or reset drill down value but it can not refresh(reset) drill down cell
because the destination cell of the chart remains drill down value
I tried like below way
*Dashboard explanation
this dashboard consists of one chart, one table, one combo box and one push button.
Of course, chart has the drill down function
a : drill down value
Goal : make drill down cell turn to blank after i used drill down once.
1ST.
when i click the chart and use drii down, a is entered into drill down cell
2ND
by using "push button", i tried to reset drill down cell
but unfortunately it does not work.
Although drill down cell changes instantly to blank after just one second, it changes to a, drill down value
Drill down cell changes like this
1 -> 2 -> 3
a -> blank -> a
i have to eliminate (2->3) phase or find another way to refresh drill down cell.
I think problem is the chart which remains drill down value(a) although pushbutton reset the drill down cell to blank.
Is there any way to refresh or reset drill down value when i click combo box?
Should i develop custom-component? i'm waiting for your answer.
Thanks in advance.
Regards
KwonAmit,
Can you confirm if what you're saying also holds for components with the "Enable Drill Down" option enabled, and the "Default Selection" is set to "No Selection (-1)"?
I'm running into an issue where the "Default Selection" value is not cleared out after performing 3 levels of drill-down. On the third time I do a drill-down, by default the first element is selected, even though I've set the "Default Selection" to "No Selection (-1)".
Thanks. -
i tried everything in this article, but still have the same problem when using Rapidweaver software. NOT with other software. I am converting my iWeb site to Rapidweaver, whenever there is a calmer period in my office. I have 16 Gb RAM on my NEW iMac and have Parallels desktop, mail, safari, iWeb and Rapidweaver running simultanious.
I never have the problem if i don't use Rapidweaver, but after i have added several pages to Rapidweaver, the problem begins. my iMac won't start up. the only thing that works is re-installing Macos OS X 10.8. i tried even whiping the completeharddrive, and reinstalling with a complete new user, the same problem.
I had it on my previous iMac also, and bought a new one because i thought the problem was in the iMac first. i hadn't noticed it only happens with using rapidweaver.
i sent my complete rapidweaver project to the programmers from rapidweaver at Realmacsoftware, but they couldnt reproduce my problem, there macs started up without any problem.
i deleted all the rapidweaver addons and extra stacks, and started a complete new project.
saterday i had the problem again, after adding about 5 new pages to my rapidweaver site.
i think i have reinstalled Macos OS X 10.8.2 20 or 30 times by now
does anyone have a sollution?Type '''about:support''' in the URL bar and hit Enter.
Scroll down almost to the bottom of that listing and see if you have '''user.js Preferences''' just above the '''''Graphics''''' category.
If you do have that, click on '''user.js file''' in this sentence. <br />
''Your profile folder contains a user.js file, which includes preferences that were not created by Firefox.''
Does that "different homepage" appear in that user.js file? -
I am facing problem when using Xcelsius Drill Down functionality.
I am using two column charts. When one of the bars in the first chart
is clicked, the second chart shows up on the first one (covering the
first one) with corresponding data. We have a toggle button and when that
is clicked, the first one is shown, while the second one is hidden.
The problem is, we need to select a default selection in the Drill Down
section of first chart. When the default selected bar is clicked on the
first chart, there is no way to know that the bar has been clicked.
(Because it is already selected by default), so we are not able to show
the second bar on the top of the first for this scenario...
Your help is much appreciated. Thank you very much in advance
JanakiramHi Jacob, Thank you very much. It solved my problem. I have one more question, in the same context. When the new Series is added and made the default and any of the bars is clicked, the second column chart is showing up. But, when I click the back ("toggle button") on the second chart and go back to the first one, And select the already selected bar (previously clicked on) on the first chart, then there is no way that the second chart would appear. This is because, the cell which we have chosen to put the selected value in, doesn't change!!. This is driving me nuts.
I know that my explanation of things is so complicated. But, please bear with me to help me out. I thank you once again for responding to my question.
Janakiram. -
NLS support problems when using AL32UTF8 in dads.conf
Hello,
Following a post by Joel Kallman, in one of the forum threads, about the mandatory use of AL32UTF8 in dads.conf, when running HTML DB v2.0, I changed my PlsqlNLSLanguage parameter accordingly.
Prior to the change, I experienced some problems when using non-English characters some application items appeared as gibberish when contained non-English characters, and the LIKE operator didn't perform as expected. After the change, it all seems to work OK, but now I have a different problem.
All the non-English characters in my HTML page source code appears as gibberish. On screen, at run time, everything display correctly, but the source code seems to be corrupted. It is very difficult, and very annoying to debug the pages that way. Is there a way to enjoy both worlds Using AL32UTF8 in the dads.conf, as required, and still getting a coherent HTML source code, containing non-English characters?
Thanks,
Arie.Joel,
I use the following settings and they work fine for me:
Operating system:
LANG=de_DE
LANGVAR=de_DE.UTF-8
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
daust:oracle[o1020]> uname -a
Linux daust.opal-consulting.de 2.4.21-37.EL #1 Wed Sep 7 13:35:21 EDT 2005 i686 i686 i386 GNU/Linux
daust:oracle[o1020]> cat /etc/redhat-release
Red Hat Enterprise Linux ES release 3 (Taroon Update 6)
daust:oracle[o1020]>
marvel.conf:
<Location /pls/htmldb>
Order deny,allow
PlsqlDocumentPath docs
AllowOverride None
PlsqlDocumentProcedure wwv_flow_file_manager.process_download
PlsqlDatabaseConnectString localhost:1521:o1020
PlsqlNLSLanguage AMERICAN_AMERICA.WE8ISO8859P1
PlsqlAuthenticationMode Basic
SetHandler pls_handler
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDatabaseUsername HTMLDB_PUBLIC_USER
PlsqlDefaultPage htmldb
PlsqlDatabasePassword @BZvJYqadreElOqj5poCB5gE=
Allow from all
</Location>
Database:
daust:oracle[o1020]> sqlplus "/ as sysdba"
SQL> select * from nls_database_parameters;
PARAMETER VALUE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET WE8ISO8859P1
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
PARAMETER VALUE
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_RDBMS_VERSION 10.2.0.1.0####################
Using AL32UTF8 resulted in the same problem as described ( and fixed ) here: Re: Strange - HTML not written correctly
So, what is the proper configuration of the DAD, perhaps there are different ones for Unicode instances and non-Unicode instances.
~Dietmar. -
When using FaceTime, all other sounds are muted. This defeats functionality. When will this be corrected? Does anyone know of a "fix" for this problem? This definately is NOT a feature.
yes, that is exactly what mine did too. I noticed that something is wrong after receiving calls and did not hear anything.
It was like the IPhone did not realize that the headphone is not any longer plugged in. I m not sure weather I plugged/unplugged the headphones after this more than once but it startet working correctly. -
Hello
i have 2 schemas S1 and S2 containing complex relational tables. The tables in each schema are related to each other via foreign key relationships. i made views for feature tables in both the schemas , querying column values from their related tables.
the data structure in both the schemas are exactly the same. Dut to management reasons we have to split them in 2 schemas. S1 contain data for region A and S2 contains data from region B. Now the client wants to see a combined data from region A & B.
we are planning to create another schema S3 and make views combining views from S1 and S2 in both schemas (V1 in S1 + V1 in S2) using UNION ALL.
Does UNION ALL will make use of the indexes we already built for parent tables in S1 and S2? Will there be a performance degradation using this approach? What can be the best approach? Our client needs to see real time data....
regards
samSince union does an extra sort it has a performance difference compared to union all.
SQL> select user from dual union select user from dual ;
USER
HR
SQL> select user from dual union all select user from dual ;
USER
HR
HRİf there is up to date and appropriate object statistics Oracle's Cost Based Optimizer will choose best access path, join method and join order depending on your query. Only exceptions are hints, outlines and sql profiles since they stabilize the execution plan.
For further commenting please post your oracle version, query's test results and its statistics taken from sql*plus timing and autotrace options - http://www.bhatipoglu.com/entry/17/oracle-performance-analysis-tracing-and-performance-evaluation -
Hello all, can somebody help me?
I have encountered a problem when using Flash Player
V9.0.115. Your help would be greatly appreciated.
The problem described as follows:
1. The flash file with sound works well before uploaded to
website. The audio lost when uploaded to the website(There is no
problem with the flash file size). I have uploaded the flash file
to website for you to test. Please go to
http://www.sameshow.com/democreator/create
a new site.swf and kindly check with it.
2. When we open the flash movie in IE with Flash player
V9.0.47 and previous versions (Flash9d.ocx), the flash movie with
sound works well.
3. When we upgrade the flash player to the latest version
V9.0.115 (Flash9e.ocx), the video works well, but the sound just
can play several seconds and then stop.
4. On Flash Player ocx V9.0.115. If we publish the flash
movie on web with 24fps, the sound just can work several seconds
and then stop, the problem is the same if we use the
TShockWaveFlash control to play the flash movie.
5. On Flash Player ocx V9.0.115. If we publish the flash
movie with 12fps, the sound works well but the quality is really
very poor. It seems that the sound plays shorter with more frames
per second. But the flash file works well with the Flash Player
V9.0.47 and previous versions (Flash9d.ocx).
Can somebody help me to figure it out? Thanks in advance!
Regards,
Sabrina
[email protected]Hello Darren, I really appreciate your response. My mail is
[email protected] I have uploaded the flash file to our
ftp,
http://www.sameshow.com/democreator/create
a new site.swf. And also I compressed the original file to a
zip file and uploaded to our ftp at
http://download.sameshow.com/aff/create.zip,
please kindly check! When we playing this flash file on FlashPlayer
V9.0.47 and previous, the audio works well. But the audio just can
play several seconds and then stop when I playing it on FlashPlayer
V9.0.115. The garbled audio makes us very upset. Your help would be
great appreciated!
Sabrina Fu -
ORA-01403: no data found Problem when using AUTOMATIC ROW FETCH to populate
ORA-01403: no data found Problem when using AUTOMATIC ROW FETCH to populate a form.
1) Created a FORM on EMP using the wizards. This creates an AUTOMATIC ROW FETCH
TABLE NAME - EMP
Item Containing PRIMARY KEY - P2099_EMPNO
Primary key column - EMPNO
By default the automatic fetch has a ‘Process Error Message’ of ‘Unable to fetch row.’
2) Created a HTML region. Within this region add
text item P2099_FIND_EMPNO
Button GET_EMP to submit
Branch Modified the conditional branch created during button creation to set P2099_EMPNO with &P2099_FIND_EMPNO.
If I then run the page, enter an existing employee number into P2099_EMPNO and press the GET_EMP button the form is populated correctly. But if I enter an employee that does not exist then I get the oracle error ORA-01403: no data found and no form displayed but a message at the top of the page ‘Action Processed’.I was expecting a blank form to be displayed with the message ‘Unable to fetch row.’
I can work around this by making the automated fetch conditional so that it checks the row exists first. Modify the Fetch row from EMP automated fetch so that it is conditional
EXIST (SQL query returns at least one row)
select 'x'
from EMP
where EMPNO = :P2099_EMPNO
But this means that when the employee exists I must be fetching from the DB twice, once for the condition and then again for the actual row fetch.
Rather than the above work around is there something I can change so I don’t get the Oracle error? I’m now wondering if the automatic row fetch is only supposed to be used when linking a report to a form and that I should be writing the fetch process manually. The reason I haven’t at the moment is I’m trying to stick with the automatic wizard generation as much as I can.
Any ideas?
Thanks PeteHi Mike,
I've tried doing that but it doesn't seem to make any difference. If I turn debug on it shows below.
0.05: Computation point: AFTER_HEADER
0.05: Processing point: AFTER_HEADER
0.05: ...Process "Fetch Row from EMP": DML_FETCH_ROW (AFTER_HEADER) F|#OWNER#:EMP:P2099_EMPNO:EMPNO
0.05: Show ERROR page...
0.05: Performing rollback...
0.05: Processing point: AFTER_ERROR_HEADER
I don't really wan't the error page, either nothing with the form not being populated or a message at the top of the page.
Thanks Pete -
Problem when using About Operator in Contains Query
Hi,
I'm new to Oracle and this forums too. I have a problem when using about operator in contains query.
I create a table with some records and then create a context index on 'name' column.
CREATE TABLE my_items (
id NUMBER(10) NOT NULL,
name VARCHAR2(200) NOT NULL,
description VARCHAR2(4000) NOT NULL,
price NUMBER(7,2) NOT NULL
ALTER TABLE my_items ADD (
CONSTRAINT my_items_pk PRIMARY KEY (id)
CREATE SEQUENCE my_items_seq;
INSERT INTO my_items VALUES(my_items_seq.nextval, 'Car', 'Car description', 1);
INSERT INTO my_items VALUES(my_items_seq.nextval, 'Train', 'Train description', 2);
INSERT INTO my_items VALUES(my_items_seq.nextval, 'Japan', 'Japan description', 3);
INSERT INTO my_items VALUES(my_items_seq.nextval, 'China', 'China description', 4);
COMMIT;
EXEC ctx_ddl.create_preference('english_lexer','basic_lexer');
EXEC ctx_ddl.set_attribute('english_lexer','index_themes','yes');
EXEC ctx_ddl.set_attribute('english_lexer','theme_language','english');
CREATE INDEX my_items_name_idx ON my_items(name) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS('lexer english_lexer');
EXEC ctx_ddl.sync_index('my_items_name_idx');Then I perform contains query to retrieve record :
SELECT count(*) FROM my_items WHERE contains(name, 'Japan', 1) > 0;
COUNT(*)
1
SELECT count(*) FROM my_items WHERE contains(name, 'about(Japan)', 1) > 0;
COUNT(*)
1But the problem is when I using ABOUT operator like in Oracle's English Knowledge Base Category Hierarchy it return 0
SELECT count(*) FROM my_items WHERE contains(name, 'about(Asia)', 1) > 0;
COUNT(*)
0
SELECT count(*) FROM my_items WHERE contains(name, 'about(transportation)', 1) > 0;
COUNT(*)
0I can't figure out what 's wrong in my query or in my index.
Any help will be appreciated.
Thanks,
Hieu Nguyen
Edited by: user2944391 on Jul 10, 2009 3:25 AMHello (and welcome),
You'd be best asking this question in the Oracle Text forum, here:
Text
And by the way, it will help others to analyse if you put {noformat}{noformat} (lowercase code in curly brackets) before and after your code snippets.
Good luck! -
When using FireFox I often cannot view pictures in Hotmail emails, but I have no problem when using other browsers
Do you also have this issue if you temporarily switch to Private Browsing mode?
*https://support.mozilla.org/kb/Private+Browsing
*Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
*Select: [X] "Always use private browsing mode"
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
See also:
*https://support.mozilla.org/kb/fix-login-issues-on-websites-requrie-passwords
Maybe you are looking for
-
I have 12 birthday calendars on my iPad; can't get rid of the duplicates
iPad 2 GSM + WiFI iOS 5.0.1 Macbook Pro (10.7.2) I sync calendars from MS Exchange and iCloud. I do not have a local calendar on my iPad. I have tried... * Disabling my Exchange and iCloud calendars and then doing a sync with iTunes selecting one (or
-
Problems Force Running a batch file
Hi There, I am trying to force-run a batch file to copy files from a local NBO Appliance to the C:\tmp directory on the user's workstation. The batch file lives at c:\tmp\branding.bat. I cant get the batch file to force run. Zen reporting advises tha
-
Is there any way to get this palette into photoshop CS6?
I'm curious as to why Photoshop CS6 can't have a simple effective palette choice like this one from Fireworks? I'm an artist and this palette makes sense to me. The standard issue pallette in Photoshop is a mess compared to this. Is there any way to
-
How to pass BI Query parameters from Function Module
Hi, We are executing the BI queries using the Function Module "RS_VC_GET_QUERY_VIEW_DATA_FLAT" by passing the query name and the provider information. Is there a way, to pass the filter parameter values also to the query by using this function module
-
Package question, how to define a condition
i create a package and package body, in package i defined a procedure. in procedure i use if thour(percount)<40 then to get the record work hour<40. when I call the package in Access Form application, mentioned error: [Microsoft][ODBC Driver for Orac