Members with Data Type "text".

I have a member with the Data Type "text".

Can I use this member in If statement for the conditional statement

asserting Member == 'Yes' calculate 10% of the Total sales
OTHERWISE if the Member == "" calculate 5% of the Total sales... Can you please provide the syntax for the string instead of number in if statement.

Thank you

The example you provided show that you must use the smart list instead of the text data type.
Text is not stored in Essbase so impossible to refer to a text values in the calculation.
Pls also consider support you design if users type something with errors.
To use Active lists Yes etc. values, see thread as below
Re: Smart List index and Values (content) - Essbase - Hyperion Planning

Tags: Business Intelligence

Similar Questions

  • Problem with data type 'Date' in Hyperion Planning V11.1.2.2

    Hello

    I created members with the date data type. However when I save the date, it disappears or comes up with a random date? One has encountered such a problem before?

    If so can you share the fix.

    Thanks in advance for your help.

    See you soon,.

    XXX

    Hello

    This problem is related to you not having is not a coherent framework for your type of date entry.

    So, go to the administration of the application and define the date format DD/MM/YYYY in the application settings and display options, under current default application settings. Then after doing that as a user, go to user preferences and display options and the date format, select the same. Or delete automatically detect them.

    I've seen this behavior if you detect automatically on the user's preferences

    Thank you

    Anthony

  • Initialize the cluster with data types different (lots of data)

    Hello

    I have data, which are composed of different data types. First of all, I have initialize cluster with these types of data and then "print" to light (photo). In case of photo data carries 8 characters than ja 4 floats. It was easy to initialize, but here's the question: How can I do this even if I have data that look like this (interpreter):

    floating point number

    name char [32]

    Short value [16]

    What I create loooong cluster which have a fleet of 32 characters, 16 short films? Or I can create these 'paintings' in a different way?

    THX once again

    -Aa-

    I suggest using the table-cluster and configuration of the cluster size to match the size of your berries, then package these groups together.  In terms of storage of LabVIEW, there is no difference between a group of

    floating point number

    Name1 tank

    name2 tank

    ...

    short value1

    short value2

    ...

    and a bunch of

    floating point number

    -> cluster shipped from

    Name1 tank

    name2 tank

    ...

    -> cluster shipped from

    short value1

    short value2

    So you can use the cluster table to get the right sizes rather than individually create all these values in a single giant cluster.

  • Data type text and CFQUERYPARAM

    What is the good cfsqltype for a text/ntext data type? I used the char, varchar and longvarchar and each of them give me invalid parameter bindings.

    Request code:

    < name cfquery = "querynam" datasource = "#DSN #" >
    SELECT v_id FROM tblV
    WHERE v_keywords LIKE ' % < cfqueryparam cfsqltype = "cf_sql_longvarchar" value = "#form.search #" > %'
    < / cfquery >

    Thank you!
    Paul Ferree

    paulferree wrote:

    > Query parameter values.
    > Parameter #1 (cf_sql_char) = "% Hotel.
    >
    > Thank you
    >

    I just did a test, I think you have two many quotations in your query.
    SELECT * FROM art WHERE ARTNAME LIKE?

    Query parameter value (s)-
    #1 parameter (cf_sql_varchar) = %

    Note that the parameter has no quotes around it. I think that you
    has this.

    AS
    value="'%#form.search#%' ' > '.

    Who searches for the string 'hotel %' not the desired hotel %.
    Get rid if the extra quote if you have.

  • EID Studio 3.1 double problem with data type in view

    I had a view work EID Studio 3.0 and it imported to the 3.1. The first thing I did was add the FROM clause, but I get validation errors. Questions (so far) seem to be defined as a mdex:double in my metadata fields. My definition of metadata for RESOURCE_QUANTITY is as follows:

    RESOURCE_QUANTITY, quantity,mdex:double, COMP, default

    The first question I have is in my WHERE clause:

    RESOURCE_QUANTITY <>0.0 OR RESOURCE_AMOUNT <>0.0

    gives the following error: a WHERE clause: can't compare mdex:double - set and mdex:double

    I have remove the WHERE clause for the moment and try to validate and get this matter in my SELECT clause:

    SELECT SUM (RESOURCE_QUANTITY) AS QuantitySum

    gives the following error: in the computer attribute 'QuantitySum': 'SUM' is not a valid library on types (mdex:double - set) function

    What is mdex:double - value and how this field get defined in this way?

    Hi Lily,

    I think we'll see a lot of variations on this issue in the next two weeks.  The attributes handling multiple assign has been totally redesigned OEID 3.1.  So, if you have an attribute that is listed as that can have multiple values, it is declared as a set of values (couble-set) rather than a single value (double)

    For example, if RESOURCE_QUANTITY is really unique-assign (and it is declared as multi - attribute by mistake), you can just reload the data via a base line to solve the problem.  If it is in fact several entitlement, you must tell the engine in your application, how to treat the different missions that may be present for each record.

    Hope that helps, I know a lot of people are going to get pop up by the present.

    Patrick Rafferty

    http://branchbird.com

  • truncates the leading zeros, even if the Member is of type text

    We have members with data type 'TEXT' in database planning. When the user types something with no leading zeros, it records the same in the relationship, but not the same list in planning. It truncates the zero, even if it is a member of text.

    Planning version 11.1.2

    Example:

    Member name: bearing code (TEXT type)

    Value: 011_Issue (record the same in relationships)

    Display value: 11_Issue (drops the zero)

    is there a solution?

    Thank you

    There has been talk for some time, I think that there are still in 11.1.2.1

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Data type of text is not displayed using SQL Server and ASP/VBScript

    Maybe someone help me with this because I used to use PHP/MySQL, but I use for this a Classic ASP/VBScript and MS SQL Server instance and I don't know that much. The scenario is I have an old site that was designed using html tables and I do a CSS/XHTML update on Visual design. As long as we are here, there are some pages that are dynamic and use a MS Access database and we thought it's a good time to upgrade from MS SQL Server (2005, to be exact). No time/money for bringing classic ASP VBScript in ASP .NET.

    Overall, the upgrade went fairly well, especially just to create a new connection to the DB in SQL Server in Dreamweaver after all the tables and data were migrated to SQL Server. Almost everything works as it should. A problem though.

    For some reason, the data of the data type 'text' in SQL Server is not appear (or sometimes appear). I even tried to recreate the recordsets and binds fresh data and the code is more or less identical to what we had before. Anyone know what's happening, or how I can get this data to show?

    I think that there is perhaps some simple and double quotes in the text data and which could be screwing things up. I was hoping there is only a simple function that I could apply the code, but as I said, I don't know.

    Thanks in advance for any help you can provide.

    -Bill

    captcashew wrote:
    > Maybe someone help me with this because I used to use PHP/MySQL, but for this one
    > instance I use Classic ASP/VBScript and MS SQL Server and I do not know
    > that much. The scenario is that I have an old site that was designed using html
    > tables and I do a CSS/XHTML update on Visual design. As long as we
    > are there, there are some pages that are dynamic and that use a MS Access
    > database and we thought it's a good time to upgrade from MS SQL Server
    > (2005, to be exact). No time/money to classic ASP VBScript in ASP.
    > .NET so.
    >
    > Overall, the upgrade went quite well, especially just needed a new
    > connecting to the DB in SQL Server in Dreamweaver after all tables and data
    > have been migrated to SQL Server. Almost everything works as it should. One of the problems
    > If.
    >
    > For some reason, the data of the data type 'text' in SQL Server is not
    > appear (or sometimes appear). I even tried to recreate the recordsets and
    > binds fresh data and the code is more or less identical to what we had
    > front. Anyone know what's happening, or how I can get this data to show?
    >
    > I think that maybe there are single and double quotes in the text
    > data and which could be screwing things up. I was hoping that there is only a simple
    > function I could apply the code, but as I said, I don't know.
    >
    > Thanks in advance for any help you can provide.

    Your text field should be the last of your select statement, as
    its not stored in the table with the other data, its stored elsewhere,
    as a binary object, should be treated differently. Its common
    the migration of the access problem.

    If you need more of 8000 characters stick with him, otherwise use
    varchar (8000) or nvarchar (4000) If you need (limited unicode characters
    4,000 cos of the double byte characters)

    Dooza
    --
    Display guidelines
    http://www.Adobe.com/support/forums/guidelines.html
    How to ask Smart Questions
    http://www.CatB.org/ESR/FAQs/smart-questions.html

  • Account planning - text data Type

    Hello

    We hacve has created some members account with dadta type text... but not able to enter any cell intothe text... What are we missing... .the cells are read-only...

    Any thoughts...

    Another post on the same type of question:- Planning Webform in read-only Mode

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • SQL Developer: Right-click &gt; format works well with the DATE data type

    Hi all!

    Currently I use the version of SQL Developer Version 3.1.05.

    A question concerning the "auto-format" of syntax each time that writing in the code editor.

    If you take this code snippet and drop into a spreadsheet, then highlight it, right-click of the mouse and select "Format" it's like he fails to add the appropriate spacing when he runs in the DATE data type. I looked all through the: Preferences > database > sql formatter > formatting oracle > change and could not find anything about the formatting with date types.

    I'm looking in the wrong area? Is this a known bug? Am not too looking for this specific question. I LOVE the format function, but I hate having to go through each type of date and manually spacing everything make "clean". I'm picky I guess: P I can live with that but figured that I would ask.

    type TEMP_REC
    IS
    record
    (
    ORG_CODE VARCHAR2 (15).
    PROJECT VARCHAR2 (15).
    WBS VARCHAR2 (30),
    SERIAL_NO VARCHAR2 (30),
    NUMBER OF QTY_ORDERED
    NUMBER OF QTY_SCRAPPED
    NUMBER OF QTY_COMPLETE
    NUMBER OF BOM_ID
    DATE OF REQUEST_DATE,
    CREATE_DATE DATE,
    DATE OF REL_DATE,
    START_DATE DATE,
    DATE OF NEED_DATE,
    END_DATE DATE,
    DATE OF COMPLETE_DATE,
    CREATED_BY VARCHAR2 (30),
    MODIFIED_BY VARCHAR2 (30),
    MODIFY_DATE DATE,
    EST_HOURS NUMBER (6.2),
    ACT_HOURS NUMBER (6.2),
    BAD_COMMENTS VARCHAR2 (1000));

    I can see it now with your last test case. It also changes the future alignment of the varchar2 and number of columns. that is before the date column the varchars line to column 19, after it the line upward in column 18.

    It looks like a bug.

  • Length of the column of type 'text '.

    Hello. I get various data about the columns of a table using sp_column. Everything works as I expected, except for one thing. When I get the length of a column of data type 'text', it returns the number of 2147483647 when she is supposed to return 16. I played a bit with this issue, and I can't find any relationship, mainly because it is first. Is it possible that I can get the actual length of the table? Thank you.

    The text data type has a maximum length of (2 ^ 31)-1 = 2 147 483 647 characters. This should be what said you as the sp_columns. The DATALENGTH() function should return the length of a specific text, if that's what you're after.

  • Create another data base of Liquibase changelog: automatic data type conversion

    I need to convert the structure of PostgreSQL databases to Oracle. In PostgreSQL, I a postgres database.

    In Oracle, I have an empty database in which I want to write to postgres database in PostgreSQL.

    Actually, I didn't need the data, only the structure (relationships).

    For this, I use Liquibase. I get the changelog of PostgreSQL with the command:

    Liquibase.

    -driver = org.postgresql.Driver.

    --classpath="C:\db_drivers\postgresql-9.3-1102.jdbc3.jar------.

    --changeLogFile="./postgresql_changelog.Xml------.

    -url = "" jdbc:postgresql://localhost:5432 / postgres "\"

    -username = schema_name_here.

    -password = *.

    -logLevel = debug.

    -defaultSchemaName = Ms.

    generateChangeLog

    After that, I try to create objects in the Oracle database:


    Liquibase

    -driver oracle.jdbc.OracleDriver =

    --classpath="C:\db_drivers\ojdbc14.jar".

    --changeLogFile="./postgresql_changelog.xml".

    --URL="JDBC:Oracle:thin:@ip_here:orabeta".

    -username = *.

    -password = *.

    Update

    Does not work: ORA-00902

    Here is a fragment of postgresql_changelog.xml:

    ...

    < changeSet author = '(generated) Alexey' id = "1409146335011-53" >

    < create table tableName = "TABLE1A" >

    < column name = "total_pk" type = 'INT8' >

    < forced nullable = "false" / >

    < / column >

    < column name = "form_fk" type = 'INT8' >

    < forced nullable = "false" / >

    < / column >

    ...

    I also generate a pure SQL file:


    Liquibase

    -driver oracle.jdbc.OracleDriver =

    --classpath="C:\db_drivers\ojdbc14.jar".

    --changeLogFile="./postgresql_changelog.xml".

    --URL="JDBC:Oracle:thin:@ip_here:orabeta".

    -username = *.

    -password = *.

    updateSQL > update.sql

    Here is a fragment of update.sql:


    ...

    CREATE THE TABLE SCHEMA_HERE. TABLE1A (total_pk form_fk INT8 INT8 NOT NULL,.. .etc);

    INSERT INTO SCHEMA_HERE. TABLE1A (ID, $form_id,... etc.)

    ...

    I want to generate the file, in which all the data types correspond to the target database, that is to say I want to create. I can write a simple parser that replace the data types, but this isn't the right solution - can be a lot of data.

    It is possible to get changelog from a database and update another database on a different server this changelog RDBMS? I need to get the automatic and Automatic data type conversion generate XML data / SQL output with the data types of target database.

    Or maybe there is an option to generate output data types with "abstract"? That is to say with data types that are not in the actual databases, for example, instead of INT8 - whole, etc.

    I would be very grateful for the information. Thank you all.

    Why not to use pg_dump to extract the schema in a file of script that you can then 'change '?

  • Reading of the text files with mixed data types.

    I was able to read a text file ASCII with different types of numbers (whole, real) and the chains are associated.  However, I can't read a timestamp that is in the calendar and the clock for carpet (dd/mm/yy HH).  In view of the line

    34 03/26/12/11 01:23:45 56 78 90

    I want to read the time directly, but so far all I can do is read the date and time as a string.  If the reading string is the best I can do, how to convert a value of internal time?

    No need to separate the date/time string in two different things.  Do it in one fell swoop.

  • How to auto-off rounded af:inputText liaison with the data type Double?

    Hello Experts,

    If a component af:inputText is bind with a field whose data type is Double I saw if I enter 12.0 in the text field, and then it changes automatically to 12. Another example: 12,010 turns into 12.01.

    My requirement is to maintain the value that it has been seized. But the validation client side of the field, that ADF provides by default, should be present. I mean that ADF throws the error message if I get 12a.01; as it is not a Double.

    How can I achieve this?

    Any pointer would be vary useful.

    JDeveloper version: 11.1.1.6.0

    No, what I mean is that if you keep the zeros on the right, the data type is not a Double.

    Once you save 12.010 and read it again, you will see zero residue. You would see only the zero if you or the other say the number still show for example 3 fraction digits or if you store the value as a string that will store the entry as is and use a regular expression validator to ensure that only valid numbers are entered.

    In the first case ever number has 3 digits of fraction for example 12-> 12.000 and 12.010-> 12.010

    In summary, you will need to decide which way to go. If the data type must be Double, then there is no zero leakage or you must use the minFractionDigits which will always use the zero leak until the number of spezified. If the does not like what you have to store strings.

    Timo

  • How to make a list of question field with the data type DATE?

    I have a column with the DATE data type. Using forms 6i I want to generate a poplist field of list item with this column while the value of the items in the list of names of days like SATURDAY, SUNDAY, MONDAY. If we change the date to a char data type, it won't work properly, but now with the data type DATE behind him, it gives the following error message

    "FRM-32082: invalid value for given the type of element."
    List WEEKREST
    Article: WEEKREST
    Block: EMPRESTS
    Form: module 3
    FRM-30085: unable to adapt to the shape for the release. »


    Using forms 6i how a list item field type DATE data which may contain names of days?

    Set your date as a hidden field (not shown) column. Create your item list with the names of day of varchar2. Create the list item as a base table field that accepts the values of text in the names of the days. On this area, create a when-validate-item trigger that translated the text into an actual date that it then uses to set the value of the real object of the base table.

  • problem with the blob data type

    Hello
    Hi just created a blob table data type and insert a text file of the directory - file "DG" and text contain text "Hello dba.

    CREATE TABLE blob_sample (id, NUMBER, blob_data BLOB);

    DECLARE
    l_bfile BFILE.
    l_blob BLOB;
    BEGIN
    INSERT INTO blob_sample (id, blob_data)
    VALUES (1, empty_blob())
    RETURN blob_data INTO l_blob;
    l_bfile: = BFILENAME ("'DG', ' hello.txt");
    DBMS_LOB. FileOpen (l_bfile, Dbms_Lob.File_Readonly);
    DBMS_LOB. LoadFromFile (l_blob, l_bfile, DBMS_LOB.getlength (l_bfile));
    DBMS_LOB. FileClose (l_bfile);
    COMMIT;
    END;
    /

    SQL > select * from blob_sample;
    ID BLOB_DATA
    1 68656C6C6F206462612773

    Above is coded image shape & I try this with the Insert as below... IT WORKS
    SQL > insert into blob_sample (id, blob_data) values (1, '68656C6C6F206462612773');

    1 line of creation.


    But this does not work when encoded length is too large (size 10 KB text file or more)

    It returns error

    insert into blob_sample (blob_data) values ('416374697
    *
    ERROR on line 1:
    ORA-01704: string literal too long


    Please HELP how how can I insert with this method

    Published by: Mr. singh on 9 October 2012 18:54

    Published by: Mr. singh on October 9, 2012 19:38

    It does not make sense to try to build a literal string that represents the binary data in a GIF file and that insert a BLOB using an INSERT... Statement of VALUES.

    You can use the first approach (dbms_lob.loadfromfile) to load a GIF file (or any file) into a BLOB.
    If the image you are trying to load is not a file on the filesystem of database, you can use SQL * Loader on the client machine to load the data, or you can write an application in any language you want that reads the data from the file and inserts it into the BLOB by using the API in your language / framework. You have not told us what language and framework you use, but it shouldn't be too hard to find a suitable example. For example, if you use Java and JDBC, here is an example of loading a GIF in a table.

    Justin

Maybe you are looking for