What is data format "Hypertext Link" in column properties??
Hi,
What is data format "Hypertext Link" in column properties? How to use it?
Can I use column value to navigate to other report without using "Value Interaction" in column properties.
By changing the data format to say HTML, or Hypertext link, you can add HTML content/HTML tags within the column formula.
You can create a column formula that would resolve into a dynamic hyperlink and pass parameters by using Go Url. Check out Chapter 11 in the Oracle® Business Intelligence Presentation Services Administration Guide
Check out an example:
Re: Dyanmic display of the Image Link URL
Search the forum as well for several similar examples.
Similar Messages
-
Is it possible to format a column as a hypertext link but pull the url from a different column? for example I have a 2 column table, column 1 is the name of an XLS file I have saved on the file system of the server column 2 is a URL link to the spreadsheet. I would rather not render the URL link column in the Answers Report. I would like to be able to render the spreadsheet column that has a hypertext link to the address in column 2. If that is not possible I would like to be able to change column 2 from showing the URL to static text like "Click Here". I tried using the Custom Text Format option using the html that you see(grayed out) when you choose Hypertext Link @[html]"<a href=""@H"">"@"</a>" then changing it to @[html]"<a href=""@H"">"Click Here"</a>" but the link doesn't work. Is there a way to do this either with what I have described or with some other approach?
’<aa href=http://localhost:9704/analytics/saw.dll?GO&path=/shared/Dynamic%20GO%20URL/Report2&Action=Navigate&P0=2&P1=eq&P2=Geography.Region&P3=’||Geography.Region||’&P4=eq&P5=Geography.Country&P6=’||Geography.Country||’ style=”text-decoration:none;”>’||CAST(Sales.Amount_Sold AS CHAR)||’</aa>’
replace aa by a
http://oraclebizint.wordpress.com/2008/02/17/oracle-bi-ee-101332-drilling-on-measures-passing-multiple-parameters-during-drills-go-url-and-html-formatting/ -
Implicit date format conversion of report column
Hello,
The following expression defines date format for report column implicitly and doesn't reflect FSP_LANGUAGE_PREFERENCE with language independent format mask of the column attribute anymore:
decode(end_date, to_date('31.12.2047', 'dd.mm.yyyy'), null, end_date) closed
end_date is of TIMESTAMP(0) WITH LOCAL TIME ZONE type, format mask of the column attribute: DS TS
Is it expected behavior?
ThanksEdward Shevtsov wrote:
Hello,
The following expression defines date format for report column implicitly and doesn't reflect FSP_LANGUAGE_PREFERENCE with language independent format mask of the column attribute anymore:
decode(end_date, to_date('31.12.2047', 'dd.mm.yyyy'), null, end_date) closed
end_date is of TIMESTAMP(0) WITH LOCAL TIME ZONE type, format mask of the column attribute: DS TS
Is it expected behavior?
ThanksThe reason might be that you compare different datatypes in the SQL statement. The output of decode depends on those parameters.
You can cast the column to a specific datatype or you make sure that your wanted datatype is used during the decode.
example
decode(end_date, to_timestamp_tz('31.12.2047', 'dd.mm.yyyy'), null, end_date) closed
or
cast(decode(end_date, to_date('31.12.2047', 'dd.mm.yyyy'), null, end_date) as timestamp(0) with local time zone) closed -
Modify DATE format only for a column
DB table has two or more columns of DATE type of which a column representing "Date of Birth" should not be of the format of TIMESTAMP . When queried it should return "mm/dd/yyyy" format without 'hh:mm:ss' . The others should be as usual.
This is to ensure no changes in the applications querying this columns
Any hints appreciated
ThanksIt depends on NLS_DATE_FORMAT and NLS_TIMESTAMP_FORMAT that is set in the database or session and the datatye used in the table, here is an example:-
U1@BABU> CREATE TABLE TEST_TAB (DATE1 DATE, DATE2 TIMESTAMP);
Table created.
U1@BABU> INSERT INTO TEST_TAB VALUES (SYSDATE,SYSDATE);
1 row created.
U1@BABU> COMMIT;
Commit complete.
U1@BABU> SELECT * FROM TEST_TAB;
DATE1 DATE2
22-DEC-06 22-DEC-06 11.44.18.000000 AM
U1@BABU> SELECT * FROM NLS_SESSION_PARAMETERS;
PARAMETER VALUE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
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
17 rows selected.
U1@BABU> ALTER SESSION SET NLS_DATE_FORMAT='DD-MON-YYYY HH24:MI:SS';
Session altered.
U1@BABU> SELECT * FROM TEST_TAB;
DATE1 DATE2
22-DEC-2006 11:44:18 22-DEC-06 11.44.18.000000 AM
U1@BABU> SELECT TO_CHAR(DATE1,'MON-DD-YYYY HH24:MI:SS') DATE1, TO_CHAR(DATE2,'Month DD YYYY') DATE2
FROM TEST_TAB;
DATE1 DATE2
DEC-22-2006 11:44:18 December 22 2006 -
How to set correct date format in OAF when column is Varchar2
All,
We have used personalization to render a couple of fields in OAF and these fields are date fields. However, these fields point to attribute fields which are defined as varchar2 in the VO. We would prefer not to extend the VO to change the data type to date.....what else can be done?
See...what is happening is, upon navigating to the fields and you select a date (using the calender), the format is dd-mon-yyyy, however, if the page is either refreshed or some other page event, the format reverts to yyyy-dd-mm and we then get a form validation error.
While we have a preference not to extend VO, I will entertain any suggestions/solutions. Thanks.Hi,
Thanks a lot and thanks for your time and good solution.
This the syntax is used for Date datatype :<?format-date:CREATION_DATE;' MON- YY'?>
and for varchar data type <?concat(' ',/XLAAARPT/P_PERIOD_FROM)?>.
Thanks & Regards
Srikkanth -
Data format in rows and columns
I have a table and have the following data,I need to transpose int he required form.
The number of rows are dynamic and i dont want decode and string concatenation.
1 Tamil 1 1000
2 English 2 2000
3 Hindi 3 3000
4 German 4 4000
5 Telugu 5 5000
o/p
tamil english hindi german telegu
1 2 3 4 5
1000 2000 3000 4000 5000
The first column values will become the heading and all other corresponsing rows will become the column values
Kindly reply ,,Thaks in advancehow about this
assuming you've implemented the stragg function (see ask tom if not)
of course you can always use sys connect by path to roll the column values up into a single entry.
anyway use stragg or sys connect by path to get all the colum values into a single entry seperated by commas
col1 col2 col3
Tamil,English,Hindi,German,Telugu 1,2,3,4,5 1000,2000,3000,4000,5000
next I used the model clause to take the three columns one row construct
and change it to one column 3 rows so now the result set looks like this
col1
Tamil,English,Hindi,German,Telugu
1,2,3,4,5
1000,2000,3000,4000,5000
finally I appended a comma to the end of each row and parsed through it pulling out the text between columns
here is the whole thing...... again for this to work you need to have implemented the stragg function else you'll have to change to sys connect by path.
select col4 StraggedValues,
substr (col4, 1, instr(col4,',',1) -1) col1,
substr (col4, instr(col4,',',1)+1, instr(col4,',',1,2) - instr(col4,',',1)-1) col2,
substr (col4, instr(col4,',',1,2)+1, instr(col4,',',1,3) - instr(col4,',',1,2)-1) col3,
substr (col4, instr(col4,',',1,3)+1, instr(col4,',',1,4) - instr(col4,',',1,3)-1) col4,
substr (col4, instr(col4,',',1,4)+1, instr(col4,',',1,5) - instr(col4,',',1,4)-1) col5,
substr (col4, instr(col4,',',1,5)+1, instr(col4,',',1,6) - instr(col4,',',1,5)-1) col6,
substr (col4, instr(col4,',',1,6)+1, instr(col4,',',1,7) - instr(col4,',',1,6)-1) col7
from (
with a as
select stragg(col1) strCol1, stragg(col2) strCol2, stragg(col3) strCol3 from
select 1 rn, 'Tamil' col1, 1 col2, 1000 col3 from dual union
select 2 rn, 'English' col1, 2 col2, 2000 col3 from dual union
select 3 rn, 'Hindi' col1, 3 col2, 3000 col3 from dual union
select 4 rn, 'German' col1, 4 col2, 4000 col3 from dual union
select 5 rn, 'Telugu' col1, 5 col2, 5000 col3 from dual
select col4||',' col4 from a
model
return updated rows
dimension by (0 d)
measures (strcol1, strcol2, strcol3, 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' col4)
rules iterate (3)
col4[iteration_number + 1] = case iteration_number
when 0 then strcol1[0]
when 1 then strcol2[0]
when 2 then strcol3[0]
else null end
)) b -
Column data formatting in OBIEE ANSWERS
Hi,
I have a requirement of putting '-' whenever column value is NULL. I am doing this ANSWERS. I am doing this by using the below.
IFNULL(CAST("COLUMN NAME" AS CHAR),'-').
It is correctly replacing by '-' whenever data is NULL but it is also overriding default data format as Treat Text As(custom Text Format) if you look at the data format tab in the column properties. So if column has data like 23.1 it is displaying as 23.123456667777.
But I want to overwrite custom text format as number format to show as 23.1.
Please help me on this.
Thanks,
SRKI have made a solution for you :
http://gerardnico.com/weblog/2009/04/09/how-to-mix-string-and-number-data-type-in-one-column-and-get-a-sum/
Replace the condition by your value is null in the conditional formatting and you are done.
Success
Nico -
Date Format in received column
Hi guys, does anybody knows how to change the date format of the received column of the mails in the messenger express (6.1).
We speak spanish and we usually use the date in this format dd/mm/yyyy.
Thanks sincerely,
Andr�s.That should be one of the things under "settings". I dont' have a Spanish version handy to check, though.
-
Date Format for Spry data set sort
Hi
Just feeling my way through the use of Spry Datasets for the
first time and have a couple of issues hopefully someone with more
knowledge of it than me know the answer to.
I had an issue with my Spry Dataset initially that it would
not work in ie7 but was OK in FF3.
After some mucking round I realised the error I was getting -
albeit obscure in IE was telling me it was a date format issue in
my data set.
The db data I am playing with here is fairly simple: I have a
couple of text fields, an integer field that contains the
unixtimestamp of the entry (its a simple diary application) and a
formal date field that holds the same date in mysql's date format.
When I display the date in the dataset I do so in the format
"23rd May 2009" (as an example)- I code this using phps date
function in my xml query.
I had set this field to date format in the Spry dataset
conditions but IE seems to barf on this- I can change it to
textstring but then my sort is done on Alpha/Numeric sort of the
first character in the date field which is rubbish.
I only display the date in this format and one of the other
text fields in my dataset- the unixdate is for programmatic
purposes not general display so I cannot sort on this field if its
invisible. How can I acheive a date based sort with this set up- or
what date formats does Spry code prefer for date sorts? (My client
wants the date to show as I have explained). Many thanks. I have a
second query which I will post separately!
Kenny"Tanushiheadbash" <[email protected]> wrote
in message
news:gqa70o$iat$[email protected]..
> I think I follow what you are saying and in fact I think
its what I
> already
> have. I have set the sort order to use the unixtime when
the page
> initially
> loads and thats OK.
I am sorry, but you aren't following my explanation. English
isn't my mother
tongue, and I am not able to explain it any better.
> However what I need to be able to do is to have the
AJAX/Javascript sort
> (done in this case with Spry- ) to sort on the date when
the column header
> is
> clicked. The problem I have is the date format in this
visible column is
> in
> DDth Month YYYY format and Spry does not recocnise this
as a date format-
> it
> wants it as a string ( or ie gives an error). Maybe its
not possible what
> I am
> trying to do- just thought there might be a clever way
to implement this.
You can take a look at this page:
http://visual.unipv.it/tmt_calendar/admin/reports/events.cfm
Even if all the dates here are incidentally using the
yyyy-mm-dd format, the
dataset display the date from the "start_date_formatted"
field:
<td><a href="javascript:"
onclick="showUpdate('{event_id}')">{start_date_formatted}</a></td>
But uses another field to sort the table:
<th scope="col" spry:sort="start_date">Start
date</th>
You can have the same date, using two different formats,
inside two,
separated dataset fields. One is used for display, the other
one is used for
sort.
You may try to read again my previous explanations, look at
the code in the
page above and see if you get the idea.
Massimo Foti, web-programmer for hire
Tools for ColdFusion, JavaScript and Dreamweaver:
http://www.massimocorner.com -
Is there a way to set a custom date format on a report column? I am trying to use a format mask and it doesn't appear to be working. Maybe someone can spot my mistake:
Query: Hours Worked = Clock_IN - Clock_OUT
Format mask for Clock In/Clock Out - DD-MON-YYYY HH24:MI (from list)
Format mask for Hours Worked column: HH:MI (hand typed)
actual display (Timecard ID is edit link):
Timecard Employee Vehicle Clock IN Clock OUT Hours Worked
6 20044 26045 30-JUN-2006 13:28 30-JUN-2006 13:31 +000000000 00:03:43.000000
28 20044 144 06-JUL-2006 10:11 06-JUL-2006 10:39 +000000000 00:28:43.000000
48 20044 144 07-JUL-2006 09:03 07-JUL-2006 16:30 +000000000 07:27:50.000000
108 20044 26045 18-JUL-2006 15:35
128 20044 144 19-JUL-2006 14:57 19-JUL-2006 15:02 +000000000 00:05:06.000000These programs also..
GFW_PROG_BAR : Bar chart example
GFW_PROG_PIE: Pie chart example -
Application Date Format in Interactive Reports
Hi,
What should we define in Number/Date Format in interactive reports column attributes such that it will use application level date format?
ThanksHi,
You do not need define anything , then it use application date format
Br,Jari -
How to check the date in the date format
hi all,
i am using db10g
i have to read the data column from some source.
I should accept as it is and validate whether that date is in the date format how can i validate this condition?
Thanks..user13329002 wrote:
hi all,
i am using db10g
i have to read the data column from some source.
I should accept as it is and validate whether that date is in the date format how can i validate this condition?
Thanks..Ask your source what the date format is. If it is constantly changing then the format needs to be transmitted also.
Imagine a string (that could represent a date) like this:
10-01-11
it could mean:
10th of January 2011
1st of October 2011
11th of January 2010
1st of November 2011
11th of October 2001 (highly unlikly but still possible).
How should an automated system decide which is the correct date? You need to establish a rule that includes a date format and therefore returns the correct value. Or even better: Deal with dates, not with strings. This is especially for those Java/VB programmers who have no real clue what a data type is ment for. -
How to change date format for prentation variable
Hi experts
In my prompt the date format is MM/DD/YYYY . I have created one presentation variable for that but i want to use this in Formula as well in Title as: DD-MON-YY
So how can i achieve it..
Thanks in advance
Regards
FrndsHi
i think this can't be done through any code like oracle uses to_char, to_date function.
Just follow this
http://oraclebizint.wordpress.com/2007/12/19/oracle-bi-ee-101332-dates-dates-and-dates/
With this, wherever you have this column, you will be getting this format dates..
if you don't want in reports you can change it by mentioning the data format for that paricular column in report, but for the same column, if you want different format at different places (for prompts), you can't do that.. -
Date format in the file datastore
Hi,
I have source as file, in which I have date column. While creating the file datastore, I have selected the datatype as date & have given the source date format in the format column and it is working fine.
But I have source file coming with different date formats for the same column.
My question is whether i can give multiple date formats in the format column??
1. If yes how to separate the formats i.e with comma or semi-colon or etc...
2. If No, thn how to achieve it. as I can use to_date function, but in that also I have to give all the date formats.Assuming Oracle is target database..
Try this...
1. In your file data store make the column as Varchar2
2. In the interface mapping -- specify the following string in the target column mapping
TO_DATE(REPLACE('2011-06-01','-',''),'YYYYMMDD')
If your target column is date, Oracle will convert database proper format and insert the date..
Hope this works out....
Thanks
Satish
Edited by: user12826256 on 01-Jul-2011 02:15 -
Date Format -"2010-08-29 10:00:01+03:00"
Hi All,
Would like to know what the data format for following date:
"2010-08-29 10:00:01+03:00"
I did try the below, but it does not work.
'YYYY-MM-DD HH24:MI:SS+TZH:MI'
Appreciate your response.
Thanks,
Alex.Omit the '+' and use THZ:TZM:
SQL> select to_timestamp_tz('2010-08-29 10:00:01+03:00', 'yyyy-mm-dd hh24:mi:sstzh:tzm') from dual;
TO_TIMESTAMP_TZ('2010-08-2910:00:01+03:00','YYYY-MM-DDHH24:MI:SSTZH:TZM')
29-08-10 10:00:01,000000000 +03:00
1 row selected.or (more clear):
SQL> select to_timestamp_tz('2010-08-29 10:00:01+03:00', 'yyyy-mm-dd hh24:mi:ss tzh:tzm') from dual;
TO_TIMESTAMP_TZ('2010-08-2910:00:01+03:00','YYYY-MM-DDHH24:MI:SSTZH:TZM')
29-08-10 10:00:01,000000000 +03:00
1 row selected.http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions214.htm#SQLRF06143
Edited by: hoek on Dec 11, 2010 3:50 PM
Maybe you are looking for
-
Android Simulator causes Kernel Panics
I don't know if this is system related or just a problem with the Android Simulator. I'm doing some development for Android 3.0 and i keep getting kernel panics when running Simulator. It's really bad, since I can get several reboots a day... Anyone
-
Export to Blu-ray: Windows only?
On page 464 of the CS6 PDF it states: Send to Encore for DVD, Blu-ray Disc, or SWF file creation You can send video from any sequence into Adobe Encore for output to DVD, Blu-ray Disc (Windows only), or a SWF file. That middle phrase can't be true, o
-
Can't get the arrangement I want in JPanel. Please Help!
Hi all, I'm using a GridBagLayout to position several JLabels, JTextFields and JButtons...with the JLabels and it's respective JTextFields side by side and the JButtons at the bottom in a straight column. Thing is, no matter how I change the GridBagC
-
Hi, I'm using VC 6.0 Patch 2 on Windows 2003 Server with IIS 6.0. My problem is this: When I launch VC and Select Data Services it tells me "Not connected to a Portal Server". I notice a combo box in the top right labelled Portal with a stoplight nex
-
How to run report on Button Click in Forms 9i
Hi , I want to run a report , when I press button on form it is RDF file . I have complied it and create a REP File . I has also set the report path in registry / HKEY_LOCAL_MACHINE/ SOFTWARE /ORACLE/ HOME1 And then i has written these command line o