Calculate: select a specific part of a measure

Hi,
I do not know if it is possible to calculate the measure as I could not find the solution in the manual, I want to calculate the total meda expenses for a specific brand divided by the total media expenses for the product in whole. All brands are member of the brand dimension. I have already a measure thats provides the expences per brand,  but can I select a specific output or the total result from my spec brand measure? Or how can I solve it in any other way.  Ps Iu2019m creating the measures using Pilot Administrator (2007 version).
Best regards,
Davy

Dear Davy ,
As per my understanding , you want a measure which divides the media expenses for a brand by the total media expenses for the whole product.
This can be done by using the CALCULATE statement. You can copy the value of the TOTAL media expenses into a variable "X".
Now, you can recalculate the media expenses for each brand by using the CALCULATE command :
CALCULATE mediaexpenses = mediaexpenses / X FULL
This would calculate the media expenses at all the levels .
Hope this helps,
Vijay

Similar Messages

  • Anyway to loop specific parts of the timeline?

    Hey, is there anyway to loop SPECIFIC parts of the time line, the way you can in Motion, Logic and some other audio programs.  That would really be nice as you can make changes while you watch in REALTIME.
    Thanks

    I tried both.  First i simply used "A" Seclect tool to highlight the part of the timeline that I want to loop. That didn't work. The cursor just continued after the highlighted part. Then I sued "R" range slection tool and selected part of the clip/s in the timeline and again, the cursor just continued after the end of the selection.
    In logic and other programs, you can create a section on top of the timeline where you want the loop to be and it will loop from those points.
    Any other ideas of what to do?  Thanks again

  • Creating gray image while remaining  color in specific part

    Hi guys
    Well, as you might suggest from the title, i would like to convert a photo to gray scale but at the same time to remain a color in a specific part of it, let's say a flower. How can i do this?
    Thanks!!!

    You must make a selection around the item tat is to remain coloured. Look up selections in Help. It is impossible to say which method is best without seeing the picture. You could always post it on Pixentral.com and copy the code into your reply here.

  • Activating batch-specific material unit of measure

    Hi all,
    my client has a SAP ECC 5.0 system with over 30 plants, which are currently using batch management. For a new plant we have the need to work with the batch-specific material unit of measure to have KG as base UOM and to calculate the quantity of bags regarding the batch specific conversion factor.
    Does anybody now which impact will follow on the current batch management and stock in the other plants after activating the batch-specific material unit of measure in the Customizing?
    Thanks in advance,
    Robert

    Hey all,
    I found something in standard SAP... You can use a dependency on the level of the batch class and in there it is possible to write some calculation code.
    Thanks for the input,
    Philippe

  • Webpage view (a specific part of the webpage)

    Hi There
    I need to put a webpage view in my folio but rather to put the whole page, how can I do the select precisely the part that I want to have in my indesign page; Is it possible ??
    It is to have a specific part of a Twitter last comments part.
    Thanks

    Hi Minia
    Can you tell us some more details of the rest of the process? how do you implement the html file on the up right side of the page for example?
    I tried to put the html file as A web content, all I get in the preview is a frame with the html code inside (look at the link below), I can't see the twit page. TIA
    http://d.pr/7a1w

  • How to select a specific cell in a JTable?

    Hi there,
    in a JTable, I would like to select a specific cell (to highlight it) from a JButton.
    Here a sample code...
    Who could help me to fill it?
    import java.util.*;
    import javax.swing.*;
    import javax.swing.table.*;
    import java.awt.*;
    import java.awt.event.*;
    public class TableSelection{
        public static void main (String args[]) {
          JFrame frame = new MyFrame();
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          frame.show();
    class MyFrame extends JFrame{
      public MyFrame(){
        setTitle("TableSelection");
        setSize(WIDTH,HEIGHT);
        DefaultTableModel myModel = new DefaultTableModel(2,2);
        JTable myTable = new JTable(myModel);
        myTable.setCellSelectionEnabled(true);
        JButton button00 = new JButton("select 0,0");
        button00.addActionListener(new ActionListener(){
          public void actionPerformed(ActionEvent event){
         System.out.println("selection of cell (0,0)");
         //--- what code is required to select the cell(0,0)?
        JButton button11 = new JButton("select 1,1");
        button11.addActionListener(new ActionListener(){
          public void actionPerformed(ActionEvent event){
         System.out.println("selection of cell (1,1)");
         //--- what code is required to select the cell(1,1)?
        Box myBox = new Box(BoxLayout.Y_AXIS);
        myBox.add(new JScrollPane(myTable));
        myBox.add(button00);
        myBox.add(button11);
        getContentPane().add(myBox, BorderLayout.CENTER);
      private static final int WIDTH=200;
      private static final int HEIGHT=200;
    }Thanks a lot for your help.
    Denis

    Use the addColumnSelectionInterval(int index1, int index2)method ~ http://java.sun.com/j2se/1.4/docs/api/javax/swing/JTable.html#addColumnSelectionInterval(int,%20int)
    and the addRowSelectionInterval(int index1, int index2) method ~ http://java.sun.com/j2se/1.4/docs/api/javax/swing/JTable.html#addRowSelectionInterval(int,%20int)
    Hope that helped.
    afotoglidis

  • How to select a specific column in a bean method?

    Hey everyone,
    I'm trying to select a specific column in my adf table so i can hightlight the ones i can after, with a method bean that does a match from another table. I'm using JDeveloper 12.1.2.0.0.
    Here's my table at the moment (its a static list that Timo and Alejandro helped me create, thanks to them again!):
    <af:table value="#{bindings.Anos1.collectionModel}" var="row"
                                                              rows="#{bindings.Anos1.rangeSize}"
                                                              emptyText="#{bindings.Anos1.viewable ? 'No data to display.' : 'Access Denied.'}"
                                                              rowBandingInterval="0" fetchSize="#{bindings.Anos1.rangeSize}"
                                                              filterModel="#{bindings.Anos1Query.queryDescriptor}"
                                                              queryListener="#{bindings.Anos1Query.processQuery}"
                                                              filterVisible="false" varStatus="vs" id="t5"
                                                              styleClass="AFStretchWidth" columnSelection="multiple"
                                                              inlineStyle="max-width:100%;" columnStretching="multiple"
                                                              columnSelectionListener="#{ControlBean.onAnoColumnSelect}"
                                                              disableColumnReordering="true"
                                                              binding="#{ControlBean.dimAnos}">
                                                        <af:column sortProperty="#{bindings.Anos1.hints.A2011.name}"
                                                                   filterable="true" sortable="false"
                                                                   headerText="2011"
                                                                   id="c54" width="16%">
                                                            <af:outputText value="#{row.A2011}"
                                                                           shortDesc="#{bindings.Anos1.hints.A2011.tooltip}"
                                                                           id="ot54">
                                                                <af:convertNumber groupingUsed="false"
                                                                                  pattern="#{bindings.Anos1.hints.A2011.format}"/>
                                                            </af:outputText>
                                                        </af:column>
                                                        <af:column sortProperty="#{bindings.Anos1.hints.A2012.name}"
                                                                   filterable="true" sortable="false"
                                                                   headerText="2012"
                                                                   id="c55" width="16%">
                                                            <af:outputText value="#{row.A2012}"
                                                                           shortDesc="#{bindings.Anos1.hints.A2012.tooltip}"
                                                                           id="ot55">
                                                                <af:convertNumber groupingUsed="false"
                                                                                  pattern="#{bindings.Anos1.hints.A2012.format}"/>
                                                            </af:outputText>
                                                        </af:column>
                                                        <af:column sortProperty="#{bindings.Anos1.hints.A2013.name}"
                                                                   filterable="true" sortable="false"
                                                                   headerText="2013"
                                                                   id="c56" width="16%">
                                                            <af:outputText value="#{row.A2013}"
                                                                           shortDesc="#{bindings.Anos1.hints.A2013.tooltip}"
                                                                           id="ot56">
                                                                <af:convertNumber groupingUsed="false"
                                                                                  pattern="#{bindings.Anos1.hints.A2013.format}"/>
                                                            </af:outputText>
                                                        </af:column>
                                                    </af:table>
    I've deleted some of the columns because they are all equal and by doing so, you have less problems in reading it.
    In my method i have a matchEm but i'm trying to select a column by using this line:
            dimAnos.setColumnSelection("A2012");
    dimAnos is the binding for my table Anos (Years in Portuguese). I even tried another values fro the columnSelection but i couldn't make it selected. Am i doing anything wrong?
    Please help me or give me an idea of how can i do this.
    Regards,
    Frederico.

    Hi Frederico,
    The method setColumnSelection is meant to set whether your table supports column selection or not. It doesn't select the column. In order to select the column, you need to set the column attribute Selected to true. So I don't know if its an option for you but you can create a binding to all the columns you have in you bean, and then call the method A2012.setSelected(true), and then add a partial target to the table to re render it and show the selected column.
    Hope this helps

  • Can you select a specific item from a listbox via scripting?

    This seems like it should be easy, but I've spent quite a few hours trying to figure this out, to no avail.  I'm trying to create a button that would automatically select a specific item on a listbox.  I though "selectedIndex" would do the trick, but this seems to only work if the user actually selects a specific item on a listbox.  I'm looking for the opposite effect, where a person will push a button where a specific item on the listbox gets selected.
    Any help would be much appreciated...thanks!

    You can use the setItemState method for this purpose.
    To select the third item use:
    ListBox.setItemState(2, 1);

  • How to: Select a Specific Timeline Displayed in Project Online when having multiple timelines within the Enterprise Project

    Currently I have an Enterprise Project which has 6 custom timelines and I want to know how to select a specific timeline to be displayed on the Project specific SharePoint site.
    I'll provide some background for you so you understand my issues... I have created a "template" project with 6 custom timelines. From that project I created multiple new projects - which they all have the 6 custom timelines. These projects are
    all stored in the Project Center. The problem I am having is I don't understand how to select a specific timeline to show on the project specific SharePoint site. They all seem to be displaying 1 of the 6 timelines (in no particular order). I was thinking
    maybe if I had edited a project and saved it while it was displaying a specific timeline it would display the last selected timeline on the SharePoint site, but it doesn't seem to be doing that.
    Is there a way to select a specific timeline to display on the SharePoint site?  Also, is there a way for a user to cycle through the numerous timeline view on the project specific SharePoint site?
    I await your help!! :)

    Michelle_Sm --
    I ran into this problem at the company where I used to work.  One of our PMs had created multiple Timeline views, and wanted a specific custom Timeline view to show up in the Project Site for that project.  I could not see any way to make that
    happen.  We had one of our SharePoint developers look into the issue, and he could not see any way to make this happen either.  So, I am thinking this is not possible to do.  But I would gladly welcome others in this forum to tell us the trick,
    if there is one!  :)  Hope this helps.
    Dale A. Howard [MVP]

  • HP7680 inkjet printer prints narrow blank (white) lines in multiple specific parts of page

    My HP7680 inkjet printer prints narrow blank (white) lines in multiple specific parts of each printed page. It appears to happen in the same parts of each page printed.
    - I installed new ink cartridges
    - I verified that the paper I’m using is the standard inkjet paper that I always use
    - In the tools section of the printer setup menu, I ran the “Clean Printhead”, “Align Printer”, and “Calibrate Linefeed” options
    - In reading the printer’s manual, it seems to imply that the printheads could be the problem.
    - So, I manually cleaned the printhead contacts
    - When I print the self-test diagnostics page, it shows printhead health to be “Good” for both. One of them was installed in January of 2009, and the other was installed March of 2008.
    - With a Q-tip, I even cleaned the clear plastic band that runs parallel to the carriage rod. (It was pretty dirty.)
    Here's a scan of the printed output.
    Thanks for your help!

    After a 2hr phone call with tech support, here is the solution; the L7600 Series printer have a firmware update (file name: OfficejetProK7600_R2011PxN.exe) my printer was bought in 2008 thus my print head is a 2008 model, and new print heads are a 2011 modem, they don’t work right in a 2008 model this is PER the tech rep and his name was John unless you upgrade the firmware.
    So I upgraded the firmware from a 2004NxN to the 2011PxN and now my printer says damaged or missing print head, I place the original print head from 2008 back in the machine and it’s fine, so I bought a 3rd print head for 2011 and it says the print head is damaged.
    After another 30min or so I was told I have a bad printer and sorry the warranty is out, but the old print head works but any new print heads do not, this sounds like a HP Error firmware / hardware compatibility issue, not my issue, but HP will not repair.
    HP has no fix nor will they repair the printer.

  • Specific part number of decription/name of adapter required to use my iPad Air to my PNY High Performance 64GB High Speed microSDXC Class 10 UHS-1 up to 40MB/sec Flash Memory Card -P-SDUX64U1-GE-A

    Specific part number or decription/name of adapter required to use my iPad Air to a PNY High Performance 64GB High Speed microSDXC Class 10 UHS-1 up to 40MB/sec Flash Memory Card -P-SDUX64U1-GE-A

    I think you need this.

  • Auto populate Infopath 2013 fields after selecting a specific dropdown option.

    Auto populate Infopath 2013 fields after selecting a specific dropdown option.
    Hi.
    I have a Sharepoint 2013 list with three fields. Code, Section and Sub Section.
    I would like to be able to have the form autopopulate the Section and Sub Section fields when a value for code is entered.
    How would I go about this please?
    Thanks
    Jon

    Hi JonMorgan,
    Based on your description, my understanding is that you want to achieve that the second dropdown gets populated depending on what the first dropdown is set to.
    To achieve your requirement, creating cascading dropdown fields with InfoPath.
    Please refer to the following links about cascade drop down in InfoPath form:
    http://msreddysharepoint.blogspot.in/2012/12/infopath-2013-web-browser-creating.html
    http://www.pointbeyond.com/2011/11/20/cascading-dropdowns-in-infopath-2010/
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Lisa Chen
    TechNet Community Support

  • How to select a specific XML node with XPath

    Hi,
    I'm trying to a select a specific node from my XML data using the XPath Builder.  For example, say I have a process variable 'xmlData' with the
    following contents:
        User 1
        101
        User 2
        102
    I can successfully use the following expression to retrieve the name of
    a specific user:
    (/process_data/xmlData/users/user[userid='102'])/name
    The problem is I need to use another process variable for the selection
    key.  For Example:
    (/process_data/xmlData/users/user[userid=/process_data/@userId])/name
    But this always returns null.  I've tried surrounding /process_data/@userId
    with single quotes, double quotes, and event {$..$}. 
    Any help would be greatly appreciated.
    Thanks.

    Hi,
    Thanks for the quick replies.  I gave a bit of a bad example, as the
    userid in my data is really a string, not a number.
    A better example is:
        User 1
        user1
        User 2
        user2
    I can get the following to work perfectly:
    (/process_data/xmlData/users/user[userid='user2'])/name
    but I can't get it to work with
    /process_data/@userId = "user2"
    (/process_data/xmlData/users/user[userid=/process_data/@userId])/name
    Thanks.

  • Transaction SE16: Field selection (User-Specific Settings) is NOT working for ALL tables

    Hi Guru’s,
    I have an issue in Transaction SE16, Field selection (User-Specific Settings) is NOT working in Tables (ALL tables).
    Following is the screenshot attached for your kind reference,
    That is in the initial screen of transaction SE16 if I choose Filed Name or Filed Label only the technical details (Field Names) are appearing and not the descriptions like Client, Purchasing Doc, and Company Code Doc. Category Document Type etc…
    Right now I am using ECC6 and EHP7 SAP system.
    Please help me to resolve this issue by implementing any OSS note or User Role creations or any technical changes required in system.
    Hope the requirement is clear and in case need any clarification please revert back.
    NOTE: Right now in Development System we don’t have any successful user to compare the settings.
    Regards,
    Kumar.S

    Thanks Patra.
    Even I searched in SAP portal and couldn't able to find the relevant OSS note.
    Following is my BASIS team response,
    "Only you can view Table Field values from higher release"
    Can you suggest / guide on this comment as well.
    Looking forward to your speedy response.
    Regards,
    Kumar.S

  • Play a specific part of a timeline

    I found this topic which is really close:
    Play a specific part of a timeline
    I have 4 objects sitting in a circle. Similar to a compass. When I click on one of the objects, it should move in a circular path to the topmost position (north). It can go clockwise or counter-clockwise (whichever is closer) in order to get to the north position.
    I was using labels and can use play("symbol_name") to start at the right time. but if I follow that command with stop(X) where X is a point on the timeline, it immediately jumps to that point instead of traveling the timeline to get there. It basically ignores the circular animation and jumps to the final destination.
    I can't put stop() on the timeline as a trigger because an object may need to pass over it. For example, I want to move object 1 from point A to D (skipping B and C). If I had stop() triggers at B and C, I could never get the animation to play from A-D.
    BTW the objects are grouped together as a symbol and so when I click one of the objects, I am actually rotating the parent and then rotating its children the same amount in the opposite direction.
    Any suggestions? Thanks.

    Thanks Vivekuma,
    I have uploaded the project here:
    edge3.zip - Google Drive
    Only the clock, people and the monitor icons have click behaviors now. As a reminder,  the goal is that when I click on an icon, I want it to rotate to the north position (choosing clockwise or counter-clockwise depending on which is the shortest route).
    It's working on the first click with the monitor icon (by first click I mean after a screen refresh). But on first click with the clock where I am using playReverse, it plays to the next trigger and then and then does a play (not reverse). I think that is because it gets to the trigger and then I am issuing a play command instead of continuing the existing playReverse command. So instead of a play command at each trigger, I guess what I need is a "continue" action that just allows it to keep going. Is there such a thing?
    Also, notice this: refresh, click the monitor and then click the monitor again. The first click should take it to the north position. Clicking again should just stay there but instead it goes to the home position.
    Lastly, is there a way to render a type string on the page that just shows the current position (time and label)? Thanks,
    Mat

Maybe you are looking for

  • MobileMe Gallery URL Not working

    All of my MobileMe Gallery URL's in iPhoto do not work and contain '(null)' as in: http://gallery.me.com(null)/username/100016 If I remove '(null)' it works fine. Anyone else have this problem? Thanks!

  • PS cc Output module  not loading

    i have downloaded it twice and still isn't working can anyone advise?

  • What is the best way to install Lion?

    i already downloaded Lion but need to know that what is the best way to install lion?

  • I can't find the tunes that came from my PC

    Hello All, In the PC ITUNES application I can see the dozens of songs I have on the PC and ITUNES shows them all. I can play them all on the PC. But when it comes to the IPHONE I cannot find them. The ITUNES APP just wants to sell me their songs. I w

  • Openzone and fon

    I was getting openzone and fon perfectly whenever I logged on about a month ago. A few weeks ago I changed to BT infinitywhich came with a new hub.       When I tried openzone and fon recently, I noticed what I think was an exclamation mark (black li