How to display a positive value with a thinner sign

I want to display a positive value with a thinner sign and a negative value with a less fine sign. How can I do? Is there any character in the custom format for this? I don't want to convert number to text and use the case statement because I need to two decimal and thousands separator.

OK, try this...

You will need to do a "UNION ALL" of three queries, one for positive values, one for the values zero and one for negative values.

In the query "negative", follow these steps:

(1) add a filter on the measure of value 'less than 0.
(This will ensure that all values are negative).

(2) in the tab Format data, select "Custom" and type #, # 0.00 -
(This will add the end negative sign.)

(3) in the tab change the formula, add the function absolute value ABS (able to insert here)
(This will get rid of the default signing negative.)

For the query "positive values", change the above as follows:

(1) change the filter to "0".
(2) in the format of data, change the custom format #, # 0.00 +.
Step 3 is unnecessary since all values are positive.

For the query "values null ', just add a filter 'equal to zero.'

Tags: Business Intelligence

Similar Questions

  • How to display a column value with chain?

    Hai all,

    SELECT name from TAB1;

    output: JAGAN

    RAMU

    SIVA

    Sanjay

    So my requirement is to display these data in string (with single Quotes) as below.

    "JAGAN.

    "ROBERT."

    'SHIVA '.

    "Sanjay".

    I would like to know if it is possible...

    Thanks in advance...

    Jagadekara Reddy

    Hello

    Yes it is possible, try this

    SELECT "' | name | " '

    OF TAB1;

  • How to compare the new values with the old values in triggers.

    Dear all,

    Please tell me how to compare the new values with the old values in triggers.

    Hi, the employee example is in the document. You'd better read yourself.

    CREATE OR REPLACE TRIGGER Print_salary_changes
      BEFORE DELETE OR INSERT OR UPDATE ON Emp_tab
      FOR EACH ROW
    WHEN (new.Empno > 0)
    DECLARE
        sal_diff number;
    BEGIN
        sal_diff  := :new.sal  - :old.sal;
        dbms_output.put('Old salary: ' || :old.sal);
        dbms_output.put('  New salary: ' || :new.sal);
        dbms_output.put_line('  Difference ' || sal_diff);
    END;
    /
    
  • How to display very large text with the font size?

    I'm using html and css to display large text with the font size.

    Label {
        text: "Acit"
    }
    

    In the image below, it is the largest size, although I try to increase the value of the size of the font. Do you know how to display the largest font size?

    Thanhks

    You should be able to amplify it upward with scaleX/scaleY properties, although no doubt quality will suffer somewhat (but probably not significantly, for most people).

  • How can I compare unique value with several value...

    Hello

    I want to compare a value with multiple values, how is it possible?

    I tried to design the same logic here as an attachment, but I had the problem that when I entered the value of y that is compared with only a minimum value of x, I don't want I want to compare the value of y with the value of x and then if y is less than x while loop should be stop.

    I want to do because in my program some time I have not result I want, for example, the values of x is 4,5,6,7,8 and value is assumed to be 6 then while loop should be stop but here he considers only less and its 4 here so so that the loop is not stop even there is less then 7 and 8. So I want to compare the value of y with all values of x and if y is less then one of the values while x loop should be stop and led should be on.

    Please guide me how I can do...

    I don't understand?  If there is less than the minimum value of X then it is less than all values of X.  That's what I do anyway:

  • display a positive value in a form

    I had a table tblshipping who got two col called as send_qty, received_qty where I calculate the amount.

    the thing is a few times in the calculation, I get a negative and positive moments, I always want the positive value should appear to the end user

    SQL > select sum (send_qty) - sum (received_qty) from tblshiping where matid = '1';
    I'll say something (-5)
    fom I want to show this-(5) (5). ghoulish any1 help me how it is possible...

    I know to change the order in the query, it can be done, but once again for a State, it will show negative value which I did not see it

    Use ABS

    SELECT ABS(SUM(SEND_QTY)-SUM(RECEIVED_QTY)) ...
    
  • How to display the max value of channel report repel?

    Hi all

    I have 2 text boxes start and ready target on my report. I need my minimum value of the layer and the other value to automatically display in the start menu and to target channels max case respectively.

    How can I go about it?

    Rsh

    Hello, RSH,.

    Now, how can I limit the decimal points to 2 digits, say, for example, we use d.dd. How can I use it here?

    You can simply convert the string variables and the format of this string using the str function in DIAdem.

    Here is an example for your specific application:

    Maximum: @@str (CMax("[1]/Speed"), "d.dd").

    I hope this helps.

    Otmar

  • How to display the first value in the line in the second row and the second value of the line on the third row and so on...

    Hi all

    I have a requirement as below.

    Select * from my_tab;

    col1 col2 col3

    1 test1 January 1, 2014

    Test2 2 2 January 2013

    3 test5 February 9, 2015

    I need to display it as below.

    col1 col2 col3 req_col

    -----------------------------------------------------

    1 test1 January 1, 2014

    2 test2 January 2, 2013 January 1, 2014

    3 February 9, 2015 test5 January 2, 2013

    So how do?

    If it is not possible with sql then suggest me to do in peblisher xml (in rdf or rtf)

    Hello

    jagadekara wrote:

    Hi all

    I have a requirement as below.

    Select * from my_tab;

    col1 col2 col3

    1 test1 January 1, 2014

    Test2 2 2 January 2013

    3 test5 February 9, 2015

    I need to display it as below.

    col1 col2 col3 req_col

    -----------------------------------------------------

    1 test1 January 1, 2014

    2 test2 January 2, 2013 January 1, 2014

    3 February 9, 2015 test5 January 2, 2013

    So how do?

    If it is not possible with sql then suggest me to do in peblisher xml (in rdf or rtf)

    In SQL, you can use the analytic LAG function.

    http://docs.Oracle.com/database/121/SQLRF/functions093.htm#sthref1544

    Because I don't have a copy of your table, I'll use scott.dept to illustrate:

    SELECT DeptNo

    dname

    loc

    , Trolling (loc) over (ORDER BY deptno) AS prev_loc

    OF scott.dept

    ORDER BY deptno

    ;

    Output:

    DEPTNO DNAME LOC PREV_LOC

    ---------- -------------- ------------- -------------

    10 ACCOUNTS NEW YORK

    SEARCH 20 DALLAS NEW YORK

    30 SALES CHICAGO DALLAS

    40 OPERATIONS BOSTON CHICAGO

  • How to display a different value than that of back-end for a quick dashboard data

    Hello Experts,

    We have a command prompt of dashboard for a report that has short values. I need display a full name for the prompt value instead of abbreviated values such as San Francisco SFO, in New York for NYC, etc. Here are the back-end OFS data values, etc. of NYC. Any ideas on how to achieve this?

    You can create a static table and use the column id descriptor in RPD.

    http://www.rittmanmead.com/2010/08/Oracle-BI-EE-11g-handling-double-columns-iddescription-interoperability/

  • How to display the new page with HTML, click the ADF

    I have an ADF page with a button.

    When I click that button, I call a method in backing bean that calculate a string that is HTML. I want to make this HTML as a new page in the same window of the browser as a result button click.

    How do I do that?

    I can also call a methodCall to task flow on a button click. But my next page should be a new HTML page including the calculation in the method call.

    You can convert the calling method in a servlet - your ADF page calls the servlet that returns the HTML code - this may be as a separate page using an af:goLink to call the servlet or it can be included in an af:inlineFrame in your page.

    Another option is to return the HTML string as the value for an af:outputText and the attribute of the escape of this element the value false.

  • How to display multiple prompt values selected in the report

    Hello

    I have a LOV: SELECT DISTINCT CO. V_MOVEMENT. ORIGIN_BRANCH_CODE CO. V_MOVEMENT ORDER BY 1

    and a setting associated with it, which is the selection of several permitted. The name of the parameter is P_BRANCH.

    When I view P_BRANCH the top of my report (RTF), it is showing only one value, while I need to display all the selected values like separated by commas.

    Help, please.

    Thank you and best regards,
    Antara

    Use this:

    ,

    Thank you
    Bipuser

  • How to display the current value on TOP in a LOV

    Hello

    I'll have something to say that p1_type a LOV with the following SQL query-based.
    select emp_type d, emp_typ r
    from emp
    default results
    EMP
    VEN
    CON
    GEN
    suggest that the current value of P1_TYPE is CON... is there a way... while displaying on the screen, CON should be the 1st element to display in the LOV.
    CON
    EMP
    VEN
    GEN
    Equally, if the current value is - EMP... display must be
    EMP
    CON
    VEN
    GEN
    Thank you
    Deepak

    Hello

    This can be done without a statement from the UNION. See: [http://apex.oracle.com/pls/otn/f?p=33642:249]

    This example uses:

    SELECT X.ENAME d, X.EMPNO r
    FROM (SELECT CASE WHEN EMPNO = :P249_EMPNO THEN 1 ELSE 2 END SORTORDER, EMPNO, ENAME FROM EMP) X
    ORDER BY X.SORTORDER, X.ENAME
    

    The element that corresponds to the selection gets a SORTORDER 1 value, all others are 2. This value is then the primary sort for the list order

    Andy

  • How to get the numeric values with SCPI on an AG7034B

    Hello

    I use an Agilent 7034 osciloscope with 4 analog and 16 digital channels.

    Read analog channels is no problem, but how do I get the digital channels (101010) waveform?

    I see the digital signal on the screen of the instrument.

    And: I want to do with SCPI commands and read/write Visa.

    Thanks for all tips

    Do you really mean the DSO7034B? If so, there are drivers available for LabVIEW and other programming environments. I suggest you only start with one of these. Check your manual to become familiar with the controls.

    PS ad to the digital I/o Board is incorrect.

  • How to get the Position value current sliderField

    I'm on SliderField for example following

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800608/...

    But the problem is I want to get her current state value after each trip for this I use this code

    but it is not updated LabelField with its current value

    protected boolean touchEvent (TouchEvent message)
    {
    System.out.println ("method called touch");
    int vall = sixthSlider.getNumStates ();
    String txt = Integer.toString (vall);
    lbtitle.setText (txt);
    fieldChangeNotify (1);
    Returns false;
    }

    Two tips:

    (1) you use getNumStates where you call getState!

    (2) do not substitute the touchEvent at all. SliderField is a field almost entirely executed, so that she calls fieldChangeNotify on the changes of State. Set up a FieldChangeListener, configured to listen on this field and put your logic inside fieldChanged.

    Good luck!

  • How to display the download link with get_blob or get_blob_file_src?

    Hello

    I fight to display a download link in a report of SQL query.
    Based on the condition, I need to create a report of sql query that the source contains a series of query union select.

    Example here
    WITH current_engagement AS)
    SELECT engagement_id, pn, ethnicity, date_joined_aodt_court, defendant_id, case_manager_name
    participation_conditions, discharge_conditions
    COMMITMENT
    WHERE defendant_id =: PXX_DEF
    AND date_joined IS NOT NULL
    AND (date_terminated IS NULL or to_date(date_joined,'DD/MM/YYYY') > to_date(sysdate,'DD/MM/YYYY'))
    AND active = 1 AND ROWNUM = 1
    ORDER BY defendant_id DESC
    )
    SELECT def.first_name, def.middle_name, def.surname, to_char (def.pn) "PN", to_char (def.nhi_number) AS 'IHN ".
    , ce.ethnicity, to_char (ce.date_joined) as ce.discharge_conditions, ce.participation_conditions, ce.case_manager_name, 'DATE_JOINED '.
    THE DEFENDANT def INNER JOIN current_engagement this
    ON def.def_id = ce.defendant_id
    UNION ALL

    Select the < b > 2. Phase number < /b > ', ' < b > Date started < /b > "," < b > Date completed < /b > ', '< /b > < b > Notes', null
    null, null, null, null, null
    of the double
    UNION ALL
    SELECT TO_CHAR (NVL (ph.phase_number, 'No. Phase found')), TO_CHAR (ph.date_started, ' DD/MM/YYYY'), TO_CHAR (ph.date_finished, ' DD/MM/YYYY'), ph.notes, null
    null, null, null, null, null
    FROM phase_membership INNER JOIN current_engagement ph this
    ON ph.mpm_eng_id = ce.engagement_id
    WHERE the to_date(ph.date_started,'DD/MM/YYYY') < = TO_DATE(sysdate,'DD/MM/YYYY')
    AND (ph.date_finished IS NULL
    TO_DATE(ph.date_finished,_'DD/MM/YYYY') or > = TO_DATE(sysdate,'DD/MM/YYYY'))
    AND ph.active = 1
    UNION ALL
    -Selects more
    -then select it last is to list all documents with download links
    Select the < b > 6. "The document Date < /b > ', 'Type of paper < b > < /b >', 'Description of < b > < /b >', '< b > download < /b > '.
    null, null, null, null, null, null
    of the double

    UNION ALL
    SELECT TO_CHAR (doc.date_received), doc.document_type, doc.comments, TO_CHAR (dbms_lob.getlength (doc.) UPLOADED_FILE))
    null, null, null, null, null, null
    DOCUMENT doc INNER JOIN current_engagement this
    ON doc.d_eng_id = ce.engagement_id
    WHERE doc.active = 1

    This report is generated correctly.
    But the requirement also ask to post a download link. And because it's the Union chooses, selects all next must be same as the types of data in column select it first.
    In this case, it must be CHARACTER. otherwise, it will generate the error like below
    ORA-01790: expression must have same type of data, matching expression


    Then I followed the step of GET_BLOB_FILE_SRC function of
    http://docs.Oracle.com/CD/E14373_01/apirefs.32/e13369/apex_util.htm#AEAPI129
    I turn my last selection in
    SELECT TO_CHAR (doc.date_received), doc.document_type, doc.comments,
    CASE WHEN NVL (dbms_lob.getlength (doc.) (UPLOADED_FILE), 0) = 0
    THEN NULL
    ON THE OTHER
    "Download".
    END
    null, null, null, null, null, null
    DOCUMENT doc INNER JOIN current_engagement this
    ON doc.d_eng_id = ce.engagement_id
    WHERE doc.active = 1

    Which is the result within the Group
    http://app_address_here/f?p=208:48:1303335952329758:

    whereas if I use the interactive report link is
    http://app_address_here/apex_util.get_blob?s=1303335952329758 & a = 208 & c = 66645817090447568 & p = 48 & 12 = K1 & K2 = & CK = A18D20D407435BD649EA3399EC27BC00 & RT = CR
    and it works well.

    I search and know that get_blob_file_source a link to the source of the column / field name located in the first parameter.
    If I put the UPLOADED_FILE column of the DOCUMENT table in the source of the REF. column
    But it still does not show anything close to the correct one which is generated by interactive report.

    If anyone has any ideas, please help. If I need to manually write using get_blob, please give me an example.
    I have urgent need of this report.
    The version of the SUMMIT that we use is Application Express 4.0.2.00.07
    And I can't ask an update 4.2 until the end of next year.

    Help, please.
    Thank you very much in advance.
    Ann.

    Hello Ann,.
    Here you can view and download the example:

    http://Apex.Oracle.com/pls/Apex/f?p=63066:1

    Please let me know if you need to access the workspace.

    Tip, please read the FAQ section. had you put your thread in a better format, you would have got a quicker response :)

    Kind regards
    Fateh

Maybe you are looking for

  • Corrupted MBR. Operating system: unknown (unknown) Local disk.

    Hello, I am trying to find solutions to the difficulty of my corrupted MBR. I am running Windows Vista Ultimate 32 bit. I tried to run a startup repair, but I had few results that recovery Options system does not detect my Vista operating system. I t

  • ProDesk 600 MT: all the usb port disabled after startup Win7

    Hello world I just brought a few ProDesk 600 MT after that the installation operating system, one of them seems locked all the usb port after the boot of win7. Can I use keyboard and mouse during startup, including the bios or windows safe mode selec

  • thumbnails of avi wmv

    I saw this problem on forums, loads, but have yet to find a cure.Windows Vista Home premium 32-bit.I could not get a miniature preview of wmv avi mpeg files etc., could be, but not nowI can always for all images (jpeg, bmp etc.) and curiously, rm rea

  • How to store and update the cache to the 2.3 OHC?

    We have a few dozen workflows (CPO 2.3 process) each triggered by a single event of the tide to start. Each workflow at the outbreak extracts digital data (two or three data double-digit like for example 15, 300) from one end of point plural web serv

  • Error code: 802400D (could not install SP1)

    tried all the tools and 7 own reg files