How to pass column values to narrative view in obiee11g
Hi All,
my report values like this
Month_name value
Jan 100
Feb 500
march 400
April 1000
Now I can display march values in narrative view
Ex:march values is 400.
when i use @1,@2 it will display the Jan values.
And Also i want show the Table view also in same report.
Hello,
Using dynamic sql you can pass column name to function. well I am not getting what you really want to do ? Please write in more detail. By the way I am providing one example here. see it uses dynamic sql.
Create or replace function fun_updtest (p_columnname_varchar2 in varchar2,
p_value_number in number)
return number is
v_stmt varchar2(500);
begin
v_stmt := 'update emp
set '||p_columnname_varchar2||' = '||to_char(p_value_number)||'
where empno = 7369';
execute immediate v_stmt;
return 0;
commit;
end;
call to this function can be like this..
declare
v_number number;
begin
v_number := fun_updtest('SAL',5000);
end;
Adinath Kamode
Similar Messages
-
Problem in displaying multiple column values using Narrative View
Hi All,
I have a requirement where in I need to display column 1 of an Answers report as a header and all values of column 2 below tht.
There are multiple values from column 2 for every value in column 1
Example:
Group:
Grp (This is column 1)
Activity:
Act1
Act2
Act3 (These are values from column 2)
I have used narrative view for this which looks like:
Group: @1
Activity:@2[br/]
But this displays the value of column1 along with every value of column 2. I want column 1 value to be displayed only once.
Thanks in advance
RadhikaHi see this link it may helpful
Re: Narrative view not showing up in the report
Re: how to transpose columns to rows in OBIEE
Regards
Naresh -
How to pass column value which is not present in source criteria
Hi,
In one of my report I want to pass a column value from Source report(a pivot table) to target report. The column which I want to pass is not present in the sorce report criteria. Is there any work around for this issue.
I added this column in criteria and hidden the column. But the issue is not solved.
Best Regards,
TKB.Swati,
I am navigating from Summary report to detail report. I am prompting the required fields in detail report. But I want to pass one more column value explicitly, which is not present in source request.
Best Regards,
TKB. -
How to get column value in grid View
Hello My first Language is German so bear with my English
FIRST vIEW THE SCREEN SHOT PLEASE
I am new to asp.net i am making small application to generate reports in which user give criteria just liek we do in sql server i have two grid view in accordion section then there is button so Both GridView has headers that Name
, Output and Filter
Name shows the Column of database fields, output column has check box if user check box it will only display those columns and filter is text box in which we filter our results
basically i am just trying to do this like sql server in which user check columns to display and also provide filter criteria and then sql query modified according to the grid values.
i have attached the screen shot of grid view kindly view it please You will have idea what i am tyring to say
now i want some help in filter criteria
suppose user check ref Code, School,Program, Name in the grid view and press show button
it generates query
select RefCode,School,Program,Name from Applicant.
now i want to apply where clause if user write something in filter text box which i can not do kindly help me out and view the screen shot my desire outcome is if user check column and also write some value in RefCode filter textbox let suppose '0565-01'
and in School Text user write SBE
it should generate sql
select RefCode,School,Program,Name from Applicant where (RefCode='0565-01')and (School='SBE');
my code for show button which generate simple select statement without where clause is below.
protected void Button2_Click(object sender, EventArgs e)
String output = "";
String filter = "";
foreach (GridViewRow row in gvExperience.Rows)
CheckBox cb = (CheckBox)row.FindControl("CheckBox1");
if (cb.Checked == true)
output += row.Cells[0].Text.ToString() + ','; // get the Name of columns and concate in output variable }
output = output.Remove(output.LastIndexOf(","), 1)
string sql = "select " + output + " from Applicant"; // display the query
bindoutput(sql); // pass this query and bind the new gridview which contain generated sql
AzeemHi Azeem,
>>I am new to asp.net
Please ask on this forum instead:
http://forums.asp.net/24.aspx/1?Web+Forms+Data+Controls
ASP.NET issue is not related to WinForm forum.
Regards,
Barry Wang
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to pass column name as a values from one page to another
hi
i have created a report(pivot) from a table
SQL> SELECT * FROM T;
C1 C2 C3 D SEQ
A AA 2 1
A AB 3 2
A AC 2 3
B AB 5 4
B AC 6 5
SQL> SELECT C1
2 ,NVL(MAX(CASE WHEN C2='AA' THEN C3 END),'') AA
3 ,NVL(MAX(CASE WHEN C2='AB' THEN C3 END),'') AB
4 ,NVL(MAX(CASE WHEN C2='AC' THEN C3 END),'') AC
5 ,SUM(C3) FROM T GROUP BY C1;
C1 AA AB AC SUM(C3)
A 2 3 2 7
B 5 6 11
SQL>
my requirement in Apex is like this(reverse)
eg-
when i click on cell values '2' then,it should return
C1 C2 C3 D SEQ
A AA 2 1
{quote}how to pass column name as a values from one page to another
for example i have to pass 'c2' as a value to next page{quote}for report pivot you can reffer below link
Report
Amuthanks for your reply
i 'm doing what exactly you mention here .
my problem here is
i have 15 columns
i am executing a query based on the values of the column(column name) in the target page
1)here i am passing(all) the column values to the next page-but i want to pass only one column values(column name)
when i click on any cell of that column
OR
2)i can pass all column name to target page -there(in the target page) i can filter out
i think option 1 would good if you filter out the unwanted columns
Regards
Amul -
How to get column values on item added event receiver
Hi,
I have two columns in a document library and one is people or group column and the other one is choice column with check boxes.
I want to know how to read column values on Item Added event receiver, so that I can create if statements based on those values.
Thank you,
AA.Hi AOK2013,
Have you had a look at this Microsoft tutorial: http://msdn.microsoft.com/en-us/library/office/gg981880(v=office.14).aspx
Essentially, you want to use the AfterProperties property to access the changed field value.
E.g.
var personvalue = properties.AfterProperties["YourPersonFieldName"]
Regards, Matthew
MCPD | MCITP
My Blog
View
Matthew Yarlett's profile
See my webpart on the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
Upload and Crop User Profile Photos -
How to pass a value from the report to a form ( BIT OF URGENT ).
Hi,
I had created a "Form on a Table with Report" on the report I had remove the edit link and set one of the column feilds that functionality. Now I want to know how to pass that value that is clicked ( having hyper link ) on to the form where it runs a SQL query and then displays the reuslts on the form.
Illustrating with an example.
I am having these following columns on the report ( these are the results for the join statement )
JOBNUM JOBNAME DEPTNUMBER SAL EMPNO LNAME FNAME
In the above JOBNUM is having Hyper link as I removed the edit image.
Now this is area I am having problem. When the user clicked on the JOBNUM then on form it should display 20 other columns( pulled from 5 other tables ) which are related to that particualr JOBNUM.
Anybody give me a solution in which area I have to include my SQL statement and how to pass that selected value to that SQL statement.
Cheers,
KrishnaHi Ron,
I am doing exaclty what you have suggested me but no luck. I started changing the DEMO_CUSTOMERS application to my requirements.The report is working fine and on the report I have created a page attribute to the Hyper linked column and linked that to the page 2 and assign that attribute with #JOBNUM#.
I am able to pass that value on to form when I click on the JOBNUM. But the problem is I am not able to pass that value into the SQL query so that my query pulls 20+ columns on to the Form ( which is second page ).
Small clarification... On the form region it is said FORM NAME and type is HTML is that is the way the APEX was designed or does it need to say region type as FORM.
Thanks for your help in advance.
Cheers,
Krishna. -
Passing a value to Inline View WHERE clause through JDev...
Hi ,
I need to pass a value to inline view which is mentioned in below VIEW query.
That view is created inside a view using jDev. Note that there are two WHERE clauses one in the Main query and the other in the Inline view.
How to set the value for the innerView.
//copied the code from Java
view.volAlertsHistroyView.setWhereClauseParam(1, new Integer(clientId));
Gives an error Missing IN or OUT parameter at index:: 1
SELECT Alerts.SEND_TIME,
Alerts.STATUS,
Alerts.TEXT ,
Groups.NAME,
VolRoles.ROLE_NAME,
VolRoles.ID as vid,
Groups.ID as gid
FROM ALERTS Alerts, ALERTS_GROUPS AlertsGroups, GROUPS Groups, VOL_ROLES VolRoles,
--Inline view starts
(SELECT GRP_ID, VRL_ID FROM vol_groups WHERE cli_id = :1) user_group_role
--Inline view ends
--Actual WHERE clause starts
WHERE ((Alerts.ID = AlertsGroups.ALT_ID)AND (AlertsGroups.GRP_ID = Groups.ID))AND (AlertsGroups.VRL_ID = VolRoles.ID)
AND AlertsGroups.VRL_ID = user_group_role.VRL_ID AND AlertsGroups.GRP_ID = user_group_role.GRP_ID
Please get back to me .
Regards
Mohan
[email protected]What happens when you change your Java code to:
view.volAlertsHistroyView.setWhereClauseParam(0, new Integer(clientId));
The ":1" does not directly relate to the where clause param index you use in Java. In your query you could also use a ":2" for example. In BC4J you still use "0" for the first param.
Sascha -
Passing column values to another tab if check box selected in that row
Hi
I have the following requirement.
I have a table that gets populated by a web service. Have added one more field to it which is a check box. Th requirement is that I need to pass the values of column (say id) from each row which has it's check box selected, as input parameters to a web service in another tab.
example: table has fileds id, name, address,checkbox. If there are 5 rows and the user select 1 and 2 then I need the ids of 1 and 2 to be passed to another tab.
Is this possible ........
ThanksHi
I just don't want to make multiple selection but pass the values of a column from the selected rows to another tab to be used as input parameters to a web service.
I want to know how to pass the values(of one filed) of the selected rows across tabs/switches.
Thanks -
How to format the value in narrative ?
Hi Experts,
In BIEE 11,
How to format the value in narrative , such as separator.
In table or pivot property, I have set the separator for measure , but in narrative, the format will be disappeared. So how to implement this requirment?I had this problem with 11.1.1.6.0
If you want this format as the default display format for this column everywhere, then you can save that format as default display format for the column or data type (Lower right corner of data format tab: "Save as Default" button, "Save as the system-wide default for "Table"."Column"). When I had the problem the narratives did use the default display format.
Another workaround could be a direct database call to convert the data to a string. For example, in Oracle
EVALUATE('TO_CHAR(%1,%2)' AS CHAR(30), “Table".“Column" ,'$9,999.00')
but you may need to set EVALUATE_SUPPORT_LEVEL in your nqsconfig.ini, and this ties you to the database technology. -
How to pass the value from Sub report to main report
I have un report(mainreport) within a subreport(subreport).
With reporting services, how to pass the value from Sub report to main report?
thanksHi Alebet,
With reporting services to pass values from sub report in to main report is not supported directly.
But there are some workarounds through which you can get this .
There are two ways to get this.
1- Put your sub report query into some table. i mean to say through the subreport query get some temporary table.
2- Using this temporary tables data write some Scala function in the data base.
3- Now in your main report query return this scala function as a column.
4- Extract the column value where ever you want in your main report which is getting calculated from the subreport query. so you will be getting the values returned from the subreport in the main report.
This will definitely work fine as i have done some report in this way.
Another way of doing is that
1- prepare another data set with the same query as in sub report in the data tab.
2- then refer this 2nd dataset in your main report .
But better way will be the top one.
Anyway please let me know if you get the solution.
Thanks
Mahasweta -
SSRS How to pass a value for Hidden parameter ?
Hello,
I have a SSRS report deployed on the Report server. This report is having an "Hidden" parameter.
Could someone please guide me, how to pass the value to this internal parameter in each of the following case -
1. Report is accessed through a Desktop application/Web application in Report Viewer.
2. Report is accessed through the Url.
3. Report is accessed through the Report Manager.
Any quick help on this is highly appreciated.
Thanks!
-Vinay Pugalia
If a post answers your question, please click "Mark As Answer" on that post or
"Vote as Helpful".
Web : Inkey Solutions
Blog : My Blog
Email : Vinay PugaliaHi Vinay Pugalia,
Internal Parameters in SSRS are parameters that are not configurable by the end-user at run-time and values cannot be passed to this type of parameter (when present in the child report) in case of a drill-through report implementation. This
type of parameter is read-only and not accessible in parent report.
This varies from a Hidden Parameter, which the user is not prompted to provide, but can still be configured through the URL to the report server.
So no matter you access the report through report manager, URL or Report Viewer. The passing value to the internal parameter will not work.
As you have mentioned that I will also suggest you use the hidden parameter instead.
More details information in this blog for your reference:
SSRS – Understanding Report Parameter Visibility
How to pass value to hide parameter is the same as that of the visible parameter, similar thread for your reference:
Passing the value in action property of a text box
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
If you have any feedback on our support, please click
here.
Vicky Liu
TechNet Community Support -
How to pass multiple values from workbook to planning function ?
Hi,
I have created Planning function in Modeler and it has one parameter(Variable represents = Multiple single values).
When executing the planning function by create planning seq. in the web template : I see value of variable store data like ...
A.) input one value -> V1
B.) input three values -> V1;V2;V3
This function execute completely in web.
However, I want to use the planning function in workbook(Excel).
The value of variable can't input V1;V2;V3... I don't know how to pass multiple values from workbook to parameter(Multiple single values type) in planning function ?
thank you.Hi,
Please see the attached how to document (page no 16).
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be">how to</a>
Hope this was helpful
thanks -
How to pass a value to a bind variable in a query report in oracle apex
Hi Guys,
I have requirement to send weekly reports via email to some users. The users should receive their own records in the report. The user details is stored in a table. What I am planning to do is to create a report query in oracle apex to generate the report and then run a function/procedure via a scheduler to email the report to respective users. Now my query is ............. is it possible to pass a value (user name) to the report query to pull records of only that user? I know we can have bind variables in the report query but I have no idea how to pass a value for bind variables from a function/procedure.
Can anyone help me on this issue or suggest a better approach?
Thanks,
SanYou need to use dynamic sql
But please keep in mind that since you're using Oracle you may be better off posting this in some Oracle forums
This forum is specifically for SQL Server
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
In BADi , How to pass the values between two Method
Hi Experts,
We have two methods in BADis. How to pass the value between two Methods. Can you guys explain me out with one example...
Thanks & Regards,
Sivakumar SHi Sivakumar!
Create a function group.
Define global data (there is a similiar menu point to jump to the top include).
Create one or two function modules, with which you can read and write the global data.
In your BADI methods you can access the global data with help of your function modules. It will stay in memory through the whole transaction.
Regards,
Christian
Maybe you are looking for
-
ITunes won't integrate with Photoshop Elements 6 for Photo Syncing
I just recentley upgraded to Photoshop Elements 6 for organizing my photos, but for some reason, it keeps showing up my old Photoshop Elements 5 catalouge (which by the way, states that there's 0 pictures on listed albums) instead of my new Photoshop
-
Target value in value contracts
Hello people. I have an issue with value contracts in ECC 6.0 (trx VA41). Usually when you put the target value in your resume screen, that value goes directly to the WK00 condition (because I´m working with the standart price determination Wk0001).
-
Encore CS 3 did not recognite DVD-RW and DVD+RW
HI Is there any one could burn DVD-RW or DVD+RW on Encore CS 3 ? It've got error when I burned these , I also have Nero 7. burned both of these DVD fine with the same DVD burner. Any help will be great . Thank you
-
I ordered Adobe Photoshop Elements 13 from Amazon, received it this date, March 10th, 2015. There is no serial number on the box at all, anywhere.
-
Hi all, I'm trying to implement a simple routine where I divide a FXP by the number 7 in FPGA. I wanted to use the high throughput division but it seems to only round to the nearest integer although the output is capable of representing fractions. Al