Display number date in report
HelloWe receive the date information in the format DDMMYYYY and have the card in the number field. I want to show this as dd/mm/yyyy date info in the report.
For example, if the date is 10072009 (10 July 2009), it should be displayed as 07/10/2009 in the report.
I tried to
(a) CAST the channel number, but which was not allowed.
(b) first to cast the integer and then cast in character. But when I used the RIGHT function to get the last 4 characters, it did not return any values.
Suggestions how to approach the issue?
Ady
Hello
You can do this by using the CAST and String functions.
Here is an example of the formula-note that I use recipes counts as base, this can be replaced by any number, whole or currency field:
LEFT (CAST (account. (("" Annual sales "AS CHAR), 2) | '/' || INSERT (SUBSTRING (CAST (account. ((("" Annual sales "AS CHAR) OF 3), 3.0, ' / ')
See the online help for the full description and use of the various functions:
LEFT - clips off the first characters
INSERT - adds a character string
Substring - clips off the last characters
CAST - convert from one type to another
|| -double pipe is concatenation
Your error may have tried to Cast to a String - there is not of type 'String', CHAR performs the same function.
Tags: Oracle
Similar Questions
-
Display of date condition report editor BI
Hi all
in BI Publisher report how to display the date always the first day of the month. for example if we run report today that is 15/07/2014 then it should display on 01/07/2014. If they run a report at any time only one day should be 01 remaining months and must display the year based on the operating time ratio.
Kind regards
SamHello
You can try this.
Concerning
Sri
-
When I export the report to EXCEL files and filter the data, it will display incorrect data
Hi experts,
In OBIEE 11.1.1.6, when I export the report to EXCEL file and open this file to view all the data, it is correct.
However, as the amount of data is so, so I add filter for each column (click on the sorting-> filter filter)
When I select data in the filters, I'm afraid that I find the value of 'White' in the last line in the filter area, but in the table, there no null data. Why? Are you facing the same issue?
Secondly, when I select a value, it will generate a data line.
For example:
2008 - Region1
-The region.2
-Elle3
2009 - Region1
-The region.2
-Elle3
When I select 2008 data in EXCEL, it will display unexpected data, as below:
2008 - Region1Exactly... If you export to the format you will not face question of null data or incorrect when filtered.
Kind regards
DpKa -
Creation of a detailed report to display the date today
Hello
I try to display today date in the format of narrative report form. Anyone know how to code in HTML format?
Here is my code to display the date: -.
< TABLE align = "left" >
< b >
< TD > < B > < / b > < table >
< TD width = "520" > < table >
< TD > < B > < / b > < table >
< /TR >
< b >
< TD > to < table >
< TD >: @1 < table >
< TD width = "100" > Date < table >
< TD >: < table >
< /TR >
Please advice. Thank youLaughing out loud. what David wanted to create a custom field in your report to step 1 and initialize it as CURRENT_DATE.
then, at step 2 of report design, use the identifier of this new column instead of @1 -
Report should not display all data by default.
Friends,
Can someone tell me how can I restrict default data view report.
My requirment is that the user should not display data until he provides the value of fast page level.
Thanks in advance!
Kind regards
Cecilia.Hello
Define a default value in the prompt of dash in the drop default value specific select list
in the specific value gives the value which is not matching your criteriahope this helps you
Concerning
NGO
-
How to display the date (instead of number) along of there axis of column chart?
Hello
I have a requirement in which I need to display the date on the projects along the x axis and y Axis. It is essentially a graph of milestone. Something like this:
Here is my code:
< mx:ArrayCollection id = "acProjects" >
< mx:Object PROJID = 'A1' projDesc = 'Execution of Civil engineering works' plandate = '2009-12-23' actualdate = "2009-11-25" / >
< mx:Object PROJID = "A2" projDesc = 'Installation of equipment' plandate = '2010-02-15' actualdate = "2010-03-25" / >
< mx:Object PROJID = 'A3' projDesc = 'Comissioning of Equipment' plandate = '2010-05-30' actualdate = "2010-06-15" / >
< mx:Object PROJID = 'A4' = 'Transfer to regular use' projDesc plandate = "2010-04-23" actualdate = "2009-03-30" / >
< / mx:ArrayCollection >< mx:ColumnChart id = "columnchart1" width = "100%" height = "100 percent" color = "black" dataProvider = "{acProjects}" >
< mx:horizontalAxis >
< mx:CategoryAxis categoryField = "projDesc" / >
< / mx:horizontalAxis >
< mx:series >
< mx:ColumnSeries displayName = "Date" xField = 'projDesc"yField ="plandate"/ >
< / mx:series >
< / mx:ColumnChart >But with this code, I get something like this:
In general, by default, the y-axis is always numbered. Is there a way where we can change to display date?
Appreciate your help...
-Deepak
Use the DateTimeAxis:
http://livedocs.Adobe.com/Flex/3/langref/MX/charts/DateTimeAxis.html
-
PCT_GRAPH in the number/date format
The version of the APEX, we're currently on is 4.1.1.00.23. I'm trying to get a progress bar to display in a report. I use the PCT_GRAPH:330099:CC0000:100 in the number/date of the bar column format. It does not work. I will attach what it looks like. Is there anything else I need to do?
Thanks for your help!
PAM
PAM wrote:
The version of the APEX, we're currently on is 4.1.1.00.23. I'm trying to get a progress bar to display in a report. I use the PCT_GRAPH:330099:CC0000:100 in the number/date of the bar column format. It does not work. I will attach what it looks like. Is there anything else I need to do?
Set the column attribute display as Standard report column and not display text (escape special characters, does not save the State).
-
Apex 4.2, display image in the report.
Hi all
I'm a noob here Apex. I came across some problems with image display in a report. When I tried to have a report on a form of simple image download, it works perfectly with dbms_lob.getlength("IMAGEFILE") 'IMAGEFILE', workaround. Interactive report based on my table structure, already established the appropriate sections in report page for make my life easy.
Problem when I tried to create the report of a SQL query combining three tables (Image3, CustomerDB, PATMAN2). The report now generates a page where I can not have any selection of BLOB. The textual part, appears perfectly. I think my sql code is fine, but my generation of form Apex is faulty, but I need help to solve the problems.
-----------------
Here's the SQL code of the image gallery that works very well.
------------------
Select "PUBLICATION_NO."
"FILENNAME,"
DBMS_LOB. GetLength ("IMAGEFILE") "IMAGEFILE",.
"MIME TYPE"
'PDFNAME '.
DBMS_LOB. GetLength ("pdflink") "PDFLINK."
"LASTUPDATED"
"ID".
of ' #OWNER # '. " IMAGE3.
---------------------
And here is the one which does not show correctly the BLOB type.
---------------------
Select PATMAN2.ID as ID,
PATMAN2.PA as PA,
PATMAN2. SUCH as TITLE,
PATMAN2. OTHERS like the OTHERS,
PATMAN2. TYPE as the TYPE,
PATMAN2. PATENT_FAMILY as PATENT_FAMILY,
CUSTOMERDB.COMPANY_ID as COMPANY_ID,
PATMAN2. PUBLICATION_NO as PUBLICATION_NO,
IMAGE3. FILENNAME as FILENNAME,
DBMS_LOB. GetLength (IMAGEFILE) do IMAGEFILE,
IMAGE3. PDFNAME as PDFNAME,
DBMS_LOB. GetLength (pdflink) as PDFLINK,
IMAGE3. MIMETYPE as MIMETYPE,
PATMAN2. CUSTOMER_ID as CUSTOMER_ID
of IMAGE3 IMAGE3.
CUSTOMERDB CUSTOMERDB,
PATMAN2 PATMAN2
where PATMAN2. CUSTOMER_ID = CUSTOMERDB. CUSTOMER_ID
and PATMAN2. PUBLICATION_NO = IMAGE3. PUBLICATION_NO (+)
------------------------------
avman wrote:
Interactive report based on my table structure, already established the appropriate sections in report page for make my life easy.
Sorry, no idea what you mean by that.
Problem when I tried to create the report of a SQL query combining three tables (Image3, CustomerDB, PATMAN2). The report now generates a page where I can not have any selection of BLOB.
Still, it is far from clear what you mean by "that the report now generates a page where I can't have no matter what selection for BLOB".
The textual part, appears perfectly. I think my sql code is fine, but my generation of form Apex is faulty, but I need help to solve the problems.
-----------------
Here's the SQL code of the image gallery that works very well.
------------------
Select "PUBLICATION_NO."
"FILENNAME,"
DBMS_LOB. GetLength ("IMAGEFILE") "IMAGEFILE",.
"MIME TYPE"
'PDFNAME '.
DBMS_LOB. GetLength ("pdflink") "PDFLINK."
"LASTUPDATED"
"ID".
of ' #OWNER # '. " IMAGE3.
---------------------
And here is the one which does not show correctly the BLOB type.
---------------------
Select PATMAN2.ID as ID,
PATMAN2.PA as PA,
PATMAN2. SUCH as TITLE,
PATMAN2. OTHERS like the OTHERS,
PATMAN2. TYPE as the TYPE,
PATMAN2. PATENT_FAMILY as PATENT_FAMILY,
CUSTOMERDB.COMPANY_ID as COMPANY_ID,
PATMAN2. PUBLICATION_NO as PUBLICATION_NO,
IMAGE3. FILENNAME as FILENNAME,
DBMS_LOB. GetLength (IMAGEFILE) do IMAGEFILE,
IMAGE3. PDFNAME as PDFNAME,
DBMS_LOB. GetLength (pdflink) as PDFLINK,
IMAGE3. MIMETYPE as MIMETYPE,
PATMAN2. CUSTOMER_ID as CUSTOMER_ID
of IMAGE3 IMAGE3.
CUSTOMERDB CUSTOMERDB,
PATMAN2 PATMAN2
where PATMAN2. CUSTOMER_ID = CUSTOMERDB. CUSTOMER_ID
and PATMAN2. PUBLICATION_NO = IMAGE3. PUBLICATION_NO (+)
Did you specify IMAGE DOWNLOAD and BLOB format masks for the IMAGEFILE and PDFLINK columns? Select "BLOB" in the column of the number/Date Format attribute, then fill the section attributes of Blob column as requires it.
We cannot solve what we cannot see. We do not have your tables or data so we can not replicate this for ourselves. Please reproduce the problem with an example on apex.oracle.com and developer comments login information for the workspace here.
-
change number / Date Format dynamically
Hello
With the help of apex 4.2.1. OC4J linux 11 GR 2
I have several report that shows financial data for a company.
This report is accessible by people in the United States, the United Kingdom and IND
We have a static conversion rate, so I change my queries to the multiple based on the selection list parameter (P37_CURRENCY).
Question: How to change the number format in dollar/GBP/RS according to parameters.for example select REVENUE_V.ANNUAL_REVENUE_BUDGET * :P37_CURRENCY as ANNUAL_REVENUE_BUDGET, REVENUE_V.ANNUAL_REV_ACT_YTD_PRIOR_MO * :P37_CURRENCY as ANNUAL_REV_ACT_YTD_PRIOR_MO from REVENUE_V REVENUE_V where company_id = :P37_COMPANY_SELECTOR and week_number = :p37_week_number
Thanks for help
NSTony
I followed your directions and add an element coming stores the value, the value of changes in session state (property).
I've added two condition of dynamic on the currency action when this USD then symbol = $ other is when GBP £ can
When I view the item, it shows me the correct currency symbol but not least of the report.
for exampleRevenue Annual Rev-Budget 24313387.2
missing symbol
Column attributes
Display as text (character option special escape) (also tried with standard column)
Number / Date Format * & MY_ITEM.*Any idea/help what would go wrong.
Thank you
NS -
PivotTable ' display the data as "percentage of accuracy
Hello
I would like to know if there is a way to configure the PivotTable ' display the data sub - percentage of ' precision.
ATM, I have reports using SR types where one of those who are much bigger than others... Thus, when its generated report, it returns something like:
TYPE A: 99%
TYPE B: 0%
TYPE C: 0%
TYPE D: 0%
How can I view other correct value types? Something like number of decimals...
PS: as criteria in this report, I changed my data Format 'Number', ' less:-123 "to 15 decimal places.»
Thank you
Ramon902360 wrote:
HelloI would like to know if there is a way to configure the PivotTable ' display the data sub - percentage of ' precision.
ATM, I have reports using SR types where one of those who are much bigger than others... Thus, when its generated report, it returns something like:
TYPE A: 99%
TYPE B: 0%
TYPE C: 0%
TYPE D: 0%How can I view other correct value types? Something like number of decimals...
PS: as criteria in this report, I changed my data Format 'Number', ' less:-123 "to 15 decimal places.»
Thank you
RamonWell Yes. Can do. Read this link:
http://shivabizint.WordPress.com/2008/09/14/changing-the-precession-of-percent-of-columns-in-pivot-table-of-OBIEE/
-
How to customize the font, size, color for no display of data message?
Hi Experts,
I have a requirement to customize data for no display of data message, now they want it to be in the same format to display the title of this report, so in my case, its font size is 15 and the color is dark blue, then no message data must also display in the same font, size and color. How can I get this please can anyone help me on what your answers are really useful for me that the requirement is very urgent.
Kind regards
Laeticia.Hello
See my o/p sample:http://imgur.com/JvxxR
hope this will help you...
Thank you
Deva -
display the data in row columns
I looked through the previous posts, but it is impossible to find a solution to my problem.
I want to display the data in row columns.
I have shown in the table below and test data and the sql code that gives me the result desired.
However, you can see that the sql depends of me knowing all the values in the column "rank".
I want a way to produce the output without knowing the values of rank.
CREATE TABLE test1 ( accno NUMBER, holder_type VARCHAR2(10), rank NUMBER) INSERT INTO test1 VALUES (1, 'acr', 0); INSERT INTO test1 VALUES (1, 'bws', 1); INSERT INTO test1 VALUES (1, 'aaa', 2); INSERT INTO test1 VALUES (2, 'cds', 0); INSERT INTO test1 VALUES (2, 'xxx', 1); INSERT INTO test1 VALUES (3, 'fgc', 0); INSERT INTO test1 VALUES (4, 'hgv', 0); INSERT INTO test1 VALUES (4, 'bws', 1); INSERT INTO test1 VALUES (4, 'qas', 2); INSERT INTO test1 VALUES (4, 'aws', 3); Here's the required output:= ACCNO ALLCODES 1 acr bws aaa 2 cds xxx 3 fgc 4 hgv bws qas aws I.E. for each accno display the holder_types in rank sequence. SELECT * FROM (SELECT a0.accno, a0.holder_type || DECODE(a1.holder_type, NULL, NULL, ' ') || a1.holder_type || DECODE(a2.holder_type, NULL, NULL, ' ') || a2.holder_type || DECODE(a3.holder_type, NULL, NULL, ' ') || a3.holder_type || DECODE(a4.holder_type, NULL, NULL, ' ') || a4.holder_type allcodes FROM (SELECT accno, holder_type, rank FROM test1 WHERE rank = 0) a0, (SELECT accno, holder_type, rank FROM test1 WHERE rank = 1) a1, (SELECT accno, holder_type, rank FROM test1 WHERE rank = 2) a2, (SELECT accno, holder_type, rank FROM test1 WHERE rank = 3) a3, (SELECT accno, holder_type, rank FROM test1 WHERE rank = 4) a4 WHERE a0.accno = a1.accno(+) AND a0.accno = a2.accno(+) AND a0.accno = a3.accno(+) AND a0.accno = a4.accno(+)) a ORDER BY accno
So you're after what we call 'Aggregation in the chain.'
Check this link as it highlights several techniques:
Aggregation of string techniques
A Re: Concat ranks of the values in a single column Michael
At Re: multiple lines in a single line in the 'single column Table' followed by reason of Billy on the conduct of a stragg first.
In addition, 11 GR 2 has the LISTAGG function.
-
Hello
I am facing a problem, we have created new accounts to display currency data. STAT data is loaded to the cost center level.
When we create the report on these accounts, I see displaying data as a total for all cost centers. I need data be displayed by each company centre and the cost.
There is another account that appear as a detail.
Please help me to know why these accounts appear as TOTAL.
Any help is greatly appreciated.
Thank you
PoojakHello
Yes, you need to change in the responses.
For this column value formula SUM (amount of Transaction by company, Costcenter)
Thank you
Vino -
How display the date of my last update of OSX in my Mac?
How display the date of my last update of OSX in my Mac?
If it was in the last 30 days, the updates will often (not always) show the Mac App store on your page of updates, under the heading "updates installed in the last 30 days.
-
is it possible to display the Date and time in the address bar or a clock window constantly
I need to take screenshots with date stamps and time using the script of iMacros. Everything by taking screenshots iMacro don't add taskbar windows for the date and time. It takes screenshots of browser. Is it possible to display the Date and time in the address bar or a clock within the tab browser constantly to capture the screenshot with time stamp through iMacros
I added the big clock background Add-ons, but it is visible to new tabs.Badly looking for help and it will be really appreciated...
Try this extension:
Maybe you are looking for
-
My entertainment sainburys application will not work in AirPlay on iOS 9.3
Entertainment sainburys app will not work in AirPlay I can watch a movie on my iPad, but can't listen to my TV through the air Apple TV device, I can see my iPad on screen and YouTube plays just this app is not working I am using iOS 9.3
-
2 accounts - can only connect to a
I have 2 Gmail accounts. Previously, I could access each account and check the spam but now when I try to log in I am automatically logged into my 'business' account and cannot access my personal account via the mail.google site
-
Page up and page down keys do not work
The Page Up, Page Dn keys is no longer usually work under 8.0.1 (using Dell laptop w/WinXP, no mouse). I tried to change the setting to 'hack' touchball in topic: config-1 to 0, but no change. The "arrows" seem less useful, but I've yet to understand
-
I try to connect my apple TV. I've been up to signature in ITunes but got the message that the connection failed because the network time has not been set. I don't know what I should do. Thanks in advance.
-
Re: Satellite 2410 (PS241A-680M5P) exist?
Hello I recently had a laptop that was "completely dead" in any case, I have re-installed windows and I'm trying to download the drivers for the laptop. but... After having spent what feels always looking on the Toshiba site, I still can't find this