Formula syntax errors
Hi All,
I have a formula like this
NODIV(100((A-B)/A))
But this is showing that syntax errors are there. Please let me know if any error is and is it correct?
Thanks in advance
Sravani
Hi,
It is just a matter of doing to much calculation in one fromula.
I presume that there is something missing between 100 and (
First: are the dimensions of A and B the same.
if not first make tho CKF NIDOM(A) and NODIM(B) and then do 100/((A_B)/A)
Hide the first CKF (in properties)
If the dimensions of A and B are the same, first calculate 100/((A_B)/A) and do NODIM with the result.
Udo
Similar Messages
-
Conditional Formula - Syntax Error
Hello All,
I have written the following formula in Bex in BI 7
(f04=1)((ebit<0)((abs(ebit)-(dep))-1)+(NOT(ebit<0))(ebit(dep)))(not(f04=1))*(ebit-(dep))
Though i feel that the formula is correct. The system is giving a syntax error. Request you to please help...
Regards
NileshHi Nilesh,
Cheack if it works.
( f04 == 1) * ( ( ebit < 0 ) * ( ( abs ( ebit ) - ( dep ) ) * -1 ) + ( ( ebit >= 0 ) ) * ( ebit + ( dep ) ) ) + ( ( f04 <> 1 ) ) * ( ebit - ( dep ) )
Regards. -
I am trying to work with a formula whereby =1/(1+0.1)² ; =1/(1+0.1)³ etc. How do I do this on Mac numbers?
Each time I enter this formula using the special characters I get the warning: "The Formula contains a Syntax Error".
Absence of an kind of guidance or information from Apple on such basics is shocking.The fact that you appear to be unable to download the well done resource delivered by Apple is shocking.
The three highlighted items aren't reserved for helpers usage !
They are useful to learn the required syntax.
Yvan KOENIG (VALLAURIS, France) samedi 11 juin 2011 11:25:33
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
Please : Search for questions similar to your own before submitting them to the community
To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer ! -
Hi All,
Even though the syntax is correct in the belwo mentioned code .I am encountering problem with code in line mentioned for CYEAR = TMVL(PYEAR,-1).
Below is the error:
A comma and other arguments were expected instead of )
Syntax error in row 13, column 27
DATA IB TYPE ZDG_CIDVB.
DATA CLUSTER TYPE ZDG_CCLST.
DATA REGION TYPE ZDG_CREGN.
DATA CUSTOMER TYPE ZDG_CTCUS.
DATA PYEAR TYPE 0FISCYEAR.
DATA CYEAR TYPE 0FISCYEAR.
CLUSTER = VARV(ZDG_CCLST_C_01).
REGION = VARV(ZDG_CREGN_C_01).
CUSTOMER = VARV(ZDG_CTCUS_C_01).
PYEAR = VARV (ZDG_FYEAR_C_01).
CYEAR = TMVL(PYEAR,-1).
FOREACH IB.
IF IB <> #.
{ZDG_KGVLE,K4,PYEAR,ZDG_TCDEP, CLUSTER,IB,REGION,CUSTOMER,0000000001,S01,60,CS} =
({ZDG_KVOLC,K4,PYEAR,ZDG_TCDEP, CLUSTER,IB,REGION,CUSTOMER,0000000001,S01,60,CS} - {ZDG_KVOLC,K4,CYEAR,ZDG_TCDEP, CLUSTER,IB,REGION,CUSTOMER,0000000002,S00,60,CS}) /
{ZDG_KVOLC,K4,CYEAR,ZDG_TCDEP, CLUSTER,IB,REGION,CUSTOMER,0000000002,S00,60,CS}.
ENDIF.
ENDFOR.ZDG_FYEAR_C_01 - it has to be a global variable that is described in your planning area. The type of this variable must be 0FISCYEAR. And you have to set up the variable ZDG_FYEAR_C_01 in something.
Is it so in your system?
Edited by: Veronika Vnukova on May 30, 2008 11:48 AM -
Error Message: "The formula syntax is not supported by the report"
We are using 'Development Environment: SAP Crystal Reports, version for Visual Studio 2010 u2013 Standard ' and using CrystalDecisions.CrystalReports.Engine and CrystalDecisions.ReportAppServer APIu2019s
I am reading SQLExpressionFields from one source .rpt file & want to add it to another ReportDocument. While doing so, it gives an error " The formula syntax is not supported by the report"
doc.ReportClientDocumentDataDefController.FormulaFieldController.Add(formualField); // formualField is SQLExpressionField from source ReportDocument
But when I tried to Add FormulaField, it succeeds
Please help me in knowing how to add SQlExpressionFields to ReportDocument.
Regards,
-atulThanx Don & Ludek for the reply.
CR provides support for addition/modification of SQLExpressions.
CRAXDRT.Application application = new CRAXDRT.ApplicationClass();
CRAXDRT.Report innerReport = application.OpenReport(path, CROpenReportMethod.crOpenReportByTempCopy);
innerReport .SQLExpressionFields.Add(name, strSQLExpression)
CRAXDRT.dll provides support for addition/modification of SQLExpression fields. But its not compatible with 64bit.
Just curious to know, is there any future plan to provide support for add/modify SQLExpression fields?
Thanx
-atul
Edited by: Atul Chivate on Aug 21, 2011 6:13 PM -
SYntax error while creating a formula for %
Hi All,
I have to calculate Growth percentage and creating formula. But its giving me a syntax error.
I am writing like this:-
(Month to Date Sales-MTD PRior Year Sales)/ MTD PRior Year Sales*100 %
Can anyone please tell me where I am making a mistake.
RegardsSyntex for Percentage Deviation (%)
Plan Sales % Actual Sales (this will give the percentage deviation between Planned Sales and Actual Sales)
this is identical to formula
100 * (Planned Sales - Actual Sales) / (Actual Sales)
please check the space in your foumula
Dev -
Using Formula in Pages Table (Syntax error)
I thought this would be simple, but I get a syntax error:
My Table
Date Start Date End Bytes Redo Rate (Mbps)
20/06/2010 11:00:00 PM 21/06/2010 03:00:00 AM 850,648,576 0
21/06/2010 11:00:00 PM 22/06/2010 03:00:00 AM 561,487,360 0.4456
22/06/2010 11:00:00 PM 23/06/2010 03:00:00 AM 486,454,784 0.3860
23/06/2010 11:00:00 PM 24/06/2010 03:00:00 AM 1,239,929,344 0.9840
24/06/2010 11:00:00 PM 25/06/2010 03:00:00 AM 1,365,600,256 1.0838
In the Redo Rate column I want a simple formula: ((C2/0.7)*8)/1000000
The current value in the last column I hand calculated, but the 0 (zero) is where the formula is supposed to be.
I enter it using Formula Editor as: =((C2 / 0.7) * 8) / 1000000 -- and there is the syntax error...
Can someone please help me... this was supposed to be simple...
Using Page '09
Thanks in advance for your attention and replies.
AndriesHere it behaves flawlessly.
I inserted the Bytes values without the thousands separators then applied the separators.
I'm running a French system so I can't test the behaviour of the English format.
I'm not sure that you are allowed to enter the commas by yourself.
Check if the cells are deciphered as Numbers.
I guess that they are treated as text.
Yvan KOENIG (VALLAURIS, France) mercredi 30 juin 2010 14:06:38 -
Always getting syntax error when using RANK formula. Please help!!
i am desperate! tried EVERYTHING. so as a last try, I tested the very same Example that Apple gives to elaborate how the "RANK" formula works...and you guessed it....NOT WORKING.
not even a reconstruction 1 to 1 of the apple example worked, giving me a syntax error.
thus i am assuming that i am doing something wrong on a very basic level i would have never thought of (maybe a setting i have wrong?, maybe if you have blue as background formulas don't work?).
i would be sooooo grateful for any help!!!Thank you very much for answering this quickly.
but unfortunately it doesnt work
i made some screenshots, maybe this way someone sees a maybe obvious mistake i am making
and
Message was edited by: Apolloss -
The formula contains a syntax error
Hi i keep getting the following message errors The formula contains a syntax error. I have working with lookup formula so when i change hours is changes the price. Just need to get a total for hours x number of people x price cant seem to get there.
Thanks DannyIt's hard to say from your screenshot, but it appears you are either attempting to make a cell reference itself, or the reference is empty.
There is no need for the parentheses since algebraic hierarchy will result in the same answer.
Capture the row and column data, post a more descriptive screenshot, or describe the required calculation in greater detail. -
Syntax error in a numbers " if" formula
Hi All: I hope that somepne can tell me what is causing the syntax error on the following formula:
=IF(C16>0, =sum(C15+C19+C23+12), =12)
I have tried just about everything that i can think of and nothing works. for your info C16 is a numeric field with no formulas. the formula in the if true section, works just find in the spreadsheet. The if false section, I have tried =12, +12, =+12, and 12. I am using numbers 09.
I look forward to everyone's assistance.
Thanks,
G.E.omit the "=" inside the if() like:
=IF(C16>0, sum(C15,C19,C23,12), 12) -
Column Formula with Error in OBIEE 11g
Hello,
On Oracle Business Intelligence Enterprise Edition 11g, I am trying to create an analysis. The database is MySQL. In the database, there is a field of type varchar(10). This
field shows a date. In OBIEE 11g, when creating the analysis, in the Criteria tab, I choose this column (varchar) and edit the formula of it. The operation that I want to do is:
YEAR(CURRENT_DATE) - SUBSTRING("TableName"."ColumnName" FROM 1 FOR 4) where the ColumnName is the name of the column of type varchar(10)
but I get an error: +[nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <->: Syntax error [nQSError: 26012]+
If I execute the same query directly on the MySQL database, I get the desired result without any error.
Also, if I use the following formula, I also get an error:
CAST((SUBSTRING("TableName"."ColumnName" FROM 1 FOR 4)) AS INTEGER)
So, I am asking why the first query throws an error in OBIEE 11g but not when it runs directly on the MySQL database. Also, how can I convert in OBIEE 11g a string to integer?
Thank you in advance,
GriseldaBusiness Intelligence Foundation wrote:
Hi
Im getting below error in Bi11g. core application services is down.
Error:
[nQSError: 46066] Operation cancelled.
[nQSError: 46067] Queue has been shut down. No more operations will be accepted.
If anyone Know tell me.
Thanks and Regards
sathyaHi sathya,
It could mean several different things. Do you know if the administrator have shut down the services? If you have access to the server, check to see if all the services are up and running.
Thanks,
-Amith. -
#SYNTAX error while using Merge Dimension in webi report
Hi All,
# Syntax error when using merge dimension in webi report
screen shot has been attached.
iam using BO 4.0 SP6
checked the datatypes in BW
they are same in BW in both the queries
i followed the given links but no result.
https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3138343530303526
https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3136323339323126
https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3137353438313026
http://scn.sap.com/thread/3592588#15241008
Need Help!!!!!
Regards
SushmaHi Mark,
Thanks for the reply,
I did not use any formula,
I used merge dimension
Anyways i tried in other system,it s working fine.
Regards
sushma -
REP-1425 report formula DO_SQL error putting value into column
Hi all
I have opened a report 2.5 in Oracle9i Reports Developer and, it converted ok. However, when I run the report (paper layout), the message
rep-1425 report formula DO_SQL error putting value
into column. Column may not be referenced by parameter
triggers
appears. There are several report level formula columns and corresponding placeholder columns that are the cause of this error. The formula has the following :
SRW.DO_SQL('SELECT RPAD(''DAILY TABLE AUDIT REPORT'',60,''.'')||TO_CHAR(SYSDATE,''DD-MON-YYYY'') INTO :REPORT_TIT FROM DUAL');
COMMIT;
RETURN('');
I can't work out what this error message really means as the column, report_tit is a placeholder column and, the formula column is not a parameter trigger!! The report_tit placeholder is used as a source for a layout field. I noticed that the layout field is defined as a placeholder column in the converted report but in the reports 2.5 version, it is defined as a layout field.
I can do a work around by replacing the SRW.DO_SQL statement with a normal PL/SQL SELECT statement. However, I wonder if anyone else has had the same problem and, if anyone can help provide an answer as to what this error really means and, also, how I can retain the SRW.DO_SQL statement and/or an alternative work around to the one that I have described.
Thanks.
Therese Hughes
Forest Products CommisionHi again
The firewall proved to be the problem after all! The firewall set in Reports config-files is not used for WebServices, it has to be set within the stub:
Properties prop = System.getProperties();
prop.put("http.proxyHost","yourProxyServer");
prop.put("http.proxyPort","youProxyServerPort");
I inserted this in my java-code and after some problems (see below), restarting Report Builder turned the trick, the report works now.
Cheers
Tino
Here there mail I set up before I found that restarting Report Builder helped:
Thanks for your answer, putting in the proxy-settings actually helped some - the same error message is
popping up, but instantly and not after 10 seconds like before:
My proxy lines look like this, I also tried "http://proxy.ch.oracle.com", but "proxy.ch.oracle.com" proved to
be the correct syntax:
public Float getRate(String country1, String country2) throws Exception
Float returnVal = null;
Properties prop = System.getProperties();
prop.put("http.proxyHost","proxy.ch.oracle.com");
prop.put("http.proxyPort","8080");
URL endpointURL = new URL(endpoint);
Call call = new Call();
I tested the new proxy-entries by disabling the proxy preference in JDeveloper, so I could verify the added
proxy-lines in the code work - they do. If I change the proxy to some incorrect value like
"proxyy.ch.oracle.com", they fail.
After unsuccessfully trying recompile and re-import of Java classes, I rebuild the report from scratch and
stumbled over the same problem. Now the question is, whether I'm still doing something wrong with the
proxy or whether there is another problem after passing the firewall....
------------------------------------------------------------------------------------------------------------- -
I keep getting a syntax error when I type this in...
=(B1/50)+(C1/12)-(MIN(D1, [4])+/5)
it is a formula to calculate weight watches points. here it is as seen on a website.
p=(c/50)+(f/12)-(min{r,4}/5)
p=points
c=calories
f=fat grams
r=dietary fiber
I have the cells so that b1 = calories, c1 = fat grams, and d1 = dietary fiber.
Can anyone point me in the right direction? I'm thinking its just a simple mistake that I am making. Thanks.Have you looked at the replies to your other thread? You have several syntax errors for spreadsheets. What language is being used in the equation?
Regards, -
HI all
I have tranferred all request number from development to quality server,when i am testing in quality server i am facing problem when i am creating IW31 order, i am getting error that syntax error SAP_R1 define the parameters for the formula in formula SAP_R1.
help me to get with proper solution.
regards
shivanandHi
i have not changed any number and i compared from develoment as well as quality server in configuration every thing is there still i am getting same error.
i have defined as per standard formula.
is there any option to get the solution?
regards
shivanand
Maybe you are looking for
-
using the google highlight bar
-
PL/SQL procedure to process XML file
I am just starting to work on xml, and we are using PL/SQL stored procedures to process xml file. I did find the sample code in the package (family.sql). This sample print out all element names and attributes. My questions are : (1) I tried to modify
-
Hi, we have a DB in 10g R2. We have a DB server in 11g on another physical machine. Can we import from export dumpfile of DB in 10g R2 to 11g ? Thanks.
-
20" iMac (Mid 2007) CPU Blower Fan
I Ned to replace a failing fan. What is the apple part number?
-
dear all, can i ask u to do me a favor to help me find a part of example malicious source code that is still able to execute despite Java�s security measures cause i need it as a example in my report. i can't find any on google. thanks so much.