Dynamic formula problem
hi experts,
my customer requires that:
for example,
for year 2007
field1 field2 field3
A1 B1 =A1+B1
A2 B2 =A2+B2
for year 2008
field1 field2 field3
A1 B1 =A1*B1
A2 B2 =A2*B2
as show above the field3 dynamic change according to the 0calyear
how to do? hunger for ur advice and thanks a lot!
Your formula can look like this:
(A+B)(year == 2007) + (AB)*(year == 2008)
The equality tests evaluate to 1 if true and 0 if false for the query formulas.
Similar Messages
-
Dynamic Link Problem beim Batchencoden???
Habe seit kurzem folgendes Problem: Exportiere ich mehrere Videos über den Media Encoder, habe ich bei fast der Hälfte der Filme "kaputte Videos" entweder nur an den Effekten oder beim kompletten Video. Rechne ich die Filme einzeln raus, ist alles ok. Das stinkt sehr nach Dynamic Link Problem. Ich kennen das z.T. schon in der Zusammenarbeit mit After Effects. Hier rechne ich meine Projekte erst, bevor ich sie in Premiere reinhole. Aber auf das Batchencoden kann ich nicht verzichten, da ich teilweise 30 und mehr Clips in verschiedenen Formaten rausrechnen muss und das wirklich nicht einzeln erledigen will.
Frage: Hat jemand ne Idee (das Problem existiert erst seit kurzer Zeit), ob da irgendwelche caches vollaufen, kann man dynamic link irgendwie "resetten" oder muß ich das ganze Production Premium Paket CS5.5 neu installieren (wollte ich eigentlci vermeiden!!!!!)?
Ach ja, System Windows 7 64Bit mit CS5.5
Gruß
StefanOperator error. Answered my own question. I haven't used Dynamic Link much. It works fine. I was momentarily confusing the import of a PP project vs. a Dynamic Linked Sequence.
-
Is anybody having trouble keeping the source files linked in After Effects after using dynamic link from Premiere?
Please refer to this link:
cwrig, "CS4 Dynamic Link Problem" #1, 26 Oct 2008 1:02 pm
This is very frustrating.
Thanks for your time!Did some more tests and here is what does and doesn't work for me.
Losing footage -
Yes I was having the issue (and the topic is in the premiere forum also)
Here is what seems to solve it.
It loses the footage if I use the original folder which has spaces in the name. Not sure if that is the culprit but both methods proved consistent in every test I did.
it worked when I used a new folder called "Test" at the root of my editing drive.
Crashing-
Not sure if other have the issue but when I close AE, PPro will just sit there with an hour glass and show as not responding.
If I close PPro first and then AE and reopen PPro then all seems to work as it is supposed to.
This was also consistent in every test I did. -
Headcount for all months and dynamic formula in HR Module
Hi all,
I am new to HR module, I had requrement like user will i/p from date and to date for calmonth based upon that i need to create a report i, and in the report i need to calculate the %attrition(leavers rate)
I am uploading from a flat file and the fields in the flat file contains empno,emplocation,empdepartment,Dateofjoining,dateofreleiving
suppose if the user enters from 05.2008 till 06.2008 means my formula will look like
the formula to calulate %attrition = totalemployquit/(opening headcount of 1st of 05.2008Closing headcount of end of 05.208)/2opening headcount of 1st of 06.2008+Closing headcount of end of 06.2008)/2)/No of months 365/No of days elapsed100
if user enters 03.2008 till 05.2008 means my formula will chage accordingly:
totalemployquit/(opening headcount of 1st of 03.2008Closing headcount of end of 03.208)/2(opening headcount of 1st of 04.2008Closing headcount of end of 04.208)/2opening headcount of 1st of 05.2008+Closing headcount of end of 05.2008)/2)/No of months 365/No of days elapsed100
Please help me out that sap has the facility for dynamic formula and also how can i find the opening and closing headcount .
I already gone through Personal administartion link and all so please dont provide me the link in help .sap.com and all,but it would be help full if telling me the way to implement the keyfigures 0HDCNT_VC and 0HDCNT_NC in this case .Mr Vinay
Here u can do one thing by creating custom exit variable and write code for the same in CMOD.
With this variable u can populate what ever u want.
Recently i got this req & i solved .
Warm Regards,
Hari -
Dynamic calc member formula problem
Hello Gurús!
We are using a member called "Full Year" that is a Dynamic calc with a member formula that calls another dynamic calc. For any reason, it is not working when we try to retrieve it from Excel Add-in.
Any ideas? Any problem for put a Dynamic Calc as member formula of antoher Dynamic calc?
Thanks for your time!
Regards,
Arielthat can be the problem, depending on what dimension they are in, the order the two pass occurs could couse you issues. In cases like this I've had to put the entire calculation into the member I wanted to calculate and bypass the dependency
-
Dynamic calc problem while calculation another dynamic calc member
I have 6 dimensions. Two of them are dense and are tagged as Accounts and Time. The dimension I am having problem with is called "Metrics". It was originally dense. But because the calc scripts were executing slowly, I decided to make "Metrics" a sparse dimension. Now the calc scripts are all executing pretty fast. However, I now have data issues. For example: Within Metrics, I have a hierarchy that looks as follows: Metrics Input.Amount ~ BW.YAG.EQU Dynamic Calc, Two Pass Pct.YAG.EQU Dynamic calc, Two Pass. Both of these Members have a member formula associated with them. "Pct.YAG.EQU" member refers to "BW.YAG.EQU" within it's member formula. Also, notice "Pct.YAG.EQU" comes after "BW.YAG.EQU" Any other thoughts. Really appreciate all your help in this matter. Thanks
I have 6 dimensions. Two of them are dense and are tagged as Accounts and Time.The dimension I am having problem with is called "Metrics". It was originally dense. But because the calc scripts were executing slowly, I decided to make "Metrics" a sparse dimension. Now the calc scripts are all executing pretty fast. However, I now have data issues.For example:Within Metrics, I have a hierarchy that looks as follows:Metrics Input.Amount ~ BW.YAG.EQU Dynamic Calc, Two Pass Pct.YAG.EQU Dynamic calc, Two Pass.Both of these Members have a member formula associated with them. "Pct.YAG.EQU" member refers to "BW.YAG.EQU" within it's member formula. Also, notice "Pct.YAG.EQU" comes after "BW.YAG.EQU"Any other thoughts.Really appreciate all your help in this matter.Thanks
-
10g Signal Handlers and Dynamic Binding Problems on Mac OS X
I have the following env vars set up, and it seems the client libs show a deadl\
ock behavior post installation. SqlPlus exhibits a similar problem with 10g cli\
ent libs on the Mac, since it simply hangs for 20 secs before returning the pro\
mpt. I have G4 10.3.4 Mac, and 3.3 (1640) gcc, and still haunted by this probl\
em...
ORACLE_HOME=/Users/Oracle/10g/orahome
ORACLE=ORACLE_HOME/bin
ORACLE_BASE=/Users/Oracle/10g
DYLD_LIBRARY_PATH=/Users/Oracle/10g/orahome/lib
a) ktrace sqlplus user/pass@db
b) kdump -R | grep sigaction gives:
885 sqlplus 5.877734 CALL sigaction(0x2,0xbffff500,0xbffff570)
885 sqlplus 0.001252 RET sigaction 0
885 sqlplus 0.002032 CALL sigaction(0xd,0xbfff90f0,0xbfff9160)
885 sqlplus 0.001831 RET sigaction 0
885 sqlplus 0.001293 CALL sigaction(0x12,0xbfffb6e0,0xbfffb750)
885 sqlplus 0.001234 RET sigaction 0
885 sqlplus 0.001551 CALL sigaction(0x12,0xbfffbda0,0xbfffbe10)
885 sqlplus 0.001401 RET sigaction 0
885 sqlplus 0.001331 CALL sigaction(0x2,0xbfffd090,0xbfffd100)
885 sqlplus 0.001333 RET sigaction 0
This shows a 5.9 sec delay for the first sigaction, and a full response is received some long 20 secs later on the prompt.
Some feedback from engineering regarding this issue since the 9i release has been:
"This is a known problem with signal handlers and the lazy binding we have on Mac OS X. A small change to how Oracle library's signal
handler is installed using _signal_nobind(3) and
_dyld_lookup_and_bind_fully(3) could help to solve this problem.
The problem that we are trying to avoid is a possible dead lock from
code that could be called in a signal handler when the thread that
gets the signal is in the middle of lazy binding a symbol. So when a
signal handlers installed the default action is to cause it to be
bound fully. This is made very expensive by the mismatch of the
interfaces to signal(3) and segvec(2) like routines which are passed
an address and the dynamic linker that wants a global symbol name. So the end result is to call the routine _dyld_bind_fully_image_containing_address(3) with the address of the signal handler to be bound. Which binds everything in the image (in this case the Oracle shared library).
We have had problems like this before. For example: [This is what is
done in usleep(3)]
usleep()
/* code removed for this example */
setvec(vec, sleepx);
#ifdef __DYNAMIC__
_dyld_lookup_and_bind_fully("_usleep", NULL, NULL);
(void) _sigvec_nobind(SIGALRM, &vec, &ovec);
#else
(void) sigvec(SIGALRM, &vec, &ovec);
#endif
static void sleepx(int unused)
ringring = 1;
The use of _sigvec_nobind(2) (or _signal_nobind(3) ) and the use of
_dyld_lookup_and_bind_fully(3) will cause just the needed symbols used by the signal handler. "
It seems this issue hasn't been resolved in the most recent 10g client release.Can anyone shed some light one this issue?
For better demonstration, here is a series of steps we took here:
sigaction.c - C file produced by "proc sigaction.pc"
sigaction.pc - ProC source file
gcc_sig* - Shell script to compile sigaction.c
ktrace.sigtest - raw ktrace output from running sigtest
ktrace.sqlplus - raw ktrace output from running sqlplus
kdump.sqlplus - output of kdump -R on ktrace.sqlplus
kdump.sigtest - output of kdump -R on ktrace.sigtest
sigaction.lis - auxiliary file produced by proc
1. sigaction.pc:
#include <stdio.h>
#include <stdlib.h>
#include "/Users/oracle/10g/orahome/precomp/public/sqlca.h"
int main(int argc, char **argv) {
char user[30], passwd[30], db[40];
char con_str[100], date[10], *icp;
strcpy(user, "XXXXXXXX");
strcpy(passwd, "XXXXXXXX");
strcpy(db, "db_name");
sprintf(con_str,"%s/%s@%s",user,passwd,db);
EXEC SQL CONNECT :con_str;
EXEC SQL SELECT SYSDATE INTO :date FROM DUAL;
printf("SYSTEM DATE = %s\n",date);
EXEC SQL COMMIT RELEASE;
2. gcc_sig:
#!/bin/sh
CFLAGS="-I$ORACLE_HOME/precomp/public -I/usr/include"
CFLAGS="$CFLAGS -I$ORACLE_HOME/lib -L$ORACLE_HOME/lib"
ORALIBS="-L$ORACLE_HOME/lib -lclntsh $ORACLE_HOME/lib/nautab.o $ORACLE_HOME/lib/naeet.o"
CC="gcc -g"
PROG=$1
OUTPUT=$2
$CC $CFLAGS $PROG -o $OUTPUT $ORALIBS
3. Generate the rest of the output files for your viewing of the results based on the commands provided above.
Thanks!It's a delay, not a deadlock, that originatesfrom the way Oracle
libraries handle dymaic bindings.to "dynamic" bindings. Maybe prebinding could help ?
export DYLD_PREBIND_DEBUG=1ronr@[email protected]:/Users/ronr
sqlplus "/ as sysdba"dyld: sqlplus: prebinding disabled because library: /Users/oracle/product/server/10.1/lib/libsqlplus.dylib got slid
dyld: in map_image() determined the system shared regions ARE used
dyld: 2 two-level prebound libraries used out of 5
Ronald
http://homepage.mac.com/ik_zelf/oracle/ -
I have the following numbers, 20 in total. Numbers are from 0-9.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
3 7 8 1 2 6 6 7 3 1 0 7 0 1 2 2 1 6 8 2
i have another row where I want to put all the numbers that exist in the row 2. numbers that do not appear in that row should not appear in my other row.
But i just want to display the numbers once. The result would be like this:
0 1 2 3 6 7 8
Each number in a different cell.
4,5 and 9 do not appear.
I Hope you could understand my problem. I could post a screenshot, but this forum is buggy.
many thanks,Splitting a series of data into more than one column or row complicates life. But if it is important to do that (perhaps for ease of data entry) then here is one way to accomplish what I understand you are looking for:
This is the sample data table (I reduced the number of columns for demonstration purposes):
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
DATA 1
16
15
17
16
19
17
16
16
16
18
15
14
14
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
DATA 2
11
9
12
10
12
14
13
11
12
14
15
13
14
15
18
Then you can create a "Helper Table" that looks like this (in practice it will have many more rows):
Value
Distinct
Ranked
DATA 1
DATA 1
9
16
16
10
15
15
11
17
17
12
16
13
19
19
14
17
15
The formula in A2 of the Helper Table, copied down as far as you can go until you get a red triangle range error is, is:
=INDEX(UNION.RANGES(FALSE,Data::$A$1,Data::$2,Data::$4),1,ROW())
(The $2 and $4 appear in this pasted formula means to anchor to those rows. You get that by clicking the row number to select the row)
The formula in B2, copied down, is:
=IFERROR(IF(COUNTIF(A$1:A2,A2)=1,A2,""),"")
The formula in C2, copied down, is:
=IFERROR(SMALL(B,ROW()−1),"")
(The B here is the column B address token which you get by clicking the column letter to select the column.)
Your summary table would look something like this:
Durchmesser
9
10
11
12
13
14
15
16
17
18
19
The formula in B2, copied right until you get a blank, is:
=IFERROR(INDEX(Helper Table::$C,COLUMN()),"")
SG -
Static/Dynamic PDF problem with Forms 7.0
Hi all
I wonder if anyone has an answer to this?
I'm having problems with getting the instance manager to work correct in a couple of forms. It works great if I preview in Designer (8.1) or render through ES 8.2, but since we haven't upgraded our production environments yet, I'm stuck with Forms 7.0 there. And when I try to render with that, the form is simply not working as it should...
My guess is that Forms 7.0 chooses to make the form static instead of dynamic, but how to change this behaviour from the xdp? I've checked all the options of making it a dynamic xdp via Forms->Properties and checked just about everything I can come up with, but it's simply not working right now... anyone with ideas?
What I'm trying to do is to hide subforms depending on what the user has chosen in a different form (html), so that the user won't see irrelevant data. It's been done before but now it seems like Forms 7.0 wants to run the forms static always.
I've contacted Adobe support for a week ago but still haven't got anything from them leading me the right way. That's the reason I'm now asking here if anyone has any good idea...
A bit more information about what I've tried:
When I set min instances to 1, they are all visible but then they don't hide.
If I don't set minimum instances to 1, they don't display at all in forms 7.0 when choice Repeat subform for each item is set.
Using initialCount set to 1 do no good.
Doesn't matter if I use setInstances, addInstance or removeInstance as far as I've been able to see. I have also tried using presence = "hidden"; but with no luck.
If the prefill xml file is using appropriate xml syntax, it shows correct number of subforms but since I also wants to hide irrelevant subforms, it's not an acceptable solution.
Thanks in advance for any tips.Yes. I could add an "Of course" but it has happened before that it's something that simple. Been scratching my head for at least 4 hours just today and at least the same amount of hours before so I think I've narrowed out all the simple stuff but I might have missed one..
Any more tips? One strange issue is the fact that the form behaves different if the prefill xml file is structured in different ways. Nothing to do with prefilling, just how the PDF itself behaves. -
WD Java iView & Dynamic Navigation Problem
Hi,
I'm trying to use a WebDynpro Java iView in Dynamic Navigation but have the following display problem:
When I navigate to the page for which I've added the iView to the dynamic navigation, only the WebDynpro iView (from the navigation) is shown. You can see the page in its correct form being loaded but as soon as the navigation iView seems to be loaded/ing it replaces the full lower part of the screen (navigation and content panel).
If I use a plain URL iView in the dynamic navigation the behaviour is as expected.
But if I add a WebDynpro iView or even a page containing that iView I get the strange behaviour again.
I'm running NW04s SP7.
Any ideas?
Do I have to set some properties on the WebDynpro iView?
I've tried a couple of things but none did work so far.
Thanks & Regards
MarkusHi Henrik,
Sorry for the late reply but I'm just back from vacation.
No, I have not found a solution. I decided to go for an integrated application instead (Main WD application that bundles navigation with other applications). That works but of course is not as "nice".
Have you come across some solution yet?
Kind Regards
Markus -
Iv not used flash for a while so am just converting from AS2
to AS3 and am having problems with some simple actionscript
I have a dynamic textbox created through actionscript inside
a movieclip and im trying to change the content of this but save
the previous value.
Iv taken the previous value and saved it in a variable (a
string) called
oldTxt (witch is working when i use trace statements to
check)
and then assigning the new text with
theTextField.text = "some new text"; (again working
perfectly)
the problem is when i try to re-asign the old value stored in
oldTxt, nothing happens.
the code im using is
theTextField.text = oldTxt; but its just removing all the
text.
any suggestions?button.addEventListener(MouseEvent.ROLL_OUT, navOut);
function navOut(MouseEvent):void {
trace(oldTxt);
theTextField.text = oldTxt;
works fine when i replace oldTxt with "some new text" and the
value of oldTxt is coming up in the trace -
Hi All,
I have 2 problems..
1) I have to print the vendor statement of account for 1 year. Now for each vendor the vendor code name and address comes followed by other columns of account information related to it. My requirement is that i want the vendor code name and address to appear in header line and then all other information for that vendor comes beneath it. Meaning the vendor name and address comes in 1st line , and from 2nd line all account information related to that vendor comes. then say on 60th line another vendor name and address comes...and from 61st line accoutn information of the 2nd vendor comes.
How to do it???
2) i want to ghet dynamic header in the bex report based on the iunformation filled in the selection option. Eg: if user entered a posting date then that posting date should appear in the report header.
both these are urgent requirements....Plz help soon
Thanks & regards
AkashHi , thanks for ur reply but the Report designer is not working , givng me error
RFC destination NOT_CONFIGURED.
The main problem is i have to display the name and address of Vendor in a separate row i.e. vendor name and address shud appear in the row and then in following rows the other details.
Eg.
11000 Shashi Kapoor Jaipur 31.12.2006 doc no type etc
12000 Kamla Verma Mumbai 12.10.2006 doc no type etc
Now final putput will be like
11000
Shashi Kapoor
Jaipur
31.12.2006 .................................
12000
Kamla Verma
Mimbai
12.10.2006.........................................
Thanks . -
GETPIVOTDATA formula problem with apostrophe
Excel 2010 on Win7 - Having a problem with the GETPIVOTDATA formula.
GETPIVOTDATA(data_field, pivot_table[, field1, item1]
If "data_field", "field1" or "item1" contain a value that has an apostrophe (i.e. single quote), the function returns a #REF! error. It works fine in all other cases. I tried placing those values within brackets (ex: "[Moody's]")
and using the old SQL trick of doubling up the apostrophe (ex: "Moody''s"), and combining both those methods. But no luck. Has anyone else been able to solve this problem?
Thanks.Hi Marak,
Thank you for posting in the MSDN Forum.
Since the issue is more relate to the end-user, I'd like to move it to Excel IT pro forum.
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
Thanks for your understanding.
Best regards
Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hello,
I've a problem with a formula in CR XI which I can't solve. I hope that some here can help me.
The problem is:
Sum({@formule})
The warning is:
Cannot summarize this field.
How can I solve this?Hi Erwin,
Try below Steps:
1. Create these three formulas:
@Formula 1
WhilePrintingRecords;
NumberVar RunningTotal;
RunningTotal := 0
@Formula 2
WhilePrintingRecords;
NumberVar RunningTotal;
RunningTotal := RunningTotal + {@formula field}
//Substitute your formula field name for {@formula field}, In your case it is @formule
@Formula 3
WhilePrintingRecords;
NumberVar RunningTotal;
RunningTotal;
2. Insert the formulas on the report:
u2022 Place {@Formula 1} in the Group Header section (you can suppress this formula if you want)
u2022 Place {@Formula 2} in the Detail section (you can suppress this formula if you want)
u2022 Place {@Formula 3} in the Group Footer section.
To change how often this running total resets or displays, you can move @Formula 1 and/or @Formula 3 to other sections. For example, to have this running total act like a grand total, move @Formula 1 to the Report Header, and move @Formula 3 to the Report Footer.
In your case, you can try below:
u2022 Place {@Formula 2} in the section where you have placed your @formule field (Place this formula next to the @formule field)
u2022 Place {@Formula 3} in the section where you want the Grand total to be displayed. (For instance Report Header)
Regards,
Alpana -
Formula problem, sometimes don't add the value
Hi everybody,
I'm trying to learn manage this tool (crystal report) I use visual basic 2005 with the crystal for visual basic. Actually I've a problem with some formula fields. My report has several summarize columns (I sum the values) , not all the columns have values so not all the result fields has values. The problem becomes because I have to sum the result fields, and if i do a formula with this:
+ {@horasTinsitu} + {@ConvertirEnSegundosTreal} + {@ConvertirEnSegundosTtaller}
But only works if the three formulas has values, if one formula is empty the result looks empty, I think the problem was in the value of the formulas and I tried to evaluate with u201Cisnullu201D but neither.
Please, somebody has an idea.
Thanks everybody
Well my English it's bad but I think it's possible understand it.I finally do it, this is the code
local numbervar InSitu;
local numbervar Remote;
local numbervar Taller;
local numbervar Phone;
if isnull({@T_insitu}) then //{@T_insitu} is the formula to summarize details and add their values...
InSitu:= 0
else
InSitu:= {@T_insitu};
if isnull({@T_remoto}) then
Remote:= 0
else
Remote:={@T_remoto} ;
if isnull({@T_taller}) then
Taller:= 0
else
Taller:= {@T_taller};
if isnull({@T_telefono}) then
Phone:= 0
else
Phone:={@T_telefono} ;
InSituRemoteTallerPhone;
Now looks easy but it's very diferent of the visual code I usually do.
well THANK YOU VERY MUCH EVERY BODY...
Dani
Maybe you are looking for
-
Symbian S^3/Anna Calendar Meeting Request (Invitee...
First... I want to explain how this came about. I've never sent out a Meeting Invite from my Nokia N8 (PR1.2) to anyone before. However, in the days of collaboration, people send & receive Calendar Appointments to and from different Email/PIM Clients
-
Anchor tags are not working on internet explorer when using touch devices
Hi, I have a simple anchor tag like <a href=http://www.google.com></a> Using a mouse there is no problem but when I use a touch device (windows 8.1/windows Phone 8.1), all that will happen when people touch it is that the link will be highlighted. I
-
Hi there, I have a billion Wireless-N ADSL Router but I cant connect to the internet without having to plug a cord into my mac. is there a way i can use the internet without having to do this so that i can take the computer to different rooms of the
-
GOT A MANY TROUBLES AND CRASH ON MY MBP 2011, MANY KERNEL ON MY MAC, WHAT'S ABOUT ? THE COMPUTER RESTART, AND STOP WHEN I WORK SINCERLY YOURS
-
What are the results of trashing multi-user prefs?
Hello to all, I've forgotten my password to my Owner account, and I'm aware that to reset it I have to trash Multi-User prefs whilst booted from a CD. I know that doing this will delete all my accounts and passwords, but will it also delete all the f