Formula in Query: New--Again
Hello,
Please refer to link:
Formula in query
please guide me as to how to handle the input date & the date difference?
thanks,
(posting it again as i am not able to assign points from the old post!!)
Hi,
Define a variable with ready for input option so that it during the runtime variable will ask for the inputs.
hope this will be helpful.
Vijay
Similar Messages
-
Dear all,
I create query view in bex analyzer.
when I create the query view, I add local formula.
I use the query view in WAD.
The problem is when I run the WAD, my local formula is gone.
is there a setting to show my local formula in WAD ?
please advice
Regards,
-DedysHi,
There is no seeting as such in WAD.
Just check that you are includeing the correct query view.
I would suggest just close your query designer after saving the changes in view.
After that open the WAD and include the query view again as data provider. It will show the current save version of view.
Some times while including in WAD it picks up the last version of object. SO just try this once.
I hope it will help.
Thanks,
S -
Logical Formula at query level?
I have requirment like if D = 0 then ' ' (SAPCE) else E / F.
I dont know how to get space ?
please help me to create this formula at query level?hi Hari,
I am not really sure ,but u can try this...
if D = 0 then ' ' (SPACE) else E / F.
use the same formula and make it Zero instead of space and then in the Query properties replace Zero with Blank or Space Values.
Rgds
SVU123
Edited by: svu123 on Sep 30, 2010 6:53 AM -
Unable to write a formula in query designer
Hi Experts,
while writing a formula in query designer in development system there is an error.
Formula is:
Grand total =1
when i write in the rows it is throwing the sytax error like " General syntax error in formula"
But the same formula has been written in production( this query is not available in development so that i am designing the same query in the development system).
some one give me an idea.
ThanksHi,
As i checked with implementation team and they have written the formula it has been assigned like Grand Total = 1.
i.e. Grand Total assign to 1.(But it is not Grand Total == 1).
Thanks for your support.
Thx
Edited by: satya prasad on Apr 27, 2010 7:44 AM -
Technical name for formula in query designer
Hi,
We have created some formulas in Query Designer.
We tried to assign the technical names to these existing formulas, it goes away as the save button on the top of the pop up is disabled.
Is there a way to assign technical names of the formulas created in the query designer.
Regards,
CharuCharu Pandey,
Formulas are local, means available for particular queries only. No technical name.
Create Calculated keyfigures instead of formulas..., so you can save with technical names.
To display technical name in query, give discription same as technical name.
Hope it Helps
Srini -
How to use a formula for dynamic New Page After?
There is a formula for dynamic New Page After.
How do I get value of formula?
I am using RAS and the ReportClientDocument.There is a section object. Off that there is a format property that is of type sectionformat. From there there is a ConditionFormulas property which I believe is a collection of all the formulas you can set for a section.
-
What is the Count function in formula of Query Design?
What is the Count function in formula of Query Design? Could someone gives an example?
Thanks!Example :
COUNT of
Also, check :
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7e58e690-0201-0010-fd85-a2f29a41c7af -
Can iOS Numbers copy formulas when adding new rows?
iOS Numbers table add row is not copying previous cell formulas. Is this supported or not?
I have a table with lots of columns and all of them have formulas. When I click at the lower left of the table to add a row, none of the new cells have the formulas. I have to manually go through every column and copy the formulas to the new row.
This is not very practical if you're planning to use Numbers on the go with an iPad. In my case, I have to quickly get a new row ready as needed. I was hoping there is a preference setting somewhere like "copy formulas when adding new row".I had the same issue with the added twist that I wanted to reference the created cells in formulas in other sheets. This is what works for me:
I use a form to enter data. The referenced sheet is set up like this:
1 Name Date ServPayment SalesPayment Total
2 Week1 =sum (ServPayment,SalesPayment)
3 =sum (ServPayment,SalesPayment)
4 TotWeek1 =sum (Total2,Total3)
"Total" sums the 2 Payments, TotWeek1 sums the totals.
In the entry form I never add data to the empty line. In this example, I would start at "Week1" and tap the "+" to add a new form. This creates the line in the referenced sheet with my formulas. As I continue, I always start at the last entry I have made and tap "+".
When I create a line that does not have the formula on either side, I do not get the formula.
Hope this helps. -
So if my restore from time machine is my comp like new again?
so my computer is running very slow, if i erase and re-install the os from the cd and restore from time machine wont my computer run like new again? do i even need to re-install the os from the cd?
If you restore your entire system, it will be as slow as it was the day of the backup.
You should try to find out what's slowing your computer instead of re-installing. You will just probably re-install the source of your problem as well and wasting your time. -
How do I delete all my contacts and folders to start off new again as they just keep on coming back all the time after deleted?
Is there an email address for better communication as this way I find extremely difficult?check your account settings, possibly under advanced settings.
look for an option to check "remove messages from server" or similar. -
Convert Query to Formula: BexSetData - Create New Characteristic Combinatio
Hello experts,
I try to save data from an excel workbook via formula BexSetData.
When I change only Key Figures and save data, everything works fine.
But when I try to change the value of a characteristic, the result of the BexSetData-Formula is #NV. This is just the case when I change the characteristic value to a value which doesn't exist in the cube. If I change to an characterisitc combination, which already exist on the cube, everything works fine.
Is it possible to create new charecteristic combinations by using BexSetData?
Master Data is available for the characteristic value.
Thanks in advance
JohannesHello Rik,
thanks a lot for your answer.
the master data for the characterisitc values already exist.
but there is no data record in the cube with the same characterisitc combination.
example:
The following data is on the cube
Plan | Period | Key Figure
A | 012.2009 | 1000
Now I want to create a new data record on the cube with a new Period (master data exist in info object) via BexSetData
Plan | Period | Key Figure
A | 012.2010 | 1000
Thanks
Johannes
Edited by: Johannes Hilscher on May 28, 2010 5:09 PM -
Will I ever get this!
I have a form template which runs fine (it registers a user
of my discussino board):
<h2>Register here to post comments to any forum on this
site </h2>
<form action="Education - Bulletin Board - Register -
code.cfm" method="post">
<p>
<strong>Username: </strong>
<input type="text" name="user" />
</p>
<p><br />
<strong>Password: </strong>
<input type="password" name="pass" />
</p>
<p><br />
<strong>Your mother's maiden name (a security
precaution if you forget your username/password and need to
retrieve them): </strong>
<input type="text" name="MaidenName" />
</p>
<p><br />
<strong>Email address (optional - in case I need to
contact you about your posts): </strong>
<input type="text" name="email" />
</p>
<p><br />
<p>
<input type="submit" value="Register!" />
<input type="button" value="Back"
onClick="self.location='index.cfm';" />
</p>
</form>
</body>
Now I want to check if the username and password have been
taken by a previous user so I use this code:
<cfif NOT structIsEmpty(form)>
<cfquery name="CheckUserName" datasource= "Education
Forum">
SELECT UserName, Count(UserName) as Duplicates
FROM ForumUsers
WHERE ForumUsers.UserName=#form.user#
GROUPBY ForumUsers.UserName
</cfquery>
<cfquery name="CheckPassword" datasource= "Education
Forum">
SELECT PassWord, Count(PassWord) as Duplicates
FROM ForumUsers
WHERE ForumUsers.Password=#form.PassWord#
GROUPBY Password
</cfquery>
I just count how many times the password has been used. If it
has been used more than once I'll later ask the new user to enter a
different password. Unfortunately, Coldfusion has a problem with
this query. Specifically, it gives me the error:
Access Driver] Syntax error (missing operator) in query
expression 'ForumUsers.UserName=jimmy GROUPBY ForumUsers.UserName'.
The Error Occurred in C:\CFusionMX\wwwroot\Education\Bulletin
Board\Education - Bulletin Board - Register - code.cfm: line 7
5 : WHERE ForumUsers.UserName=#form.user#
6 : GROUPBY ForumUsers.UserName
7 : </cfquery>
8 : <cfquery name="CheckPassword" datasource= "Education
Forum">
9 : SELECT PassWord, Count(PassWord) as Duplicates
SQL SELECT UserName, Count(UserName) as Duplicates FROM
ForumUsers WHERE ForumUsers.UserName=jimmy GROUPBY
ForumUsers.UserName
DATASOURCE Education Forum
VENDORERRORCODE -3100
SQLSTATE 42000
I've run into this before, but I don't seem to be able to
grasp the general principle involved.
I'd be very grateful if someone could explain the error in
this particular case and how I can avoid the problem in the futre.
Thanks, once again, very much in advance.Thanks for the suggestions. I've changed the code to
incorporate the advice as far as I can. It now reads:
<cfif NOT structIsEmpty(form)>
<cfparam name = "form.user" default = 0>
<cfparam name = "form.password" default = 0>
<cfparam name = "form.Email" default = 0>
<cfparam name = "form.MaidenName" default = 0>
<cfquery name="CheckUserName" datasource= "Education
Forum">
SELECT Uname, Count(Uname) as Duplicates
FROM ForumUsers
WHERE ForumUsers.Uname='#form.user#'
GROUPBY ForumUsers.Uname
</cfquery>
<cfquery name="CheckPassword" datasource= "Education
Forum">
SELECT Pword, Count(Pword) as Duplicates
FROM ForumUsers
WHERE ForumUsers.Pword="AK"
GROUPBY Pword
</cfquery>
Unfortunately, it still fails giving me the same error:
Access Driver] Syntax error (missing operator) in query
expression 'ForumUsers.Uname='adk' GROUPBY ForumUsers.Uname'.
The Error Occurred in C:\CFusionMX\wwwroot\Education\Bulletin
Board\Education - Bulletin Board - Register - code.cfm: line 11
9 : WHERE ForumUsers.Uname='#form.user#'
10 : GROUPBY ForumUsers.Uname
11 : </cfquery>
12 : <cfquery name="CheckPassword" datasource= "Education
Forum">
13 : SELECT Pword, Count(Pword) as Duplicates
SQL SELECT Uname, Count(Uname) as Duplicates FROM ForumUsers
WHERE ForumUsers.Uname='adk' GROUPBY ForumUsers.Uname
DATASOURCE Education Forum
VENDORERRORCODE -3100
SQLSTATE 42000
I think its just a SQL error as I get the same failure
message if I replace '#form.user#' with say 'GAK'.
Any further suggestions would be greatly appreciated.
P.S. I'm still a novice, so how would I use
<cfqueryparam> tags here? -
SAP BW query - new keyfigure added but not displayed in CR
Hello Experts,
I´m using a CR2008-Report on top of a BW Query. Now I´ve added a new key figure to the query, but in CR the new key figure isn´t displayed. But it is displayed if I open the query again as a second 'table'. Is there a possibility to get the new key figure displayed also without opening the query as a second 'table' ?
I don´t want to 'reconfigure' all my reports in the future completely if there are new key figures !
Thanks for your help in advance !
FrankThe same applies if I change the selection critiria for a character infoobject: e.g. there was a fixed selection in the filter, and now I want that the user is able to select freely via a variable. It does only appear in Crystal Report if I add the query again. So do I have to rebuild the whole report then ???
-
Hi,
I am trying to use "Add Local Formula" in my query to add three columns. However there is a row that calculates percentage using the rows above. Using the "Add Local Formula" its adding all the percentage amounts (505050=150) instead of calculating it (using the new figures in the column). How can I fix this?
ThanksHello,
Try changing the property of keyfigure..."Calculate Result as" -
Hi experts
I have to built a new query with inserting formulas. I created a new structure with 3 charecters in rows field. Now they want another char. in addition when i insert other char above the structure whole keyfigures in structure is duplicating. To avoid such duplication what must i do?
Other thing i inserted the formulas manually in excel template(Query Output) and saved in workbooks. How can i use this template when ever i changed the query? when i changed the query this template is not appearing.
Please advice me what to do.
Regards,Hi
Thanks for ur quick response. My problem is i created a structure by selecting KPI, parametre, and subparameter. Now we need to execute the query along with KPA. If i insert KPA in rows column what ever we created in structer all fields are duplicating to each KPA field.
Please guide me to get the query out put as per the KPA.
Regards
Maybe you are looking for
-
We have a query on an InfoSet in production system (BW 3.0B) that is working fine. The same query on the same InfoSet in development system (BI 7) is not displaying master data attribute values. It does show values only for navigational attributes. M
-
Sharing music with iphoto, iDVD, etc
I am having no luck sharing a playlist with iPhoto or iDVD. When I go to "SOURCE" in iPhoto slideshow and music, there are no selections. I have follwed the suggestions in HELP but still no go. Any suggestions would be greatly appreciated.
-
Hi All, I'm learning XI from some material i have . i'm doing my masters . I have no real time experience . Can i take the certification test or is it a must that some company sponcers me. How much is the fee for certification.If
-
For some reason, the video I took with my Sony Cyber-Shot camera won't show up in iDVD. It doesn't appear automatically in the Media tab, and when I import it manually, all it shows is black. The videos are mpegs, so I don't understand why it's not w
-
My folio is stuck at 46% with no option to cancel or try again. It has been like this for some time, and is a relavtively small file size. This folio has published and updated multiple times today and all pages were/are fine on the last publish, so I