Applying an expression

I have been having this error whilst trying to apply expressions both by typing in expressions and also by using iExpressions. AE CC
After pressing OK it says contact support but I thought I would post here first.

We can't know anything without knowing the expression code and the structure of your project.
Mylenium

Similar Messages

  • Errors when applying sql expression on filter, please help

    Hello guys
    I was trying to put a filter on the date column and filter between timestampadd(sql_tsi_day,-31,current_date) and current_date
    I was successfully able to define both field on sql expression of the filter and I selected "is between"
    However when I run reports it returns the following errors:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 22024] A comparison is being carried out between non-compatible types. (HY000)
    SQL Issued: SELECT "Year"."Transaction Date" saw_0 FROM tranSale_cube WHERE "Year"."Transaction Date" BETWEEN timestampadd(sql_tsi_day,-31,current_date) AND current_date ORDER BY saw_0
    When I using the same timestamp expression on the column formula and run report without filters, the report will return the correct date however though
    I am using essbase as the data source.
    Please help
    Thanks

    Thanks
    However, the error still exist the same.. This error code returns when I run report based on this one single column
    when I put this date column with measures and other columns then run report, I get a different error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 42043] An external aggregate is found in an outer query block. (HY000)
    SQL Issued: SELECT Product."Brand Name" saw_0, "Up Level"."Trial - level 12" saw_1, "Year"."Transaction Year" saw_2, "Year"."Transactoin Month" saw_3, "Year"."Transaction Date" saw_4, tranSale.count_of_transactions saw_5, Avg(tranSale.count_of_transactions by "Up Level"."Trial - level 12", "Year"."Transactoin Month", Product."Brand Name") saw_6 FROM tranSale_cube WHERE ("Up Level"."Trial - level 12" IN ('0', 'Product Upsell')) AND ("Year"."Transactoin Month" >= '2009 Feb') AND ("Year"."Transaction Date" BETWEEN timestampadd(sql_tsi_day,-31,current_date) AND current_date) ORDER BY saw_0, saw_1, saw_2, saw_3, saw_4
    I believe it must be something with the essbase that is not serving OBIEE well. Because I tried the same filter on a different environment not having essbase, it return me the right results..
    Could anyone help?
    Thanks

  • How to apply JSP expression %= var % in Java String

    I have an unique problem. I am just trying to describe it with a simple example as follow:
    A servlet passes the following string to a JSP page:
    String sFromServlet = "hello my name is <%= strName %>";
    The JSP code has the definition of the variable strName as:
    String strName = "John Smith";
    Now, in the JSP code, we want to replace strName in the variable sFromServlet so that it looks like the following:
    "hello my name is John Smith".
    I know this can be done with string pattern search and replacement. But did anyone know any smarter way to do it?
    Thanks,
    SQ

    Do you mean
    <%
    String strName = "John Smith";
    String sFromServlet = "hello my name is "+strName";
    %>

  • Errors trying to apply a Boolean expression for conditional text

    I have been trying to create some Boolean expressions to filter conditional text, with mixed results. The Boolean expression is three conditions separated by ORs followed by four conditions preceded by AND NOTs. When I apply the expression, FrameMaker exhibits and error and has to quit. The numbers in the error message are:
    9004, 4908044, 6134440, 5459515
    The hidden log file appears to be nothing more than a stack dump.
    Do the numbers listed above indicate anything?
    Are there any known limitations on how long a Boolean expression can or should be? One expression with one fewer OR worked.
    Does there need to be a space between an AND and a NOT? The builder does add one, so I assume it is not necessary.
    Does anyone have some general rules of thumb when working with Boolean expressions for conditional text?
    Thanks,
    Van

    Van,
    The error values are meaningless to users. However, please do send the logfiles to the [email protected] address.
    As far as conditionals go, the general rules are that conditon names must be quoted and that if your ar using the NOT, it must run together with the AND or OR, e.g. ANDNOT ORNOT.
    There's an articel in the Developer Connection on using the boolean operators at http://www.adobe.com/devnet/framemaker/articles/fm8_single_sourcing.html
    Perhaps if you posted the condition that caused the crash, someone might be able to spot an error.

  • Applying constraint proportions to screen pump expressions

    So i recently applied this scale expression to my heart png to make it pump to the beat. Automatic Screen Pump Tutorial | After Effects - YouTube
    The problem is, I want the scale to animate in constraint proportions and when i click the option to constrain the scale, it does not change. The scale continues to zoom in and out, uggh this is so annoying, i just need to fix this problem and i can really start making my video. This is by far the most complicated situation i've faced yet lol. and doubt i'll have anymore huge problem once this is fixed.

    Your screenshot only is showing the first line of the expressions unless that's all there are. The expression on your Audio Amplitude layer is changing the value of the slider so that it limits only goes between 100 and 110. The other expression on the heart layer simply ties the adjusted value of the scale to the slider value. The result of animating the x and y scale of a layer when there's no frame of reference or background is that the layer has the same appearance as zooming in and out. In the tutorial he has some trees on a layer above the shot that do not scale so the background appears to be pumping. In your project there is no reference background.
    I believe I put up an example in your question about motion tile using a grid background. You need something in the background that has some detail to make the heart look like it's beating and you are not just animating the scale. If you want to animate scale differently for X and Y you have to separate the values in an array. Using your example I would do something like this for the bottom expression.
    s = thisComp.layer("audio Amplitude").effect("Slider Control")("Slider");
    [s * 2 , s* 1]
    This would scale the heart from 200% to 220% in X and 100% and 110% in Y, but it would still look like you were zooming in and out without some kind of detail in the background.
    To simulate a beating heart I'd try the bulge effect instead. Change the top expression to
    linear(value, 23, 50, 0, 1)
    Actually, I'd remove the expression from the slider so you can actually see what's going on with the slider and make some judgement calls and I'd apply this expression to the Bulge Height
    v = linear(thisComp.layer("audio Amplitude").effect("Slider Control")("Slider"), 23, 50, 0, 1);
    Adjust the Bulge Center and width and height to get a heart that looks like it's beating without the need for a background with some detail in it. Then just apply motion tile to your heart layer and you're done. Your grid of hearts should look like they are beating instead of zooming in and out.

  • Expression at a specific time

    Hi,
    when I apply an expression it starts from the beginning of the composition, but if I want to start it, for example, after 10 seconds, how can I?
    Sorry for my english.

    Simply put your expression in place of "// your expression" !
    if (time >= 10)
        // This will only be executed from 10 s
        k = 130;
        a = 5;
        b = 12;
        x = k*(1-Math.exp(-a*time)*Math.cos(b*time)); [x,x]
    else
        // return the default value
        // in this case the default value is the propertie's value but you can put whatever you want here
        value

  • Expression help with time remapping

    Hi
    I have a 25fps Precomp with an animation that changes on every frame.
    In the master comp I want to apply an expression to its time remap property so that it holds on each consecutive frame for a given duration, eg on Frame 1-15 we see frame 1 of precomp, on frame 16-30 we see frame 2, and so on.  I can't figure this out. Tried posterizeTime and some other bits to no avail and can't find it elsewhere on the web.
    Thanks, Steve

    <Big sigh of relief> Thank-you Dan.
    I read your expressions everywhere on the web and when I need a little help you are there within MINUTES!
    You are such an asset to the AE community.

  • Expression help needed - control speed of a pan via a slider

    I've done this in the past but can't locate my old project, and my head is throbbing from last nite.....
    I'd like to apply an expression to my null's position. I want it to pan horizontally at a speed specified with a slider control. I'd like it to be able to start, stop, and then continue. Doesn't need to ease in, but it'd be nice.
    Speed = effect("Speed")("Slider");
    OffsetX = effect("Offset")("Point")[0];
    fps = 24;
    x = OffsetX - (Speed * time * fps);
    [x,243]
    My problem multiplying "speed" with time means that when it stops (speed=0), it returns to the start position.... I need it to stay in place, and then continue when I animate the speed value back up.
    Please help my hungover brain....

    Here's a quick and dirty method:
    >v = effect("Velocity")("Point");
    vSum = 0;
    for(t = 0; t <= time; t+=thisComp.frameDuration) vSum += v.valueAtTime(t);
    value+vSum*thisComp.frameDuration
    Unfortunately, it is pretty slow to calculate, and just gets slower the further you go down the timeline. Also, it doesn't actually produce continuous motion, so it doesn't play well with motion blur.
    I'm working on a much more efficient expression that does work with motion blur, but I can't seem to get it to behave once you get past the last keyframe. If I have a breakthrough, I'll post it.

  • Lookup expression is not working when I am using with in the rectangle box in SSRS

    I have two datasets with common member is ProgramID.
    I have followed the below steps,
    1. Added one table  (2x2) and mapped this table to dataset1. After that I have removed top row.                                               
    That means I am maintaing only  data row.
    2. Added group to the table (ProgramID). Now the programid is sitting at cell#(1,1) and  cell#(1,2) is blank
    3. I have verified the report with preview and able to see the data for my all programs. I have 5 programs
    4. my plan is adding chart and matrix reports to cell# (1,2). If I am adding chart/matrix to the cell#(1,2) then we can't contol the  cell alignments in terms of height x width.
     To resolve that problem, I have added one rectangle control to the cell#(1,2) then I have added my chart and matrix report
    5. After completing the report, I have verified with preview and able to see the reports (chart/matrix) for all my 5 programs by page wise (note: I have provided page break before for my rectangle)
    6. Till this point, I have no issues
    7. Now, I have added one more row under the group. so, we have our main table (2x2). Becuase of programId group we can only see 3 cells in total table  (cell# (1,1) =ProgramId  cell#(1,2)=chart and matix reports under rectangle box; cell#(2,1)=already
    merged with ProgramID group; cell#(2,2)= planned to add one more rectanlge and add two reports (chart and matrix)
    8. Now, i have added rectangle to cell#(2,2) then added chart and matrix reports within the rectangle.
    9. cell#(2,2) reports are needs to extract the data from dataset-2. Here we have common member is ProgramID (ds-1,ds-2)
    10. First I have tested for matrix report by adding lookup expression
          Matrix report (2x2)
         row-1: Cell(1,1)= Gender report heading ; cell(1,2)=Month  (column group)
         Note: month is also common member in both the datasets. 
         row-2: cell(2,1)--  =Lookup(Programid.value, Programid.value,Gender.value,"Dataset2")  (Gender data is Male and Female)
                    Cell(2,2) -- empty for now
     11. I have tried to preview the report and able to see the report without any issues and below are observations
            main Table (2 x2)
             Cell# (1,1)  = ProgramID --Returning all 5 programs properly
             Cell# (1,2)  = Dataset1 related report (chart and matrix reports under rectangle) -- able to see without any issues
             Cell#(2,1)  = We already know this is merged cell. i.e menas ProgramID dispalying
              Cell#(2,2)= Only Male record is dispalying in the matrix report which is under rectanlge (here we have applied Lookup expression.
    Note: male is the first record from the database and Female is the second record
    Also, observed that Cell#(2,2) matrix report is unable to display the gender count information when I have provided count value expression in the cell(2,2) within the matrix and the expression I have uses is
      = sum(Lookup(ProgramId.value,ProgramId.value,GenderCOunt.value,"Dataset2"))
    Please ask me if I am unable to explain or lengthy explain.
    Point : Why the lookup expression is giving the first record only (in case of gender #(male, female) and why it is unable to give the gendercount.  Gendercount cell is totally blank.
    Please help me.
    Kishore.

    Hi Kishore,
    I have tested the issue step by step by following you description, while the first issue works well in my local environment. Based on my research, this can be caused by the lookup expression or it indeed return Male value based on the logic. If you use the
    expression below, it will indeed only return the Male record. So please try to double-check the record in the two datasets and the expression in your environment:
    =lookup(first(Fields!ProgramID.Value,"DataSet1"),Fields!ProgramID.Value,Fields!Gender.Value,"DataSet2")
    As to the second issue, please try to use the following expression:
    =Count(Lookup(fields!ProgramID.value,fields!ProgramID.value,fields!Gender.value,"DataSet2"))
    Besides, if this issue still exist, in order to trouble shoot this issue more efficiently, could you please post both the .rdl  file with all the size properties to us by the following E-mail address?  It is benefit for us to do further analysis.
    E-mail: [email protected]
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Error installing Application Express 3.1.2 on oracle 11g

    Hi
    I was trying to install APEX on Oracle 11g.
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE 11.1.0.6.0 Production
    TNS for Linux: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    After some trying and dropping users FLOWS_FILES,FLOWS_030100 i was running:
    @apexins SYSAUX SYSAUX TEMP /i/
    This is what i get:
    ...CONNECT as the Oracle user who will own the flows engine
    Session altered.
    I. I N S T A L L P R E - C R E A T E T A B L E S P E C S
    ...wwv_flow_init_htp_buffer
    create or replace procedure wwv_flow_init_htp_buffer
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [kqlindp-bad-user], [100], [], [],
    No errors.
    grant execute on wwv_flow_init_htp_buffer to public
    ERROR at line 1:
    ORA-04045: errors during recompilation/revalidation of
    PUBLIC.WWV_FLOW_INIT_HTP_BUFFER
    ORA-00980: synonym translation is no longer valid
    create or replace package wwv_flow_image_prefix
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [kqlindp-bad-user], [100], [], [],
    No errors.
    create or replace package wwv_flow_global
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [kqlindp-bad-user], [100], [], [],
    Do someone have an idea?
    best regards
    adrian

    I had the exact same problem on 11g. I tried several installs and cleaned up after each failed attempt...
    I ended up installing 3.1 and then running the patch for 3.1.2 which seems to have worked.... the FULL install of 3.1.2 has some script errors and would NOT install "fresh".
    I'm still having configuration issues though... XDB asks for a password, and then I get a URL doesn't exist ....
    <sigh>
    SQL> @apxconf
    PORT
    8080
    Enter values below for the XDB HTTP listener port and the password for the Appli
    cation Express ADMIN user.
    Default values are in brackets [ ].
    Press Enter to accept the default value.
    Enter a password for the ADMIN user [] ken
    Enter a port for the XDB HTTP listener [      8080] 8080
    ...changing HTTP Port
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    ERROR:
    ORA-01435: user does not exist
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64
    bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    D:\app\Owner\product\11.1.0\db_1\apex>
    Edited by: Canucklehead on Oct 1, 2008 10:17 AM

  • Expression assistance.

    Hi,
    I was wondering if someone could help me out with an expression (I am thinking an expression would be the easiest). What I am trying to achieve is the following:
    I have a HUD with 6 circles in it. I have a set of 6 characters that I want to display in this HUD, one in each circle. I also want the characters to randomly change betweem themselves (within each circle)
    1) have created a comp with the base HUD
    2) I have created a second comp to contain the base characters (I have the base HUD in this comp as an adjustment layer to line things up)
    3) The comp woth the base characters has 6 pre-comps, each containing all 6 characters on the same spot (to allow for them to randomly appear on and off)
    Am I complicating this too much?
    Above is a very simple depiction of what I am trying to achieve - each number would randomly change between the value of 1-6. In my current comp, Each number is in its own pre-comp, which contains all 6 numbers (I thought it would be easier to have them all in each pre-comp as a "Base" and apply an expression at that level to randomly chage them).
    I am hoping this makes sense, This is the year I delve into the murky and bottomless depth of After Effects and Text!
    Thank you
    Pierre

    You could use a simple time-remapping expression:
    cSeed=thisComp.layer("XYZ")("Slider");
    seedRandom(index+cSeed,true);
    cRand=Math.round(random(1,6));
    cVal=framesToTime(cRand);
    [cVal]
    That's assuming each of the characters is just one frame. Change the seed slider value to get different distributions and animate it.
    Mylenium

  • Expressions in different compositions.

    I am using pre_composed object in different compositions (A,B,C). Each compositions have their own camera in it (active camera). I am applying the expression bellow to rotate my object with the camera.
    value+lookAt(comp("A").activeCamera.toWorld([0,0,0]),position)[0]
    Everything works as I expected, but I can't use the same expression in the same object to work with comp B and C. Is there any way around this problem?

    There's no way for an expression to reference another comp, except by name. That means there's no way for an expression in a precomp to identify an outer, 'parent' comp.
    You'd have to create separate copies of the precomp. With clever naming and a one-to-one relationship between precomps and parent comps, they could use identical expressions, which would build the name of the parent comp on the fly from the precomp's name. So if you had Precomp A nested in Comp A, you could do something like this:
    parentComp = comp("Comp " + thisComp.name.split(" ")[1]);
    Dan

  • Groovy Expression at instance level.

    Hi,
    Iam using JDev 11.1.1.5.0.
    I've an ViewObject and then applied ViewCriteria. Now I want to apply groovy expression sum(column1). Is it possible? Please suggest, if you have any clue.
    Thanks,
    Samba.

    Hi,
    Going through this would give you the basics of groovy expressions : http://www.oracle.com/technetwork/developer-tools/jdev/introduction-to-groovy-128837.pdf
    -Arun

  • What Credit Cards Should I Apply For?

    Hi there, My Ch7 was discharged 4/15/15. I have applied for a First Premier Card (approved at $700) & Target (declined) and that is it. What cards should I apply for? Trying to rebuild and not sure how to go about it. Any advice is very much appreciated. All accounts are showing as closed on credit reports except for student loans.  Transunion is 558/ Equifax is 575

    Hello, My BK7 was discharged in late March. I just applied for Express and New York & Co store cards using this link http://www.doctorofcredit.com/shopping-cart-trick-get-credit-cards-without-the-hard-pull/ This link contains a list of retail cards you can get with a SOFT PULL!! Just go to the retail site, put items in your cart, go to checkout.  If a card invitation pops up, click on it and be sure to use the same address that's on your credit report. The application only asks for the last 4 of your SS.  Since I recently moved, I entered my old address and immediately after approval called customer service to update my address and find out the credit limit.  Each account has a $250 limit. I think this  is a good way to avoid secured cards or worse yet, cards like 1st Premier and Credit One with outrageous rates.  My cards will arrive any day now! With proper usage of these accounts and my student loans reporting good payment history, I expect to receive unsecured offers in a few months. 

  • Matching Quotes With Regular Expressions

    Hi, I have been attempting to develop an app which extract texts from pdfs then applies regular expression to the text. In one instance I attempt to match a curly open quote symbol which matches the . construct as well as the \W. However, it does not match \p{Punct} or \p{P} - does anyone know why this might be?
    I have read that a pattern \p{Pi} exists for matching opening brackets but am told when I run Java that no such characters class exists - is there anywhere where I can get info on all of the character classes available (not the Pattern javadoc)?
    Thanks very much,
    Ross

    . construct match anything and \W matches any non alphanumaric
    to match a curly bracket use \{
    Basicaly ( { [  has special meanings in regex so when you match them you have to use \{, \(,  \[  in java strings it means \\{, \\(, \\[                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for