RTF calculation part formula needed

I have the scenario like I have to get the subtotals as mentioned below. Is it possible to get the result like below from RTF template.
I will provide the logic. But I don't the syntax. please help me.     (Sub-totals of days in queue for each group of appraised)-(case when Lvalue=1(repeating for each group) then Days in Queue)
Appraised
Approver
L Values
Action
Date
Days In Queue
Totals Required
BROOKS, RAYMOND D
MOLINA, MICHAEL
0
Submit
12/2/2014
2
BROWN, DENNIS
1
Submited for First Approval
1/14/2015
43
BROWN, DENNIS
2
Approve
1/14/2015
0
LONG, KIMBERLY
3
Approve
1/20/2015
6
BULLARD, JENNIFER
4
Approve
1/20/2015
0
RUSSELL, BOBBY
5
Approve
1/30/2015
10
BLANCHARD, STEVEN
6
Transfer
1/30/2015
0
RUSSELL, BOBBY
7
Approve
1/30/2015
0
Total Approval Duration
61
61-43=18
HARRIS, MICHAEL A
YOUNG, KELVIN
0
Submit
12/2/2014
2
EAKINS, ANTHONY
1
Submited for First Approval
1/12/2015
41
EAKINS, ANTHONY
2
Approve
1/13/2015
1
FRITZEN-WATFORD, SUSAN
3
Approve
1/14/2015
1
MCLEAN, GLENDA
4
Approve
1/15/2015
1
BULLARD, JENNIFER
5
Approve
1/15/2015
0
RUSSELL, BOBBY
6
Approve
1/30/2015
15
BLANCHARD, STEVEN
7
Transfer
1/30/2015
0
RUSSELL, BOBBY
8
Approve
1/30/2015
0
Total Approval Duration
61
61-41=20
Please provide the RTF syntax for the same
Thanks & regards,
Satya

Hi Manikandan-S-Oracle,
I am getting error for while previewing this template with empty data.
It should show the empty report as well.
There might be some error with variable. Could you please check this. How to get the empty result.a
Empty data XML attached
Thanks in Advance

Similar Messages

  • Why does commenting out calculated member formulas in BIDs cause several minutes of CPU spike and non-responsive BIDs?

    I'm using SQL Server 2012.  I have noticed that commenting out calculated member formulas in BIDs (like even just 10 lines of formula) can cause BIDs to throttle all the CPU and become unresponsive for minutes.  What could be the cause of that?

    Hi Lee,
    According to your description, you get high CPU usage when commenting out the calculated member formulas. Right?
    With your information, we are not sure this is a MDX Query performance issue or the BIDS issue.  We suggest you optimize your MDX query and diagnose the Formula Engine performance. Please refer to the links below:
    Query Performance Tuning in Microsoft Analysis Services: Part 2
    Analysis Services Query Performance Top 10 Best Practices
    If possible, please post some screenshots or detail information about calculated member formulas so that we can have some deep analysis.
    Best Regards,
    Simon Hou
    Simon Hou
    TechNet Community Support

  • I have a MacBook 13-inch, Late 2009, I'd like to get a cable to connect a monitor.  However I keep order the wrong part.  Can somebody tell me what part I need.

    I have a MacBook 13-inch, Late 2009, I'd like to get a cable to connect a monitor.  However I keep order the wrong part.  Can somebody tell me what part I need.

    The Late 2008 model 5,1 Aluminum Unibody and the Late 2009 model 6,1 and Mid 2010 model 7,1 White Unibody have a Mini DisplayPort.
    The Early 2006 model 1,1 through Early 2008 model 4,1s plus the Early and Mid 2009 model 5,2s have Mini-DVI ports. Each would take a different adapter to connect with the TV.
    To see which model you have go to the Apple in the upper left corner and select About This Mac, then click on More Info (and then System Report if you’re running 10.7 Lion). When System Profiler comes up check the Model Identifier and post it back here.

  • Calculated Field formula not appearing in Power View Field List panel

    Hi,
    On Power View1 sheet of this
    workbook, the two PowerPivot calculated Field formulas (First Visit and First date of FY) are not appearing in the Power View Fields panel on the right hand side.
    I want to drag client and First Visit (calculated Field) to the Power View.
    Why is this happening?
    Regards, Ashish Mathur Microsoft Excel MVP www.ashishmathur.com

    I found a workaround for it - I was having the same problem as you. I wanted to display the last refresh date of my data, but Power View wouldn't display a date resulting from the [Last Refresh]=MAX(Date[Date]) formula.
    HOWEVER, a Pivot Table can handle that Calculated field just fine. So I renamed my measure "Refreshed Date" and added another tab in the Excel Sheet. I added a Pivot Table from PowerPivot into cell A1 and the only thing I put was that single
    measure (A2). To the right of that, I did =A2 and created an Excel Data Table. The title of that was "Last Refresh". Now, I could add that Data Table to the PowerPivot Model and into Power View. And then I hid that tab.
    The only downside to this method, is that if you're refreshing single tables at a time, you have to remember to refresh the Pivot Table when new data is added AND update the data in the model. I'm only connecting to one database, so I just choose
    "Refresh All" in Excel and it updates everything. It works perfectly! :)
    Well shoot, I even took a screenshot that helped explain everything, but it won't let me post it because my account isn't verified and it won't tell me how. If you have any questions, please let me know and I'll clarify!

  • Lookup column in calculated column formula

    I have a Lookup column(Discountfirst) which has Number.
    I also have another Calculated column(Finaldate) with Resulttype DateTime.
    One more column(DateofReceipt) in Date.
    My Calculated column formula looks like this
    =(DateofReceipt)+(Discountfirst).
    I get an error
    "One or more column references are not allowed, because the columns are defined as a data type that is not supported in formulas".
    I googled and came to know I can't use Lookup Column in Calculated field.
    Any suggestion how can do this ?

    This can't be done using calculated columns because calculated columns can only be used for columns on the same list.
    Using SharePoint Designer Workflows you can just use Create List Item and Update List Item actions so that whenever a user adds a value the item will be added in another list's column which contains the previous amounts already.
    http://stackoverflow.com/questions/16295567/how-to-create-calculated-column-with-data-from-another-list
    https://social.msdn.microsoft.com/forums/sharepoint/en-US/01989169-eac7-4f28-809d-6e5af400fb03/lookup-column-to-calculated-field-showing-string-at-beginning
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • How to make the calculation or formula in bottom of the coloum

    How to make the calculation or formula in bottom of the coloum in Discoverer report.
    Regadrs
    Manikandan

    Hi Ros
    You have a couple of issues, one that is simple to resolve and one that is not so simple.
    First, the simple one - the word TOTAL. To alter the word that Discoverer inserts next to a total, or to even remove the word altogether, use this workflow:
    1. Right-click on the total and from the pop-up menu select Edit Total
    2. At the bottom right-hand corner of the Edit Total dialog box is the area where the label is maintained. You will see a checkbox for the label
    3. If you uncheck the label you can change the label to anything you like, including nothing
    4. After you have set the label, click OK and close the Edit Total dialog box
    Note: In Desktop, this is done via a drop-down from the Total dialog box. If you click the drop-down, the last item in the list is called Generate Label Automatically. If you uncheck this you can create your own label.
    Your second issue concerning the non-totaling of the grand total on some items means that there is something preventing one or more of the totals from calculating. First of all, try to determine which item or items is causing the problem by adding individual totals to each of the desired columns. You will eventually find the column which has the culprit. If you use the above workflow to suppress the display of any labels your total line will look as though you have totaled all items.
    Next, having found the column that will not total, try to figure out why the values will not add up. Could the column be a calculated item? If so, it is possible that you have used SUM on the outside of the calculation, like this:
    SUM(some item - some other item) - this will not total if the original items themselves are in the query and are also being summed. This is because you are mixing aggregate and detail items within the total.
    Try changing the formula like this:
    SUM(some item) - SUM(some other item) and see if this helps.
    If this is not the cause then try changing the formula for that column's total to CELL SUM instead of SUM. This causes Discoverer to literally add the values in the column.
    If this is not the cause, could you possibly be trying to total repeated values? By default, this is disabled in the later versions of Discoverer. The repeated values will be caused if you have multiple joins in your query and the item that you are totaling is from the many end of a one to many relationship. Suppose you had items from a header table and line table in the same worksheet with there being multiple lines for the same header, and now let's say you have a column which is returning something from the header. That value will get repeated and if you try to total it would generate the wrong answer, hence out of the box Discoverer is trying to protect you from yourself.
    However, it could be that the column really should be totaled but because Discoverer has detected a one to many join it will not total that column. To prove that this is the reason, change the join from a one to many to a one to one. Don't worry, this won't stop the query from working. If this allows the total to work then you can either leave the join as it is with a one to one, which won't harm Discoverer or you can edit the pref.txt on the server and change one of the preferences.
    The preference I would change is called AllowAggregationOverRepeatedValues. By default this is disabled and will be set to 0. Changing this to a 1 will now tell Discoverer that repeated values can now be totaled. Don't forget to apply the preferences correctly by execiting applypreferences.bat, on Windows or applypreferences.sh, in Linux or Unix, and then stopping and restarting the Discoverer server.
    I hope this helps
    Best wishes
    Michael Armstrong-Smith
    URL: http://learndiscoverer.com
    Blog: http://learndiscoverer.blogspot.com

  • Calculated KeyFigure Formula

    Hi All,
    I would like to write some code in Calculated KeyFigure Formula,
    I have checked the forums. pls donot include SAP Help URL's.
    Pls explain, if it is possible to write the code...
    Best Regards,
    Pandu.

    Well, not sure if you saw the info here: http://help.sap.com/saphelp_nw04/helpdata/en/23/17f13a2f160f28e10000000a114084/content.htm
    But you can create the IF THEN by using ( ) in the forumla builder:
    Reqt: IF A > B THEN B + C ELSE A
    Formula: (A > B )* (B + C) + (A <= B ) * A
    Each expression in the ( ) is evaluated as True or False and accordingly outputs 1 or 0.
    Hope this helps...

  • WHAT PARTS ARE NEEDED TO SHOW MY MAC 10.8.4 OVER TV-.

    WHAT PARTS ARE NEEDED TO SHOW MY MAC 10.8.4 OVER TV….

    About AirPlay Mirroring in OS X Mountain Lion
    You need:
    An AirPlay-enabled device such as http://store.apple.com/us/ipod/ipod-accessories/apple-tv
    A suitable TV monitor
    A network
    HDMI cable
    A compatible Mac:
    iMac (Mid 2011 or newer)
    Mac mini (Mid 2011 or newer)
    MacBook Air (Mid 2011 or newer)
    MacBook Pro (Early 2011 or newer)
    Or, depending on the model Mac you intend to use: a Thunderbolt or MiniDP or DVI to HDMI adapter for a wired connection to your TV or AVR

  • Does apple care cover key pop out? i have all the parts just need to reassemble back

    i have all the key and the other parts just need to reassemble back

    Applecare covers manufacturer defects, but not physical damage. So, probably not covered. But if the key just fell off you could argue that it was a manufacturer defect. You'll need Apple to look at it to know one way or the other.
    https://www.apple.com/retail/locator/

  • Comic project part 1:Need to pop. an array with 100 images(001.jpg-100.jpg)

    Hi guys. I am trying to break down my project logically. In the first part, I need to populate an array with 100 images, named 001.jpg through 100.jpg. Any takers?

    Well, I dont think its quite as complicated as it might seem. I dont want to build a comic reader that lets you download new titles. I want to build a page flipper that lets me flip back and forth between 100 images. Back button, forward button, website button in middle on the bottom.
    My goal is to post the completed code online for artists to use. I will see my comic start to finish to make sure it works. Then I will do another and finish the documentation (which goes from signing up as a developer, signing up the itunes connect banking information, and finishes with submitting the app). I want to provide artists with an easily customizable framework upon they can drop their comic images appropriately named into the project folder, and compile.
    Its a glorified slideshow, only one that requires a button push to advance. This way artists can be artists, not programmers. I had swiping as the interface (I have a 90% functional app, but there are changes that need to be made. Not a lot, but enough that I have to keep asking questions) until I realized that the comic can be read one handed, so I am moving to buttons! Doh!
    There wont be any updating. Each issue is self contained.
    Another issue with my sample code: it is set up now where I can name the images "image001.jpg" "image002.jpg" etc. This is a little cumbersome. I am hoping the array method will allow for the code to pull the images, and no one will have to trouble shoot 100 image names to find problems. I hope I am not being unclear in my explanation. Thanks for your kind words. My app works as is. But artists will immediately see the shortcomings. If I can fix only one or 2 small issues, it will be good enough for thousands of artists to pick up and use to sell comics. I have the source code for anyone that wants to take a look.

  • To open this calculation leaf you need a newest version of numbers but when I search already is installed

    When I try to open a customer list or leaf a sign appears :
    To open this calculation leaf you need to use a latest version of numbers and it's send it to me to Apple store
    When I go there another sign appears
    It's already install
    What I need to do?
    Thank you very much !!!!

    It sounds to me as though you are attempting to open a Pages 09 document with the Pages 08 application. If you do have Pages 09 on your computer, it may be that for some reason an existing Pages 08 application is invoked accidentally.
    Jerry

  • Withholding tax calculation with formula base problem

    Dear all,
    I maintained some formula depend on client requirement. for example:
    up to 200,000.00  no withholding tax                                                     
    2 lax to500,000.00  <1.00 %> tax                                                   
    5 lax to 1,500,000.00 <2.50%> tax 1.00 % Reduce on 500,000.00 base amount                    
    15 lax to 2,500,000.00 < 3.50 % > tax 2.50 % Reduce on 1,500,000.00 base amount                         
    25 lax to 3,000,000.00 < 4.00 % > tax 3.50 % Reduce on 2,500,000.00 base amount                         
    30 lax to 99,999,999,999.00     <5.00 %> tax 4.00 % Reduce on 3,000,000.00 base amount          
    Like this i maintained slabs in formulas for calculating withholding tax. depend on this formula up to 2 lax their is no tax. after crossing 2 lax up to 5 lax 1% tax
    in this case tax will calculate based on total vendor invoices. But hear it is calculated on present invoice based only. for example i posted 2 invoices with amount 2 lax. it means i reached 1st slab up to 2 lax no Tax. system also calculated like that only. but when i try to post another invoice with amount 3 lax system is calculated 1% tax on 3 lax amount only. but already i posted 2 lax invoice in vendor account. system not considered this amount.
    *but actually in this case i want to calculate 3+2= 5 lax * 1% tax . but hear my system is not consider previous invoices .*
    Please do need full help.....
    Regards,
    Krishna Valeti
    Edited by: chaituvaleti on Sep 9, 2011 8:51 AM
    Edited by: chaituvaleti on Sep 9, 2011 8:54 AM
    Edited by: chaituvaleti on Sep 9, 2011 9:02 AM

    Can you please share the information to us,  it will be a great information to us , thanks in advance.........

  • Bex Query- Use of ABAP code in Calculated Keyfigure/formula

    Dear Experts.
    I am wondering if there is any way to use ABAP in the formula editor of the Bex Query desinger.
    I have to build a report with very complex formulas (a lot of key figures, comporations, If then else ) an I think it would be easier to build all then in ABAP.
    So what I am looking for is any kind of user-exit/Badi that allows to calculate a Calculated Key figure/fomula in ABAP with the same data that is availabe in the fomula editor.
    If SAP is not providing this, this is clearlly a must for next releases.
    Thanks a lot and best regards,
    Alfonso.

    Dear Ananda.
    Thnaks for your reply, but could you please extend your answer a little bit more?
    As far as I know, Formula customer exit variables are only called once and they don´t provide the rest of the keyfigures and characteristic use in the drilldown level, so for my needs they are useless.
    Regarding IF-then-else statement in the formula, I already know about it. Actually what I am trying to avoid is to use them. In order to build my query I might need to build really big formulas with a lot of If-then-else, making it quite complex what the formula is doing. This is the reson I want to do it on ABAP.
    Please any other ideas?
    Thanks a lot.

  • Help with calculated column formula- combine strings and convert to date

    In my list (SharePoint Server 2013) I have:
    'Invoiced Month' column, type of choice (strings with names of months- January, February, March..., December)
    'Year' column, single line of text (e.g. 2012, 2013, 2014)
    1. I need to create a calculated column which will return combined value of the columns above, but in DATE format e.g. 'Sep-2013' or '01-Sep-2013'.
    I then use that newly created calculated column to do this: http://iwillsharemypoint.blogspot.in/2012/03/sharepoint-list-view-of-current-month.html
    I am rubbish with formulas, can I have some help with my problem please?

    Hi,
    Use the formula, I have tested by creating Months column with choice, Year column as numeric and Calculated column as DateTime returned.
    =DATE(Year,IF([Months]="January", 1,IF([Months]="February",2,IF([Months]="March",3,IF([Months]="April",4,IF([Months]="May",5,IF([Months]="June",6,IF([Months]="July",7,IF([Months]="August",8,IF([Months]="September",9,IF([Months]="October",10,IF([Months]="November",11,12))))))))))),1)
    Before applying the formula few things need to be noted.
    DATE(YEAR, MONTH,DAY) will accepts three parameters all should be type numeric(integer).
    Create the Year column of type numeric
    Create the calculated column of type "DateTime" to return as date
    Please mark it answered, if your problem resolved or helpful.

  • Custom Calculation Script Help Needed

    I need to make a script that Sums a column of fields based on whether or not information found in another column of fields is the same or specific text. Please see below screenshot of what I would like it to do.
    I would like a Sum of all Amounts that have the Code A...

    You can use this script as the custom calculation script of "SumOfA":
    var total = 0;
    for (var i=0; i<=2; i++) {
        if (this.getField("p1TC."+i).value=="Code A")
            total+=Number(this.getField("p1RecIn."+i).value);
    event.value = total;
    You can easily adjust it for the other field as well.

Maybe you are looking for

  • Capturing error records and messages in BDC ?

    Hi Experts, I am recording a infotype using BDC recording and I got successfull updation in recording.But I  dont want the output message generated by BDC recording which is obtained by perform bdc_transaction using 'pa30' generated by recording. I w

  • No service for system SAP***, client 001 in Integration Directory

    Hi, We are doing a File to IDOC scenario. The file is picked up and the idoc is getting generated in XI but this idoc is failing at XI outbound with the following SM58 error: No service for system SAPABC, client 001 in Integration Directory where ABC

  • SBO_Post Transaction Notification

    SBO_Post Transaction Notification Hi Experts!, I´d like to get information about this Stored Procedure, can somebody give me any link, papers, etc? Regards, Ronald

  • Reversal of unrestriced stock to quality stock

    hell, any body pls explain me when i am doing revesal stock tranfer from quality to unrestriced stock in MB1B through 322 Movement type its giving error as transfer the material through QM only. actually my client accendently tranfer the rejected mat

  • Saving in Final Cut Pro vs Quicktime

    Hi, When I open a .mov file in Quicktime I can trim to selection and it will save the file very quickly. However when I open the same file in FCP and cut it to the same size and save it, it will take several minutes. Why is that? Thanks, Robert