Error with filter expression

Hi guys,
i'm trying to write this in the formula for a column which should give me the results for the previous year. I wrote
filter("Facts - GL Balance"."Balance Global1 Amount" using valueof(YAGO_MCAL_YEAR#1))
i get this error.
Formula syntax is invalid.
[nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <#>: Syntax error [nQSError: 26012] . (HY000)
SQL Issued: SELECT filter("Facts - GL Balance"."Balance Global1 Amount" using valueof(YAGO_MCAL_YEAR#1)) FROM "GCI Financials - GL Balances"
OK (Ignore Error)
I just cannot figure out what is wrong with that syntax.
Please help me.

Hi,
The problem seems to be with the syntax and the # character. Can you try below statement and see if you get any error:
filter("Facts - GL Balance"."Balance Global1 Amount" USING (YourYearColumn = VALUEOF("YAGO_MCAL_YEAR#1")))
Thanks

Similar Messages

  • ORAMED-01101 :[Filter Expression Error]Error evaluating filter expression.

    I am a newbie with oracle soa suite 11g. I am trying to use file adapter to upload the csv file contents to database.
    My csv file looks like:
    employeeid,employeename,designation,managerempid
    1121,abc,mts,211
    1122,def,mts,232
    1123,xyz,abc,133
    The generated xml file during the xsd test is
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <Root-Element xmlns="http://TargetNamespace.com/EmpAdaptor">
    <emp>
    <employeeid>1121</employeeid>
    <employeename>suneetha</employeename>
    <designation>mts</designation>
    <managerempid>211</managerempid>
    </emp>
    <emp>
    <employeeid>1122</employeeid>
    <employeename>challa</employeename>
    <designation>mts</designation>
    <managerempid>232</managerempid>
    </emp>
    <emp>
    <employeeid>1123</employeeid>
    <employeename>xyz</employeename>
    <designation>abc</designation>
    <managerempid>133</managerempid>
    </emp>
    </Root-Element>
    and in the mediator, I have the filter expression as shown:
    $in.body/ns1:EmpDetails/ns1:Emp
    the d/b table i created is
    CREATE TABLE empdtls (EMPID NUMBER(5) PRIMARY KEY,ENAME VARCHAR2(15) NOT NULL,DESIG VARCHAR2(10),MGREMPID NUMBER(5));
    When I deployed it, the application throws the below fault
    Non Recoverable System Fault :
    ORAMED-01101:[Filter Expression Error]Error evaluating filter expression.Possible Fix:Please make sure filter expression is valid, otherwise contact oracle for support. Cause:ORAMED-01102:[Filter Expression Metadata Error]Error evaluating filter expression, "$in.body/ns1:EmpDetails/ns1:Emp"Possible Fix:Please make sure filter expression metadata is valid, otherwise contact oracle for support.
    I have been trying to fix this error for almost three days..
    Somebody please help me..

    Sorry the generated xml during test is
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <EmpDetails xmlns="http://TargetNamespace.com/ServiceName">
    <Emp>
    <employeeid>1121</employeeid>
    <employeename>suneetha</employeename>
    <designation>mts</designation>
    <managerempid>211</managerempid>
    </Emp>
    <Emp>
    <employeeid>1122</employeeid>
    <employeename>challa</employeename>
    <designation>mts</designation>
    <managerempid>232</managerempid>
    </Emp>
    <Emp>
    <employeeid>1123</employeeid>
    <employeename>xyz</employeename>
    <designation>abc</designation>
    <managerempid>133</managerempid>
    </Emp>
    </EmpDetails>

  • Filter Object with Filter Expression error.

    Hello everyone!
    I'm trying to put together the following expression for a filter to be used in a report:
    Order Date -> object name = M1 - (number, measure)
    Current Date -> object name = M2 - (number, measure)
    Comparison between the two:
    <EXPRESSION> IIF (@ Select (M1) = @ Select (M2), 1.0) </EXPRESSION>
    object name 3
    So far everything works fine.
    When I create a report in Web and I put the filter M3 = 1, it filters properly.
    I thought of putting the filter in a filter object in the universe, like this:
    <FILTER EXPRESSION = "Select @ (M3)"> <CONDITION
    OPERATORCONDITION = "Equal"> <CONSTANT CAPTION="1"/></CONDITION></FILTER>
    Just as it is in Olap universes best practices written by Didier. (Page 12), as following example:
    Filter with a calculated member referenced in the filter expression:
    <FILTER EXPRESSION="@Select(Calendar Year\My Calculated Member)"><CONDITION
    OPERATORCONDITION="Equal"><CONSTANT CAPTION="1"/></CONDITION></FILTER
    But does not work when I put the query, the error is dpscommand. And I have no idea where the error is.
    The strange thing is it works, if I filter the query directly. ( Query filter: M3 equal 1).
    Do you have any tips? or something I could try that I have the M3 as a filter object?
    Tks a lot!
    Livia
    I am working on BO XI R3 - SP2 and the basead query is on SAP BW 7.0.

    macearl wrote:
    SQL View does not display unless data is returned by the query. Is that normal?
    Also, none of these options shows the literal result of the expression we built, i.e.:
    expression: CAST(YEAR(TIMESTAMPADD(SQL_TSI_MONTH, -24, CURRENT_DATE)) as CHAR)
    result: *2008*
    Having the ability to test expressions and see their results would be very helpful in debugging. If anyone knows how to do that please share!
    Thanks!
    MacOk, Probably shoud have figured this out before, but in response to my own question, the way to view the result of an expression is to add the expression as a column and include it in the Table Presentation.
    - Mac (he can be taught)

  • Type 10 Error with Outlook Express 5.0

    We have a PowerMac running OS 9.2.2 that can't open Outlook Express. Each time we try it crashes the system with a Type 10 error.
    I've tried reinstalling Outlook with no success.

    Hi, Dan -
    Try also compacting the database files. To do that, with Outlook Express quit, hold down the Option key and start Outlook Express up - you'll get a splash screen offering to compact the databases. Click yes.
    It may also help to increase the Preferred memory allocation for Outlook Express. Adding 20 or 30 thouseand, or even more if you have the RAM to support it, is not excessive.
    Article #18278 - Assigning More Memory to an Application

  • Getting error with Oracle10g Express using SQLPlus?

    I just installed Oracle10g Express on Linux FC6.
    I get errors in Java and SQLPlus when trying to connect to the database, or start it.
    In SQLPlus as "sysdba" when I type "startup" I get this error...
    ORA-27100: shared memory realm already exists
    And in Java or SQLPlus when I try to connect as a valid user I get this error...
    ORA-01034: ORACLE not available
    ORA-27123: unable to attach to shared memory segment
    Please help me.

    Have you set the environment with
    . /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh?
    C.

  • Airplay error with airport express and apple tv

    I receive this message "An unknown error (-15006) occurred while connecting to the AirPlay device" when trying to play audio from iTunes on Macbook Pro to my airport express and/or apple tv. Both airport express and apple tv work fine with my iphone and ipad as well as streaming video from itunes library to apple tv from the Macbook. I have tried the previously posted solutions, but nothing has worked yet.

    http://www.cultofmac.com/178460/the-real-reason-why-macs-before-2011-cant-use-ai rplay-mirroring-in-mountain-lion-feature/

  • "extended network" error with airport express

    i have my time capsule set up in my living room as the primary, and since there are several concrete walls in my house, i need to extend the wifi connection in order to get signal from my room which is located at the very end of my house.  I've had my airport express placed near the doorway of my room which should be getting a clear signal from time capsule in the living room.
    everything works fine for few days, and the blinking amber light started going off on the airport express.  and from the airport utility it shows 1 notification on my airport express.  It said an error of "extended network", if i choose to ignore it, the indication light turns back to green, but then i wont be able to connect to the internet.
    is there some kind of settings need to be adjusted?  please help~~~
    my settings on airport express:
    Router Mode: Off (Bridge Mode)
    Connect using: DHCP
    Configure IPv6: Link-Local Only

    i've tried to plug the airport express literally right next to the time capsule, and it still showing the "extended network" error message.  so it can't be the signal strength issue.
    Help please....
    additonal info:
    my time capsule (primary) :
    Connect Using - DHCP
    Router Mode: DHCP and NAT
    DHCP Range: 10.0.1.2 to 10.0.1.200
    my airport express (extension) :
    Connect Using - DHCP
    IPv4 Address: 10.0.1.10
    Router Address: 10.0.1.1
    DNS Servers: 10.0.1.1
    Router Mode: Off (Bridge Mode)

  • Error In Mediator: ORAMED-01101:[Filter Expression Error]

    Hi All,
    Logic in Mediator:
    If Target_ID is "A", route to "Queue_A",
    If Target_ID is "B", route to "Queue_B", etc etc.
    This list of values has been maintained in DVM like mentioned below.
    <description/>
    <columns>
    <column name="DEST_SYSTEM"/>
    <column name="DEST_QUE"/>
    </columns>
    <rows>
    <row>
    <cell>A</cell>
    <cell>Queue_A</cell>
    </row>
    Issue is: If target ID is blank, it throws error like
    <faultstring>oracle.tip.mediator.infra.exception.MediatorException: ORAMED-01101:[Filter Expression Error]Error evaluating filter expression.Possible Fix:Ensure that the filter expression is valid, otherwise Contact Oracle Support Services.</faultstring>
    Can anybody help that how to handle this type of error in mediator to send customized fault as "Target ID is blank, please pass the request again."
    Regards,
    Richa

    Hi Richa,
    Mediator doesn't provide any built-in exception-handling mechanism, the policy-based fault handler is the only way to catch and handle exceptions occurring in the Mediator
    Write Fault Policies to handle Mediator faults : Add following snippet
    > <faultName xmlns:medns="http://schemas.oracle.com/mediator/faults"
    > name="medns:mediatorFault">
    > <condition>
    <test>$fault.code="ORAMED-01101"</test>> <action ref="my-mediator-fault-handler"/>
    > </condition>
    > </faultName>
    And write Fault Actions for the above like ...ora-rethrow-fault.....
    Hope it helps !!
    Regards,
    Abhinav Gupta

  • FILTER EXPRESSION

    Hi fellow developers,
    Got a question, im strugling to build a predefined filter using a filter expression iso the normal filter key.
    Basically I want the user to be prompted to use one or the other InList filtering, so i was thinking to build a filter along this line of thought;
    (promptvalue=1 and condition1) or (promptvalue=2 and condition2)
    It didn't work and i stripped down the condition to the faulty part being the filter expression.
    So now I created a filter that should always be true using that
    <FILTER EXPRESSION="@Prompt('code?','N',,Mono,Free)" >
    <CONDITION OPERATORCONDITION="Equal" >
    <CONSTANT CAPTION="@Prompt('code?','N',,Mono,Free)" />
    </CONDITION>
    </FILTER>
    In the trace I can see it evaluates to this after filling the prompt with 1
    <FILTER EXPRESSION="1" >
    <CONDITION OPERATORCONDITION="Equal" >
    <CONSTANT CAPTION="1" />
    </CONDITION>
    </FILTER>
    Which is always true in my book, but never true according to BW...
    Anyone had any luck using filter expressions in the SAP BW environment?
    We are on the latest patch level btw...
    Thanks for any insights,
    Marianne

    Hi Ingo,
    Yes, know the document, thats where i got the idea in the first place.
    BUT...
    I cant get any of the examples with FILTER EXPRESSION to work, only the FILTER KEY versions.
    Also, before you ask, I did put a keyfigure from the cube in the query to make sure the expression works...
    I was thinking may be something changed in the later patch versions...
    Any more ideas?
    Thanks,
    Marianne

  • Error in filter with SQL Expression

    HI Experts,
    I have a sql query which works fine, but have to_date funtion() in the where clause as below :
    and oe.ORDERED_DATE BETWEEN to_date('09-APR-2009 23:59:59','DD-MON-YYYY HH24:MI:SS')
    AND to_date('10-APR-2009 23:59:59','DD-MON-YYYY HH24:MI:SS')
    and (ol.ORDERED_ITEM LIKE 'abckdo%' OR ol.ORDERED_ITEM LIKE 'xysalnb%')
    I am trying to create an OBIEE report with filter where the values of the filter are select as SQL Expression. and gave value to first variable as "to_date('09-APR-2009 23:59:59','DD-MON-YYYY HH24:MI:SS')" and the second variable as " to_date('10-APR-2009 23:59:59','DD-MON-YYYY HH24:MI:SS')"
    But the report is giving me an error. If I remove the date condition, then the report works fine. Can anyone give some inputs in resolving the problem. The mentioning of the HH24:MI:SS is very import to get the right resultset.
    Thanks in Advance.
    svr

    Hi SVR,
    I've had similar difficulties in the past with OBIEE and using the TO_DATE in the logical SQL expressions. I'm not sure if OBIEE recognizes TO_DATE or if it only recognizes TO_DATE is certain situations.
    However, I believe OBIEE recognizes the CAST( AS DATE) in all situations. Here's what I would recommend doing.
    1) Go into the connection pool associated with the report your creating and click on the second tab, "Connection Scripts"
    2) In the "Execute on Connect" area, click the "New" button and paste the following code: alter session set NLS_DATE_FORMAT='DD-MON-YYYY HH24:MI:SS' ** this step changes the default DD-MON-YYYY format of Oracle, to the format you will be giving the data in.
    3) Save the RPD and bounce the services if you made this change off-line.
    4) Instead of using TO_DATE() on your formulas, use CAST('09-APR-2009 23:59:59' AS DATE). Since we changed the default DATE mask to be the format that you're passing in, you should no longer see any issues.
    Hope that helps!
    -Joe

  • Struggling with MDX Filter Expression for Previous Month in SSRS

    I am trying to query only data from the previous month. 
    I looked at my Month member and the it looks like so... [Date].[Calendar].[Month].&[2015-04-01T00:00:00]
    Here is my filter expression:
    StrToMember ("[Date].[Calendar].[Month].&[" + format(now(),"yyyy-MM") +  "-01T00:00:00]" ).lag(1)
    I am not getting any errors, I am just getting getting "No rows found" - however there is certainly data in last month. I even tried removing the lag() function thinking that might be causing it, but there are still no errors, just no rows returned.
    Here is the complete query:
     SELECT NON EMPTY { [Measures].[Completes] } ON COLUMNS, NON EMPTY { ([Date].[Calendar].[Date].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM ( SELECT ( StrToMember ("[Date].[Calendar].[Month].&[" +
    format(now(),"yyyy-MM") +  "-01T00:00:00]" ) ) ON COLUMNS FROM [Data Warehouse]) 

    Hi S,
    I can't tell exactly what your issue is, but I can give you a couple of tips to help diagnose it.
    Try the following queries. They aren't fixes, just simplifications of your query to help you diagnose where the issue is.
    --This query will let you what your string function is returning with what you want.
    With member measures.x as "[Date].[Calendar].[Month].&["
    + format(now(),"yyyy-MM") +  "-01T00:00:00]" 
    member measures.y as [Date].[Calendar].currentmember.uniquename
    select {measures.x,measures.y} on 0
    [Date].[Calendar].[Month].&[2015-04-01T00:00:00] on 1
     from [data warehouse]
    --This query will give you the date without lag
    SELECT NON EMPTY { [Measures].[Completes] } ON COLUMNS, StrToMember ("[Date].[Calendar].[Month].&["
    + format(now(),"yyyy-MM") +  "-01T00:00:00]" )  on rows FROM [Data Warehouse]) 
    --This query will give you the date with lag
    SELECT NON EMPTY { [Measures].[Completes] } ON COLUMNS, [Date].[Calendar].[Month].&[2015-04-23T00:00:00].lag(1)  on rows FROM [Data Warehouse]) 
    --This query will give you the date with lag
    SELECT NON EMPTY { [Measures].[Completes] } ON COLUMNS, StrToMember ("[Date].[Calendar].[Month].&[" + format(now(),"yyyy-MM") +  "-01T00:00:00]" ).lag(1)  on rows FROM [Data Warehouse]) 
    --This query will show you the member without lag
    SELECT NON EMPTY { [Measures].[Completes] } ON COLUMNS, NON EMPTY
    { ([Date].[Calendar].[Date].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM ( SELECT ( StrToMember ("[Date].[Calendar].[Month].&[2015-04-01T00:00:00]" ) ) ON COLUMNS FROM [Data Warehouse]) 
    --This query will show you the member without lag
    SELECT NON EMPTY { [Measures].[Completes] } ON COLUMNS, NON EMPTY
    { ([Date].[Calendar].[Date].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM ( SELECT ( StrToMember ("[Date].[Calendar].[Month].&[2015-04-01T00:00:00]" ) ) ON COLUMNS FROM [Data Warehouse]) 
    --This query will give you the date without lag
    SELECT NON EMPTY { [Measures].[Completes] } ON COLUMNS, StrToMember
    ("[Date].[Calendar].[Month].&[" + format(now(),"yyyy-MM") +  "-01T00:00:00]" )  on rows FROM [Data Warehouse]) 
    --This query will give you the date without lag
    SELECT NON EMPTY { [Measures].[Completes] } ON COLUMNS, StrToMember
    ("[Date].[Calendar].[Month].&[" + format(now(),"yyyy-MM") +  "-01T00:00:00]" )  on rows FROM [Data Warehouse]) 
    --This query will give you the date without lag
    SELECT NON EMPTY { [Measures].[Completes] } ON COLUMNS, StrToMember
    ("[Date].[Calendar].[Month].&[" + format(now(),"yyyy-MM") +  "-01T00:00:00]" )  on rows FROM [Data Warehouse]) 
    Richard

  • Using report parameter in data set filter expression with an SSAS data source

    I have an SSRS report with an SSAS data source.
    Report parameters:
    Param1 - text, single select
    Param2 - text, multi-select
    Dataset:
    In Query Designer, I want to include Param1 as a filter expression so I can have "Dimension1 Begins with @Param2". I'm not sure the exact syntax to make param2 work in this.
    The point is to filter my data set on param1. If A is selected for param1, I want the data set to have the filter saying "Dimension1 begins with A"
    Anyone know how to use a report parameter in the dataset filter expression for an ssas data source?

    hi,
    try this maybe the dates you are comparing are not in the same format.
    I test data template in EBS but not with dates.
    to_date(date,'dd/mm/YY') between to_date(:p_from_date ,'dd/mm/YY') and to_date(:p_to_date ,'dd/mm/YY')
    if dont works try to put values insted of your parameter like :
    to_date(date,'dd/mm/YY') between to_date(:p_from_date ,'10/01/07') and to_date(:p_to_date ,'01/12/07') ... put dates where u can have some values in report...
    if dont work then try to print the values of the 2 parameters and the date of the select somwhere in ur report to see what you have in it..
    hope it helps..
    Regards Joe.

  • Filter Express VI - How to make it work with single samples? (LabVIEW 8)

    Hi there,
    I'm trying to update some older code by implementing some sort of FFT.  Currently, my program acquires X data points, averages them, and spits out the Mean value into a graph (Signal as a function of wavelength) (Spectrofluorimeter).  This is done a number of times with the instrument moving to a different wavelength between each sample scan. I've tried to incorporate the Filter Express VI but it does not seem to be doing what I'd like it to.  I have it wired to my Signal Acquisition Express VI with the Filter set to Low-pass 100 Hz with the result being passed through the "Mean" VI and then graphed with the Build XY Graph Express VI.
    When I graph the Power Spectrum, I am seeing that the maximum observable frequency is always 1/50th my sampling rate (regardless of my low/high/bandpass settings).  For example: my # of samples is set to 100, and my sampling rate is 8000 and I observe a maximum frequency of 160 Hz.  If my # of samples is set to 100 and my sampling rate to 6000, the maximum frequency is 120 Hz.  If I try the Filter Express VI with very basic wiring and just hook up a battery to it, I see all sorts of frequencies all the way up to my sampling rate divided by 2 (i.e. 8000 -> 4000 Hz) so this seems very strange to me.
    I'm not sure what is causing this and perhaps its a limitation of the Filter Express VI and I'm supposed to filter using a different method?  I was thinking that perhaps I would need to store all of the dynamic data and then wire it to the Filter Express VI once the entire scan was completed and filter that way but I'm not sure how to save or buffer this dynamic data.
    I'm hoping this is a common problem and someone would be so kind as to offer me any suggestions!
    Thank you for your help!

    I think I should clarify that these aren't necessarily "Single Samples".  I take X number of samples at a specific wavelength, filter that, then take X number of samples at a different wavelength, filter that, and the goal is to have a frequency filtered data set at the end.

  • Express Document Error with PO

    Hi,
       I have one problem with PO modification.I am using me22n transaction code.
    I am modifying any information related to a PO like tax code and then saving it.After this I come out of transaction while comming back follwing error message comes-
    "Express document "Update was terminated" received from author is comming.
    Can anybody help me out for why this is happening ,plz it's very urgent.
    Thanks in advance.

    Ya I have already checked.there it is showing that following function module "MEDCM_UPDATE_REVISION" raising the error.It's not showing the exact error.
        What I am thingking is why it is happening with only few POs.I there is any error in program then it should give for all.
       I think there might be problem with PO.
       Have u come across suchkind of  problems of express document error.

  • Communication error with Epson Stylus C63 with Airport Express

    I have a brandnew iMac running 10.5.2. Set up my Airport Express and got the wifi to work in the house. Now I am dealing with remote printing. Printer is plugged into the port on the Airport Express, I see it in the Printer tab of Aiport Utility, I see it in the printer dialogue... but whenever I print I get "communication error with printer". I have unplugged the Airport Express, restarted computers, to no avail.
    What am I missing?? Thanks in advance for any tips.
    -Joanna

    I solved this problem! After lots of searching I ended up at http://discussions.apple.com/thread.jspa?messageID=5692363 Printer setup utility in Leopard which gave the tip to reset the printing system... I did, and then somehow the Epson printer showed up as a Bonjour printer (which I had tried to do in the Airport utility but it would not let me because the name was too short or something strange like that). PageSender Fax showed up also and I just printed a document remotely...
    Hope this helps someone else.

Maybe you are looking for

  • Multiple loop in one loop

    Dear experts, Please find the code below.This is text variable customer exit.Can u ple help me to put these multiple loops into one loop.Do u suggest this code is ok? Appreciate your help. WHEN 'ZSTXTPE01AA'or 'ZSTXT0FISCPER305AA'or 'ZSTXT0FISCYEAR01

  • Implenting BADI in place of customer exit in BEX reports in BW

    Hi all, I am new to implemrnting BADIS in to BW. We have already used user exit  RSR00001. We want to use BADI's in place of exit 'RSR00001' . Can any one tell me how to migrate the existing exit to BADI using tcode SAPU. OR any one can help me regar

  • How Did I Do It?  Oil Painting Effect- Really Realistic!

    I'm sure I was using PS CS3 32 bit on Windows XP when I did this... Notice in the model's hair the shiny reflections of the thick "oil" brush strokes.  I have used Eye Candy and Photo Tools before, but about all I find when I search now is pixel bend

  • JEditorPane in JDialog only updating in response to mouse clicks?

    Hi all, I'm having a bit of trouble with a program I'm writing. I've got a subclass of JDialog (done with Forte) with a JEditorPane and a JTextField. The JTextField works perfectly, but the only way I can get the JEditorPane to update is using a mous

  • Can't open & create event in iCal

    I used to be able to open & create an event in iCal.  But, the last time I sync'd my iphone & macbook it asked me which event was correct.  I clicked on the one on the right and haven't been able to view or create on macbook since (can open & create