Can we use Trunc,Substr in Excel templates
Hi All,
I have a date xml tag with value like "2012/04/01 00:00:00" i need to show this in excel output as "01-APR-2012".
I am using Excel template, need your help to achieve the same.
I tired to use Trunc,Substr,Format date but nothing is working.
Please give me your valuable inputs to solve this issue.
Thanks
Rajehs
Varma,
Thanks for the reply, i have already checked the link but it doesn't have syntax to use Trunc,substr etc. functions.
Also date in example is - "1996-02-03T00:00:00.000-07:00" , but in my case date format is different "2012/01/01 00:00:00".
Thanks
Rajesh
Similar Messages
-
Can we use IF statement in PDF templates
Hi,
I developed a PDF template. I need to underline ang bold the records based on a specific condition. Can we use IF conditon in PDF templates. Please suggest.
Thanks...Billy Verreynne wrote:
The case syntax is a bit funny though as there's not a single condition evaluation (like a DECODE or case structs from some other languages).
This is what I would expect a typical case struct to look like - evaluating a single condition:
case <condition>
when <value-1> then return <result-1>
when <value-n> then return <result-n>
else
return <return-z>
end
?:| You mean like this...?
SQL> ed
Wrote file afiedt.buf
1 select empno, ename, deptno
2 ,case deptno
3 when 10 then 'This is Department 10'
4 when 20 then 'And department 20'
5 when 30 then 'And of course department 30'
6 else
7 'Blimey it is something else!'
8 end as dept_desc
9* from emp
SQL> /
EMPNO ENAME DEPTNO DEPT_DESC
7369 SMITH 20 And department 20
7499 ALLEN 30 And of course department 30
7521 WARD 30 And of course department 30
7566 JONES 20 And department 20
7654 MARTIN 30 And of course department 30
7698 BLAKE 30 And of course department 30
7782 CLARK 10 This is Department 10
7788 SCOTT 20 And department 20
7839 KING 10 This is Department 10
7844 TURNER 30 And of course department 30
7876 ADAMS 20 And department 20
7900 JAMES 30 And of course department 30
7902 FORD 20 And department 20
7934 MILLER 10 This is Department 10
14 rows selected. -
Error when using SUM function in Excel template
I am trying to use the XDO_METADATA to create a sum of a column from my XML data and I am getting the following error in the Template Viewer:
[111412_104246459][][PROCEDURE] Log Level is changed to PROCEDURE
[111412_104246553][oracle.xdo.common.xml.XSLTWrapper][ERROR] XSL error:
Time: 0.125 sec.
FO Formatting failed.
<Line 317, Column 116>: XML-23029: (Error) FORG0001: invalid value for cast/constructor
@Line 317 ==> <Cell Index="2" Style="R7C3" Field="XDO_?SUM_V_CR_MO_IDD1?"><xsl:value-of select="sum(.//G_CR_MST_D/V_CR_MO_IDD)"/>
when I use:
XDO_?SUM_V_CR_MO_IDD1? <?sum(.//G_CR_MST_D/V_CR_MO_IDD)?>
or
[111412_104048508][][PROCEDURE] Log Level is changed to PROCEDURE
[111412_104048554][oracle.xdo.common.xml.XSLTWrapper][ERROR] XSL error:
Time: 0.078 sec.
FO Formatting failed.
<Line 317, Column 105>: XML-23029: (Error) FORG0001: invalid value for cast/constructor
@Line 317 ==> <Cell Index="2" Style="R7C3" Field="XDO_?SUM_V_CR_MO_IDD1?"><xsl:value-of select="sum(.//V_CR_MO_IDD)"/>
when I use:
XDO_?SUM_V_CR_MO_IDD1? <?sum(.//V_CR_MO_IDD)?>
I believe the XSL to be correct because when I change it to a count it works and when I go into BI Publisher 11g and create the query in the data model and then create a summary from it, the summary is created.
Can anyone help?I went back to basics and created reports (via EXCEL templates) like I was asking based on good old EMP and DEPT and I found exactly the same problems I was mentioning. I looked at the templates provided but they were not calculating totals, like me they were selecting them and then just displaying them on the page.
Anyway, I have narrowed it down to the fact that when you do aggregates like sum(.//SAL) this works if you have a salary for every value. I did an outer join with DEPT so I did have empty rows and why I still experienced the problems.
Basically XSL does not like adding (including using the sum function) values that effectively have nulls in them which is why I get the cast/constructor errors because it is trying to turn a NaN value to a number and does not (or cannot) do it.
You need to either have a value in every row of your column (maybe possible by selecting nvl in your query) and make sure that you check the "create empty nodes" checkbox in the data model of BI Publisher.,
the other solution is an xsl solution where you would have to make sure that you only added non null values and for that you would have to investigate xsl blogs.
It is, by the way, why my count worked because it is just counting that the record exists it does not care what the element content is or isn't.
Closing thread. -
Use values from other Excel template on BPC server in BPC report
Hi Guru's,
I'm struggling with the following.
In a BPC report I want to make the rowkeyrange dynamic and centrally adjustable with help of another static excel template placed on the BPC server.
I've tried the following formula in the rowkeyrange cells:
=EVSVR()&"/"&EVAST()&"/"&EVAPP()&"/eExcel/"&[ROWKEYRANGE.xlt]Sheet1!A1
but it keeps reffering to my local file...
Anyone with ideas how to solve this?
Regards,
Vincent BeumerI believe that to reference the dynamic template file you can use a relative path from the location of the report file in the user's BPC folder. So something like ./wizard/tempate_file.xlt
I agree that it would be nice to be able to reference a file that is actually stored on the BPC server, so that it is pulled down to the client only when needed. Maybe we can convince SAP to deliver a function like this
Ethan -
Can we use multiple queries on one template
Can we use multiple queries on one template
Hi,
if you're using data templates for your data set, you
can put multiple queries in the XML data template.
The queries may then be linked (or not) by the "link
name" tag ...
Grtz.Following you answer here...do you know eventually how/if possible to preview a report (with XMLP Desktop) that is using data templates for the data set?
Thanks,
Liviu -
How can I use PowerPivot tables like Excel tables -- printing, etc.?
I can't seem to find any information on this anywhere, and even more surprisingly, no one else seems to have even asked this question...
How can I use tables I create in the Excel PowerPivot window in the same ways I use tables that are in ordinary Excel worksheets, to accomplish tasks such as printing? I am able to use the powerful capabilities of PowerPivot to produce tables with precisely
the information I need for reports -- connecting data from multiple tables/sources, filtering, etc. -- but then there doesn't seem to be any way to actually print what I'm seeing, nor can I seem to access cells in these PowerPivot tables from Excel worksheets.
If a PowerPivot table is conceptually an Excel table with additional power in terms of pulling in data and relating it, it would seem appropriate that all the power of Excel could be brought to bear on these PowerPivot tables, but on the contrary, the available
operations are limited. if, instead, a PowerPivot table is more correctly viewed as a data source that Excel worksheets can connect to, that would be fine, and indeed, one
can use a PowerPivot table as a data source -- except it can't be brought into an Excel worksheet as an ordinary Excel table, unlike most other data sources.
I hope I'm missing something really obvious, and that someone can point out what it is. Thanks.Kirchh,
When PowerPivot was first designed, the decision was to integrate closely to Sharepoint to allow for team sharing. We are constantly evaluating customer feedback to add more features, and this has been one of the feedbacks we have received. We will consider
supporting this in the future but with no gurantee.
Chu
-- This posting is provided "AS IS" with no warranties, and confers no rights
I'm not questioning why PowerPivot is closely integrated with SharePoint. I'm asking why connecting to the PowerPivot model from within Excel was intentionally blocked by Microsoft, when all the functionality to do so appears to be present.
Is creating an OLE DB connection in Excel to PowerPivot as $Embedded$ supported?
No support. It was originally designed for SharePoint. This changed with Power Pivot for Excel 2013 (it's packaged with it). Originally the scope (in 2010 through 2012) was that it was for SharePoint users. So it became more obvious through that to market it
toward all Excel users. Thus the recent changes.
Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it! -
Can I Use OLE2 to export Excel without having excel?
Dear all,
Can i use CLIENT_OLE2 to export from a form to an excel sheet without having the Microsoft excel installed on the AS (Application server)?
Thanks
$hOoO$hDear SHo0o0sh;
yes u can run it on client side but the client must have Microsoft office
like this :
PROCEDURE init_excel (application in out client_ole2.obj_type ,
workbooks in out client_ole2.obj_type ,
workbook in out client_ole2.obj_type ,
worksheets in out client_ole2.obj_type ,
worksheet in out client_ole2.obj_type )IS
args client_ole2.list_type;
begin
application:=client_ole2.create_obj('EXCEL.APPLICATION');
workbooks:=client_ole2.get_obj_property(application,'workbooks');
args:=client_ole2.create_arglist;
client_ole2.add_arg(args,1);
workbook:=client_ole2.get_obj_property(workbooks,'add',args);
client_ole2.destroy_arglist(args);
worksheets:=client_ole2.get_obj_property(workbook,'worksheets');
worksheet:=client_ole2.get_obj_property(worksheets,'add');
write_cell(worksheet , cell , 1 ,1 ,'your data');
write_cell(worksheet , cell , 1 ,2 ,'your data');
release_excel (application,
workbooks,
workbook ,
worksheets ,
worksheet);
end;
PROCEDURE write_cell (worksheet client_ole2.obj_type,
cell in out client_ole2.obj_type,
x number , y number , text varchar2) IS
args client_ole2.list_type;
BEGIN
args:=client_ole2.create_arglist;
client_ole2.add_arg(args,x);
client_ole2.add_arg(args,y);
cell:=client_ole2.get_obj_property(worksheet,'cells',args);
client_ole2.destroy_arglist(args);
client_ole2.set_property(cell,'value',text);
client_ole2.release_obj(cell);
END;
Hope it works.
Regards
Reda El Mitwally -
Can I use iPad to enter excel inventory figures?
Can I use my iPad to record excel inventory figures? I have excel on my Macbook Air and have Mavericks on it. But I use the iPad when I run around taking inventory. The computer is just too large and cumbersome to carry while walking around. I Want to add numbers to my excel docs whilst right on my ipad as I go through inventory.
Is there a way to get my excel doc into my iPad and open it to add numbers?
And, because Mavericks is now the system that allows iPad (ios) devices to talk to Mavericks on macs, isn't this supposed to now be doable?
And, woe is me if not yet at this time. If so, is there an Application some smart person created that will allow me to transfer from mac to ipad and back to mac and excel numbers I input?
Muchos gracias!Assuming that the spreadsheet doesn't use macros or really exotic functions, all you should need is an app that can open and edit Excel document, of which there are a number of apps. Apple makes iOS versions of their own iWork apps (Numbers being the spreadsheet) that are available free if you purchase a new iOS device and that can be purchased separately for older devices. There are also 3rd party combined suites that cost less than the separate Apple apps. Ones often recommended include Documents 2 Go, Quickoffice and Office2 HD. All provide ways to transfer documents between the iOS device and a computer, often multiple ways including through iTunes, iCloud, and/or services such as Dropbox.
If you can accept needing a network connection whenever you want to use the apps and have an Office 365 subscription, Microsoft has just released their Office Mobile app, though it has significant limitations. Or a server-based solution such as CloudOn might be an option for you.
Regards. -
Can I use my iPad to record excel inventory figures? I have excel on my Macbook Air and have Mavericks on it. But I use the iPad when I run around taking inventory. The computer is just too large and cumbersome to carry while walking around. I Want to add numbers to my excel docs whilst right on my ipad as I go through inventory.
Is there a way to get my excel doc into my iPad and open it to add numbers?
And, because Mavericks is now the system that allows iPad (ios) devices to talk to Mavericks on macs, isn't this supposed to now be doable?
And, woe is me if not yet at this time. If so, is there an Application some smart person created that will allow me to transfer from mac to ipad and back to mac and excel numbers I input?
Muchos gracias!You will need Numbers (On your Mac) and then you can do what you wish.
-
Can I use NI Measure for Excel for stimulus response sequence?
it seems the NI software 'Measure' for Excel allows for simple AI or AO but
not sequential AO/AI, e.g. stim AO measure AI repeat for N rows of data.
I can do one or the other but cannot see how to setup a button to
do such a sequence. It is amazing to me that such basic functionality
is not available out-of-the box, or am I missing something?
Are there any more detailed VBA examples available online other
than the extremely rudimentary ones provided on the CD?
Apparently, this 'Measure' product hasnt been updated since 1998?
Does this lack of development indicate there is a better alternative
for doing Excel-based data acquisition?
tiaI have see this KB before.
But I don't understand the simultaneous sampling.
"E-Series Data Acquisition Cards multiplex all acquired signals to a single A/D converter. This introduces a slight phase delay between the acquired signals. In the case of the Lock-In Amplifier, the signal to be analyzed would then be phased relative to the acquired reference signal. That phase delay would adversely affect the phase accuracy of the Lock-In Amplifier."
It mean I still can use E-series DAQ card, but the phase maybe not the real phase?
If I can use the E-series DAQ card for a Lock-in Amplifier, what should I change the Lock-in amplifier start-up kit?
Thanks -
Can I use PrE 11 HD DVD templates for PrE 12?
Hello,
I have PrE 11 and just installed PrE 12. I am wondering (hoping) that I can use the PrE 11 HD DVD templates that I have already downloaded for my PrE 12 installation. It is unfortunate that Adobe now makes us download these templates as not everyone has a lightning fast internet connection.
Any help is appreciated.
Thanks,
RGVRGV
I have an important add on for the Premiere Elements 11 user who goes on to Premiere Elements 12 and wants to use the Premiere Elements 11 saved Online Folder (complete) as a replacement for the Premiere Elements 12 Online Folder (incomplete) to avoid the same slow Content download experience of Premiere Elements 11.
This not going to be a one on one swap of the whole Premiere Elements 12 Online Folder (incomplete) with the whole saved Premiere Elements 11 Online Folder (complete).
The 11 and 12 Online Folders are the same, except for the two new folders within the 12 Online Folder.
So, consider:
Premiere Elements 11 Online Folder
Clips Arts Folder
DVD Templates Folder
Movie Themes Folder
Title Template Folder
but
Premiere Elements 12 Online Folder
Clips Arts Folder
DVD Templates Folder
Movie Themes Folder
Title Template Folder
Music Scores Folder (NEW)
Sound Effects Folder (NEW)
Details are included my blog post where I tried to put this information together.
http://www.atr935.blogspot.com/2013/12/pe12-content-download-considerations.html
ATR -
Can´t use power symbol in Excel 2011 Mac
I have Microsoft Office 2011 installed in my Mountain Lion.
the problem is that while using Excel it does not recognize the key ˆ (hat) to calculate.
The unusual solution is to use the power function, but the ˆ typing should work correctly.
I think that reamapping keys in System Preferences/Language and text/Change symbols and text should work.
The problem is I do not know how to insert the ASCII symbol to change the keytype ˆ to this ASCII or unicode symbol.
Can anyone help me with this problem?
Tks!I solved the problem.
I used Excel Autocorrect to change the circunflex symbol by the hat symbol.
Just copy the hat symbol from Word typing circunflex and adding space will change the character to hat symbol, then go back to Excel and paste the hat symbol to the modified character.
Simple as that, now my Excel can calculate 2ˆ3=8 now. -
I AM NOT ABLE TO USE MY EXCEL SOFTWARE & WORK PAGES I CREATED FROM EXCEL. & CAN'T PLAY SOME GAMES I HAD DOWN LODED PREVIOUSLY THAT USED TO WORK GOOD. I KEEP GETTING THE SAME STATEMENT SAYING CLICK OK TO GET YOUR APPLICATION TO WORK AGAIN.
could be lots of things. I'd try uploading them to google docs and see how that goes.
You may want to run these "standard" fixes if the problem persists.
1) Check the amount of free space on your harddrive. You should have a several gigs free.
2) You should run disk utility
Macintosh-HD -> Applications -> Utilities -> Disk Utility
a) verify the disk
b) update your permissions.
3) Try a safe boot.
Shutdown your machine. Hold down the shift key. Poweron. Wait awhile; wait awhile while you harddrive
is being checked.
http://support.apple.com/kb/ht1455 -
How can I use one of the HD templates in my SD project?
Is there a way to down convert one of the apple templates to use in my 720x480 DV NTSC project?
Marco,
Open up a new project in the resolution you want.
Copy the layers from the HD project
Paste them into the group in the new project
Scale the group to get the right size - if you have overlays on then you will see the boundaries of project.
Peter
http://www.idustrialrevolution.com
MacPro 3G 6G RAM FCP6 M3 FxF1.06 Mac OS X (10.4.9) XSR Decklink & loads of cool new plugins, Gaggia TD auto -
How can I use a signature in excel?
Hi Guys and Girls,
I'm going to set up excel and word on my business' iPad, and in these spread sheets I need to add a signature section. Is there any way I can do this or is there an app that will allow me to add the signature straight to the document without making me save it to another source or file type? ant help would be awesome!Generally, you are more likely to get an answer if you post in the iWork for iOS forum at
https://discussions.apple.com/community/app_store/iwork_for_ios
Cheers, Tom
Maybe you are looking for
-
Need Help, how to create more than one rectangle from one button in one stage of canvas
Dear Guys, I has problem to create more than one rectangle canvas from one button. here my role to create : 1. I create input size with textfield 2. I click button called "submit query" 3. My web will create a rectangle with specific size. My problem
-
Anyone got an ethernet cardbus/pcmcia working with 10.5?
My ethernet port packed up but I got a DLink DFE-690TXD cardbus/pcmcia card working OK under Tiger. But after upgrading to Leopard it's now not working as noted on http://forum.insanelymac.com and on the post (http://discussions.apple.com/thread.jspa
-
Does anyone have probs downloading free apps or any? When i try to get a free app a box pops up for my password and i type it in then i gotta type it in again then another window pops up wantin my credit card info and it baffles me especially since i
-
Error: "Computer restarted because of a problem.."
Hi, I have a 2009 17" MBP. 8GB of RAM. New SSD installed half a year ago. New battery replacement half a year ago. Reformatted and upgraded to Mountain Lion four weeks ago. Yesterday, it powered down automatically by itself. I have a workshop in thre
-
Which graphics card do I need?
I'm ready to buy a 3GHz Mac Pro, but am confused as to whether the default 7300 graphics card is enough for my purposes, or if I need to spend more for the X1900. First off...I never play games on my Mac, and have no desire to ever run Windows on it