ALL option in page item
hi,
in my worksheet, some page items have <all> option (it is added automatically), but some of them haven't.
i want to determine whether to show or not on MYSELF. How can i do it?
tnx.
Hi
You're not doing anything wrong. The option <All> is added to a page item when the worksheet is a Crosstab. However, when the worksheet is a Table there is no <All> option just a list of the actual values.
I agree with you that this is very annoying and frustrating and it has been this way ever since they added the <All> option. It is something that I wish Oracle would address before adding further new functionality.
Regards
Michael
Similar Messages
-
"All" option in page item in Discoverer viewer
In discoverer viewer , option "All" is added along with the other entires of Page item. in the drop down . But this "All" option is available only as the last entry of the drop down . Is there any way to dispaly "All" as first entry in the Drop down ?? Please help it is urgent
Short answer - I believe no, you cannot alter the location due to it's name (ie: <All> flows to the bottom).
Long answer (great bedtime reading to help you snooze!):
In the ol' days (read Desktop actually), people regularly wanted to have the <All> option for a table (not just a xtab) and there is a way of adding <All> to a LOV via the LOV concept in the Admin edition.
When I did this in LOVs, I think I remember that what you called the <All> made a difference in the placement.
For example, I think I remember that if I added .All, then it went to the top. If I added <All> then it went to the bottom.
So it sure sounds like the LOV is alphabetically displayed no matter what you try to do and the <All> flows to the bottom - or worse - potentially someone in the list. You could also try to add the .All method to a redirected LOV, but then you'd have 2 Alls I suspect (one at the top, one at the bottom).
Russ -
Hi,
I am trying to make ALL to appear as the default on page items (i.e., after rearranging crosstab layout, I want the users to see ALL appearing in page items before they select from LOV). Thanks for your help.As you most likely know, Disco puts the <All> option in a LOV when you have a crosstab.
Also, when you are using a simple table, it does not put the <All> option in LOVs.
What I have done in the table version, is to create a LOV manually (via Disco Admin)
ie:
select 'North' dir from dual
union
select 'South' dir from dual
union
select 'West' dir from dual
union
select 'East' dir from dual
You can also create an <All> option using this method.
However, my users also wanted the <All> to be right at the top of the LOV, so I simply made sure it was called .<All> (ie: not the period first). This sorts to the top and they were happy. -
Report Refresh on selecting All from Page Item
Hi,
I have a report that has the academic years as one of the page items. If we select the first entry '2004 - 2005' and then select 'All' from the page item, the data doesn't refresh.
However if we go ahead and choose any other value, for example '2006-2007' or any other entry and then select 'All' the report does refresh normally.
I've tried to search if this is a known bug, but I was unable to find any information. If any of you can help in this regard, reference to a known bug or if there's a workaround, please do let me know.
Thanks a lot in advanceHi
Do you get any errors messages?
Best wishes
Michael -
Hi!
I 've a report that does't make sense to use a date with All in the Page Item.
Can anybody tell me how can I remove <All> from the page item.
Thanks a lot,
LeilaHi Gianluca
You are right because I did not understand. Now I do and thanks for explaining otherwise I would have continued down that path for years. :-)
Ok, what you need to do is to create a new data type within your workbook, then more than likely in conjunction with one or more analytic functions, Discoverer will create the sub-totals and totals that you want.
Here is an example that may show the principle:
You can use calculations to create new data types within your worksheet. These new types only exist within the worksheet. You can apply sorts, totals and even base other calculations on these data types.
Example Data Type:
Let’s say we want to generate a new data type called Category, and this category has three values
High
Middle
Low
We want to analyze our sales and work out our top ranking customers, such that customers with:
Sales > 9,000,000 are High
Sales > 4,000,000 but < 9,000,000 are Middle
Sales < 4,000,000 are Low
Basic Requirement - Syntax:
IF Sales > 9,000,000
THEN HIGH
ELSE IF Sales > 4,000,000
THEN MIDDLE
ELSE LOW
Using a CASE statement, this translates into:
CASE WHEN Sales > 9,000,000 THEN ‘High’
WHEN Sales > 4,000,000 THEN ‘Middle’
ELSE ‘Low’
END
Here's an example using DECODE:
You have been asked to create a report that combines the sizes Small and Mini into a new category called Tiny so that we report
Large
Medium
Tiny – combined Small and Mini
Basic Syntax:
IF Product Size = SMALL
THEN Type = TINY
ELSE IF Product Size = MINI
THEN Type = TINY
ELSE Type = Product Size
Using a DECODE statement this translates into:
DECODE (Size, ‘SMALL’, ‘TINY’, ‘MINI’, ‘TINY’, Size)
Best wishes
Michael -
I have a discover report that uses 'Page Items' and summarizes the results. I would like to include an All on my Page Items which would allow me to display all of the page items summarized together. Is this possible in Discover or do I need to use Oracle Reports or Forms?
John
nullin 4i, All is supported for Crosstabs. Pierre
null -
[CS3 JS] Getting a page item by its script label
I have a text frame on a master page with its script label set. In my script, I am trying to get a reference to the text frame with this:
var doc = app.activeDocument;
var spread = doc.masterSpreads[0];
var tabFrame = spread.allPageItems.item("TabLeft");
I get the error "spread.allPageItems.item is not a function"
Any help will be appreciated. Thanks.
RickHi Rick,
spread.allPageItems returns a flattened array of all of the page items in the spread, at any level of the hierarchy (i.e., inside groups and other page items). Is that what you want? Sadly, allPageItems does not benefit from the special case where we use the label as a name, so you'll have to iterate if that's what you want.
As Peter says (thanks, Peter!), spread.pageItems.item("label") gives you all of the page items whose label matches the string, but it does so in sort of a weird way--you'll always get a page item object. If no page items match, you get an invalid page item; if one matched, you get a single page item, and if multiple page items matched, you get a page item object that actually contains multiple page items. It can take a little testing to figure out exactly what it is that was returned.
Thanks,
Ole -
Hi Friends,
I have a three page item which is in display only manner........
These are the three page items,
*) Business Trip Request
*) Salary Certificate Request
*) Business Card Request
For these three items, i have given(in this case i have show this only for business trip, the same way as for the other two items)
*source used* : (sql query returns a single row)
*source value or expression*: select count(*) from business_trip where employee_number=:APP_USER;so, obviously soon after login into the application,
All these three page items will show Number of transactions that individual user requested in business trip, salary certificate, business card...
But my requirement, in the sense soon after the user logsin it has to show the requested raised by individual user on each:
Suppose, if the value is like that(assume)
*) No of transactions in business trip------->3..
If i clicked on the top of the "NO OF TRANSACTIONS IN BUSINESS TRIP", it has to show all the three request of the transactions done by him for the business trip.
The same way for the salary and business card, if i clicked on the top of the label of those means, it has to fetch the request of their reports raised on each.....
I think i need to achieve it by links, i dont know how to proceed...
Since i can able to get the report of the individual users on each request.....
But i need that report to be showed by clicking the heading of it(for example: "NO. OF TRANSACTIONS IN BUSINESS TRIP": 3)
Thanks,
Regards,
Vel RsI didn not mean to change the affected element.
If you want the event to be triggered on click of the label, you must use the label as the triggering element.
Event: click
selection type: jquery selector
jquery selector: *label[for="P2_BUSINESS_TRIP_REQUEST"]*
condition: No condition
True Action:
Action: execute javascript code
fire on page load: unchecked
fire when event result is :true
redirect('f?p=&APP_ID.:3:&SESSION.:');Affected elements: none
it is possible to show the item like in the link manner (i.eIf its a link , then you don't need any dynamic action
For that you can change the item to hidden
and _add the HTML code for the link in post element text
If you want everything to look like a link ,either hide all the items and use their values in the region's HTML code or generate the HTML code using a PLSQL dynamic region. Then you can generate the content the way you want. -
Removing all option in discovere desktop page item
Hi,
I want to remove the all option which appears in the oracle discovere desktop and oracle discoevere plus under the page item which you create a cross tab report.
I am creating a cross table report in that i have a date in the page item it shows the <all> option also in the drop down of the page item. I do not want it to come there . how do i remove it from that place.
ThanksUnfortunately you can't remove the <all> option from the page-items in a cross-tab. The only solution is creating a table-layout instead.
-
CASE vs DECODE - CASE with SUM and All in Page Item is non aggregable
Hi,
I'm using Discoverer 9.0.4.
After switching calculations from DECODE to CASE
I found out that case gives a non aggregable result when using a Page Item and selecting <All>.
The calculations
(SUM x) / (SUM y)
or
(x SUM) / (y SUM)
where x and y are variables, work fine with page item <All>.
But for example:
CASE WHEN 1=2 THEN 1 ELSE (SUM x) / (SUM y) END
gives non-aggregable.
The same code works with DECODE:
DECODE(1,2,1,(SUM x) / (SUM y))
and is aggregable.
Does anyone know a reason or a way to make it work with CASE?
Thanks,
Joao Noronha
P.S.: I wanted <= comparisons and CASE is the best in simplicity,
but now I know I can do it with DECODE, still looking ok using LEAST instead of ABS of the difference.Hi there
I think therefore you have answered your own question and determined that using CASE in aggregations is not a good idea. I only threw out the two CASE options as ideas not as solutions, just in case (pardon the pun) one of these worked in your situation.
Your comment I must say that if it worked it would give a wrong result (the sum of the divisions is not the same as the division of the sums) may give the wrong answer in your case but may be correct in others. It just depends how the items in the folder have been set up. I agree though that SUM(x) / SUM(y) will more often than not give the right answer.
This discussion about DECODE vs CASE has been going on ever since Oracle introduced CASE as a means of placating a younger breed of user who needed an IF..THEN...ELSE construct and could not get their minds around the intricacies of DECODE. The DECODE is a much more reliable function than CASE because it has been around for a long time allowing Oracle plenty of opportunity to iron the bugs out of it. If I get a chance I will always use a DECODE whenever aggregations are required. However, when no aggregations are in use then I'll use CASE, simply because it's easier for users to work with.
Unfortunately, users need to work with aggregations and so I don't see any alternative to Plus users having to learn DECODE. Whenever I teach Plus I always teach the users both CASE and DECODE but point out that DECODE has fewer issues that CASE. Oh, and talking of issues, try getting the THEN and ELSE components to return a different datatype. CASE has a fit and will not compile.
Best wishes and glad you got your issue solved - you did right?
Regards
Michael -
Page item section option differes in Desktop and viewer
Hi Everyone.
In the Page Items section of this report. The user can choose only ONE value in Desktop but coming to the Viewer, user can select ONE value or ALL for each of the fields once the query has run.
Is there any way to hide the ALL option in the Viewer??
Thanks
--KumarThis MAY be solved by the 6.0.4 update. See the release notes for item #2299929.
An important update to the InCopy and InDesign products has been released today!
To install the update, choose Help > Updates from any Adobe CS4 application, or navigate to the Adobe Updater and launch it:
Mac: /Applications/Utilities/Adobe Utilities/Updater6/Adobe Updater.app
Win: C:\Program Files\Common Files\Adobe\Updater6\Adobe_Updater.exe
You can also download the updates from Adobe.com at the following locations:
InCopy Mac: http://www.adobe.com/support/downloads/product.jsp?product=30&platform=Macintosh
InCopy Win: http://www.adobe.com/support/downloads/product.jsp?product=30&platform=WIndows
InDesign Mac: http://www.adobe.com/support/downloads/product.jsp?product=31&platform=Macintosh
InDesign Win: http://www.adobe.com/support/downloads/product.jsp?product=31&platform=WIndows
Release notes are here: http://www.adobe.com/go/id6_readme_en -
Discoverer Report: Select all values for a Page Item
Hi Guys
I have created a Disco Report which has one Page Item.
It populates all columns based on values I select for Page Item that is perfectly fine.
How do I Display column values for all possible values of Page Item?
Is thera ny way I can have Option to select All possible values for Page Item?
Cheers
VijayHi Vijay
Just to confirm what Rod has said, this capability to manage ALL in Page Items was introduced as part of 10.1.2 and has been maintained into 10.1.2.3 and 11g. It will not be back ported to previous releases.
Best wishes
Michael -
Question - any way to set a Page Item in a worksheet to default to All ?
Well, I seem to have run across an interesting situation here. I have a table worksheet with page items. I have noticed one thing while testing this new worksheet/workbook. If I pick a value for one of the page items (and with page items, it seems I can only pick one value at a time) and then save the worksheet, close the workbook, and then reopen the workbook and run the worksheet, Discoverer has retained the page item value as the value when I saved it, rather than defaulting back to <All>. So I quickly learned a new lesson with this darn Discoverer product - make sure all page items set to the <All> value before I save a worksheet that I am going to want to promote to Production.
Well, now I have run into a situation where based on the conditions I have to set in the workbook, I have a Page Item in the worksheet that today has only 1 value that pulls into the worksheet. When I do the drop down on that Page Item, it only shows the one value. It does not give me the ability to pick the <All> option. So I am unable to save the workbook with the <All> value today for that page item. There are other potential values for this Page Item that could show up in the future.
Now granted if this were to happen, the Viewer user could do the drop down on the page item at that time and pick the <All> value at that time. But alas, since they are not the owner of the workbook, they could only save as a new workbook, with themselves as the owner - cannot change the production workbook so it would be changed going forward. This also means the user has to realize that they are missing data and that the fixed page item value is the cause of that, which I am skeptical that they will be able to figure out. So I really want this page item value to default to <All> when the users open and run this worksheet.
So here is my question - does anyone know of a way to set the Page Item value to be <All> automatically when a worksheet is run?
I hope this makes some sense. Always a challenge to explain an issue well. It took me a bit to realize that when saving a worksheet/workbook, it was retaining the selected page item values when I performed the save. It is also very unusual to have a situation where a page item does not currently have multiple values. So this may be a situation that few people have run across.
John DickeyAh, there is a potential workaround, as I have finally figured out. The workaround does require that you have the ability to bring in multiple values for the page item from the worksheet run result set. If you have a situation, like I have, where today you only have one valid value, you will still have a problem.
The workaround is this. Figure out a way to get multiple values into the worksheet run result set. That way when you do the page item drop down list, you will see the <All> value in that list. Pick that value, refresh the worksheet, and save the workbook. Now reset your worksheet back to your desired conditions, where you end up with just one value in the worksheet result set, and refresh the worksheet. The <All> is still retained as the page item default and when you do the drop down list for the page item, you see two values in the list - your 1 valid value plus the <All> value. So once you get that <All> set as the page item default, then it will be retained. This explains how support originally tested (on an existing worksheet) and said they were able to see and pick the <All> value.
Since it should be rare for something to have just one valid value in a worksheet result set, and even rarer to have just one current valid value in Oracle, this workaround should take care of most of the situations where you might encounter this issue. I still will push for an enhancement request to have that <All> value show in the drop down list even when just one value in the worksheet result set.
John Dickey -
How to create a Bool Option for Full Screen and Page Item in Mucow?
Hi Guys!
I was looking to create a bool option in Mucow widget options which toggles between Full Screen and a Normal Page Item .
Example: Qooqee's Google Map Widget
Need some help.
Thanks in AdvanceDear Pushpa,
Transaction Code :SHD0 is working fine.
Please accept my sincere thanks for your sharing your Knowledge.
I am able to fulfill my
Regarding the enhancement, I have not tried.
Once I will complete, I will award the fulll marks to you.
With Best Regards,
Raghu Sharma -
JQuery "setting all items to READONLY based on a page item" not working
I am attempting to use jQuery to set all input fields to "readonly" if the question is in "locked" status (i.e., if P2_QUESTION_LOCKED page item is set to yes ("Y")). The following is the code that I placed in the page attributes (in the javascript section):
if ($x('P2_QUESTION_LOCKED') )
if ($x('P2_QUESTION_LOCKED') == 'Y')
$(document).ready(
function() { $('input').attr('readonly','readonly'); });
}It is not working. All input fields are available for input. I used Firefox 1.6 and Firebug and I have no errors. What am I missing?
An example is set up in APEX.ORACLE.COM:
Workspace: RGWORK
Application: Financial Disclosure (Application 45806)
User Name: TESTER
Password: test123
Run the application, and click on 'Update Current Year's' from the list.
Robert
http://apexjscss.blogspot.com
PLEASE IGNORE THIS THREAD. A THREAD IS ALREADY OPEN. HAD A HICCUP WITH THE INTERNET.
Robert
Edited by: sect55 on Dec 12, 2010 3:11 PMHi Robert,
I have changed your code to
if ($x('P2_QUESTION_LOCKED') )
if ($v('P2_QUESTION_LOCKED') === 'Y')
$('input').attr('readonly','readonly');
}Especially the
$x('P2_QUESTION_LOCKED') == 'Y'to
$v('P2_QUESTION_LOCKED') === 'Y'I have also moved your code into "Execute when Page Loads".
Couldn't try the code because I was not able to login, but I think the code should work.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf
Maybe you are looking for
-
Is between operator in filter is not working as expected
Hi All We have similar reports where we are testing and added two different approaches for these two reports. One report will have a filter "is equal to / is in" as operator for some fiscal periods and the desired result is what we expected and is co
-
Can FCE 3.5 Be Hacked To Work On OSX 10.3.9 ?
I would like to use FCE 3.5 but only have OSX 10.3.9 and have no intention of buying the 10.4 upgrade! Later in the year when the next iMac model comes out I will be upgrading via the new machine. In the meantime, if I purchased FCE 3.5, would I be a
-
Mail Client Program that can be acessed from eithers Mac or PC OS.
I am using a macbook (loving it) {ver 10.4.10) on which I've installed Windows XP SP2 using Boot Camp. I need both these OS's as there are 'those programs' at the work place that require the Windows OS. While setting up the dualboot on the Macbook, I
-
Data extraction from r3 to sap bi 7.0
Dear sirs, i am trying to transfer R/3 table into BI system.I created a DSO in Bi 7.o ,I can see the fields in BI 7.0 but I cannot see any data when i use that table for reporting . please tell me the steps that i should follow to get the data along
-
China Golden Audit / Frame Reporting
Hello together, I am working for a German automotive supplier. Currently I'm trying to implement the SAP Frame Reporting. I'm also in a process of coordination to have a conference call with consultants of SAP China, a Chinese coleague and two German