BEx Analyzer - Aggregation of Negative and Positive Values

Hello Gurus,
I have a key figure 0Subtotal1. This KF contains both negative and positive figures.
For eg; +10, -20, -30.
In Query Analyzer, I need the column total as 60 and not
-40.
Can I use a formula and use the ABS function...
Any clue....
thanks in advance.

hi BW,
u can make -ve sign as positive in the query.
Go to query properties in the query designer, then click on display tab->there u will find in the number format block settings for the display of -ve numbers....u can change them to positive there...
reward if it helps,
ajay

Similar Messages

  • Validation of JTextField to accept negative and positive values

    Hi,
    I have a question. I have a jTable populated with the fieldname
    in the first column and datatype in the second column.
    I would like to place a JTextField component in the frame
    depending on the data type. So, if a row is selected in the table, the
    datatype of that fieldname is retrieved and depending on that data type
    I want a JTextField to be displayed.
    Now, if the data type is of Integer type, I want the JTextfield to
    accepts Integers only(positive). I have created a class that extends JTextfield.
    But, I want the text field to accept negative integers also. Can anyone please guide me ?

    Hi,
    I wrote an extension of JTable that provides better rendering and editing support for:
    Color
    Font
    Locale
    Integer
    int
    Long
    long
    Short
    short
    Byte
    byte
    BigInteger
    Double
    double
    Float
    float
    BigDecimal
    and some more
    To allow only positive values for the type integer you could use:
    JXTable myTable = new JXTable(...);
    myTable.setDefaultEditor(Integer.class, new IntegerCellEditor(0, Integer.MAX_VALUE, <some locale>));The number editors are based on JFormattedTextField.
    http://softsmithy.sourceforge.net/lib/docs/api/org/softsmithy/lib/swing/JXTable.html
    http://softsmithy.sourceforge.net/lib/docs/api/org/softsmithy/lib/swing/IntegerCellEditor.html
    Homepage:
    http://www.softsmithy.org
    Download:
    http://sourceforge.net/project/showfiles.php?group_id=64833
    Source:
    http://sourceforge.net/cvs/?group_id=64833
    For more information about the number fields have a look at he following thread:
    http://forum.java.sun.com/thread.jspa?threadID=718662
    -Puce

  • StackedBarChart stacked bar corrupted when add negative and positive value.

    When StackedBarChart series have (positive & negative) data stacked bar corrupted and loss data.
    I have a chart with data stacked on (-,+)Y-Axis.
    - With JfreeChart all this go rigth and data appear perfectly on each bar without loss.
    - But when using javafx StackedBar Chart , when bar series have (positive & negative) data stacked bar corrupted and loss data.
    Stackoverflow link : http://stackoverflow.com/questions/15410153/javafx-stackedbar-chart-issue .

    As stated in your StackOverflow post, you should file this as a bug on Jira.
    But I'd also point out that stacked bar charts with negative values are not a good idea. In a stacked bar chart, the highest point of the stack should represent the total of the individual bars. You lose this property if there are negative values, and the chart becomes misleading. (I'd bet that the cause of the bug is that the code assumes this property at some point.)

  • Negative  values in red and Positive values in black CONDITIONAL FORMATTING

    Hi ... Everyone
    I have to show Negative values in red and Positive values in black in one of my report.
    i tried these conditions
    1. <?if:GAIN<0.00?><?attribute@inlines:color;'red'?><?end if?>
    but it shows negative values only in red ,positive values in black are missing
    2. <?if:GAIN<0.00?><?attribute@incontext:color;'red'?><?end if?><?if:GAIN>0.00?><?attribute@incontext:color;'black'?><?end if?>
    This gives the exact result what i wanted ...but the problem is i have five tables in my report ... so the above condition only allow changes in ONE TABLE ONLY. :(
    Plzzzz anyone who can help me to sort out my problem or else SUGGEST ANOTHER WORKING CONDITION
    Regards
    Subham Mittal

    Subham,
    This should not be difficult and moreover the BI Publisher Desktop installation comes with a set of examples:
    Start -> Programs -> BI Publisher Desktop -> Samples -> RTF Templates -> Advanced -> Conditional
    There you can find two templates with the exact same situation like yours, highlighting either the foreground color or background color.
    regards
    Jorge

  • Wat should be data type for  negative and decimal values (eg: -1.2222)

    What should be data type for  negative and decimal values (eg: -1.2222)

    Hi
    U can use the data type DEC while creating the DOMAIN and in the domain u  have sign check box at the left corner of the screen, click that check box , u can assign negative values for the field which refers this domain.
    REWARD IF HELPFULL
    Anees.

  • BEx analyzer variable screen Copy  and paste the input values functionality

    Hi all,
    in bw 3.5 we have functionality on the variable screen we can do directly copy the values and paste in the input screen. But in BI 7.0 BEx analyzer I am not able to find it. Is it required to apply any patches?
    Please guide me on this.
    Thanks

    Hello All,
    We have a similar issue only in 2004s query designer when we execute a query via the web. We have the variable set up to accept multiple single values and we can pick multiple single values and add them, however, we cannot paste a list of, for example, personnel numbers from an excel spreadsheet into the web selection box to add multiple single values at one time.  Does this functionality exist?
    Regards,
    Ann Bohn

  • Object Size and Position values not being retained

    Hi,
           I'm trying to set the size and position of a picture object in a report. This logo, should appear on the top right corner of the report.
    The margins of the report are Left - .79 in, Right - 0.79 in, Top - 0.79 in and Bottom - 0.39 in.
    The size of the picture object should be 1.574 x 0.79 inches.
    I have ensured that File -> Page Setup -> dimensions are in INCHES.
    I right click the logo and select 'Size and Position'.
    I set 'Y' (distance between top of object and top margin) = 0. This is to perfectly align the object with the top margin.
    Now, i set the height of the object = 0.79 inches. Ok the dialog and close.
    The strange thing happening is, when i re-open the size and position dialog, i see that the values i set are not being retained.
    0.79 becomes 0.810
    and
    0 become -0.010.
    What am i doing wrong here? How can i make sure the values i specify in the size and position dialog are  retained.
    Thanks.

    Ensure File | Options | Layout tab has the following UNMARKED!!!!
    Design View
      Guidelines
      Grid
    Preview
      Guidelines
      Grid
    Ensure that "Snap to Grid" is turned off.
    Make your grid size larger (.5 inches for example)
    What is occurring (I suspect) is that your objects are snapping to the grid - thus changing the position and possibly size due to the Snap to Grid being turned on.

  • Why Illustrator change entered size and position values?

    Hy All!
    Illustrator 5.5 always change my entered size or position values.
    (For example: I type 10mm, hit enter, and 10 changed to 10,231mm.)
    I checked again and again, but I have no any enabled snap function.
    I have Illustrator CS6 too, what works fine (but much slower).
    Checked all my setting about 5 times, still didn't find the solution...
    Thank you for your tips!
    (MBP 17", C2D 2,5GHz, 4Gb RAM, Mac OS X 10.6.8.)

    The measurement you type in defines the frame of your shape. The new measurement you see includes the width of the stroke.
    Under your Illustrator preferences, if you uncheck "use preview bounds", it will leave your measurements as you typed them, but it will not include the width of any stroke that is aligned to center or outside of your box.

  • BeX-Analyzer : no visible role and working-sheets

    Hello experts,
    after creating new working-maps under a role, i can't find it anywhere for the next day.
    For example: After launch BeX-Analyzer 7.0 -- then open working-map -- then connect over BW/BI Developer-System -- then
    roles. I can't find my saved user-working-maps or local objects who are saved one day before. They were under the "PFCG-created"
    user-role : "example :Z_Role_External_".
    When i open the map : QUERIES, i have the include for user-role and can manage and call the designed sheets
    in my workaround.
    In this case one more information that happens before this items. In the last week i had patched the BW-BI 7.0 with then following patches.
    SAPKA70020
    SAPKB70021
    SAPKA70021
    KIPYJ7K und KIPYJ7L
    SAPKW70022
    SAPKW70023
    After this action i heard from this problem in BW-BI "No User-Role and no Test-working-maps" under my User-Profile.
    Have anybody an idea to solve this problem ?
    Thanks
    Michael

    Found this thread with an allegeded fix from SAP
    Unable to see Roles in Bex Analyzer  - even with SAP_ALL!

  • BeX-Analyzer : no visible role and working-sheets created bei querie

    Hello experts,
    after creating new working-maps under a role, i can't find it anywhere for the next day.
    For example: After launch BeX-Analyzer 7.0 -- then open working-map -- then connect over BW/BI Developer-System -- then
    roles. I can't find my saved user-working-maps or local objects who are saved one day before. They were under the "PFCG-created"
    user-role : "example :Z_Role_External_".
    When i open the map : QUERIES, i have the include for user-role and can manage and call the designed sheets
    in my workaround.
    In this case one more information that happens before this items. In the last week i had patched the BW-BI 7.0 with then following patches.
    SAPKA70020
    SAPKB70021
    SAPKA70021
    KIPYJ7K und KIPYJ7L
    SAPKW70022
    SAPKW70023
    After this action i heard from this problem in BW-BI "No User-Role and no Test-working-maps" under my User-Profile.
    Have anybody an idea to solve this problem ?
    Thanks
    Michael

    Hi,
    this forum is about Web Intelligence. I would suggest you post your questions into the BusinessExplorer (BEx) Forums.
    ingo

  • BeX Analyzer Aggregation - display line item and header amounts in same row

    Hi Experts,
    I've a requirement in which I'm looking for help.
    Consider that I've one DSO with line item detail and I wish to display on a report for each line item (in the same row) the value of the header which has to be the sum of all line items for each header.
    Here's an output of what should be displayed:
    PO || Hdr  || PO item Item Amount || PO Amount (Sum All Items/Header)
    1    ||  1    ||  10 u20AC                          || 15 u20AC
    1    ||  2    ||  5 u20AC                            ||15 u20AC
    I've already tried to create a formula/calc key figure, using the KF "Item Amount" aggregated with exception of the "PO Hdr" Char, but it doesn't work.
    I know that i can built this on the data model but I just want to be sure before that there's no way to achieve this requirement through query designer.
    All help will be welcomed!
    Thank you.
    Nuno

    Hi Lakshmipathi Sir,
    Thanks for your reply. Could you please let me know how exactly i need to mention the logic to ABAPer.
    I can see two fields are giving from VBKD table with line item wise it is displaying.
    1. BSTKD
    2. BSTKD_M
    thanks,

  • BEx Analyzer with GUI 720 and MS Office 2010 does not work

    I have recently installed SAP GUI 720 with BEx addon (7 and 3.x) on a computer with Office 2010 and Windows 7.
    All BEx components work fine except Analyzer 7.
    When starting Analyzer 7 nothing happens.
    I have tried instead starting transaction RRMX from a BI system but this generates a short dump.
    Does anyone have an idea about what could be the problem?
    <<text removed>>
    Best regards,
    Didrik
    Edited by: Matt on Sep 22, 2010 8:17 AM

    Hello Didrik von Essen,
    guess its issue with Excel Addins.  i rectified the same issue by enabling the excel addins.go to Application wizard. and change the  please find the screenshot . let me know if it works

  • Grid Y negative and positive chaged in CS5

    I know there is another thread with discussion on why different programs have the y axis inverted, which is fine.  The problem is that all previous versions of Illustrator have your zero point as it would be on a normal mathmatical grid.  Why now after 7 years of using Illustrator must I "rethink" how I am moving objects.  We create dielines and now if I am placing my measurement text and callouts on the top and bottom, we have to do the opposite of what we did for all of these years.  Not to mention artwork placement.  Why is there not an option?  This is pathetic on Adobe's part.  Someone please tell me there is an option to invert the now inverted Y axis.

    What Monika said.
    Here it is:
    To change the ruler origin in CS5 to be the same as in CS4 and earlier, you may:
    1)  Find and open the AIPrefs (Win speak) or Adobe Illustrator Prefs (Mac  speak) file; it is a hidden file in the hidden folder Adobe Illustrator  CS5 Settings
    2): Find and change the following two bits of code:
    /isRulerOriginTopLeft 1 >>> /isRulerOriginTopLeft 0 (change 1 to 0)
    /isRulerIn4thQuad 1 >>> /isRulerIn4thQuad 0 (change 1 to 0)
    Note: This is a global change.

  • Text in Bex analyzer is giving problem

    Hi Experts
    i have two issues with my Bex analyzer, RSRT and Portal
    1. i have report which has Project code and its description (text) when i am runing this report for some project codes the text is not displaying instead it showing space, if i go to that particular project and say keep filter value and select only that value then its showing the text in that column...what could be the reason.
    2. i have created variable for my report its displaying perfectly in bex analyzer but in rsrt and web portal...the variable screen is getting ignored.
    what could be the reason.
    thanks and regards
    Sreedhar

    Hi,
    Check the behavior of your web template : parameter "display variable screen" must be ON.
    Hope that helps.

  • Change the layout of a query items in BEx analyzer

    Hi,
    I had developed a query, so when it is viewed in BEx analyzer the items(Char and Keyfigures) that i had used in rows and columns are displayed in analyzer.
    Apart from this in report i can see the items i had used,
    in top corner.
    So i need to change the layout of these items in top corner ie. 1. all charac
               2. all keyfigures
    or combination of both in priority wise, is it possible.
    Pl post.

    Hi,
    You can delete them from Query output and Save it as workBook.Then Open the workbook.You will not see them again whenever you open your workbook.
    Right click on result area of output>properties>interaction tab-->enable 'Refresh Query when opening workbook' and save the work book so that whenever workbook is opened,you will get selection screen.
    Pl dont forget to reward points if it helps.

Maybe you are looking for

  • Possible To Only Have To Enter Password 1 time?

    I have configured some of our network devices to authenticate to our TACACS server. Some of the network engineers have asked me to see if I can come up with a way that they don't have to type in their password twice on the network devices. I saw a di

  • No Fault When Dynamic Partner Link Is Down?

    Hello, I have an async process that establishes a dynamic partner link based on runtime data. I understand how to fire off to a dynamic partner link, however, I ran into a problem while testing a scenario where the partner link's endpoint is down. In

  • I downloaded the new OS and now my music in itunes is not syncing with my ipad ideas?

    I just downloaded the new version of iTunes. my music is backed up on my MAC but there is no music on my iPad2. Any ideas?

  • RG1-Macro

    Dear all, I Downloaded RG1 macros from Service .sap.com..Zip file. After my RG1 Report saved in Desktop.... I opend RG1 macro Excel and tools,,Udertoold Clicked on Macos...But my Noram Excel report is not updating in RG! macro Excel. How can i use RG

  • Hiding Tasks in the Approval Details

    I noticed the default "Provide Information" step appears in my Approval Details. Thisis meaningless to end-users. Is there any way to hide it?