Comparing transaction summary against target revenue values

Hi,
We have a powerpivot model that contains transactions and revenue amounts by year, quarter and product. Each product has a defined revenue target for each year and quarter, which are contained in a lookup table.
We've created a pivot table that does a simple summary of total revenue of transactions, summarized by product, year and quarter. We want to also display a column that shows the target revenue for each product, by quarter and by year, which is available
in our other table.
We've been able to successfully "lookup" the target revenue values however, we are unable to get the information to aggregate successfully for each quarter/year and product due to the fact that it is pulling the target value for each transaction.
Below is a mockup of a pivot table that we would like to see. We have been able to get the summary by quarter/product for each transaction really easy. What has proven to be challenging is getting the target revenue information to display. The closest result
we have been able to achieve is by doing a lookup on the revenue target data and displaying the "max" value, which will correctly show the max by quarter. However, the subtotal and total amounts for the targets are using the max value, and thus not
providing a sum of revenue targets for the product by year or by quarter. Thanks in advance for any help

Nevermind, I was able to find an answer here:
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/7d06ff1b-04fd-496e-9286-4babd0c9beb9/lookup-from-aggregation?forum=sqlkjpowerpivotforexcel
This solved my problem.

Similar Messages

  • Assigning a Constant Value for Target Revenue

    Hello all,
    I have a scenario where I need to assign a Constant value, say 10000, for my Target revenue Key Figure at the Info Cube level. This value should always be 10000. Please advice.
    Your valuable suggestions will be greatly appreciated. I will be assigning points as a way of expressing thanks.
    Best Regards,
    Deepthi.

    HI Deepti,
    Today I faced same issue and I read your thread.
    I saw the responses given by others and I feel its a shallow solution hardcoding the key figure to a constant value..because key figure is meant to change.
    I solved it by altering the Aggregation level in an key figure infoobject.
    The Aggregation must read MIN..Exception aggregation may be SUM..
    and the characteristic on which aggregation must the infoobject that determines the unique value of the Infoobject..eg GJAHR/MONAT from R/3.
    This will give the result as (where Target is the non-aggregated Key figure)
    Plant   Year    Target            Document No   Production value
    110      2004    1000000           1                        10
    110      2005    2000000           20                       20
    110      2004    1000000           2                         15.
    200      2005     40000             100                      50
    110       2005    2000000          21                       23
    The target value here depends only on Plant and Year..and stays constant for the unique combination of the 2.
    U dont need to change the BEx status of any key figure..
    I know the forum post I am putting is of no use..but someday someone who needs an answer urgently please do read this.

  • [svn] 1751: Bug: BLZ-174 - MessageClient.testMessage() is incorrectly doing a string compare for the subtopic header of an inbound message against the subtopic value (which may contain wildcards) that the Consumer is using.

    Revision: 1751
    Author: [email protected]
    Date: 2008-05-15 14:21:43 -0700 (Thu, 15 May 2008)
    Log Message:
    Bug: BLZ-174 - MessageClient.testMessage() is incorrectly doing a string compare for the subtopic header of an inbound message against the subtopic value (which may contain wildcards) that the Consumer is using.
    QA: No - customer verified the fix.
    Doc: No
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-174
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/MessageClient.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/services/MessageService.java

    If you create a metadatatype with a single metdata block, and you reference that in your vm/cm cell attribute using a *one* based index, Excel seems to see the link and it honors it when saving the spreadsheet.
    So, I ended up with something like:
    <c ... cm="1"/> (I'm dealing with cell metadata, but the concept is equivalente to value metadata)
    <metadataTypes count="1">
      <metadataType name="MyMetaType" .../>
    </metadataTypes>
    <futureMetadata count="1" name="MyMetaType">
      <bk>
        <extLst><ext
    uri="http://example" xmlns:x="http://example"><x:val>87</x:val></ext></extLst>
      </bk>
    </futureMetadata>
    <cellMetadata count="1">
      <bk><rc
    t="1" v="0"/></bk> <!-- this is what gets referenced as cm=1 on the cell -->
    </cellMetadata>
    Hope this helps. 

  • Advanced comparison of form values in a transaction. Use "Compare Transaction Fields"?

    I have a form for textbook requests which has, among other fields, these:
    Campus Enrollment
    Current number of textbooks on campus
    Number requested in this instance
    I want to disallow form submissions where the {currentnumber}+{requestednumber}>{campusenrollment}
    In other words, if I say I have 500 students, and claim that I have 50 books already, then my max current request is 450.
    I have been experimenting with the "Compare Transaction Fields", but am not sure what I am doing.
    Any suggestions?

    Hi,
    I´m not certain if the "Compare Transaction Fields" behaviour allows such advanced calculations at all, but if it does, your formula -- at least according to my basic understanding of math :-) -- certainly needs to first add "currentnumber" to "requestednumber" and make this a "group", and then compare the grouped value to "campusenrollment" :
    ({currentnumber} + {requestednumber}) > {campusenrollment}
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • How can I compare two summary field in cross-tab?

    <p>Dear expert:</p><p>I have one question for how can I compare two summary field in cross-tab?  I have following cross-table:</p><p>Type          Sector1     Sector2    Sector3       Total </p><p>Outlook         10            11           9              30         </p><p>Target            5              3           1               9</p><p>I want to compare the summary field(total) relationship percent, I want to get "9/30". Someone told me I must create the DB view or table via SQL, then can implete in Crystal Report. Can I implete it in Crystal Report via fomula or other function?</p><p>Thanks so much for your warm-hearted help!</p><p>Steven</p>

    Hello Steven, yes you can compare summary fields, If you are comparing Summary to Target, or vice versa - you can do it within Crystal Reports.
    1. In Suppress conditional formula, create 2 Global variables: CurrentOutlook and CurrentTarger and get the current value.
    2. In Display String formula for Total show ToText(CurrentTarget/CurrentOUtlook) + "%".
    For more difficult cases of compariing fields in cross--tab, you may look into http://www.relasoft.net/KB10001.html.
    Best,
    Alexander

  • Credit Note to be adjusted against sales order value

    Hi Experts,
    The scenario is as follows:
    a. Customer is having credit note(balance) in SAP CRM
    b. In subsequent order the credit note value to be adjusted against the order value
    c. Customer is advance payment only
    d. The sales order value to be calculated after deducting the credit note for order for payment

    Hi Mukesh,
    I think you want to adjust the value of the sales order based on the credit note issued to the customer or advance payment. The credit note will result in a AR posting and hence should not be used for adjusting the sale order value. That adjustment will happen in AR anyway.
    The advance payment can be stored in a condition of the sales order and can be used for adjusting the sales order value basically to reduce the AR. You will have to manipulations in pricing to get the right AR, Revenue and Advance payment postings.
    Let me know if you want more details as I am not 100% clear about your issue.
    Thanks
    Ashish

  • Transaction Type field not getting value in F-05 transaction

    Hi All,
    When ever we are doing a reverse posting for foreign currency valuation using F.05 Tcode it will create a BDC session where we can execute this batch Input session thru SM37.
    This will use F-05 Tcode to post the the entries, but the problem is one of  the field Transaction Type is not getting value for some of the GL account numbers range. This is totally SAP standard program take cares of it. Transaction type field value shuld be populated by '990' value for this GL account range, this is fixed. So is thr any User exit or Screen exit for this Tcode or how we can populate the value....
    Help me...
    Chandar
    Edited by: Bala Chandar on Feb 12, 2009 1:25 PM
    Edited by: Bala Chandar on Feb 12, 2009 1:28 PM
    Edited by: Bala Chandar on Feb 12, 2009 1:33 PM

    Hi Mr/Mrs Bala Chander,
    I am having the same problem.
    When running F.05 a BIM is created for GL account X. GL account X has a field status in which transaction type is defined as a required field because of BCS / ECCS. We have a substitution rule in place which should default the transaction type, based on several criteria. But when executing the BIM, I see that nothing is filled in field transaction type. Did you find a proper solution for your problem? Changing the field status is not an option in my opinion.
    Regards,
    Joep

  • Revenue values are not flowing into COPA

    Dear Experts,
             We are processing the MTS normal scenario. Here the revenue values are not flowing into COPA when FG sale. But when we process the Raw material Sale values are flowing to COPA smoothly. Here the SD condition Type, Revenue Account and COPA value Field same for RM and FG.
    May I know the exact reasonu2026.
    Please suggest me in right wayu2026.
    Regards,
    Balaji Bhonsle.

    Hi Balaji bhau
    I guess the issue might be with your Item Category in SD.. Is it set relevant for billing??
    See if the Billing Type has been entered in KE4W and the VF reset for it
    Check in VFX3 if the invoice is lying there for any error.... Try to release the Billing to accounting and you may get the error message
    br, Ajay M

  • Target Quantity / value for Rebate agreement

    Hi
    When we create a Rebate agreement like in the Customer specific agreement, we consider sales value as the basis. Where do i record the target sales value in the Rebate agreement? I want to record a rebate discount of 3% if customer achieves the target of sales value as Rs 20,00,000 over a period of time. How do i do this?
    Thanks in advance for answers
    Regards
    Narasimha

    Hi Narasimha,
    You should use the condition scales in the condition record.
    When you are creating the condition record for the rebate in VBO1, select the scales from the Goto menu and enter the From scale value as 20,00,000 and give the rebate rate as 3%.
    This should help you.
    Regards,
    Please reward points if useful

  • [svn] 1307: modules: added support for automatically adding " use namespace X", depending on the -target-player value

    Revision: 1307
    Author: [email protected]
    Date: 2008-04-18 16:28:33 -0700 (Fri, 18 Apr 2008)
    Log Message:
    modules: added support for automatically adding "use namespace X", depending on the -target-player value
    * similar to how we add "use namespace AS3"
    * symmetric with ASC's -use feature, however we don't have equivalent commandline support yet
    Bugs: n/a
    QA: Nothing in particular, except for testing the new functionality of -target-player (email me about this)
    Doc: Maybe: If we doc about "use namespace AS3" being added to all Flex compiles, we may want to talk about this.
    Reviewers: Pete and Erik
    Modified Paths:
    flex/sdk/trunk/frameworks/flex-config.xml
    flex/sdk/trunk/lib/asc.jar
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/BatchCompiler.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/Compiler.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/ScriptCompiler.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/Parser.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/Context.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/ContextStatics.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/SymbolTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/MetaDataParser.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/Configuration.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/DefaultsConfigurator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/AtEmbed.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tools/SwfxPrinter.java

    Thanks for your attention.
    In the above logs, higher resolutions seems to be detected on both screens, hence my surprise :
    [ 391.631] (II) intel(0): Printing probed modes for output LVDS1
    [ 391.631] (II) intel(0): Modeline "1600x900"x60.0 110.00 1600 1664 1706 2010 900 903 906 912 -hsync -vsync (54.7 kHz eP)
    [ 391.897] (II) intel(0): Printing probed modes for output HDMI1
    [ 391.897] (II) intel(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz eP)
    If it can help here is also my current xrandr output (after having called it manually to use the preferred resolution of each screen)
    itanguy ~ $ xrandr
    Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 8192 x 8192
    LVDS1 connected 1600x900+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
    1600x900 60.0*+ 40.0
    1024x768 60.0
    800x600 60.3 56.2
    640x480 59.9
    VGA1 disconnected (normal left inverted right x axis y axis)
    HDMI1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 434mm x 270mm
    1680x1050 59.9*+
    1280x1024 75.0 60.0
    1152x864 75.0
    1024x768 75.1 60.0
    800x600 75.0 60.3
    640x480 75.0 60.0
    720x400 70.1
    DP1 disconnected (normal left inverted right x axis y axis)
    HDMI2 disconnected (normal left inverted right x axis y axis)
    HDMI3 disconnected (normal left inverted right x axis y axis)
    DP2 disconnected (normal left inverted right x axis y axis)
    DP3 disconnected (normal left inverted right x axis y axis)
    If needed, I may reboot and provide xrandr output after boot (it will be 1024x768), or could other logs help you ? Please ask...

  • Formule used in the transaction MP30 for calcolate the value ROP.

    Dear gurus,
    in the transaction MP30 we insert the value in the field "Corrected value" and  the system calcolate a value of the parameter Reorder Point . What formule use for calcolated this value? How this value is calcolated.?
    Thansk a lot
    Daniele Pistilli
    PP TEAM

    Hi,
    Check the OSS Note 415950 - Calculation of the safety stock in the forecast.
    The caliculation is explained in details.
    And also the below link:
    [Calculating the Safety Stock and the Reorder Level|http://help.sap.com/saphelp_erp60_sp/helpdata/en/7d/c27408454011d182b40000e829fbfe/content.htm]
    [Reorder Level Calculation|http://help.sap.com/saphelp_erp60_sp/helpdata/en/7d/c27a3b454011d182b40000e829fbfe/content.htm]
    Hope this helps.
    Regards,
    Siva

  • Storing transaction data in target group

    Hi all,
    I understand that a target group is basically a collection of business partners however I have a requirement to also store some attributes of a transaction within the target group in order to drive outbound communication.
    Does anybody know if this is possible and if yes how is this done? I know that there is a target group in which objects (iobjects) are stored together with the business partner but can we define our own target group table(s) so that we can store our own details besides just the business partner?
    Thanks,
    John

    Hi John,
    sorry, but it is not possible to store additional data when selecting a Target Group for performance reasons. Maybe you could retrieve the information when executing the campaign?
    Hope that helps
    --klaus

  • Target finish value and Actual confirmed value for the header material

    Hi guys,
    For a given production order, I need to get the below mentioned two values for the header material of the production order:
    1. Planned or Target finish value
    2. Actual confirmed value
    will this value be calculated like: 
    Target finish quantity x standard price of the material (maintained in MBEW-STPRS)  = Target Finish Value
    Actual confirmed quantity x standard price of the material (maintained in MBEW-STPRS)  = Actual confirmed Value
    OR
    I can get these required value directly in DB table.
    Please guide here.
    Thanks & regards,
    Ravish
    Edited by: Ravish Kumar Ojha on Oct 28, 2009 5:41 AM
    Edited by: Ravish Kumar Ojha on Oct 28, 2009 5:41 AM

    CO03- go to Costs-- Analysis should give you these details.
    if you are not OK with the columns appearing, you can change by selecting the change Layout and selecting the required options.
    Regards
    Ratan

  • Error message in sales order against target value contract

    Hi experts
    I have value contracts scenario, when I create a Release Orders thatu2019s exceeds the value of the contract the system raise a message error, but in this case the decimal expression in wrong.
    The decimal expression of the country is 1.234.567,89
    The decimal expression of my user is 1.234.567,89
    Example:
    The contract value is 10.000
    I create a release order for 15.000
    The message error is "Target value in contract &1, item &2 is exceeded by 50.00", the correct messages should be: "Target value in contract &1, item &2 is exceeded by 5.000,00"
    I release two errors, the decimal expression according to my user and country doesn't match or the validation is doing some conversion.
    Do you have any idea was wrong??
    Thanks in advanced any input is really appreciated
    Susana

    Hi Susan.
    Just select the error message in the log  and click technical info . In the performance assistant it will show like :
    Technical Data
    Message type__________ E (Error)
    Message class_________ ZCRM_CSI_UI (Messages for UI of Leasing)
    Message number________ 022
    Message variable 1____ 
    Message variable 2____ RK78
    Message variable 3____ 0000001000
    Message variable 4____ 185124 020(Task:0000003105)
    Message Attributes
    Level of detail_______ 
    Problem class_________ 1 (very important)
    Sort criterion________ 
    Number________________ 1
    Environment Information
    Object Type___________ 15
    Logical Key___________ 
    Object GUID___________ DE3B1C475098F9F187E4002264F648B2
    Object Type___________ A
    Message class_________ 
    Save message__________ X
    Message no longer erro
    This will give you details of what  internal values are getting used for calculation . If you can give the error message class and error message number probably i can help u out.
    Regards
    Apoorva

  • Compare finish date with target date

    Would like to keep track of late Projects by comparing the finish date with the target date but are unable to do so. The idea is just to filter and count the summary tasks which have a later Finish date than the target date and present that as a the number
    of late Projects. However it does not work, when trying to setup the filter Project tells that the target value can not be used for comparasion against the finish date.
    Does anyone have a workaround or maybe a better solution to keep track of late Projects. Please note that we are talking about Projects that risk to be late compared to a date promised to a customer. When we plan we always add some extra time at the
    end to have some extra when the Project is delayed at a certain department, however we want to keep track of how many late Projects we have and how late they are. Are not after seeing the status for each departments, only how we are doing in relation to what
    we have promised our customers.
    Kind regards //Anders

    Anders,
    Trevor and Dale have tried to steer you towards the normal tracking fields and methods already available in Project, but let me take a more direct approach to your exact question. First of all, you didn't tell us what field you are using as the "target date".
    I'll assume it is the Date1 field manually entered for each summary line.
    You could probably produce something close to the report you want with custom field formulas, filters and some manual counting but let me offer a more automated approach. The following macro will examine each summary task in your project and determine if
    the finish date is before or on the target date (Date1), or if it is after the target date. If it is after the target date, that will count as one late project/order and add it to a running count of late orders. The difference in days will also be tracked
    and added to a running total of delay. At the end, a message will appear in the exact format you describe.
    Sub LateReport()
    Dim t As Task
    Dim LateCount As Integer
    Dim LateDays As Integer
    Dim TotDelay As Integer
    For Each t In ActiveProject.Tasks
        If Not t Is Nothing Then
            If t.Summary = True Then
                If DateValue(t.Finish) > DateValue(t.Date1) Then
                    LateCount = LateCount + 1
                    LateDays = DateValue(t.Finish) - DateValue(t.Date1)
                    TotDelay = TotDelay + LateDays
                End If
            End If
        End If
    Next t
    MsgBox "Number of late orders: " & LateCount & " (" & TotDelay & " days of total delay)"
    End Sub
    Note, in my view, and I'm sure in Trevor and Dale's also, the Finish field of the summary line does not indicate completion, it simply indicates the scheduled finish date of the last task in the subtasks under that summary. I think you should use the Actual
    Finish date as the comparison value since it indicates when the project/order is complete. If you do decide, actual finish is a better choice, then substitute t.ActualFinish for t.Finish in the above macro.
    My input.
    John

Maybe you are looking for