Complex DAX Calculation

Hi,
I have an excel calculation that I have tried to convert i into a powerpivot measure. The excel calcualtion is as below:
 (IFERROR(IF(1-ABS((TOTDEMANDQTY-REVISEDFRC)/TOTDEMANDQTY)<0,0,(1-ABS((TOTDEMANDQTY-REVISEDFRC)/TOTDEMANDQTY))),"0.00")
I was given some great advice to change it to the below as a measure and it almost works but not quite:
Some Measure:=if(DIVIDE(ABS(FAReportInput[Demand]-FAReportInput[Revised Forecast]),FAReportInput[Demand],0)<1,1-DIVIDE(ABS(FAReportInput[Demand]-FAReportInput[Revised Forecast]),FAReportInput[Demand],0),0)
The issue is where I have a revised forecast of an amount but a demand of zero I am returning a value of 1 when in fact it should return a value of zero as per the iferror in the excel formula- can anyone help?
Thanks

Hi Grinch,
Glad to hear that your issue had been solved by yourself. Thank you for your sharing which will help other forum members who have the similar issue.
Regards,
Charlie Liao
TechNet Community Support

Similar Messages

  • Complex SQL calculated/Group Query

    I am trying to write a complex aggregate query(s) to compile a standings table for a soccer league.
    There are four related tables:
    Matches
    Goals
    Players
    teams
    I have yet to finalize the database structure so I can add fields if necessary.
    In the goals table I track the match that the goal was scored in and which player
    scored it.
    I am trying to create a query that will give me a standings table.
    The fields I need to calculate are:
    team name
    Wins
    Loses
    Draws
    For instance:  There was a match on 4/21/2012.  The players on HomeTeam(A) scored a combined 6 goals.  The players on AwayTeam(B) scored 1 goal (All stored in the Goals table).  Therefore, Hometeam won by a score of 6-1.  I need
    a query that spits out:
    Team                Wins          Losses          Draws         
    Points
    HomeTeam(A)      1                 0                 0                
    3
    AwayTeam(B)       0                 1                 0                 3
    Wins are worth 3 Losses 0 and Draws 1 point each team.
    I am a long time SQL admin, but I think the complexity of calculating this is a little beyong me.  I need some help to get where I need to be.

    Okay, I haven't yet been able to figure out the draws because of the trouble of linking back to both teams, but here's what I have so far.
    First, here is the test data:
    Declare @tvMatches Table (
    MatchID int IDENTITY(1,1)
    ,MatchDate datetime
    ,HomeTeamID int
    ,AwayTeamID int
    Declare @tvGoals Table (
    GoalID int IDENTITY(1,1)
    ,MatchID int
    ,PlayerID int
    ,TeamID int
    Declare @tvPlayers Table (
    PlayerID int IDENTITY(1,1)
    ,TeamID int
    ,PlayerName varchar(30)
    Declare @tvTeams Table (
    TeamID int IDENTITY(1,1)
    ,TeamName varchar(20)
    Insert @tvTeams
    Select 'Winners'
    Union All
    Select 'Losers'
    Union All
    Select 'Friars'
    Union All
    Select 'Planes'
    Insert @tvPlayers
    Select 1, 'Bill'
    Union All
    Select 1, 'Jim'
    Union All
    Select 1, 'Ken'
    Union All
    Select 2, 'James'
    Union All
    Select 2, 'Smithy'
    Union All
    Select 2, 'Flip'
    Union All
    Select 3, 'Dave'
    Union All
    Select 3, 'Alan'
    Union All
    Select 3, 'Ethan'
    Union All
    Select 4, 'Naomi'
    Union All
    Select 4, 'Erland'
    Union All
    Select 4, 'Alejandro'
    Insert @tvMatches
    Select '20120101', 1, 2
    Union All
    Select '20120201', 3, 4
    Union All
    Select '20120301', 4, 1
    --Winners beat Losers 3-2
    --Planes beat Friars 4-2
    --Winners beat Planes 2-1
    Insert @tvGoals --Match, Player, Team
    Select 1, 1, 1
    Union All
    Select 1, 3, 1
    Union All
    Select 1, 5, 2
    Union All
    Select 1, 6, 2
    Union All
    Select 1, 2, 1
    Union All
    Select 2, 7, 3
    Union All
    Select 2, 8, 3
    Union All
    Select 2, 10, 4
    Union All
    Select 2, 11, 4
    Union All
    Select 2, 12, 4
    Union All
    Select 2, 11, 4
    Union All
    Select 3, 1, 1
    Union All
    Select 3, 3, 1
    Union All
    Select 3, 11, 4
    Using this test data, you want to compile the actual match outcomes.  This can be problematic to do on the fly every time though, if you have a lot of matches or teams to calculate for.  But, with a simple cte, we have:
    ;with cteMatches as
    Select m.MatchID
    ,m.MatchDate
    ,m.HomeTeamID
    ,ht.TeamName HomeTeamName
    ,m.AwayTeamID
    ,at.TeamName AwayTeamName
    ,( Select Count(1)
    From @tvGoals g
    Where g.MatchID = m.MatchID
    And g.TeamID = m.HomeTeamID
    ) HomeScore
    ,( Select Count(1)
    From @tvGoals g
    Where g.MatchID = m.MatchID
    And g.TeamID = m.AwayTeamID
    ) AwayScore
    From @tvMatches m
    join @tvTeams ht
    on m.HomeTeamID = ht.TeamID
    join @tvTeams at
    on m.AwayTeamID = at.TeamID
    ) --select * from cteMatches
    This returns the MatchID, MatchDate, team information and the score.  Basically, you have the match, team and player data tied to the goals table, so you just do a count (using correlated subqueries) to get the score of each team.  Next step is
    to calculate the winner and loser (and eventually whether there even was a winner) by comparing the scores:
    ,cteWinners as
    Select cm.MatchID
    ,cm.HomeTeamID
    ,cm.HomeTeamName
    ,cm.AwayTeamID
    ,cm.AwayTeamName
    ,Case
    When cm.HomeScore > cm.AwayScore Then cm.HomeTeamID
    When cm.HomeScore < cm.AwayScore Then cm.AwayTeamID
    Else 0
    End WinningTeamID
    ,Case
    When cm.HomeScore > cm.AwayScore Then cm.AwayTeamID
    When cm.HomeScore < cm.AwayScore Then cm.HomeTeamID
    Else 0
    End LosingTeamID
    From cteMatches cm
    ) --select * from ctewinners
    This returns MatchID, team information and the ID's for winning and losing teams.  For now it returns 0 if it's a draw.  Once we know the outcomes of all the matches, we calculate the actual win/loss for each team:
    ,cteRecords as
    Select t.TeamName
    ,Count( Case
    When cw.WinningTeamID = t.TeamID Then 1
    End
    ) Wins
    ,Count( Case
    When cw.LosingTeamID = t.TeamID Then 1
    End
    ) Losses
    From @tvTeams t
    join cteWinners cw
    on t.TeamID = cw.HomeTeamID
    or t.TeamID = cw.AwayTeamID
    Group By t.TeamName
    ) --select * from cteRecords
    That last cte returns just team name, and then the number of wins and losses for each team.  This is where I got stuck with the draws, because I'm not quite sure yet how to properly assign a draw to both teams involved.
    Now, finally you put it all together with some simple match to determine the points, and there you are:
    Select TeamName
    ,Wins
    ,Losses
    ,(Wins * 3) Points
    From cteRecords

  • If then Else using DAX Calculation

    Hi all, new to DAX. I am trying to replicate a Oracle SQL column using DAX functions in SSAS Tabular.
    My Oracle column is defined like below:
    If STATE_CODE Not in('A','B','C','D') 
            And Not (substr(PK_ID,4,2) = 'XY' And DIV_CODE in('YU','SD')) Then
             CNT = 1;
          Else
             CNT = 0;
    Any ideas how to start? Should i use DAX Switch function ?
    Thanks,
    TAG

    We have IF and Switch Function Available in DAX .
    You can use any of one.
    IF(logical_test>,<value_if_true>, value_if_false)
    For Switch you can use below;
    SWITCH(TRUE(),
    booleanexpression1, result1,
    booleanexpression2, result2,
    else
    Just create calculated column in Cube and add this logical IF/Switch function there.
    Or If you want to calculate this at query level using DAX then you can follow below Query.
    Evaluate
    ADDCOLUMNS
    TableName,
    , "calculated column"
    ,IF( Logical,Truecondition,False Condition)
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com

  • DAX Calculation shows incorrect results when driven from Time Slicer

    Hi,
    We have defined a DAX quarter on quarter calculation  
    PREV Q % 13F:=divide([PREV Q ABS 13F],[Prior Quarter 13F])
    Prior Quarter 13F:=CALCULATE(sum([TotalValue]), DATEADD(Time[Date], -1, QUARTER))
    PREV Q ABS 13f:=CALCULATE(sum([TotalValue]))-[Prior Quarter 13F]
    which works fine in Pivottables in Excel but when time selection is driven by a time slicer the calculation doesn't work anymore:
    Is this a but or expected behaviour? Are there other ways to use a control that affects multiple other pivot tables like the time slicer?
    Thanks for your help!
    Martin

    OK, there are some really interesting points here - i think the screenshot below best explains it:
    Time Slicers use MDX subselects to propagate the selection to the pivot table:
    SELECT .... FROM (SELECT Filter([Fact13FSample].[ReportDate].Levels(1).AllMembers, ([Fact13FSample].[ReportDate].CurrentMember.MemberValue>=CDate("2013-04-01") AND [Fact13FSample].[ReportDate].CurrentMember.MemberValue<CDate("2013-07-01")))
    ON COLUMNS  FROM  ...
    this works just fine for normal measures but seems to cause issues with time-intelligence function
    it actually causes an issue with all calculations that use CALCULATE and thereby shift the context out of the subselect
    it seems that you cannot get out of this context using DAX- at least i could not find a solution yet
    not even this works:
    All Quarter 13F:=CALCULATE([SumTV], ALL('Time'))
    the result is always limited to the subselect :/
    funny thing is that this only seems to happen with this specific subselects so i guess it is further related to MDX FILTER() or .MemberValue or CDATE()
    the only option i could currently think of is to use regular slicers
    Gerhard Brueckl
    blogging @ http://blog.gbrueckl.at
    working @ http://www.pmOne.com

  • Trailing 4 quarters DAX calculation on an aggregated level

    Hi,
    I am having difficulties with the calculation of the last 4 quarters in DAX. I am using a standard fact table and a separate time table (Time). The calculation works fine on the quarterly level but I can't find a way to display the correct results on a total
    year level.
    My calculation is as follows:
    Dividends TTM:=CALCULATE([Dividend], 
    DATESBETWEEN(Time[Date],
    DATEADD(FIRSTDATE(time[date]),-3, QUARTER),
    LASTDATE(time[date])))
    Thanks a lot for your help!

    So I think it's actually returning 4 Quarters and 1 day which you could fix with something like the following:
    Dividends TTM:=CALCULATE([Dividend], 
    DATESBETWEEN(Time[Date],
    DATEADD(DATEADD(LASTDATE(time[date]),-4, QUARTER),1,DAY)
    LASTDATE(time[date])))
    http://darren.gosbell.com - please mark correct answers

  • Need help on complex math calculation in labview

    I need some help by being pointed in the right direction.  I have a piece of old lab equipment that I will be connecting to labview.  In order to send commands to the hardware, I have to calculate a checksum.  The checksum algorythm requires me to take alphanumeric characters, convert them to binary, perform binary addition, perform an Xor, mask certain digits, and convert the resultant binary string back to an ascii character.  Does labview have the capabilities to do this on it's own, or should I look at connecting to something like an external dll? 
    I have Visual Studio 2008 and some previous VB experience, so I think I could write a program that would do the calculation, but don't really know exactly what type of project (dll, etc.) is best.  Are there any specific settings for the dll so that labview can use it.  I see an example for C++ for Visual Studio 2005, but that is as close as I can get.  I only know VB, not C# or C++
    Can someone please point me in the right direction?
    Tron
    Solved!
    Go to Solution.

    You basically need some logical shifts and ANDs.
    Check version 2.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV
    Attachments:
    Checksum ver 2.vi ‏10 KB

  • Spreadsheet structure - complex cost calculation

    I am trying to set up a semi-automatic spreadsheet that will help me prepare quotes for building work.
    I would appreciate any advice on the best set up that would for this and possible functions I would need to use to make it work. I tried finding a suitable solution or a template but to no avail.
    I'll try to explain the requirements as clearly as I can, but please let me know if there is any further explanation you may require.
    1. I have many tables that I set up to calculate costs and prices of particular types of work, i.e. building a brick wall or laying foundations
    1.1 Each table has the same columns such as'type of resource', 'quantity', 'price per unit', 'cost', 'profit', 'price'
    1.2 Each table has a different number of rows, depending on number of resources required for the particular type of work, some of the tables have multiple header rows to allow for data entry cells, such as 'length' or 'height'
    1.3 I keep the tables in a separate file and just copy the ones I need for particular quote, one type of table may be used several times in a quote, depending on type of job quoted, i.e. I may have more than one wall to price
    2. The main sheet of the quote has a table that lists all the items of work I need to price
    2.1 The columns are: 'item id' (unique number), 'item description' and 'tender price'
    2.2 'tender price' is manually linked to 'total price' in the relevant calculation table (I gathered here that perhaps using INDIRECT function will allow the link to be automatic, correct?)
    2.3 Right now I use 'item id' as the name of the relevant table to be able to recognise which item it calculates
    3.0 I need a summary sheet with few tables that will give me various information. The information required is:
    - materials list and quantities collected from all the calculation tables
    - labour list as above
    - labour and materials per build stage (I need to add stages to the tables first)
    I'm not sure this can work with me using separate tables for each item calculation. I think that if I put all the calculations into one, big table I may be able to pull info out by using categories, however I would like to avoid this as I would end up with very large, messy tables on larger quotes.
    I have used excel and a combination of outline and pivot tables in the past, but it was by no means a perfect solution.
    I hope my explanation is clear and I do appreciate your help.
    Regards
    Bart

    Bart,
    I think I have what you were looking for. I only addressed what I thought was your concern.
    1. I added a table to your "general calculators" sheet, and called it "Data"
    2. I utilized the VLOOKUP and the INDIRECT functions to make your Totals more dynamic.
    3. The formula is going to look to the table referenced in the "A" column of the line. (A3 = 1.1)
    4. The formula will then look at the column heading and find the number in the "Data" table I added.
    5. The lookup will then go over this many columns to find the value of the "Total" line.
    You should be able to copy this formula to all the cells you are looking for the total of. As an example, copy cell C3 to C12. Then range fill to F22. Delete the formulas in C16 and D16 as they will error, because they are not necessary. Repeat the procedure for Job 3, etc.
    If you change the Job (Table) reference in column "A" this will automatically look to the correct table. If you need to add a column some day, Add the column to all the appropriate tables, then add the name and column number to "Data." It should then recalculate correctly.
    I have posted the spreadsheet here:
    https://www.iwork.com/r/?d=samplequoteRevised.numbers&a=p108776228
    If it you cant get to it, let me know....and we can try something else...since I dont have a mobileme account.
    Let me know if you have ANY questions.
    Waza

  • Dax Calculating Same time previous period with nonstandard periods

    I need help dealing with prior period calculations where the periods are not standard.
    In our business we define these time periods based on 8 to 10 week periods that really have no correlation to standard weeks, months or quarters.  Additionally there may be some time between these periods that are not defined. For example:
    Period 1 (p1) = June 18 - Sept 2
    Period 2 (p2) = Sept 17 - Dec 9
    The length of the periods are variable and when one ends another does not necessarily begin.
    I need to figure out how to compare the sum of a metric in Period 2 with the sum of a metric in Period 1.
    I have a standard Date dimension. And I have a period deminsion with the period labels (p1, p2 etc.) the start date, the end date of the periods, and a column called previousPeriod that has the label of the prior period.
    Each Fact has a Period ID so that I can use period as a dimension.One of my measures is Sum(sales).
    I want it so that if I am viewing the Tabular cube by period, I can have the sum of sales for that period, and the prior one. I hope it is clear what I am trying to do.

    You should add to your Date table a column that contains an incremental number for each period, then write something like:
            CALCULATE
                [Sales],
                ALL
    ( 'Date' ),
                FILTER
                    ALL
    ( 'Date'[IncrementalPeriod] ),
                    'Date'[IncrementalPeriod]
                        =
    EARLIER ( 'Date'[IncrementalPeriod]
    ) - 1
    I suggest you this pattern that will be published on March 31 - it contains many more examples, including how to write the make this formula working also with a partial arbitrary selection of days in the selected period:
    http://www.daxpatterns.com/time-patterns
    Marco Russo http://www.sqlbi.com http://www.powerpivotworkshop.com http://sqlblog.com/blogs/marco_russo

  • How to do complex engineering calculation in labview.I tried using MATLAB script

    Hello,
    I am trying to use matlab script node to solve two complex equation.But i get different  errors everytime i run my program.sometimes 1048 sometimes 1050 and sometimes it says LABVIEW could not extract variable from Matlab.I am attaching  my MATLAB script node with this thread.Please Help me out to get rid of this problem.
    I am  using LV-8 and MATLAB R-2006a.
    Attachments:
    matlab.vi ‏10 KB

    Hi Praween,
    beside my little MatLab knowledge I tried to replace your formula with equivalent LV code...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    matlab_lv80.vi ‏18 KB

  • Complexe percentage calculation

    hi,
    I would like to compute percentage based on this table between ticket and CA based on BUV and ID parameters:
    ID
    BUV
    Ticket
    CA
    103
    BUV31
    2 274 €
    32 662 €
    103
    BUV2
    1 979 €
    32 662 €
    103
    BUV35
    1 788 €
    32 662 €
    104
    BUV31
    2 492 €
    40 900 €
    104
    BUV2
    2 311 €
    40 900 €
    104
    BUV14
    2 283 €
    40 900 €
    with a power pivot table we have that:
    Étiquettes de lignes
    CA
    Ticket
    pct
    103
    97985,37
    6042,14
    6,17%
    BUV2
    32661,79
    1979,24
    6,06%
    BUV31
    32661,79
    2274,44
    6,96%
    BUV35
    32661,79
    1788,46
    5,48%
    104
    122699,16
    7085,82
    5,77%
    BUV14
    40899,72
    2283,21
    5,58%
    BUV2
    40899,72
    2310,67
    5,65%
    BUV31
    40899,72
    2491,94
    6,09%
    Total général
    110342,265
    13127,96
    11,90%
    where foor CA I created a DAX formulas in calculate Field:
    sum([CATotal])/DISTINCTCOUNT([OPFSessID])
    and for Ticket I created in calculate Field again:
    [SommeTicketTotal]
    And the result of the percentage field is still a Calculate Field which is the result of CA/Ticket comuted previously.
    It works perfectly if I want to display only one ID. But if two ID are displayed, the computation is the sum of percentage which is of course wrong.
    For instance if I think about BUV31, i should have 6.47% instead of 12.96%. How can I add buv parameter into the formula to get the right result?

    Hi,
    Yes it is correct. I created a table with only BUV elements and theire percentage. 
    Here is the table:
    Étiquettes de lignes
    pct
    BUV14
    5,58%
    BUV2
    11,66%
    BUV31
    12,96%
    BUV35
    5,48%
    Total général
    11,90%
    As you can see BUV31 has 12.96% but it is wrong it should appear ticket (2274.44+2491.94) / CA (32661.79+40889.72) = 6.48%. So, 0.1296*32661.79=4233. It use 4233 as ticket values. No idea about where it come from.
    I think I should add into the CA calculate field something like "group by" BUV. 

  • Complex number calculation

    Hello everyone!
    I am working on this code to compute complex numbers (a+-bi) and I am a little stuck - I get an error message:
    <<<invalid method declaration; return type required>>>public ComplexN( double re, double im)>>>>
    Please, can anyone help me.
    public class Complex {
        private double real = 0.0;
        private double imaginary = 0.0;
        public Complex() { this( 0, 0 );}
        double r = real;
        double i = imaginary;
        public ComplexN( double re,  double im) { this(re,im);}
        public Complex add( Complex a, Complex b ) { return  new Complex(a.r + b.r, a.i + b.i);}
        public Complex subtract( Complex a, Complex b ) { return new Complex(a.r - b.r, a.i - b.i);}
        public String toString() {return String.format( "(%.1f, %.1f)", real, imaginary );}
        Object[] add(Complex b) {return null;}
        Object[] subtract(Complex b) {return null;}
    ==================================================
    public class ComplexTest
       public static void main( String args[] )
          Complex a = new Complex( 9.5, 7.7 );
          Complex b = new Complex( 1.2, 3.1 );
          System.out.printf( "a = %s\n", a );
          System.out.printf( "b = %s\n", b );
          System.out.printf( "a + b = %s\n", a.add( b ) );
          System.out.printf( "a - b = %s\n", a.subtract( b ) );
    }

    If you take the N off the name, you get this:
    public Complex( double re,  double im) {
      this(re,im);
    }OK, now walk through an instantiation like this:
    Complex c = new Complex(1.0, 1.0);You call that constructor. And that constructor then delegates to the constructor that takes two double arguments. That is, it delegates to itself.
    So it would just go on delegating to itself for eternity. This is bad.

  • Tabular/DAX calculation sensitive to dimension (dragged) -- is it possible?

    hi All,
    I would like to know if it is possible to create a calculation that will behave differently depending on the dimensions dragged on a grid, basically, I have two date dimensions and depending on which dimension is put on the rows or cols (or both!?) for the
    calculation to behave differently.  
    thx much for any pointers,
    Cos

    Hi Cos,
    Personally, I don't think we can achieve this requirement for your particular scenario.
    If you have any feedback on our support, please click
    here.
    Regards,
    Elvis Long
    TechNet Community Support

  • Complex PCR calculation - Reg

    Hi Gurus,
    Please go through the following PCR with input & output tables and explain the calculation. What to do to get the proposed value.
    IT
    /092 -   Rate: 12.07
    WT X000 OT 1.5 rate- Number: 45.00
          Z015      3            AMT?0
          Z015      3   =        NUM?0
          Z015      3   = *      RTE?0
          Z015      3   = * =    VALBS?
          Z015      3   = * = X  GCY Z115*
          Z115      *           VAKEYALZNR
          Z115      *   N        VWTCL 18
          Z115      *   N *      GCY ZZ15
          ZZ15      *            WGTYP?
          ZZ15      *   ****     VALBS0
          ZZ15      *   ****     ADDNA *
          ZZ15      *   ****     FILLF N
          ZZ15      *   ****     WGTYP=*
          ZZ15      *   ****     VALBS1
          ZZ15      *   ****     NEXTR A
          ZZ15      *   ****     ADDNA *
          ZZ15      *   ****     FILLF N
          ZZ15      *   ****     WGTYP=*
          ZZ15      *   ****     VALBS2
          ZZ15      *   ****     ADDNA *
    OT
    WT X000   Rate: 18.11 Number: 45.00 Amt 814.95
    Supposed formula here is: 12.07 * 45.00 * 1.5 =  814.725 ( Proposed Value )
    Plese explain the above PCR calculation.

    Hi Remi,
    Thank you for your answer.
    Q. As for processing of your WT X000, what are it's Valuation Bases in V_512W_B ?
    - it is valuated in current wagetype and Valuation basis 092 and rate is 150%. 
    Q. Have you checked through pe04 what is operation VAKEYALZNR ? Isn't it related to Alternative Payment ?
      yes, it is alternative payment.
    P.S. : 12.07 x 1.5 = 18.105, which will give 18.11 once it is rounded up.
    A: we never used any round up function,
    Though we not used the roundup function why it is rounded up. How and where can we remove this roundup.
    Thank you for your help.
    Rgds
    -AADI

  • Complex Mathmatical Calculation

    My project for the summer is to create a desktop calculator that accepts any altitude between Sea Level and 10,000 feet and any temperature between -15 and 45 degrees Celsius and then automatically displays an aircrafts maximum allowable takeoff weight. Creating the Panel, text boxes, labels etc are no problem with my basic Java programming knowledge but I have no idea where to start with the actual calculations. I would imagine some sort of algorithm would be used but know basically nothing about them. Help getting pointed in the right direction would be greatly appreciated.
    Here's a link to an Aircraft Weight, Altitude and Temperature Chart (WAT Chart) so you can see what I'm talking about. The personal web page is about 110KB because of the chart so it might take about 10-20 seconds to load is you're using a dialup connection. Any help would be greatly appreciated.
    http://mywebpage.netscape.com/MichaelEKauffman/
    Thanks in advance!

    You are right - the posted chart is only applicable to a Hawker Siddeley 125-700A when using 0 Degrees flaps and the automatic performance reserve system (APR). I have similar charts that use 15 degrees flaps and even those that include the use of thrust reversers and with and without the APR. From the posts so far it appears I have my work cut out for me this summer and will be brushing up on my Calculus. The feedback thus far has been greatly appreciated and thanks in advance for any others who have additional feedback or ideas.
    By the way, the posted Weight, Altitude and Temperature Chart (WAT Chart) is the least complicated of the Summer Project. There are also Takeoff and Accelerated Stop Distance charts, First and Second Segment Climb Gradient Charts among others for the same aircraft. My thoughts were if I could figure out how to do the WAT Chart then figuring out other more complicated charts would become a little more obvious. More charts could be posted to my personal web space if somebody indicated an interest. Thanks again everybody for the help!
    Michael

  • Complex Rebate calculation

    Hi All
    I have tough task ahead and i need your help.I have to create a rebate which is used during sales from consigment .It is supposed to work in such a way it takes the amount in the current sales order and minuses it from the amount of material still at consigment(1000 at consigment - 200 at sales order) .The differenece (800) is the base for calculation.We take 800* current price * 2%.The outcome is subtracted from the sales amout (200).The same thing should happen with normal sales but the rebate should not take into account the amount previously sold on the reference document and the discount is on the credit memo request .Does anyone have any good tips how to get started with this ?please:)

    Hi Grinch,
    Glad to hear that your issue had been solved by yourself. Thank you for your sharing which will help other forum members who have the similar issue.
    Regards,
    Charlie Liao
    TechNet Community Support

Maybe you are looking for