How to display presentation variable in a column
Hi all....I have to display presentation variable in a column...
I tried placing @{variable_name} in column formula..
But it is displaying a value 0 ..where the variable carries a date value.
Any suggestions?
Take a look at this blog: http://gerardnico.com/wiki/dat/obiee/presentation_variable
Try it out by providing a default format.
Thanks,
BIPuser
Similar Messages
-
How to display presentation variable in a narrative view
Is there any way that we can display the prompt value stored in a presentation variable in the narrative view?
Hi,
use this synatx @{PRESENTATION_VARIABLE}{'Default'}
Regards,
Gianluca -
How to create Presentation variable for columns and to use it in Narrative?
Hi All,
Anybody know how to create presentation variable for a column (i.e., i need to create it in edit formula section itself). And then, I should use it in Narrative section to display that column value. Is it possible? Or do i need to use any other variable for this requirement? If so please let me know, how to create it? This is very urgent requirement.
Thanks in Advance
ThenmozhiHi Satya,
I just want to create a table that should horizontally display the values like below:
SUID Tag # :123456 Year Mfg: 2007
Description: computer corporation FA ID#: 4576
Model Number: 4569 hESC: #ert
Serial Number: 78945 Flags: c
Department: Hematology
User: thenmozhi
Database: OLAP
I think we can create this type of report using either Narrative or Static Text. But I am not sure whether it is possible or not? And also another thing is that sectioning is applied for SUID Tag # column. So, depending on the dashboard prompt if the SUID Tag # retrieves two or more values.
Then the first value for example 123456 and the values for the other columns related to this SUID Tag # value should display in the first page (i.e., page 1). And if the next value of the SUID Tag # for example say 678901 then the values should move to second page that is like this:
SUID Tag # :678901 Year Mfg: 2008
Description: Computer Manufacturing FA ID#: 4577
Model Number: 4570 hESC: #eth
Serial Number: 78946 Flags: G
Department: Hematology
User: Rehman
Database: OLAP
Thanks
Thenmozhi -
How to pass presentation variable in column Fx using GO URL
Hi All,
I want to show a download link directly using go url .
In my dashboard prompt i am using some presentation variable .
those variables i am using in the report's column formula .
When i am applyning the prompt that it is not applying in the column Fx. so when i download the excell it shows same data for all the option choosen.
If anybody knows the syntax please help.
Thanks ...Hi,
Like this you can pass presentation variables to the columns using Go URL
'<a href=saw.dll?Dashboard&PortalPath=/shared/Test/_portal/Test%20KPIs&Page=Page1&Action=Navigate&col1="Dim%20Country"."Country%20Name"&val1='||'@{PV_Contry'||'>'||'Country'||'<\a>'
Please use backslash in anchor tag end. Since here it is not accepting I am using forward slash.
Thanks
Vino -
How to display a variable in the report?
hi all
i want to use one complex sql statement which will return only one value and i need to display it in report. i'm new to OBIEE. i thought of creating a repository variable to hold that value. but im not sure of how to display the variable in the report.
Any idea?
Your help is appreciatedHi where do you want to show that value in answers i mean in which part of answers, you want to show that?
see this
http://bischool.wordpress.com/2009/05/05/presentation-variable-values-in-report-titles-or-using-presentation-variable-in-dashboard-text-object-and-narrative-view-directly/
also see this to where and how to use variables in answers
http://shivabizint.wordpress.com/2008/10/02/oracle-bi-ee-variables-overview/ -
How to display the value of a column in a chart at the top of each column
How to display the value of each column in a chart at the top of each column?
Like this?
Done using chart Inspector.
For details, see Chapter 7, Creating Charts from Numerical Data in the Numbers '09 User Guide. The guide may be downloaded via the Help menu in Numbers.
Regards,
Barry -
How to display the variable content in message?
Hi anybody
please let me know How to display the variable content in message?
please send few lines of sample code to understand that
thanks in advanceHi,
Check out the link
http://help.sap.com/saphelp_nw70/helpdata/en/2c/840b42202cce6ce10000000a155106/content.htm
REPORT Y9020027 LINE-SIZE 130. "Release 3.1G, 4.5A
BREAK-POINT.
MOVE: 'TESTREPORT for "ASSIGN FFeld+o(l) TO " '
TO SY-TITLE.
Declaration of variables **********************
FIELD-SYMBOLS <FS1>.
DATA: FFELD8(8) TYPE F VALUE '1022333'. "Unusual: Explicit 8 bytes
*DATA: ZFELD1(2) TYPE N. "Here slack bytes are (DW border)
"necessary
"If you like computing error, please uncomment the above
DATA: FFELDX(8) TYPE F VALUE '7777777'.
DATA: FFELDA(8) TYPE F VALUE '7333213'.
DATA: NFELDX(400) TYPE N.
DATA: OFFX(4) TYPE I VALUE 160.
DATA: LENX(4) TYPE I VALUE 8.
Main Section *******************
SKIP.
WRITE: /5 'Example 1 **** inadmissible ASSIGN ***' COLOR 6.
WRITE: /10 'Inadmissible ASSIGN: ''ASSIGN FFELD4+1(3) TO <FS1>'' '.
ASSIGN FFELD4+1(3) TO <FS1>.
ULINE.
SKIP 2.
SKIP.
ASSIGN FFELD8+8(8) TO <FS1>. "<-- Assigning of variable FFELDX !!
BREAK-POINT.
WRITE: / 'ASSIGN command with FFELD8, but FFELDX will be assigned'
COLOR 3.
WRITE: /5 'Example 2'.
PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
WRITE: /10 'Content of FFELDX :', FFELDX.
ULINE. SKIP 2.
SKIP.
ASSIGN FFELD8+16(8) TO <FS1>. "<-- Assiging a few FFELDA to <FS1>
BREAK-POINT.
WRITE: / 'ASSIGN with FFELD8, but instead FFELDA is assigned'
COLOR 3.
WRITE: /5 'Example 3'.
WRITE: /10 'Content of FFELDA :', FFELDA.
PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
WRITE: /10 'Content of FFELDA :', FFELDA.
ULINE. SKIP 2.
BREAK-POINT.
DO 4 TIMES.
ASSIGN FFELD8+OFFX(LENX) TO <FS1>. "Zuordnung auf OFFX zu <FS1>
WRITE: / 'ASSIGN command with FFELD8, es wird NFELDX zugeordnet'
COLOR 5.
WRITE: /5 'Example 4', 'DO-Schleife Nr.:', SY-INDEX.
PERFORM DISPLAY-FFELD USING FFELD8 'FFELD8'.
WRITE: /10 'Content of NFELDX145(40) :', NFELDX145(40).
ULINE. SKIP 2.
ADD 8 TO OFFX.
ENDDO.
Subroutines *******************
Display of data fields and field symbols *
FORM DISPLAY-FFELD USING FFELD FNAME.
WRITE: /10 'Content of', FNAME, ':', FFELD.
PERFORM FELDEIGENSCHAFTEN USING FFELD.
WRITE: /10 'Content of <FS1> :', <FS1>.
PERFORM FELDEIGENSCHAFTEN USING <FS1>.
ADD 111 TO <FS1>. "<-- Das Feldsybmol wird verwendet
WRITE: /10 'ADD 111 TO <FS1>'.
ULINE.
WRITE: /10 'Content of', FNAME, 35 ':', FFELD.
WRITE: /10 'Content of <FS1>', 35 ':', <FS1>.
ENDFORM.
Determination of field properties (only for information) *
FORM FELDEIGENSCHAFTEN USING ALLG.
DATA: FLAENGE(2) TYPE N.
DATA: FTYP(1) TYPE C.
DATA: FOUT(2) TYPE N.
DATA: FDEZ(2) TYPE N.
ULINE.
DESCRIBE FIELD ALLG LENGTH FLAENGE.
WRITE: /10 'Field length :', FLAENGE.
DESCRIBE FIELD ALLG TYPE FTYP.
WRITE: /10 'Field type :', FTYP.
DESCRIBE FIELD ALLG OUTPUT-LENGTH FOUT.
WRITE: /10 'Output length :', FOUT.
DESCRIBE FIELD ALLG DECIMALS FDEZ.
WRITE: /10 'Decimals :', FDEZ.
SKIP 1.
ENDFORM.
END OF PROGRAM ************************************* -
How to display number of rows as columns in a select statement? This is on
How to display number of rows as columns in a select statement? This is on 10g R2.
Thanks,
RFor the current (ie. row 1 of 100)
row_number over (order by -pick_a_column_set) as rnfor the total number of columns returned in your query
count(*) over() as total_count -
hi friends,
I have a variable in wk_matnr value is 'MATERIAL123'.
How to display this variable like Material No :-MATERIAL123
How to code for this in BSP.
MoosaHi,
To display any variable in BSP.
you need to do this:
<%= varibale name %>
For your variable,
<%= wk_matnr %>
OR
<htmlb:label for = "wkm"
text = "Material No" />
<htmlb:text id = "wkm"
text = "<%= wk_matnr %>" />
Hope this is helpful.
Regards,
Abhinav -
Reference presentation variable on some column
Can I reference presentation variable on some column. That column is some calculation....
check this i hope it will help
http://gerardnico.com/wiki/dat/obiee/presentation_service/obiee_url_passing_filters -
How to create Presentation Variable in OBIEE 11g
Hi,
Can any one tell me how to create a Presentation Variable. I know about the creation of Session and Reporsitory variables.
Is it to be created in the Edit formula of the column in criteria tab.
ThanksHi,
Refer : http://gerardnico.com/wiki/dat/obiee/presentation_variable_initialization
Thanks
Aravind -
Using presentation variables in report columns
Hi.
I need to create a report column evaluating the difference in days between a field containing a date and a presentation variable.
My field is defined as:
TIMESTAMPDIFF(SQL_TSI_DAY, "Data Scadenza"."Data Scadenza Fattura", @{DataAnalisiScaduto})
Where DataAnalisiScaduto is a presentation variable passed to the report and it's generated on a date field.
Executing the report I get an error and looking at the session manager in the generated query I can see:
TRUNC( (31 / nullif( 12, 0)) / nullif( 2010, 0) ) - TRUNC( T4292.DATA )
Why ? How can I do ?
Thanks,
AndreaErro again ...
the value passed is 03/02/2011 (picked from the calendar) and the default suggested is 2010-01-10
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46047] Datetime value 03/02/2011 from 03/02/2011 does not match the specified format. (HY000)
SQL Issued: {call NQSGetQueryColumnInfo('SELECT "Data Incasso"."Data Incasso", "Data Scadenza"."Data Scadenza Fattura", "Dettagli Pagamento"."Cd Fattura", "Dettagli Pagamento"."Cd Tipo Riga Pag", CASE WHEN TIMESTAMPDIFF(SQL_TSI_DAY, "Data Scadenza"."Data Scadenza Fattura", date ''03/02/2011'') <= 0 THEN ''Fino 0 gg'' WHEN TIMESTAMPDIFF(SQL_TSI_DAY, "Data Scadenza"."Data Scadenza Fattura", date ''03/02/2011'') > 0 And TIMESTAMPDIFF(SQL_TSI_DAY, "Data Scadenza"."Data Scadenza Fattura", date ''03/02/2011'') <= 30 THEN ''Fino 30 gg'' WHEN TIMESTAMPDIFF(SQL_TSI_DAY, "Data Scadenza"."Data Scadenza Fattura", date ''03/02/2011'') > 30 And TIMESTAMPDIFF(SQL_TSI_DAY, "Data Scadenza"."Data Scadenza Fattura", date ''03/02/2011'') <= 60 THEN ''Fino 60 gg'' WHEN TIMESTAMPDIFF(SQL_TSI_DAY, "Data Scadenza"."Data Scadenza Fattura", date ''03/02/2011'') > 60 And TIMESTAMPDIFF(SQL_TSI_DAY, "Data Scadenza"."Data Scadenza Fattura", date ''03/02/2011'') <= 90 THEN ''Fino 90 gg'' ELSE ''Oltre 90 gg'' END, Misure.Dovuto, Misure.Pagato, Misure.Scoperto FROM "Vendita - Pagamenti"')}
SQL Issued: SELECT "Data Incasso"."Data Incasso", "Data Scadenza"."Data Scadenza Fattura", "Dettagli Pagamento"."Cd Fattura", "Dettagli Pagamento"."Cd Tipo Riga Pag", CASE WHEN TIMESTAMPDIFF(SQL_TSI_DAY, "Data Scadenza"."Data Scadenza Fattura", date '03/02/2011') <= 0 THEN 'Fino 0 gg' WHEN TIMESTAMPDIFF(SQL_TSI_DAY, "Data Scadenza"."Data Scadenza Fattura", date '03/02/2011') > 0 And TIMESTAMPDIFF(SQL_TSI_DAY, "Data Scadenza"."Data Scadenza Fattura", date '03/02/2011') <= 30 THEN 'Fino 30 gg' WHEN TIMESTAMPDIFF(SQL_TSI_DAY, "Data Scadenza"."Data Scadenza Fattura", date '03/02/2011') > 30 And TIMESTAMPDIFF(SQL_TSI_DAY, "Data Scadenza"."Data Scadenza Fattura", date '03/02/2011') <= 60 THEN 'Fino 60 gg' WHEN TIMESTAMPDIFF(SQL_TSI_DAY, "Data Scadenza"."Data Scadenza Fattura", date '03/02/2011') > 60 And TIMESTAMPDIFF(SQL_TSI_DAY, "Data Scadenza"."Data Scadenza Fattura", date '03/02/2011') <= 90 THEN 'Fino 90 gg' ELSE 'Oltre 90 gg' END, Misure.Dovuto, Misure.Pagato, Misure.Scoperto FROM "Vendita - Pagamenti" -
How to cast presentation variable
Hi,
How to cast the presentation variable in answers
Thanks in advance
nareshHi Naresh,
Have you tried to use the CAST function?
CAST(@{test}{123} as char)
With the above column Formula in Answers Request I can able to view the result 123, which is the default value specified the presentation variable 'test'.
Hope this will helps you..
-Vency -
How to display images in a table column?
Hi,
In a VC model, I have to display images in a table column for each record found.
How can this be done?
Regards,
NitinHi Nitin,
It can be done by adding to the table the Image control (can be found under Advanced Controls in the Compose panel).
In the URL property (in the Configure panel of the Image control) you can define any expression that will return the image URL. For example:
="http://hosting.site.url/"&@ImageNameField
Regards,
Udi
Edited by: Udi Cohen on Jun 11, 2008 1:39 PM -
JTable : How to display an icon near the column name ?
Hi all,
I'd like to display an icon near the column name of my JTable when an user click on the column; the icon specify the sorting applied to the data of JTable.
I know that i have to write a render, but how ?
Cheers.
StefanoHi all,
I found the solution at http://exampledepot.com/egs/javax.swing.table/IconHead.html
Cheers anyway.
Stefano
Maybe you are looking for
-
What about this black border around my movie?
I've just started learning about iMovie. With a Canon Digital I've shot some test footage. Thing is, some of the clips have a black border around the entire movie where other clips have no border top and bottom but do have side borders. What gives? M
-
Mac Pro HD A is maxed out with 79 gb of pics. Moved the iPhoto library file to HD B. Took days to copy. Trashed the A library file. When I try to open iPhoto I get: "Check with the developer to make sure iPhoto works with this version of MacOS X.
-
Cannot launch J2ee server, pls help
I am not able to launch j2ee server. I have followed instructions in Installation file and installed software in correct directories and have set up environment variables in autoexec file as follows: set J2EE_HOME=c:\j2sdkee1.3 set JAVA_HOME=c:\jdk1.
-
Hello Adobe AIR team, we've built an Adobe AIR (1.5.3) app which runs fine on Windows but keeps crashing infrequently on different Mac systems, even while in background. Have a look at some crash logs we collected. Is there any way to fix that proble
-
Hello all, I was searching for a driver for my ricoh webcam (05ca:1870) in my hp pavilion dv1000. I know that here http://bitbucket.org/ahixon/r5u87x/ there's a user space tool manager cameras based on Ricoh R5U87x chipsets though uvcvideo, but my we