Aggregation calculates wrong values

Hi everyone,
I have added a new view in the database which i connected in the physical layer in the repository. 3 keys and 1 value.
When in the BMM i put the default aggregation rule to SUM.
In OBI this shows the correct value for the measure without any dimension columns.
- Row 1: 303.
When i add an extra column which gives me a schoolname it still shows the correct value. Now it looks like:
- Row 1: (Schoolname) | 101
- Row 2: (Schoolname) | 202
However when i add a schoolyear (e.q. value would be like 2008 - 2009) it shows:
- Row 1: (Schoolname) | 2008-2009 | 7056
- Row 2: (Schoolname) | 2008-2009 | 6262
I've tried all sorts of things to solve this for days but it just won't work.
Naturally i thought i made a mistake in the physical layer with wrong joins or something. I removed and relay these in different ways multiple times and it doesn't work.
Does anyone know what could be the problem?
Ps: I did receive multiple OBI errors containing some info about SQXEREExprAggegrate a week ago.. don't know if this is related to it.

Thanks for the info, i see what you're talking about. This stengthens my suspicion that the problem is LrlJaar. It's the only table that could mess it up and perhaps i missed a join somewhere. Or might i overlook something here?
-------------------- Sending query to database named School (id: <<46620>>):
WITH
SAWITH0 AS (select sum(case when T6904."Schoolgroep Score Eind" >= 0 and T6904."tts_nr" in (8, 110) and T6904."jgr_nr" in (4, 6) then 100 when T6904."Schoolgroep Score Midden" >= 0 and T6904."tts_nr" in (8, 110) and T6904."jgr_nr" in (4, 6) then 1 else 0 end ) as c1,
T2544."naam" as c2,
T432."sjr_oms" as c3
from
"LrlJaar" T403,
"Schooljaar" T432,
"School_Details" T2544,
"School" T415,
"vw_Irapportage" T6904
where ( T403."sch_nr" = T6904."sch_nr" and T403."sjr_nr" = T432."sjr_nr" and T403."sjr_nr" = T6904."sjr_nr" and T403."jgr_nr" = T6904."jgr_nr" and T415."sch_nr" = T6904."sch_nr" and T415."sch_brin_code" = T2544."brincode" and T2544."naam" <> '' )
group by T432."sjr_oms", T2544."naam")
select distinct SAWITH0.c2 as c1,
SAWITH0.c3 as c2,
SAWITH0.c1 as c3
from
SAWITH0

Similar Messages

  • Aggregation displays wrong value

    Hi,
    OBIEE 11.1.1.5
    I have 3 columns, Column1,Column2,column3
    based on 3 columns,I have done agregation like below
    a=column1*column3 (result comes correct)
    b=column2*column3 (result comes correct)
    c=a/b (result wrong)
    Something like this i have used : (column1*column3)/(column2*column3)
    can i know why it comes wrong

    Bernhard,
    I must correct what I said in the last post. The correct statement is: When a region is rendered, the items in that region obtain their values and those values are also copied to session state. They can be referenced on the page after that point. What is inconvenient is that after an automatic row fetch process has already executed, e.g., before header, you can't reference the associated items to obtain the fetched values until after the items are assigned values during the rendering step. That's what we hope to fix.
    Thanks,
    Scott

  • VOFM Custom Routine - Wrong values being stored in the database

    Hi Experts,
    I am using a requirement routine in my Z condition type.
    In invoices for new sales orders, the condition is coming directly at the line item level.
    In the older open sales orders, at the time of creation of invoices we are manually entering this condition type at the header level. We don't enter any value at the header level.  The routine calculates the values properly when we go to the line item condition tabs. But after saving the invoice, in change mode the value is being displayed as 0 against this condition type.
    In case we enter the condition type at the item level, the same values are being displayed and the values get saved correctly. But since the number of line items are generally more than 100 at the invoice level, the users can't be expected to enter all condition type for all the line items.
    I am writing the code in the form kobed_903. form kobev_903 is not accessed. SAP notes says that kobed is for the header and kobev for items. Can anyone suggest what am i doing wrong.
    I am saving values as below.
    read table tkomv assigning <f_komv> with key knumv = komk-knumv
                                                 kposn = komp-kposn
                                                 kschl = 'ZVPR'.
    if sy-subrc eq 0.
      <f_komv>-kbetr = 'Calculated Value'.
      <f_komv>-kwert = 'Calculated Value'.
      <f_komv>-kwert_k = 'Calculated Value'.
      <f_komv>-waers = 'AED'.
      <f_komv>-kwaeh = 'AED'.
    endif.
    *The form ends with
    sy-subrc = 0.
    Thanks,
    Abdullah
    Edited by: Abdullah Ismail on Apr 19, 2010 5:06 PM

    If I enter the condition at the item level, the invoice saves the value. But if I enter the condition at the header level, the value is being displayed at the item level by performing the necessary calculations but it does not save. So I am changing the value of KHERK from D to C in the row of TKOMV for this particular condition type. The values are being stored now but is this advisable?
    Thanks,
    Abdullah

  • Wrong value in Result Row in a query which includes 1:N relationship SO/Inv

    Dear all,
    I have an InfoSet which includes sales order DSO, PO DSO and Invoice DSO. The purpose is to design a report to show 3rd party order flow.
    Now I met an issue if one sales item contains multiple billing doc. Below is an example:
    Sales doc: S001   order Qty is 600, there are two invoices for this order B001 invoice 200 and B002 invoice 400. Now in report we see below:
    Sales Doc. --   Invoice no.   ---  Order Qty  --   Invoice Qty
      S001 ---B001         -
           600        -
             200
      S002 ---B002         ---        600         -
            400
    Result Row     -
                                     1200      ---            600
    We can see in Result Row totsl order qty is 1200 which is wrong.
    I am wondering if anybody have such experience and the method soving this problem ? Many thanks in advance !

    Hi,
    Normal aggregation calculates the result row as a summation.  However, you can change this default behaviour by using Exception aggregation at "Order Qty" key figure.
    You can find a detailed article with examples about Exception aggregation at:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0b8ed5b-1025-2d10-b193-839cfdf7362a
    I hope this helps you.
    Regards,
    Maximiliano

  • Wrong  value  in java stored function

    Hi All,
    i have written a java stored function,
    at the end of the code it insert record into the database
    among other columns also a number(18,3) column,
    when I debug it (out side of server) - works fine.
    when I load it to database i get wrong values in column
    (like instead of 76.546 i get 77.667) I can't figure out where it comes from.
    I use big decimal in java code.
    if i Hard code the value in java code it works fine!
    am I missing something ?, calculations/ data type different out side then inside database? using oracle 10.2.0.2
    Cheers
    Sahar

    Hi
    the code calculate some averages of amounts ( money) according to several
    conditions,and parameters given to the function and stores the average into table in the database
    the money columns are of data type 18,3 , both source and target tables have same structure.
    thanks
    Sahar

  • Java.util.Calendar calculates wrong date when any duration is added

    Hi friends,
    I am trying to calculate the date through java.util.Calendar object and getting wrong value. Let me explain the scenario -
    Scenario1:
    I have taken start date and added some duration to that and expecting a new date which should be calculated as (start date+ duration). The value is as below -
    start date = 2012-01-09 (9 January 2012 )
    duration = 1year, 1month, 20 days
    new date = 2013-02-28 ( 28 February 2013)
    *Here new date I am expecting is 2013-03-01 (1 March 2013).
    Scenario2:
    I have taken another set of values as below -
    start date = 2011-02-15 (15 February 2011)
    duration = 1year, 1month, 15days
    new date = 2012-03-30 (30 March 2012)
    *Here new date is as expected.
    Scenario1 data is giving me wrong result. Please let me know if any more information is required. Any help will be appriciated. Thanks in advance.
    Edited by: user560316 on ९ जनवरी, २०१२ ६:२३ अपराह्न
    Edited by: user560316 on ९ जनवरी, २०१२ ६:२४ अपराह्न

    It all looks pretty straightforward to me. Try running the following code:
    public class TestCalendar {
        public static void main(String[] args) {
            java.util.Calendar myDate = java.util.Calendar.getInstance();
            java.text.DateFormat df = new java.text.SimpleDateFormat("dd MMMM yyyy");
            myDate.set(2012, java.util.Calendar.JANUARY, 9);
            System.out.println("Start date = " + df.format(myDate.getTime()));
            myDate.add(java.util.Calendar.YEAR, 1);
            myDate.add(java.util.Calendar.MONTH, 1);
            myDate.add(java.util.Calendar.DAY_OF_MONTH, 20);
            System.out.println("End date = " + df.format(myDate.getTime()));
    }This gives the following result:
    Start date = 09 January 2012
    End date = 01 March 2013

  • Webi base on BW query based on Infoset comes back with wrong values

    Hello:
    I have a Webi report on an OLAP Universe, on Bex Query.
    The bex query is based on 1 INFOSET.
    When I run the webi report the values that comes back a totally wrong values.
    The correct results are not brought back.
    When I do a test with crystal reports to the infoset, I can see the correct values.  (I'm aware crystal uses different drivers).
    The test is BW query designer, and crystal brings back proper values from Infoset based BW query.
    Webi on Infoset based BW Query comes back with wrong data.
    query is simple.
    Pull in 3 attributes, 3 key figures, where componentkey = "111"
    I get 36 rows in Crystal and 36 rows in Bex Analyzer, 36 rows in BW query designer (web analyzer).
    I get many rows in webi (almost like a CARTENSIAN product).
    I search a round this forum but still did not see a conclusive answer to this problem.
    But I see another thread that several others faced this same issue without a resolution.
    My environment.
    BOE XI 3.1 SP2
    No fix packs
    SAP IK 3.1 SP2
    HPUX-IA64
    Thanks in advance for any help.
    Dwayne

    Was this problem ever solved?
    I am having a similar problem with an infoset based query.
    I have created the BW infoset, and confirmed that the correct data is returned from the underlying infoproviders. A simple BW query on that infoset yields the same results.
    Create the universe, and then the WEBI, and WEBI now shows hundreds of records where I expect 10. Data is being returned in WEBI that definitely shouldn't be there. It's almost like the restrictions applied in the characteristic restriction area of my BW query are being ignored, even if I include them in the WEBI query.
    Cheers,
    Andrew

  • Full Points sure: Wrong values populating in report (BEX)

    Hi Gurus,
    I got an Issue on CRM Report. Report is populating wrong values. 
    In the report, We have structure called “Opportunity” (in that structure fields are New opportunity, Close opportunity, Win opportunity and Open opportunity) in query and  One key figure called “Revenue”.
    On revenue we have one condition with variables.  But, in that condition everything is fine.
    The Condition Screen is like this:
    Radio Button: Single characteristic  is selected
    "Opportunity Sales ID" selected in Characteristics.
    Keyfigures:                                            
    Revenue                      New Opp                      TOP N             TOP X OPP
    Revenue                      Open Opp                     TOP N             TOP X OPP
    Revenue                      WINS                           TOP N             TOP X OPP
    Revenue                      Lost                             TOP N              TOP X OPP
    everything is right in this: If we select top 10 opportunities. we are getting wrong values
    for ex:  if we select top 10 Opportunities (in the selection screen)  means “REVENUES”.
    We are getting 12 values. 10 values are correct remaining 2 values are wrong..
    There is no Update routine for “revenue” keyfield.
    Can please suggest me on this…… What are possibilities for wrong values ...
    FULL POINTS SURE FOR THIS………………
    THANKS,
    KN

    Hi All,
    Can anybody answer... this...
    thanks,
    KR

  • Updated CODE1 is showing wrong values in 2LIS_05_QE1

    Hi all,
    I'm using 2LIS_05_QE1 extractor to report over qualitative data in BW. When the code of the characteristics is updated, the extractor takes 2 records, before and after images. The extractor is gathering wrong values for the CODE1 field  in the before image.
    REQUEST     DATAPAKID     RECORD     ROCANCEL     PPLNKN     MERKNR     CODE1     GRUPPE1     ZHLNSTAT
    REQU_4KVR0APSV0RSZ7N70IOR0F95L     1     5120          5     40     0     CIBAU038     1
    REQU_4KPIA4UG5G1IKN6DE3XFWKIS9             3     4045     X     5     40     0     CIBAU038     -1
    REQU_4KPIA4UG5G1IKN6DE3XFWKIS9             3     4046          5     40     75     CIBAU038     1
    REQU_4KYF8YNIEMXNZI7P2Y5BM21W9     3     4045     X     5     40     0     CIBAU038     -1
    REQU_4KYF8YNIEMXNZI7P2Y5BM21W9     3     4046          5     40     75     CIBAU038     1
    We have changed the characteristic two times, now we can see two of the before images with the ROCANCEL field marked with = 'X'. The problem appears in the second before image which is not taking the actual value of the CODE1 field (75), instead is showing the value in zero. Then, when I report over the key figure in the table above ZHLNSTAT (quantity of values) the results are showing 2 values for CODE1=75 and -1 values for CODE1=0.
    Any ideas?

    I have checked Datasource and CODE1 is not a hidden field...apart from this field there are other fields too which I can see in Datasource in R/3 about dont see them in BW ....
    Please let me know what could be wrong.
    Thanks,
    Murtuza.
    Edited by: Murtuza Morwala on Jun 27, 2009 7:36 AM

  • HTMLDB_APPLICATION.G_F01 has wrong value!

    HTMLDB_APPLICATION.G_F01 has wrong value!
    Hello again,
    I have a search page in my app (here the user defines the search criteria) P1.
    The page branches to P130, where the result is shown. This second page contains a region of type 'SQL Query (PL/SQL Function Body Returning SQL Query)'. The code for this dynamic query is 231 lines of code, so I want to spare you scrolling through it here . What it basically does is generating SQL QRY's such as the following:
    select     distinct(sq.SAMPLE_ID) XXX,
    'ID: '||sq.SAMPLE_ID||'
    ' ||'Type: '||sq.SAMPLE_TYPE||'
    ' ||'Collection Date: '||sq.COLLECTION_DATE SAMPLE_INFO,
    'Aliquots (T/A): '||to_char(sq.ALIQUOTS_TOTAL)|| '/' ||to_char(sq.ALIQUOTS_AVAILABLE)||'
    ' ||'Volume (T/A): '||to_char(sq.VOLUME_TOTAL,'990D00')|| '/' ||to_char(sq.VOLUME_AVAILABLE,'990D00') AVAILABILITY,
    'Age: '||sq.PATIENT_AGE||'
    ' ||'Gender: '||sq.PATIENT_SEX||'
    ' ||'Bloodtype: '||sq.BLOOD_TYPE||'
    ' PATIENT_INFO,
    DML_SERVICE.get_Diagnoses(sq.SAMPLE_ID) DIAGNOSES,
    DML_SERVICE.get_Medications(sq.SAMPLE_ID) MEDICATIONS,
    DML_SERVICE.get_Interferences(sq.SAMPLE_ID) INTERFERENCES,
    DML_SERVICE.get_LabData(sq.SAMPLE_ID) LABDATA,
    decode(to_char(sq.ALIQUOTS_AVAILABLE), '0', null, htmldb_item.text(1, '1', 1, 2)) ORDER_QTY,
    decode(to_char(sq.ALIQUOTS_AVAILABLE), '0', null, htmldb_item.checkbox(2,sq.SAMPLE_ID)) ORDER_ME
    from SEARCH_V01 sq
    where sq.DIAGNOSIS = 'D-Dimer'
    order by 1 desc
    The DML_SERVICE functions just return a string(Varchar2). At the right side of the report I have two columns, one with a textfield (ORDER_QTY, default: 1) and one with a checkbox (ORDER_ME) for each line.
    For each line where the checkbox is checked, a process (On Submit - after Comp and Val) places the order for the requested quantity (this is done by inserting an Order ID into the ALIQUOTS table -> see bold update statement below).
    The process follows:
    declare
    alq_qty number;
    alq_id number;
    cnt number;
    begin
    cnt := 0;
    for i in 1..HTMLDB_APPLICATION.G_F02.count
    loop
    select count(*) -- set alq_qty to number of available alq's
    into alq_qty
    from ALIQUOTS a
    where a.SAMPLE_ID = HTMLDB_APPLICATION.G_F02(i)
    and a.ORDER_ID = 0;
    insert into D_DEBUG (ID, DD) values (1, 'wanted: ' || HTMLDB_APPLICATION.G_F01(i) || ' available: ' || alq_qty); -- REMOVE!!!
    if alq_qty > to_number(HTMLDB_APPLICATION.G_F01(i)) then -- if there are enough alq's
    alq_qty := to_number(HTMLDB_APPLICATION.G_F01(i)); -- set alq_qty to number of ordered alq's
    end if;
    for n in 1..alq_qty
    loop
    select min(ID)
    into alq_id
    from ALIQUOTS
    where sample_id = HTMLDB_APPLICATION.G_F02(i)
    and order_id = 0;
    insert into D_DEBUG (ID, DD) values (1, 'alq_id: '||alq_id); -- REMOVE!!!
    update ALIQUOTS
    set order_id = :P130_SELECT_ORDER
    where id = alq_id;
    cnt := cnt + 1;
    end loop;
    dml_service.upd_sample_record(HTMLDB_APPLICATION.G_F02(i)); -- refresh data in SAMPLE table
    end loop;
    :P130_MSG := 'Assigned '||cnt||' aliquots to order: '||:P130_SELECT_ORDER;
    end;
    Now my problem is that this process does what it should, sometimes. When I enter 6 in one row and check the checkbox and enter 4 in another row and check that checkbox and then press SUBMIT, 10 aliquots are assigned to my order.
    Sometimes.... the other times the process just orders 2 aliquots, one of each line and disregards the number entered in the textfield.
    Or so it may seem: I added some lines to write debug info into D_DEBUG (see above.) From those entries you can assume that the content of HTMLDB_APPLICATION.G_F01(i) is in fact '1' when the process does its work. So I think the problem lies somewhere in the creation of htmldb_item.text(), (I went through the API of that htmldb_item again and again...)
    Also: I can reproduce / recreate this error. It's totally weird: for some rows it (always) works and for some it (always) doesn't !!!
    So, any help, any suggestion is really appreciated (I'm currently working on bringing the crucial part of this to marvel.oracle.com)
    -David-
    [Edited by: sleuniss on Jul 15, 2004 12:18 PM]
    Changed subject line.

    Now the subjectline is right, but the indentation is gone.... :-(
    again the SQL query:
    select     distinct(sq.SAMPLE_ID) XXX,
               'ID: '||sq.SAMPLE_ID||'
    ' ||'Type: '||sq.SAMPLE_TYPE||'
    ' ||'Collection Date: '||sq.COLLECTION_DATE SAMPLE_INFO,
               'Aliquots (T/A): '||to_char(sq.ALIQUOTS_TOTAL)|| '/' ||to_char(sq.ALIQUOTS_AVAILABLE)||'
    ' ||'Volume (T/A): '||to_char(sq.VOLUME_TOTAL,'990D00')|| '/' ||to_char(sq.VOLUME_AVAILABLE,'990D00') AVAILABILITY,
               'Age: '||sq.PATIENT_AGE||'
    ' ||'Gender: '||sq.PATIENT_SEX||'
    ' ||'Bloodtype: '||sq.BLOOD_TYPE||'
    ' PATIENT_INFO,
               DML_SERVICE.get_Diagnoses(sq.SAMPLE_ID) DIAGNOSES,
               DML_SERVICE.get_Medications(sq.SAMPLE_ID) MEDICATIONS,
               DML_SERVICE.get_Interferences(sq.SAMPLE_ID) INTERFERENCES,
               DML_SERVICE.get_LabData(sq.SAMPLE_ID) LABDATA,
               decode(to_char(sq.ALIQUOTS_AVAILABLE), '0', null, htmldb_item.text(1, '1', 1, 2)) ORDER_QTY,
               decode(to_char(sq.ALIQUOTS_AVAILABLE), '0', null, htmldb_item.checkbox(2,sq.SAMPLE_ID)) ORDER_ME
    from     SEARCH_V01 sq
    where  sq.DIAGNOSIS = 'D-Dimer'
    order    by 1 desc
    and the process:
    declare
       alq_qty number;
       alq_id number;
       cnt number;
    begin
       cnt := 0;
       for i in 1..HTMLDB_APPLICATION.G_F02.count
       loop
          select count(*) -- set alq_qty to number of available alq's
           into alq_qty
           from ALIQUOTS a
           where a.SAMPLE_ID = HTMLDB_APPLICATION.G_F02(i)
           and a.ORDER_ID = 0;
    insert into D_DEBUG (ID, DD) values (1, 'wanted: ' || HTMLDB_APPLICATION.G_F01(i) || ' available: ' || alq_qty); -- REMOVE!!!
          if alq_qty > to_number(HTMLDB_APPLICATION.G_F01(i)) then -- if there are enough alq's
             alq_qty := to_number(HTMLDB_APPLICATION.G_F01(i)); -- set alq_qty to number of ordered alq's
          end if;
          for n in 1..alq_qty
          loop
             select min(ID)
              into alq_id
              from ALIQUOTS
              where sample_id = HTMLDB_APPLICATION.G_F02(i)
              and order_id = 0;
    insert into D_DEBUG (ID, DD) values (1, 'alq_id: '||alq_id); -- REMOVE!!!
             update ALIQUOTS
              set order_id = :P130_SELECT_ORDER
              where id = alq_id;
             cnt := cnt + 1;
          end loop;
          dml_service.upd_sample_record(HTMLDB_APPLICATION.G_F02(i)); -- refresh data in SAMPLE table
       end loop;
       :P130_MSG := 'Assigned '||cnt||' aliquots to order: '||:P130_SELECT_ORDER;
    end;
    -David-

  • TDS certificate wrong values down payment clearing

    Hi,
    we are using 4.7 version with patch level Sap &APPl( accounts &
    Logistics) SAPKH47029. we are using extended witholding tax. with three
    tax codes. Tds + Surcharge, Ecess , SHEcess
    we made vendor downpayment Rs5000/-. at the time my TDS is
    TDS+Surcharge= 550, Ecess=11, SHEcess= 6, Total tax= Rs567/-
    we made vendor invoice Rs10000/- at the time TDS is
    TDS+Surcharge= 1100, Ecess=22, SHEcess= 11, Total tax= Rs1133/-
    We cleared downpayment using F-54 aginst invoice.
    at the time it has reversed the Downpayment tds entry Rs567/-
    i made remittance challan J1INCHLN amount RS 1133/- it is correct.
    While generating TDS certificate it is showing wrong values. Rs 1116/-
    it is showing two line items.
    Amount paid TDS Surcharge Educat cess Total tax
    9450.00        500  50              1                 549.00
    5000.00        500 50              17                567.00
    Total 1116.00
    But it is showing correct value in Querterly e returns J1INQEFILE

    Hi,
    Note Number: 1124300

  • Viewing wrong values in messageStyledtext box created by personalisation

    Hi
    I created a messageStyledText thru personalisation and the value is setting to this by calling a procedure.Please find the code below.
    String sql="BEGIN XXCHR_ACCRUAL_BALANCE_CALC(:1,:2); END;";
    oapagecontext.writeDiagnostics(this, "*** Congragulations you entered the Action" + sql , 1);
    //SSHRParams sshrParams = new SSHRParams(oadbt);
    OracleCallableStatement stmt = (OracleCallableStatement)oadbt.createCallableStatement(sql,1);
    stmt.setString(1,person_id);
    stmt.registerOutParameter(2,OracleTypes.NUMBER);
    stmt.execute();
    oadbt.commit();
    String us_pto_accrual_value = null;
    us_pto_accrual_value = stmt.getString(2);
    Issue now is : First time i login accrual balance will be displayed correctly in the text box.There is Save button in the page.For current pay period i entered a PTO value as 8 hours.Then i clicked on the save button.The accrual is not submitted so after page refreshes the same value which we have seen before shd come.But the value is coming something different.So what i have done is i tried to print this stmt.getString(2) value using diagonistics.First time it is retrieving correctly but after clicking on the save button it is assigned some wrong value.
    I closed the current IE and opened a new IE then it is showing correct values.
    Can anyone help on this issue.?
    It is very urgent.
    Thanks
    Preeti

    Hi Gaurav,
    We are just calling the procedure in the backend and we are assigning the result to the out parameter and that out parameter is assigining to a variable using getString method.
    Then we are picking the id for that and setting the value like this:
    OAMessageStyledTextBean uspto = (OAMessageStyledTextBean)pgbean.findChildRecursive("USPTOSTYLEDTEXT");
    uspto.setValue(oapagecontext,us_pto_accrual_value);
    Thanks
    Preeti

  • Statvfs returns wrong values

    Hi,
    I am developing a program the will check for disk space (used,blocks, available ...) and i am using the statvfs.h file.
    When tested with small capacity disks (~5G) it works fine (compared to df -k).
    When tested with large capacity disks (~400G) it returns wrong values(compared to df -k).
    I am using f_bavail and i am casting from fsblkcnt_t to integer/long.
    Please help.
    Thanx R.

    Thanks for your answer.
    I have discovered that it (statvfs.h) doe's not work with vxfs, only with ufs.
    I am using Veritas Cluster Server.
    Any chance of an answer ??
    thanks,
    R.

  • Color picker on Illustrator CC 2014 shows wrong values

    See the image above . The selected area filled color is e6e6e6 ( 230, 230, 230 ) but the color picker shows the wrong value 4d4d4d. Its happens only on Illustrator , What is this actually is there any problem with the color mode settings ? Please help me 

    You misunderstand me, so don’t be too quick to judge.
    I said that the Color panel was more efficient than the Color Picker. It has sliders so that you can adjust colours precisely as you wish first time, rather than just groping somewhere on a big area of colour in the Picker and then having to make fine numerical adjustments afterwards (plus an OK when you’re done).
    The Color panel is particularly useful when you are working in CMYK because it ensures that you get clean mixtures when you want them (which the Picker does not, without fine tweaking afterwards).
    And if you want to get shades of the same colour, you simply hold down Shift as you drag one of the sliders.
    In conjunction with the Swatches panel, I would go for the Color panel any time, but if you prefer the Picker that’s quite all right by me.

  • How can I calculate the value of the cell, which depends on other rows?

    Hi, all!
    I have an application with table. In this table i have calculate some fields, that doesn't exists in data class and depends on other row values, e.g. current row number, or sum of previous rows. How can i calculate this values in TableView?
    The problem is that I have no information about the current row number in the cell value factory.
    Example:
    public class Transaction {
         public String getName();
         public BigInteger getAmount();
    } // There is no getter for "Balance"
    Result table should be something like this:
    Name
    Amount
    Balance
    transaction1
    300
    300
    transaction2
    200
    500
    transaction3
    500
    1000
    Also, after sorting by "Amount", "Balance" should be recalculated:
    Name
    Amount
    Balance
    transaction3
    500
    500
    transaction1
    300
    800
    transaction2
    200
    1000

    Strings can be converted to numbers by various parse methods. For instance Strings can be converted to double via Double.parseDouble(myString).
    That being said, it appears that your textfield will contain numbers and operators, and so these operators will need to be parsed too. I would advise you to search on the terms Java infix postfix.

Maybe you are looking for