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
Vijay
Hi 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
Similar Messages
-
How to set a default value for a page item
I am working with a facility table that has name and address information. The user can add contact name information on a separate page. Since the address for the facility and contact is usually the same, I want to add a default value for the contact address. The facility page is on 201 and the link to add a new contact row is on page 202. I showed in the default value :P201_street for the contact's address. But, when I run the page, the contact address field shows the :P201_street, not the actual facility address. What am I leaving out? Must be something obvious?!
Thanks very much.
JudyIn the default value, I showed: v('P201_STREET1') with the default value type of: PL/SQL Expression and received the following oracle error ==> Item default is not a PL/SQL expression. Use &ITEM syntax. The v('ITEM') syntax is not valid for item defaults. So I changed it to: &P201_STREET1 and got another oracle error , ERR-9132 error in PLSQL expression for item default code, item=P202_STREET1.
Any more suggestions? Thx.
Judy -
Viewer slow while retrieving data while changing value from a page item
Hi, I am using 9.0.2 to create reports. My end-users are using Viewer to run these reports. Recently, we are experiencing performance problems with Viewer. We have reports with Page Item. Let say a report takes 1 min to run. After running the report if a different value is selected for a page item, it is takes another 1 min to get new data. Whereas, Desktop is not taking any additional time (noticable) for a different value for the page item. Recently, we are experiencing this problem. I thought that it was cache problem in Application server, so we restarted all the pieces in aps server. However, the problem still exists. We are using a materialized for this particular report.
Any tips would be highly appreciated. Thanks.The performance differences can be attributed to the differences in product. Desktop is a client server product. A query executes and ALL data is returned to the desktop. You can manipulate that data in any way and the database is not required. Web (Plus/Viewer) only return the data needed to satisfy the query currently being viewed. If you change a page item, a database call is made to retreive additional/different data.
In other words this is just how things work. You can alter settings in your prefs.txt file to improve performance in Viewer/Plus. Changing number of rows returned, memory settings, row fetch limits, rows per fetch all can improve/reduce performance.
As best I know there is not a "magic" setting for these values. It is based on the server/volume of data/workbook content/ workbook layout. etc. Crosstab workbooks are much slower to return data than page -detail. -
How to select XML value for a namespace when multiple namespaces
Hi,
I'm a beginner with this, but I'm doing well with your help from this forum in a recent post selecting out all the detail from my xml
out into my oracle relational tables. Stumped, though, on how to select a value for xml tag value referenced by a defined namespace.
Version, XML, what I want to select, and attempted sql is below. Thanks in advance!
select * from V$VERSION
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for Solaris: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
drop table TRANSCRIPT;
create table TRANSCRIPT (
CONTENT xmltype
<?xml version="1.0" encoding="UTF-8"?>
<arb:AcademicRecordBatch xmlns:arb="urn:org:pesc:message:AcademicRecordBatch:v1.0.0">
<hst:HighSchoolTranscript xmlns:hst="urn:org:pesc:message:HighSchoolTranscript:v1.0.0" xmlns:ct="http://ct.transcriptcenter.com">
<TransmissionData>
<DocumentID>2013-01-02T09:06:15|D123456789</DocumentID>
</TransmissionData>
<Student>
<Person>
<Name>
<FirstName>John</FirstName>
<LastName>Doe</LastName>
</Name>
</Person>
<AcademicRecord>
<AcademicSession>
<Course>
<CourseTitle>KEYBOARD 101</CourseTitle>
<UserDefinedExtensions>
<ct:TranscriptExtensions>
<NCESCode>01001E010456</NCESCode>
<CourseRigor>1</CourseRigor>
</ct:TranscriptExtensions>
</UserDefinedExtensions>
</Course>
<Course>
<CourseTitle>SCIENCE 101</CourseTitle>
<UserDefinedExtensions>
<ct:TranscriptExtensions>
<NCESCode>01001E010457</NCESCode>
<CourseRigor>2</CourseRigor>
</ct:TranscriptExtensions>
</UserDefinedExtensions>
</Course>
</AcademicSession>
<AcademicSession>
<Course>
<CourseTitle>MATH 201</CourseTitle>
<UserDefinedExtensions>
<ct:TranscriptExtensions>
<NCESCode>01001E010458</NCESCode>
<CourseRigor>2</CourseRigor>
</ct:TranscriptExtensions>
</UserDefinedExtensions>
</Course>
</AcademicSession>
</AcademicRecord>
</Student>
</hst:HighSchoolTranscript>
</arb:AcademicRecordBatch>I want to be able to select the NESCODE associated to each coursetitle (01001E010456, 01001E010457, 01001E010458), with NESCode defined by namespace, but getting out NULL.
DOCUMENTID LASTNAME COURSETITLE NCESCODE
2013-01-02T09:06:15|D123456789 Doe KEYBOARD 101
2013-01-02T09:06:15|D123456789 Doe SCIENCE 101
2013-01-02T09:06:15|D123456789 Doe MATH 201
My SQL is below. You'll see where I commented out a couple failed alternatives too. Thanks again in advance for any guidance.
select x0.DocumentID
,x1.LastName
, x3.CourseTitle
,x3.NCESCode
from TRANSCRIPT t
, xmltable(
xmlnamespaces(
'urn:org:pesc:message:AcademicRecordBatch:v1.0.0' as "ns0"
, 'urn:org:pesc:message:HighSchoolTranscript:v1.0.0' as "ns1"
--, 'http://ct.transcriptcenter.com' as "ns1b"
, '/ns0:AcademicRecordBatch/ns1:HighSchoolTranscript'
passing t.content
columns DocumentID varchar2(40) path 'TransmissionData/DocumentID'
, Student xmltype path 'Student'
) x0
, xmltable(
'/Student'
passing x0.Student
columns LastName varchar2(20) path 'Person/Name/LastName'
,AcademicRecord xmltype path 'AcademicRecord'
) x1
, xmltable(
'/AcademicRecord/AcademicSession'
passing x1.AcademicRecord
columns GradeLevel varchar2(20) path 'StudentLevel/StudentLevelCode'
, Courses xmltype path 'Course'
) x2
, xmltable(
xmlnamespaces('http://ct.transcriptcenter.com' as "ns2b")
, '/Course'
passing x2.Courses
columns CourseTitle varchar2(40) path 'CourseTitle'
,NCESCode varchar2(20) path 'UserDefinedExtensions/ns2b:ct/NCESCode'
--,NCESCode varchar2(20) path 'UserDefinedExtensions/ns2b:ct/TranscriptExtensions/NCESCode'
) x3
<<I'm assuming there is more to your XML than you showed, since
StudentLevel/StudentLevelCode
is not in the XML, but is in your query. >>
Yes, to simplify, I left out some of the additional XML data, which is typically present, sorry for any confusion. I should have removed those references to that data in my example which was failing to retrieve the NCESCode data which was denoted by that namespace.
Thank you very much! Your correction worked. I was not understanding until your correction how to properly reference in the XPATH for that namespace value. I'm a newbie at this, and this is my second post. But I've been able to populate quite a few relational tables and that was the first of several namespace tags I will have to deal with next, and with that help, I should be good with that syntax now.
Thanks again for your help on this. -
SQL select all sessionid for which ONLY exist actionid 1 OR 2 OR 5
Create Table:
create table x ( sessionid number, actionid number, sessionactionid number, a3 varchar2(10));
Inserts;
insert into x values (1000, 1, 100, 'asdfsadf' );
insert into x values (1000, 2, 101, 'asdfsadf' );
insert into x values (1000, 3, 102, 'asdfsadf' );
insert into x values (1000, 4, 103, 'asdfsadf' );
insert into x values (1001, 1, 104, 'asdfsadf' );
insert into x values (1001, 3, 105, 'asdfsadf' );
insert into x values (1001, 6, 106, 'asdfsadf' );
insert into x values (1001, 1, 107, 'asdfsadf' );
insert into x values (1001, 1, 108, 'asdfsadf' );
insert into x values (1002, 1, 109, 'asdfsadf' );
insert into x values (1002, 2, 110, 'asdfsadf' );
insert into x values (1002, 5, 111, 'asdfsadf' );
insert into x values (1003, 1, 112, 'asdfsadf' );
insert into x values (1003, 2, 113, 'asdfsadf' );
insert into x values (1003, 5, 114, 'asdfsadf' );
insert into x values (1003, 4, 115, 'asdfsadf' );
insert into x values (1004, 2, 116, 'asdfsadf' );
insert into x values (1004, 5, 117, 'asdfsadf' );
Query to resolve;
select all sessionid for which ONLY exist one actionid for each of 1 and 2 and 5
also important that all 3 actionid must exist for that sessionid otherwise that record is not valid for us.
with the table above the result should be;
SESSIONID
=======
1002
PS: Sorry my db is not accessible at the moment and therefore could not test the above CREATE and INSERTS statements.
Edited by: Andre on Jan 19, 2012 5:17 PMHi, Andre,
Andre wrote:
Create Table:
create table x ( sessionid number, actionid number, sessionactionid number, a3 varchar2(10));
Inserts;
insert into x values (1000, 1, 100, 'asdfsadf' );
insert into x values (1000, 2, 101, 'asdfsadf' );
insert into x values (1000, 3, 102, 'asdfsadf' );
insert into x values (1000, 4, 103, 'asdfsadf' );
insert into x values (1001, 1, 104, 'asdfsadf' );
insert into x values (1001, 3, 105, 'asdfsadf' );
insert into x values (1001, 6, 106, 'asdfsadf' );
insert into x values (1001, 1, 107, 'asdfsadf' );
insert into x values (1001, 1, 108, 'asdfsadf' );
insert into x values (1002, 1, 109, 'asdfsadf' );
insert into x values (1002, 2, 110, 'asdfsadf' );
insert into x values (1002, 5, 111, 'asdfsadf' );
insert into x values (1003, 1, 112, 'asdfsadf' );
insert into x values (1003, 2, 113, 'asdfsadf' );
insert into x values (1003, 5, 114, 'asdfsadf' );
insert into x values (1003, 4, 115, 'asdfsadf' );
insert into x values (1004, 2, 116, 'asdfsadf' );
insert into x values (1004, 5, 117, 'asdfsadf' );
Query to resolve;
select all sessionid for which ONLY exist one actionid for each of 1 and 2 and 5
also important that all 3 actionid must exist for that sessionid otherwise that record is not valid for us.
with the table above the result should be;
SESSIONID
=======
1002Why isn't 1003 included? It has only 1 each of 1, 2, and 5, and it has all 3 of those actionids.
This does what you requested:
SELECT sessionid
FROM x
WHERE actionid IN (1, 2, 5)
GROUP BY sessionid
HAVING COUNT (actionid) = 3
AND COUNT (DISTINCT actionid) = 3
;This does not assume anything is uniue.
Did you mean that the sessionids displayed must not have any actionids other than 1, 2 and 5? If so:
SELECT sessionid
FROM x
GROUP BY sessionid
HAVING COUNT (actionid) = 3
AND COUNT (DISTINCT actionid) = 3
AND COUNT ( CASE
WHEN actionid IN (1, 2, 5)
THEN 1
END
) = 3
;Either way, GROUP BY ... HAVING is a natural way to approach the problem. You're interested in groups of rows, not single rows (that's what GROUP BY is all about), and the group as a whole must meet certain conditions (that's what HAVING is all about).
Edited by: Frank Kulash on Jan 19, 2012 11:22 PM
Added 2nd guess -
NW04s(SP7/FEP7)-Select Filter value for HIER in 3.XBexAnalyzer doesn't work
Hi,
We went live with SPS 7/FEP 7 and we are having problem in 3.X Bex Analyzer with "Select Filter Value" for charcteristic having active hierarchy(in this case it is using time dependent hierarchy). (For Eg: Organization Unit)
If I inactivate the hierarchy for organization unit at query level and then execute the query, then "select filter value" works for Organization Unit.
NOTE: I checked other query using hierarchy (not time dependent hierarchy) and I was able to do "select filter value"
Please let me know if any OSS note is available for this issue so that we can fix this issue in our Production Environment.
NOTE: The above issue works in SPS 8/FEP 802 with 3.X Bex Analyzer.
Thankyou,
-Sini
Message was edited by: Sini KumarHi,
Did you have an asnwer to your problem?
We've a similar problem we had a technical upgrade to BI 7.0. But we still work with the frond end tools of 3.5.
When we select in the Bex analyzer a node in an hierarchy it shows the result, but if want to select an other node we must first remove the old filter. This wasn't when we're on the 3.5 enviroment.
Maybe if the problem is solved, this can help us.
Thanks in advance!
Regards,
Juriaan -
ITunes always selects all Applications for installing on iPod
When I connect my iPod to my Mac to sync, iTunes tends to select all applications for upload to the iPod, even when I've previously selected just a few apps. Is this the intended behaviour? Its not desirable from my perspective!
Message was edited by: agw1976I have a similar issue. Apps that I have previously deleted reappear. How many Apps do you have in Itunes?
I have over 3000 and suspect this may be creating some type of problem?
I can delete the apps on my I-Phone 3GS with current app code 3.1.3 or via Itunes 9.1(79) on my computer which has the latest operating system 10.6.3 and Itunes that were released 3/30/10 and still have the problem.
I have deleted the sync cache with no luck. Previously I removed all the applications from Itunes and re-synced the apps from the phone this solved the problem for a while but ended up occurring again once I got closer to 3000 apps. Either it is app qty. related or some type of corruption that is occurring?
Apple Please fix this; while your at it add folders! I'm getting real tired of this.
I-Mac Mac OS X (10.6.3) -
ADF - Sending a value for the pages
Hi, How I send a value for other page who can to make with that the page get this same value without task flow. Is there a way?
Hi,
use declarative approach:
af:setPropertyListener
from: #{origin value holder}
to:#{pageFlowScope.valueToPassOn}
type: action, value change (whatever should trigger a value to be set. Commonly if setPropertyListener is added to command button, you choose action)
To get this value back on another page, you use
#{pageFlowScope.valueToPassOn}
Frank -
Report row highlight based on a page item
Is there a way to highlight a report row based on the value of a page item?
In my case I have a report where the application user requests data in a detail report using a column link in the master report. This loads an id number from my report into a page item (say :P8_ID for example). If this item is null, I want the report rows to all render normally (nothing is selected or the detail report has been closed). If there is an id in that field then I want the row containing the information about that item to highlight (its column link has been clicked selected it to bring up a detail report).
At first glance, this looks similar to Vikas solution (Change the Report row color when clicked but I am trying to make the connection between what has already been done and where I need to be.After looking back, I discovered my value was being set after the report rendered. When I re-organized my calculations and the rest, it worked.
-
Error unowned UIDs for SVG page Item
Muse keeps shutting down because of this message, anybody knows whats going on?
error unowned UIDs for SVG page Item.
THANKS!Please send us the .muse file at [email protected] along with a link to this thread so we can repair and return it. (There was a bug in a prior version of Muse that could introduce minor damage within your file which would be reported when doing a Save As.) If the file is larger than 20Mb you can use a service like Adobe SendNow, Dropbox, WeTransfer, etc. (If you use a service, please include your return e-mail address in the body of the message, since not all services include it in the sharing invite they send.) Thanks.
-
How to access each row value for a database item
On my form I have a database datablock that represents a table in my database.
5 rows are shown with a scroll bar that can be viewed to show the rest.
The user is able to change some of the Database Item values represented in this datablock for any row shown in the datablock.
I need to validate the correctness of the users change before allowing the database datablock to update the table in the database.
But a database item in a datablock will represent a value for every row in the table. So how do I access each row value for a database item separately. What is the PL/SQL syntax?
thanks,
michelleIn my situation it was better to use the loop instead
of a when validate trigger because...Well it was clearly not better to use a loop that doesn't work. I don't understand what you're not clear on about the item and record validation triggers. If you have a specific validation rule for a single field (such as a date that cannot be in the future), that would go in a When-Validate-Item trigger on the date item. If the user enters a future date, your code would display an error message and raise a failure. Raising a failure prevents the item from being marked as valid. Invalid items prevent the record from being inserted/updated. Sometimes you have a validation rule that requires looking at more than one item at a time, such as two items that must either both be NULL or NOT NULL. In that case, you could not use a When-Validate-Item trigger because you can't clear or populate both at once. So then you would use a When-Validate-Record at the block level and if one field is NULL and the other isn't, you would display an error message and raise a failure. Forms is very civil in this respect; we don't throw exceptions around here, but then I digress. -
Using Select List value for building report
I have an interactive report form. I have a "After Header" (LOAD) process that run sql commands that will populate a table with the data that the report needs for a given week.
I have a Select List item that is run as a "Before Header" that gets a list of dates from a table. The dates only contain the first day of the week for the past two years. It is called "WEEK_OF" table and the column is called "WEEK_OF_DATE".
The default value for the Select List is the first day of the current week. And then all of the first day of the week from the WEEK_OF table.
I would like the LOAD process to use the value in the Select List. So at start up I would like the List to show the current week and report to begin with data from the current week.
So I have tried to use the variable :WEEK_OF_DATE (Item name) as the beginning date for the report. However :WEEK_OF_DATE is null.
Also, after I have the report displayed, I would like to select a new date from the list and have the report automatically refresh with that new data.
Any Ideas what I am doing wrong?Hi Lyle,
When setting a default value for a select list that is to be used to filter a report, I have found it best to do that using a computation, conditional on the item being NULL and running Before Header. If other computations rely on this value, then it should have the lowest sequence number to ensure that the value is available for those.
Andy -
I have a simple SharePoint list with a multiple line column that has append changes enabled. I am doing a report with Report Builder 3.0 and I want to show all values of the field the same way you achieve it through a DVWP using:<SharePoint:AppendOnlyHistory
FieldName="Comments" runat="server"
ControlMode="Display" ItemId="{@ID}"/>
Any suggestions to show all the appended values?Hi,
I am trying to involve someone familiar with this topic to further look at this issue.
Regards,
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Rebecca Tu
TechNet Community Support -
Showing selected parameters values on each page in SSRS
Hi All,
I have a SSRS report with multi-selection parameter..Basically it's a summary report of sales and based on country parameter I have to show data.
let say Country is the parameter and below are the values of the Country parameter list...
Parameters list:
All
Australia
England
Canada
Italy
Parameter: All
1) If I select 'All' in the parameter list then
In 1st page I should see data related to Australia and display parameter value as Australia in the left side top corner of the report. In 2nd page I should see data related to England and display parameter value as England in the left side top
corner of the report. In 3rd page I should see data related to Canada and display parameter value as Canada in the left side top corner of the report. In 4th page I should see data related to Italy and display parameter value as Italy in
the left side top corner of the report. In 5th page I should see data related to All and display parameter value as All in the left side top corner of the report.
2) If I select Australia and England in the parameter list then
In 1st page I should see data related to Australia and display parameter value
as Australia in the left side top corner of the report. In 2nd page I should see data related to England and display parameter value as England in the left side top corner of the report.
3) If I select Italy in the parameter list then
In 1st page I should see data related to Italy and display parameter value
as Italy in the left side top corner of the report.
It should look like this..I need help in showing parameters (selected parameter) individually on each page.
Page-1
Parameter: Australia ( how to show Australia on 1st page)
Product
Amount
Country
Prd1
100
Australia
Prd2
200
Australia
Prd3
300
Australia
Prd1
340
Australia
Page-2
Parameter: England ( how to show England on 2nd page)
Product
Amount
Country
Prd4
400
England
Prd1
125
England
Page-3
Parameter: Italy ( how to show Italy on 3rd page)
Product
Amount
Country
Prd2
250
Italy
Prd3
250
Italy
Create Table:
Create Table Sample(
Product varchar(10) Not Null,
Amount Money null,
Country null
Insert Statement:
Insert into sample (Product,Amount,Country) Values ('Prd1',100,'Australia')
Insert into sample (Product,Amount,Country) Values ('Prd2','200,'Australia')
Insert into sample (Product,Amount,Country) Values ('Prd3','300,'Australia')
Insert into sample (Product,Amount,Country) Values ('Prd4','400,'England')
Insert into sample (Product,Amount,Country) Values ('Prd5','480,'Canada')
Insert into sample (Product,Amount,Country) Values ('Prd1','340,'Australia')
Insert into sample (Product,Amount,Country) Values ('Prd3','290,'Canada')
Insert into sample (Product,Amount,Country) Values ('Prd1','125,'England')
Insert into sample (Product,Amount,Country) Values ('Prd2','250,'Italy')
Insert into sample (Product,Amount,Country) Values ('Prd3','250,'Italy')
Thanks in Advance,
RH
sqlHi sql9,
According to your description, you have a report with a parameter for selecting countries. Now you need to display records for one country and show the country name on each page. Right?
For this requirement, we need to add a parent group (Group on Country) so that we can set page break for each country. Also, we want to display the country name on each page. This country name is group name, not the parameter because the parameter contains
all countries that we have selected. In this scenario, we just need to set the group name as page name, then display the Page Name (Build-in Field) in report header. You case has been tested in our local environment. Here are steps and screenshots for your
reference:
1. Create a table in report. Set detail rows group on Country. Set page break between each group instance.
2. Create a parameter for filtering data. Set Filter on tablix.
3. Go to Row Groups, select group Country. In Tablix Member Properties grid, go to Group->PageName. Put “=Fields!Country.Value” in expression.
4. Create a textbox in report header. Put Page Name (in Build-in Fields) into the textbox.
5. Save and preview. It looks like below:
Reference:
Pagination in Reporting Services (Report Builder and SSRS)
If you have any question, please feel free to ask.
Best Regards,
Simon Hou
-
Javascript while selecting all values in multiselect option of prompt
Hi,
I am getting javascript error while doing following steps. It seems to be a bug in OBIEE.
- Create a dashboard prompt, add a column with multiselect option.
- Use this dashboard prompt in your report.
- Click '...' button to select values for this dashboard prompt.
- Now click '<<' button to include all values and then click 'ok' button.
- Now again click '...' button to modify values.
When you click, you will get a javascript error. If debugging is ON in your browser setting then you will get a prompt. If it is turned OFF you can see it at the bottom left corner of your page.
Any idea how can i resolve this issue?
Thanks.
Aasim Khan.No, I'm not getting the error. Able to do all the steps specified by you and even adding, removing etc... Tested in 10.1.3.4.
Which version of OBIEE are you using?
I think it might be because of large number of values it is extracting in your case (don't know exactly).
Maybe you are looking for
-
Is there a way to Disable the Framerate Limiter in GTA Games on iOS?
On the PC version, you can enable or disable the framerate limiter. When it's turned on, you get 30fps. When it's off, you get well over 60fps depending on how powerful your PC is. To keep it at 60fps, you just turn off the frame limiter and turn on
-
I am unable to retrieve my emails since yesterday. I called Time Warner Cable, my Internet provider, but they could not help me; they stated that the settings had changed, since they were upgrading. I adjusted the settings, but still get an error m
-
Error commandlink and commandbutton
Hi. I have a sample page whith a datatable who rows are commandlinks that (action procedure1). I this page I have a button that re-execute a query who provide rows to datatable (action procedure2). When I click in a row the commandlink works ok calli
-
Zen Stone Plus: Does it start playing again where i stopped the so
I hope one og you can help me. I want to know if the Zen stone Plus MP3 player starts in the same song after it has been turned off. So if I turn it off 3.4min in a song, does it then start at 3.4 when i turn it on again, or does it start from the be
-
Import against different scenarios
My user imports the material xyz some times by paying customs duty, cvd, adc etc. and some times against advance licence. In that case how to proceed. My idea is - Scenario1 Import by paying customs duty - with all the import duty (seven) conditio