The use of the repository variable date in filter expression

Hi gurus

I get the error using repository variable date in filter expression. I use the formula below

filter (with the HELP of Fact.calls"Sun Time".) ("' Fiscal months end date" = VALUEOF ("month_start"))

I am getting below error

The formula syntax is not valid.
[nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 22024] A comparison is performed between incompatible types. (HY000)
Publ. SQL: SELECT filter (fact. Calls by using "Sun Time" ". Fiscal months end date"= VALUEOF ("month_start")) 'call DATA.

Then I tried the below format I still get the error

filter (with the HELP of Fact.calls"Sun Time".) "" Fiscal month end date "= DATE'(VALUEOF ("month_start"))") "

The formula syntax is not valid.

[nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 46047] DateTime (VALUEOF("month_start")) (VALUEOF("month_start")) value does not match the specified format. (HY000)

Publ. SQL: SELECT filter (using "Sun Time" Fact.Calls. ("' Fiscal months end date" = DATE '(VALUEOF ("month_start"))') 'call DATA.

Please let me know what I'm missing or what is the correct syntax of same using the repository of date variable.

Thanks in advance

Concerning

@li

filter (with the HELP of Fact.calls"Sun Time".) ("' Fiscal months end Date" = CAST (VALUEOF ("month_start") date))

Try this

mark, if this can help

Tags: Business Intelligence

Similar Questions

  • How we cal the repository variable in static mode

    Hi all

    I have to call the reference variable in static mode.
    can someone help with that.

    Thank you
    Bibi

    Hello

    Have you tried using the following syntax in static text mode?
    @{biServer.variables ["VariableName"]}

    Thank you

  • The use of quotation marks in the parameter variable data

    Hey, I have a question very confusing, I'm with headaches, already, hour I google itand nothing...

    Here it goes...

    1. I had a procedure that receives the ID setting

    2. then, I use it to make a few requests in other tables

    3. but, when I go to the query in the data element of this ID, it returns me a large amount of data which are not of this ID.

    I've done some tests and I realize that when I do this:

    DECLARE
    V_ID VARCHAR2 (200): = 35100345580693000762550010000276180000407450;

    BEGIN

    FOR RS TO (SELECT * FROM TABLENAME TN WHERE TN.ID = V_ID) LOOP
    INSERT INTO A1 VALUES (RS. PROD_COD, RS. (UN);
    END LOOP;
    COMMIT;

    END;

    She sends me all THE IDs!

    But when I put quotes in the value, like that!

    DECLARE
    V_ID VARCHAR2 (200): = '35100345580693000762550010000276180000407450';

    BEGIN

    FOR RS TO (SELECT * FROM TABLENAME TN WHERE TN.ID = V_ID) LOOP
    INSERT INTO A1 VALUES (RS. PROD_COD, RS. (UN);
    END LOOP;
    COMMIT;

    END;

    It returns the correct lines, but there is a problem, the ID will come from setting, so how can I solve this?


    To be more precise, the type of the ID column is VARCHAR2 (50), maybe this might help...

    Published by: Nylson on 27/04/2010 03:51

    T it?

    I already showed above that pass the parameter a string, it does so without rounding, but passes the parameter a large number which must be converted to a string first, you're going to get some flare at 38 s.f. going on.

    You need to make sure you pass a string in your procedure, rather than a number, if you want to get your code transmitted intact. It is the only way to avoid the implicit flare.

    Otherwise, could you relook at your application design - why you store these large ID in the first place? If it is a concatenation of several things, why not just break down the numbers and add them in separate columns?

  • How to use the repository Variable title

    Hi all

    I'm new to Obiee. I have a requirement, I want to show variable repository in title.
    Please help me

    Thank you...

    Hello

    In the legend of view title write as follows

    @{biServer.variables ['NQ_SESSION.variablename']}

    For more details abt this link below, you will find the table of variables

    Concerning

    NGO

  • Where are the separate variable data stored?

    Guys,

    Nobody here knows not where are stored the data for separate variables?

    I'm doing some research in my environment to know the capacity for the application process and I need to count the use of variables separated from my database.

    Any help is appreciated.
    Kind regards
    Luiz

    Hello Luiz,

    Separate instance variables are stored in the table "PDETACHEDFIELD" of the engine.

    Dan

  • In the presentation variable date format

    Dear Guru,

    My guest has a calendar month edit box that is in the format "YYYY / MM". I put this as a variable presentation p_month.

    Now, I need to add 1 month to this presentation variable in the filter, I tried to write the sql code but it's complicated, and it does not work. Could someone help?

    Thank you very much
    Joe

    An approach more:

    using filter based on another request...

    create a query containing the following columns... (Assuming that YYYY / MM column is: A).

    Min (A)

    "and keep the filter on A > ' @{p_month}"
    Save this report with a name: RapportB

    Your main report on A filter should be like this:

    filter on a column > advanced > filter based on another request, now browse the RapportB and then to specify the unique column present in this report to be filtered...

    hope you understand this approach...

  • Using of Variable in the filter expression will not scan.

    IN ODI 11.1.1.3.0, I've defined a Variable of type 'Alphanumeric' (SelectionDate), default = January 1, 1970 with the query select: select to_char (SYSDATE, 'DD-MON-YYYY') of double.
    I intend to use this variable as a scenario (parameter) variable that receives a value in the form "DD-MON-YYYY', of the execution environment.
    I refreshed the variable and the value received June 16, 2011 (current date). So far so good.

    Then, I defined an Interface and use the variable in a filter expression:

    Filter active: checked

    Tab implementation:
    SOURCE_VIEW. SELECTION_DATE BETWEEN TO_DATE (' #PROJECT1.) SelectionDate', 'DD-MON-YYYY') AND (TO_DATE (' #PROJECT1.)) SelectionDate', 'DD-MON-YYYY') + 1).

    Run on: Source

    During the verification of the expression (click the check mark in the application tab) I always get: Expression is not valid for the DBMS. java.sql.SQLDataException: ORA-01858: a non-digit character was found here where was waiting for a digital.

    I can't filter to analyze. Thank you for your ideas of what could be wrong.



    Jose.

    Hi Jose,

    You must set this variable in a package and refresh it. Then place your interface with the current filter condition.
    Run the package. It should work.

    Thank you
    Fati

  • Default presentation variable used in the SQL filter expression

    Hello
    I am trying to use a default value for a variable used in a sql expression in a filter presentation and could use assistance on why obiee stifles the syntax.

    I have a report prompted with a prompt on the name of the month (variable presentation framework - pres_month_name). The value read is used in a filter as an sql expression. The sql expression is a DEAL on the variable of presentation and its conversion to a number based on business rules.

    In the sql expression, I give you the presentation variable a default value for a variable of repository - rep_default_month_name. Repository variable is correct and no, based on business rules, returns an appropriate default month name.

    Now, if I hard code the value by default, there is no problem. Here is a sample of the filter:
    The month number less than or equal to * DEAL "{pres_month_name} {OCT}" WHEN "NOV" THEN 10 WHEN... END *.

    Notice that the variable of presentation is between single quotes, because this is an area of character. Once more, it works fine, but I don't want to hardcode the default, I want it based on the variable repository, therefore:

    The month number less than or equal to * DEAL '{pres_month_name} {ValueOf (rep_default_month_name)}' WHEN 'NOV' THEN 10 WHEN... END *.

    By having this syntax for default of the variable of the presentation, I receive a message from the incorrect values in a filter.

    This report is not only used on a dashboard, but used in a briefing book as well. Whenever a briefing book is updated, by default the presentation variable is used, because obviously, the presentation is not available in a briefing, and I don't want to use a hard-coded value.

    I could duplicate the report and adjust the sql to not use the presentation variable, but always use the repository variable that returns a month by default, but I would be duplication of effort and I have to do this on several requests.

    Thanks for the help!

    Try this syntax described in the blog of Shiva that follows...

    http://shivabizint.WordPress.com/2008/10/02/Oracle-BI-EE-variables-overview/

  • How to set the output of the report to the session variable

    Hello
    Is it possible to output report to the session variable value. If my report returns 1 row and 1 column.

    I have a dashboard command prompt where I select name, but I want to find the ID of the same name.
    This ID I want to move to a Fx column, to achieve this, I created an interim report and I got the code. Now my problem is how do I put this ID in the session variable.

    Please help if anyone knows...

    Have you read this:
    How to set the session / presentation in the repository variable variable

    Dashboard invites on Month Name but the report on the ID of the month filter:
    Re: Guest dashboard on the name of the month but the report on the necessary month ID filter

    If you have dashboard guest (name), then you can have that one report that is filtered by a name but present card to display or not id but use id in the service. Or two reports as in the solution in the second link above and the second report has id in the function and filter by the id of the first report. You need not define this ID in the session for this example variable.

    Please close your previous discussions, if they are treated.

    Concerning
    Goran
    http://108obiee.blogspot.com

  • Add the binding variable to more of a display object

    I have two display objects (relationship master / detail). For the first object in view, I used ExecuteWithParams, with two variables bind to filter the query.
    I want to use the same InputTexts created with ExecuteWithParams to the second object from view.
    Is this possible? Any ideas on how to achieve this?

    Thank you
    Andreas

    See if this demo helps:
    https://blogs.Oracle.com/Shay/entry/combining_multiple_queries_and

  • What are the parameters? How are Variables differenet? Why we can not use variables to pass data to one sequnece to another? What is the advantage to use parameters instead of Variables?

    Hi all

    I am new to TestStand. Still in the learning process.

    What are the parameters? How are Variables differenet? Why we can not use variables to pass data to one sequnece to another? What is the advantage to use parameters instead of Variables?

    Thanks in advance,

    LaVIEWan

    I'm sorry... I discovered that... its not at all possible to pass data to another sequence using variables... it must be through settings... once again I apologize for the display of such a stupid question

  • ActiveX in BradySoft (CodeSoft) - what method/class/object I would use to send data to the form variable to BradySoft?

    Can what method/class/object I use to send data to the form variable to BradySoft? I have a basic configuration of BradySoft label and I want to send it data of variable shape (a serial number) from Labview ActiveX. I joined guide Brady ActiveX programmers, but can't understand what to use for that.

    P.S. I would call Brady or TekLynx tech support on this issue, but they have a strict policy while BradySoft supports ActiveX, but does not provide technical support assistance programming with it. I thought I would try the Forums OR.

    Just an update. I could get this to work myself after a few days of playing with it (I suppose that the best way to learn!). I have attached a sample VI for anyone interested. Can we Kudo ourselves?

  • How to change the value of string clustered, to implement using the node value of property instead of writing directly on the flow of data or using the variable

    new to labview :-) and I have a problem when I want to change the value of a string in bunches, and I want to implement this using the node value of property instead of writing directly to the stream or by using the variable, enclosed is the picture.   No matter, I have change in cluster (control) or value of Popery out (indicator) cluster, the value (sensor 7) dataflow keeps unchanged even I gave the new value by value of property node. Thank you to give me some advice about this.

    Hi GerdW

    Thanks a lot for your answer. The reason I'm stubbornly tring to break the flow of DATA is: we have a test system that have about 100 screws, they have a few connected flow, some of them will be unbundling a cluster dataflow chain to check the value in order to make the different cases.  Now I want to insert user event by changing the control and influential cases during run time.

    As I initially uses a global variable (to control cases) instead of unbundle string data flow, it works well.  But then, I found there are a lot of screws that are using the string unbundle.  One of the 'lazy' means, I tried is to change the value via the property node (because that way, I did not need to find all the places where using the unbundle string and replace them with the global variable), then I noticed a problem with "dataflow", the value in the stream of cluster in fact will not be changed by changing the value of the property node.

    I did a test with VI simple (like the picture in last post), and after reading your advice, I tell myself that I need to understand the concept of "DATAFLOW" in labview, it seems that my "lazy" way can not work in this scenario.

    I have attached the criterion VI here, have you furthur suggestions on what I can do in this case?

    Mant thanks!

    Minyi

  • can I create an EM 12 c database with the preconfigured repository database use, models on the basis of data Oracle 12 c

    The installation for EM 12 c document indicates "Install Oracle Database 11 g Release 2 (11.2.0.3) software on the host computer, where you want to create the database".  I want to use Oracle database 12 c.  Is there a template to preconfigure the repository on a database of 12 c?  Or is there a work around?

    For the version EM Cloud control 12.1.0.5, which is the most recent version of the MA, the models for the 12.1.0.2 of the database version is available here.

    Model of data base for the installation of Oracle Enterprise Manager Cloud control 12 c Release 5 (12.1.0.5)

    Note that, although a DB template helps you to simplify the installation process, you can always install EM12c without one. If necessary, look at the manual below:

    http://docs.Oracle.com/CD/E24628_01/install.121/e22624/install_em_exist_db.htm#EMBSC159

    Kind regards

    -Loc

  • Parameter IN or OUT to missing index: 1 using the variable date ODI.

    Hello

    I created the variable of data type date as EXTRACT_FROM_TS and also the default value for this.
    Now I use this variable as a filter in the source table in the design of the Interface as below...
    LAST_UPDATE_DATE > = #p_extract_from_ts where LAST_UPDATE_DATE is the field in the source database with date data type not null not forced...
    I have lkm hv used SQL for Oracle...

    Above variable refresh and interface scenario running one after another in ODI package...
    Variable gets refresh every time successfully, but Interface fails at the step of loading data... error message as below...


    ODI-1227: SrcSet0 (load) task fails on the source of ORACLE R12DEV connection.
    Caused by: java.sql.SQLException: parameter IN or OUT to missing index: 1
    + oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1890) +.


    If we remove the filter LAST_UPDATE_DATE > = #p_extract_from_ts, then it works well...

    I do not know why this error pops up on adding filter... Please help on this...


    Thank you
    Roshan Y

    Hello

    put a step DECLARATION above all. After that in my opinion, it is better to put a TO_CHAR().

    Try putting your variable in text mode and change your filter in

    TO_CHAR (LAST_UPDATE_DATE, 'YYYYMMDDHHMI') > = TO_CHAR(#PROJ.) P_EXTRACT_FROM_TS, "YYYYMMDDHHMI")

    In your operator if you click on the variable whose value you see?

Maybe you are looking for

  • Satellite A30: Cannot detect internal modem

    I have a Toshiba Satellite A30. The internal modem was working fine until a few months ago, when I moved to town. Now my computer can not detect the modem at all. Please help me!

  • How to fix the "unspecified devices" on windows 7?

    I have 2 hardware problems but one is that I really need hard... my printer to work must, every time that I reboot windows installation works. Put Win7 in the unspecified features and troubleshooting said there is no problem, but I can't print. After

  • Back to Windows 7 Home premium to Windows 8? Product key for OEM (Toshiba) is available

    My new PC has Windows 7 Home premium pre-installed, and I've upgraded to Windows 8. I want to go back to Windows 7 - I have the product key on a sticker on my PC but not the drive - how can I do? Thanks in advance! Ken

  • There is no activation problem error 0x8007232B DNS name code

    * Original title: Activation Hello! How can I activate my Pc? He asked me the DNS name, and now I wonder what to do to activate it, each time the error 0x8007232B DNS code, the name does not exist. Kindly help

  • Imaging

    We can download software Imaging for windows vista monitor, printer is photosmart c5180 all-in - one.thesoftware says my installation disk succeeded, but when I try to scan it says there is an error help