value of two different format

Hello
I see two formats based on the value selected by the user, it is possible the same field with different formats?

my code is like this

<? choose:? >

<? When: $Measures = "Killo? > <? price *.001? > <? end when? >

<? otherwise:? > <? Price? > <? end otherwise? > <? end to choose? >


examples if I have a value like this
40.42 for display so except killo Killo, IIR is then it should display 0.04042

Please let me know,

Thank you
ANU

Published by: user7498756 on Sep 6, 2012 12:43

1

I tried still, it shows that the value that is set to true.

Tags: Business Intelligence

Similar Questions

  • iTunes playlists show two different formats. Why is it so.

    iTunes playlists show two different formats. Why is it so.

    A playlist displays a blue screen with numbered songs and music before notation box provided for each song. The other playlist is predominently white numbered from each song and check the box. Why is it so and how both can be given.

    Use the view > view as menu from one of six different layouts. Ones you mention is Playlist and songs respectively.

    TT2

  • How to put the two column values in two different colors unique online: MobApp

    Hello

    I develop Mobile Application.
    I want to show two values in different columns in single row and first column value in either green or red and the second color the default column value.
    the first value of the column is green when the value is greater than the second value of the column.
    and the first column value in red when the value is less than the second value of the column.
    The code I tried is:
    --------------------------------------------------------------------------------------------
    < tr:panelGroupLayout layout = "vertical" styleClass = 'list' >
    < tr:panelList styleClass = "panelist ul > li > a" >


    "" < tr:outputText value = "deliver: % #{row.bindings.OccCurr.inputValue},
    inlineStyle = "background-color: #{rank." OccCurr > line. OccFcst? {'Green': 'Red'}; ">

    "< tr:outputText value =" OccFcst: #{row.bindings.OccFcst.inputValue} % ">"

    < / tr:outputText >
    < / tr:outputText >
    < / tr:panelList >
    < / tr:panelGroupLayout >
    ------------------------------------------------------------------------------------------------

    But the code above does not work.


    Please, someone tell me what I need to do.


    I apreciate your time and your help.

    Sanchez.

    Hi Catherine,

    Exactly, what is not working? Your OccCurr and OccFcst values are printed to the screen? I notice some questions.

    (1) If you want to display two outputText on one line, you can surround them with a panelGroupLayout and set the page layout to horizontal.
    (2) I don't think that you can place an outputText in outputText one another as in the codes that you have provided.
    (3) your EL is inconsistent. What is #{row.bindings.OccCurr.inputValue} or #{line. OccCurr}? If your values are displayed, but the background color does not work, it could be the first.

    
      
        
          
          
        
      
    
    

    Kind regards
    Amélie Chan

  • Hide/show a textfield depending on the value of two different textfield.

    Hello
    I have two textfield i.e grade_code and travel_policy
    .
    .
    .
    .
    now, let me explain what these field...
    grade_code is like E4, M4, M1 etc WHERE field
    travel_policy's field as AIRWAYS, RAIL - 1AC, RAIL - 2AC mode i.e transport etc.
    now...
    .
    .
    .
    as a person of rank E4 is allowed to travel ONLY in RAIL - 2AC, IF GRADE E4 TYPE PERSON trip in Airways.then, give reason for...
    .
    .
    .
    what I demanded, it is according to textfield grade_code and travel_policy, an another REASON textfield must be hidden and shown dynamically
    .
    .
    .
    .
    RANK - The RIGHT OF TRAVEL of MODE
    M4 - AIR, RAIL - 1 AC.
    M3 - AIR, RAIL - 1 AC.
    E4 - RAIL - 2 AC.

    .
    .

    Published by: Richard on January 31, 2012 09:19

    I still think a function that returns a Boolean is the way to do it.

    Simple solution is to list all possible combinations. A better choice is to know if there are more combinations 'show' or "not displayed" those, so you would appoint those who require less typing while others would be 'other '.

    Here is an example:

    if :P1_GRADE_CODE = 'E4' and :P1_TRAVEL_POLICY = 'AIRWAYS' then
       return (true);
    elsif :P1_GRADE_CODE = 'M4' and :P1_TRAVEL_POLICY = 'AIRWAYS' then
       return (true);
    elsif :P1_GRADE_CODE = 'M1' and :P1_TRAVEL_POLICY = 'AIRWAYS' then
       return (true);
    else
       return (false);
    end if;
    

    Even the best option would be to create a table between GRADE_CODE and TRAVEL_POLICY values, which would contain the valid combinations. Then, you would just to check if the entered values exist in this table and return (true) or (false).

  • Multiplies two values of two different columns and display in cold fusion!

    Hi all

    I have a table book_sale
    Topic | quantity | rate
    ===================
    Science | 5. $25.00
    Mathematics | 7. $70.00
    Reading | 20. $2.30
    ==========================================================
    I tried to code
    < cfquery name = "get_saleamount" datasource = "Book" >
    Select the object, the quantities, rates
    of book_sale
    < / cfquery >

    < table >
    < b >
    < /Th > < th > topic
    < /Th > < th > quantity
    < /Th > < th > rates
    Proceeds from the sale of < /th > < th >
    < /tr >
    < cfloop query = "get_saleamount."
    < b >
    < td > #Subject # < table >
    < td > #Quantity # < table >
    < td > #Rate # < table >
    < td > #Quantity # * #Rate # < table >
    < /tr >
    < / cfloop >
    < /table >

    The multiplication operation did not work code above. I want to calculate sale_amount = quantity * note and display the results in a table. Please give me some advice how to multiply two values from database and display them in a table above. Thanks in advance.




    If you want to exit, then simply change your
    #Quantity # * #Rate #.
    TO
    #Quantity * rate #.

    but you can do it at the level of the database, if you have db (most do so):

    Select the object, the quantities, rates, (amount * rate) AS ttl_cost
    of book_sale

    ...


    #Subject #.
    #Quantity #.
    #Rate #.
    #ttl_cost #.

    Azadi Saryev
    SABAI - Dee.com
    http://www.SABAI-Dee.com/

  • Insert data. Select the sequence ID, but popuate even value for two different columns

    Hello

    Version Oracle 11 G

    [code]

    CREATE TABLE MT_PROGRAM

    (

    NUMBER OF "PROGRAM_ID."

    NUMBER OF "REPORTING_PROGRAM_ID."

    'PROGRAM_NAME' VARCHAR2 (128 BYTE)

    );

    INSERT INTO MT_PROGRAM)

    PROGRAM_ID,

    REPORTING_PROGRAM_ID,

    PROGRAM NAME)

    SELECT PROGRAM_ID,

    PROGRAM_ID,

    PROGRAM NAME

    Of

    (SELECT

    fn_get_new_prog_id()

    AS PROGRAM_ID,

    'Test' as the program name OF THE DOUBLE);

    The function has

    create or replace

    FUNCTION "FN_GET_NEW_PROG_ID".

    RETURN NUMBER

    AS

    BEGIN

    RETURN SQ_PROG_ID. NEXTVAL;

    END;

    [/ code]

    Problem is that I must get

    I need Reporting same Program ID ID program and the same sequence. But here I am ecstasy. For example, if my sequence is from 1 then it inserts

    1, 2, 'test '.

    But I need

    1, 1, 'test '.

    P.S. I can't not 1 insert unwanted accounting value of the program and of the update the program id. I have a trigger on the table which keeps track of each insert, update. And I don't want to use the separate update statement because it will create additional row in the history table.

    SQL > create the sequence Tessai minvalue maxvalue 1 99999999999999999 with increment of 1 by 1 cover 2;

    Order of creation

    SQL > select ttest.currval from double;

    Select double ttest.currval

    ORA-08002: sequence TESSAI. CURRVAL is not yet defined in this session

    SQL > select ttest.nextval from double;

    NEXTVAL

    ----------

    1

    SQL > select ttest.currval from double;

    CURRVAL

    ----------

    1

    SQL > select ttest.nextval from double;

    NEXTVAL

    ----------

    2

    SQL > select ttest.currval from double;

    CURRVAL

    ----------

    2

    SQL >

    I have it?

    ----

    Ramin Hashimzade

  • Two different versions of lightroom on work and home computers

    Hi-

    I have Lightroom cc mu of office work. My laptop at home is running 5 Lightroom. Even if I have a subscription to CC, the laptop is old and a 32-bit system, so I can't upgrade the software. Can I use the same master catalog on an EHD between computers?

    Thank you.

    LR5 and LR 6/cc using two different formats for the catalogues. Thus LR5 and LR6 cannot share them.

    If you have two computers running the same version of LR, EHD would be a great way to share the catalog and images between the two.

  • Need to query the result with two different of a same attribute values

    Hi all

    I have a search query where I need the query result when an attribute have two different values (e.g.: want the query result when the attribute 'status' is equal to 1 and 2)

    And also, the user will be able to search by any State result.

    What is the best way to implement this.

    Thank you
    DK

    The solution to this use case is to put the part by default ((statut == 1 ou statut == 2) and: bindUserInput is null) as part of the query and the Pratt of the query to run when a value is entered by the user in a view criteria. East view criteria (Status ==: bindUserInput) and the value of the checkbox to ignore the values null. If the binding variable: bindUserInput is null, only the portion of the query is running, if the binding variable is not null, the display criteria is added at the request of three and three default components will not return any line.

    Timo

  • Why two different types of formatting content page?

    Hello

    I learned a lot from this series of pages "The Perfect fluid width Layout;

    http://CSS-tricks.com/the-perfect-fluid-width-layout/

    This is the 'container' of the page section:

    {#page online purchase

    background: white;

    min-width: 780px;

    Max-width: 1260px;

    margin: auto 10px;

    }

    {#page - wrap #inside

    margin: 10px 10px 0px 10px;

    padding-top: 10px;

    padding-bottom: 10px;

    }

    And here is the corresponding page formatting:

    < div id = "page-wrap" >

    < div id = "inside" >

    all their stuff

    < / div >

    < / div >

    My questions:

    1. What is the advantage of having two different pages 'container' / so close 'content' layouts of all?

    2. Why use an 'id' instead of a 'class '?

    Thanks in advance.

    Tim

    1. This has to do with the box model. If you were to apply the margin on page #-wrap, the division would be 20 PX (10 + 10) wider. Have a look here http://paulirish.com/2012/box-sizing-border-box-ftw/ just use

    * { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

    at the beginning of your CSS. This will eliminate having to use the second container.

    As another note, there is a container called body that you can use instead of #page online purchase. This will remove both of the divisions

    {body

    background: white;

    min-width: 780px;

    Max-width: 1260px;

    margin: auto 10px;

    }

    2. I use only classes except when it is necessary to isolate a single element. The latter might be true when I want to manipulate the DOM using JS.

  • How to get the value of EV - the diiference between two different columns

    Hello
    I get the difference between the two different columns of two different... as tables (emp.sal - dept.comm)... all I want is I need only the records that a negative gap how get this? Please help me
    Thanks in advance

    If I understand your question right:

    select
      case when emp.sal-dept.comm>=0 then YOUR_VALUE
             else emp.sal-dept.comm
      end difference_value
    from emp,dept...
    

    or do you want to:

    select
      ...
    from emp,dept...
    where emp.sal-dept.comm<0
    

    ?

    Kind regards
    Sayan M.

    Published by: xtender on 19.11.2010 22:29

  • How can I add (gather) two different images into a single image?

    Well, I'm creating a HTML element / CSS Web site. I have two logos that I need to add to the header areas of the Web page. I thought that creating a chart would contribute to this question. I want to be able to add two different images (logos) into a finished product. However, I am having some difficult understand how to combine two different images on the same workspace (tab).  The images would be out there with text in the middle of the space. I would use the 2015 Photoshop, does anyone have and ideas?

    If it was me I open one of the images then go to Image--> the canvas size.  Then expand TI (relative check) of several (12) inches in width and height (choose to anchor the part you want to stay where he is.)

    Open another image and drag it in the first.  Or select all and then copy / paste If you wish, you can you should now have two images in the same file/tab.  Everyone should be on different layers.  Use the move tool to position them how you want.

    Finally go to Image > Trim and leave the default values.  He must cut off all the excess.  Save in any format you want.

    I hope this helps.

  • generate two different number

    How can I generate two different number? The first should always be greater than the second.

    Only itegers or also fractional/decimal numbers?  Any real range of values that you can use?

    I just generates two numbers (based on the settings you can have) and then use Max & Min to sort them.

  • Why can I get two different results from the same coefficients?

    I get two different results of the evaluation of the polynomial function.

    For the first, I get the coefficients of a polynomial function to adapt.  I feed the coefficients of the function made the function Eval Poly and get the correct 12.8582 result when I evaluate 49940.

    For the second, I create constant array of values that have been returned by the polynomial Fit function (I typed in).  However, I get an incorrect result of - 120.7913 when I feed the constant table the function Eval Poly when I evauate 49940.

    How this can happen when I use the same values in table?

    A picture of what I explained is attached.

    Hi Altran,

    are you sure about using the 'same '?

    You compare them? Do you have (at least) set them to 17 digits display properties?

    Please attach a VI instead of an image...

  • Problem using Extract IMAQ. Don't not out two different images

    Hi, I am using the multiple functions of extract IMAQ for some parts of the image of the webcam, then using color extracted from function to get values of RGB. The problem is that two functions extract IMAQ give the same image on its out port. The extract of diagram of block and VI are attached below. Also, please let me know if there is a better way to do this. I need to expand this later to extract parts of the image instead of two different about 40 - 50 RGB values below.

    It's happened because IMAQ Images transferred by references. You must provide images of different destination for each extraction:

    Andrey.

  • How can you tell two different cursors to move to different places?

    Sorry if this has been asked before, but I couldn't find the answer anywhere.

    As I said, I'm trying to get two different cursors to move in two different places on the same graph. I have values I want them to go, I'm not sure that work or the command to use. I'm using LabVIEW 8.6. Thanks for any help!

    WCR,

    You will need to use the property of the graph nodes to move cursors programmatically. The properties of interest are the active cursor and the cursor Position > X and the Position of the cursor > y. use the active cursor to specify (by index cursor) what slider you want to work with, and then set the X property values and, and then adjust the slider according as the active cursor and set its property values X and Y.

Maybe you are looking for

  • Firefox supports Windows 10?

    Since yesterday, I am unable to open some Web sites such as google and FB. I get a pop up that talk about peers something or the other.

  • Microsoft Windows Management Instrumentation tools does not

    When you try to use the Microsoft WMI with Firefox tools, Firefox seems to block the ActiveX controls used. How can I enable these ActiveX controls in Firefox if the WMI tools work OK? They work in IE9 OK. This is for Windows 7 64 bit with Firefox 16

  • Tecra M7: the Wi - Fi connection disconnects automatically

    I have a Tecra M7 tablet PC.This problem occurred recently. After using the computer sometime, my wireless disconnects when trying to see the status of wireless, windows says it attempts to activate the wireless card but fails. So somehow the wireles

  • Gauge serial data, tracing and logging

    Is anyone able to point me to an example of project to read 3 data values in a series flow and spread them out on a gauge and a graphic. Logging would be nice as well, but gauge and chart are more important. My data is reflected in the format below,

  • Install Samsung Multi function & B W LASER printer

    INSTALLED SAMSUNG PRINTER SCX-4729 FB VIA USB. SEEMS TO BE CONNECTED. WHEN YOU ASK DOC PRINT IT SHOWS UPWARD ACCORDING TO THE AVAILABILITY AND THE DOC APPEARS IN THE QC. AFTER A FEW SECONDS, I GET AN ERROR ON THE PRINTER.