variable presentation changing the data type date to string the Calende

Hi gurus,

I'm having a strange problem. I have a Start date and end date fast that aren't on any column presentation for example (in the case where 1 = 0 DATE. DATE other cast ('2100-12-31 Date ') end).
Now, this prompt, I put 2 startdate and enddate variables presentation to use in my sql filter in the report.i use these variable to calculate the date for these 2 end dates and then I apply between it function with these 2 dates.
The question is when the dashboard is running for the first time the presentation variable takes the dates as the DATE "' 2009/14/10 and when I change the date and click on the go button, the variables is October 15, 2009" as strings anf so DATE in my SQL filter functions fails and error throughts VD.

All of the suggestions!

Nico explain already.

Select date '' 2009-12-15 of the double - TRUE
Select date of 2009 '-15-12' of the double - ORA-01843: not one month valid
Select date ' 10/2009/15 ' of double - ORA-01861: literal does not match the format string

DATE 'yyyy-mm-dd' does that have this format.

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

Tags: Business Intelligence

Similar Questions

  • variable presentation in the SQL for the scale marker

    ! http://img101.imageshack.us/img101/3476/sqlscalemarket.PNG!

    Hi, experts,

    I want to know if variable presentation is supported in the "sql query" "scale marker.

    I want to move the selected value from the prompt for the sql query!

    Thank you!

    I want to know if variable presentation is supported in the "sql query" "scale marker.

    Scale marker made reference here to the axis scale to increase the width and height or the zoom layout data is dedicated to the see, it has nothing to do with the variable presentation as such. If you can not pass any value for the variable.

  • Variable presentation changing to 0 once downloaded to Excel

    Hello:
    I'm having a problem with the presentation variable.
    In fact I am capture user input value using a variable presentation and then use it for certain calculations in the PivotTable.

    Report looks good on dashboard. However, when I download in excel, presentation variable is turned to 0 and all calculations based on that change too...

    Version I use is the 10.1.3.2. I would like to know if it's the limitation of the version.
    Thank you.
    Vinay

    Simply capture directly into the repository variable and use it in your reports.

    concerning

    John
    http://obiee101.blogspot.com

  • How to display variable presentation in the sight of the title

    Hello.. I was able to view presentation in narrative mode but now title view variable...
    Help, please...

    Hello

    Please see the link below:

    http://Siebel.ITtoolbox.com/groups/technical-functional/Siebel-Analytics-l/how-to-use-presentation-variable-to-populate-a-title-in-the-dashboard-1758482

    Thank you
    -Laurence.

  • Variable presentation doesn't work is not in the filter using expr

    Hi friends,

    I have a quick period with a variable presentation of the v_period used. Inturn, so I applied formula below one of my measure column in the analyses below the means, it does not work when I select the name of period of command prompt. How can I place the presentation variable from the prompt for the filter with expression.

    FILTER ("Fact_GL_balances". "Actual_ending_bal" for HELP ("Dim2_GL_periods" ".") " Period_name' IN ('v_period')))

    Kind regards

    Saro

    Hi, Saro,

    I think the correct syntax when you use variable presentation would be:

    FILTER ("Fact_GL_balances". "Actual_ending_bal" for HELP ("Dim2_GL_periods" ".") " ((IN Period_name' (@{v_period})))

    OBIIE does not generate the correct syntax when you use the expression builder

    And if v_period can have multiple values, you should use this:

    FILTER ("Fact_GL_balances". "Actual_ending_bal" for HELP ("Dim2_GL_periods" ".") " ((Period_name' IN (@{v_period} [' @'])))

    I have not tried in my OBIEE because I need to filter a Dimension column, so I have to use CASES instead of FILTER, but this is my reference:

    Q & A: OBIEE OBIEE 11 g: presentation Variable initialization in a multiple selection prompt

    Concerning

    Ana GH

  • How to filter values using variable presentation if it uses a multiselec

    Hi gurus,

    Could you pls suggest me here.
    I have a requirement like my version 10G OBIEE isn't filtering report values when we choose a value any in dash prompt.
    I tried to create a variable presentation in the prompt for filtering, but invites under control, he is given a MULTI SELECT.
    I need to filter the values today if select us any value from the command prompt, it does not choose any value.
    How to filter values using MULTI SELECT Here.Please suggest me here.

    Kind regards
    SK

    Functions applied on the columns must be the two places (in report and guest) and must affect is fast after the function applied in the report.

    In your case is prompt value before cast, it seems that it is the reason why it does not work.

    Mark correct/good so pls help.

  • Multiple selection with Variable presentation

    Hello gurus:

    I currently have a dashboard where the user selects a Promotion ID and all other reports are based on this promo-id.

    Now, I use variable presentation for the promo-id.

    Now obligation if, for another page of dashboad, where a user can select up to 4 different promo-ID and compare them from the same measures.

    I was thinking about using PivotTable dynamic to compare and multiselect selection of promotions up to 4 guest.

    However I do not think that variable presentation works with multiple selection prompt.
    So, what should I do about it?

    I can do 4 different guests, but then it will force the user to select 4 promotions every time. I want to do something where the user can select 2,3 or 4 promotions.

    Please help me.
    Thank you.

    ~ Vinay.

    Yes, if you use the same column to create the dashboard and to create the filter.

  • change the column type of data in large tables

    Hello

    I have a very large table 3 TB and 97 scores and I need to extend the size of a column. This operation can take a long time and I'm afraid that it will block some SQL operations. What is the recommended way to do this? Can I use alter column? Should I add the column, copy values, delete the former and rename it?

    Kind regards

    Nestor Boscan

    Because you widen the column, all existing values are guaranteed to fit the new size. This should happen fairly quickly. If you were however decrease the size of a column, each value must be checked first before the DOF could complete to check it might all go in the smaller space. Change the alter table is a great value.

    If these fields are variable length (number, varchar2), then the space doesn't have to be 'reserved' for future data. Oracle will take care of the future inserts or updates of larger data as usual. If you increase a fixed length as a CHAR data type, then it is another story.

  • Using the default date for a variable presentation

    In the report, I want to use the default date of the variable presentation.
    If I use the query as below, default is correctly.but if I pass the dash prompt date value that is throwing error

    Someone help me change the below
    request for valid results?

    TIMESTAMPADD (SQL_TSI_day, (dayofmonth(date @{asdf}{date '1900-01-01'}) *-1) + 1, date @{asdf} {date ' 1900-01-01'})

    Published by: user12255470 on December 2, 2010 12:11

    Published by: user12255470 on December 2, 2010 12:12

    Try this:
    TIMESTAMPADD (SQL_TSI_day, (dayofmonth(date '@{asdf}{1900-01-01}') *-1) + 1, date ' @{asdf} {1900-01-01} "")

    Mark answers quickly.

    J
    -bifacts
    http://www.obinotes.com

    Published by: bifacts on December 2, 2010 15:21

  • Variable presentation for between the date of request

    Hello

    I have a requirement where I need to pass the value to the variables of presentation for "Between" date guests.

    Basically, a user can select two dates in the same column and see revenue between these two dates.

    The problem is that I can use a single column only once and if I do 'In between' then the 'set the variable' option disappeared.

    Kindly help me with the problem.
    Thank you.

    Vinay

    With regard to feeding guests, you don't have to use the same column. It is only when you filter your date column becomes important. With this, follow these steps:

    Place two columns in quick work space and use case WHEN 1 = 0 THEN... effectively dummy columns columns. Use the drop down menu to make the two guests "Edit box." Value of operand ' is equal to ' and prompts PVs: StartDate and EndDate. You can create session variables to set the default values. This method ignores the date columns and typed by the user to the value. Default dates show that the format users should use.

    Now in your request, click on the filter of your date column, convert the filter SQL and type:

    'Table Date.' ColumnName > = ' @{StartDate} "AND" table Date ".columnname"<=>

    It will work, but there are other options. If you want the user to select a date from a list drop-down, just use another date column that has dates available for the user to select. Once again you are simply feeding the Pvs in the guests. It is not necessary for the second column to be the same as the first.

  • To change the data type of control/led

    Is it possible to change the underlying data type of the indicator or a control?  I a VI that I want to use that accepts any type of data (essentially data varriant) and display it accordingly.  I have different controls selected to display data of different types in the sense of data vs decimal boolean data vs integer, but certain types of data will be of type uint32 vs int16 vs uint64 etc..  Is it possible to programmatically change the data type, so I need to have all the combinations of indicators?

    The short answer is no. The long answer is that LabVIEW has not 'generic' controls that allow you to display any type of data (apart from the variant of course). There are several ways to address this problem, but all require you as the programmer to manage explicitly each type of data you could possibly meet. Here are some possibilities (in no particular order), please let me know if you would like to help a particular implementation of these.

    1. Force incoming data to variant, use the info option to determine the data type of the original data in a case structure (open G can do this VERY easy), have an indicator on the front panel for each type of data you want and hide those unused
    2. Use a sub-group of experts on the front panel and sub - vi call of to view specific types (that lends itself very well to encapsulate your data in a class and you leave OOP allows to expand into different types of data)
    3. Use a tab with the variant (similar to option 1) control put each kind of data in its own tab, enable only the current
    4. Do a Control-X to accept a Variant option 1 under the hood
    5. Just as a string of format and use a string indicator

    That's all I can think of right now, once again, let me know if you need more information/help on the options.

  • Change the Data Type to node e/s on PXI-7841R FPGA

    I would like to change the data type for the node FPGA of e/s on my card FPGA 7841R (simulation). So far, I have raw data (I16). I want to test something with the calibrated data (FXP).

    The cRIO, you usually go to the properties of module to change the calibration mode...

    I searched 7841R documentation and could not do any weather information this calibration mode was also available on this map.

    Any tips?

    Vincent

    The new maps in the series R offer node fixed point IO (for example, the SMU-7858R), but as mentioned all the old PXI based cards R-series offer only modes of measurement I16.

    Page 22 manual R series is about how to do this conversion: http://www.ni.com/pdf/manuals/370489g.pdf#page=22

    Specifically, it notes that you can calculate the voltage by (output Code I16) * 10.0V / (32 768).

    Even if this can use FPGA resources, it records the host do the same conversions. RT old target with slow processors doing the conversion of I16 or FXP to SGL on the FPGA has saved a lot of time CPU

  • 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

  • Add/change the columns of data type (scripting)

    Hello

    I am writing a script to add default columns and their values in tables. So far, for me, it is possible to add columns to an existing table in the model.

    Then, I want to add value to the data type. I discovered there is a method called getDataType(). So far, I have not found the "setter; for this property.

    Like other scripts, I started by creating a table with columns, and then using the API to read the values.

    A simplified version of my code:

    get the columns of table

    myTab var = model.getTableSet () .getByName ("T_POSITIONS");

    colArray = myTab.getElementsCollection () .toArray ();

    loop through columns

    for (i = 0; i < colArray.length; i ++) {}

    the type of var data = colArray [i] .getDataType ();

    model.getAppView () .log (colArray [i] + "a datatype" + dataType);

    colArray [i] .setDataType ("VARCHAR2 (1)");

    }

    An error occurs when I want to run this script: could not find setDataType function in the object ID.

    I can't find the right method to add/change the datatype property.

    Any information would be appreciated.

    Hi Bart,.

    Here's what's in the column in the XML file:

    
    FDB11R21
    EMPLOYEES
    FIRST_NAME
    
    2015-01-13 12:45:08 UTC
    First name of the employee. A not null column.
    HR_870
    true
    false
    1
    LOGDT024
    20 BYTE
    false
    
    

    20 BYTES

    If you need set the size in "20 BYTE" or "20 CHAR".

    Philippe

  • script to change the data type of column

    Hi gurus of the oracle.

    I have 190 tables in my database.

    I have the column type CHAR of all these tables data.

    I need to change the data type of CHAR in VARCHAR2 for all these tables...

    There the script to change the data type of all tables at once?

    Please help me in this regard.

    Thanks in advance

    Concerning

    REDA

    Hello

    There is nothing built-in to Oracle SQL to do.  Maybe your front-end has certain characteristics.

    You can write dynamic SQL statements to do.  In other words, you can write a query that the output is a SQL script like this:

    ALTER TABLE TABLE_A CHANGE (A_TXT1 VARCHAR2 (5))

    A_TXT2 VARCHAR2 (10));

    ALTER TABLE TABLE_B CHANGE (B_TXT1 VARCHAR2 (5));

    with one row for each column of type CHAR.  Notice how the first line of output for each table begins with ALTER TABLE... but the later lines at the same table.  Similarly, the last line of a table (which will be the same as the first row, if the table has only one column of type CHAR) to end with a semicolon, but other lines are not.

    Here's a way to generate and execute such a dynamic script in SQL * more:

    -Disable the features that make the output easy to read, but hinder the execution
    SET FEEDBACK OFF
    SET LINESIZE 500
    SET PAGESIZE 0

    -Create fix_char.sql
    COIL c:\some_pathename\fix_char.sql

    SELECT THE CHECK BOX
    WHEN ROW_NUMBER () OVER (PARTITION BY table_name
    ORDER BY column_name
    )  = 1
    THEN 'ALTER TABLE ' | table-name
    || "CHANGE (").
    ELSE «»
    END
    ||        column_name
    ||        "VARCHAR2 (').
    ||        DATA_LENGTH
    ||        ')'
    ||        CASE
    WHEN ROW_NUMBER () OVER (PARTITION BY table_name
    ORDER BY column_name DESC
    )  = 1
    THEN '); "
    Output END AS
    Of user_tab_columns
    WHERE data_type = "CHAR".
    ORDER BY table_name
    column_name
    ;

    SPOOL OFF

    -Turn on the features that make the output easy to read, but hinder the execution
    SET FEEDBACK ON
    SET LINESIZE 80
    SET PAGESIZE 50

    -Fix_char.sql performance
    @c:\some_pathname\fix_char

    It's good to change all the CHARIOT of VARCHAR2 columns.  The CHAR data type is nothing trouble.

Maybe you are looking for

  • Lenovo ideapady500 recovery

    I have a lenovo ideapad computer laptop y500... & I want to know if is it possible to recover the initial state in the case of I divided my partion C in another one F, & if it is possible after recovery is done my partion C will remain the same 100 G

  • Pavilion dm3 Internet problem

    I have the Pavilion dm3-3010us Entertainment Notebook. I have re-installed Windows 7 top and now there is little missing material. When I go to Device Manager there is an article that says "other devices" and under it are listed: controller network,

  • HP g6 2230tx number of required graphics driver

    I have to innstall the two graphics card intel hd and radeon for my laptop

  • In need of a driver for printer Lexmark 810

    Original TitleL: printer not work looking for a driver for printer lexmark 810 series

  • How to watch Vista Service Pack 2 via the WSUS?

    I'm preparing Vista SP2 to get the WSUS, so my boss is concerned about the way the end user sees the update. Of course, there is the icon in the systray indicating that the percentage of download tells for example, if the PC should restart, then the