Calculating Average then using it in another calculation.

Hi,
I would be grateful if someone could point me in the right direction - as I'm clearly being daft!
I have a report that summaries the  SalesValue measure (which is an aggregate function in the universe)
Week 1          £1000
Week 2          £1500
Week 3          £900
I have created a variable TOTAL SALES (sum(salesvalue)) which successfully displays £3400.
I have created a variable for average (Total Sales /3) which displays £1133.33.
What is the best way to  create a variable for each week to show the difference between the average (£1133) and the sales for the week i.e Week 1 = +133, week 2=+367, week 3 =-233.
Whenever I create this variable (SalesValue-Average) and put it next to week it doesn't calculate based in the total sales (£3400)
I'm sorry if this is one of those easy simple things but I am new to WEBI and I'm struggling.
Many thanks in advance.
Jude

Hi Jude,
Prashant gave a good suggestion, you need to use calculation contexts.
PS: If you are new you would benefit from the official guides, especially Using Functions Formulas and Calculations that can be found at https://help.sap.com/boall_en
There are also tutorials Official Product Tutorials – SAP BusinessObjects Web Intelligence
Thanks
Simone

Similar Messages

  • How do I unverify an alternate email for one Apple ID and then use it for another Apple ID?

    So I need to use my email address for another Apple ID and when I enter it, it says that its already verified when I deleted it from my other Apple ID. Does anyone know how I unverify that email address???? Please help!!!

    Hey, try these steps:
    Go to My Apple ID.
    Select Manage your Apple ID and sign in.
    Scroll down to check if there are alternate and additional email addresses
    Delete or remove those email addresses
    Hope this helps.

  • Can I set up iTunes account in 1 country and then use it in another

    Hi, I have upgraded my iPad 1 to an iPad 3. I want to set up and send my old iPad 1 to my great auntie (86) in the UK, I am in Spain.
    I started setting it all up for her setting the country as uk, creating an Apple ID etc... But when it comes to iTunes, the Spanish shop opens and asks me to set up the Apple ID for iTunes. my question is can I set everything up from here ? download the few apps I think she will want and send her the iPad and she will have no problems,  or is she going to have problems as the details will be of a Spanish account, I am probably going to have to give my credit card, and the iPad will loose the apps , or won't let her create a uk account further down the line ?
    Thank you, she will not be able to set it up herself so if I cannot set up from here I am going to have to find someone to do it for her over there.

    You can only use the Store in the country where you are resident.  Items purchased in store in another country will no longer be accessible for redownloading when you change country but you can keep on using them as long as you have a copy on your computer.
    It is not easy to change country and requires a valid billing method with a physical billing address in the other country.  There is also a 90 day wait period between country changes.  Furthermore, it is against the terms of service for the iTunes Store to even use your own country's store while not in your country, much less use another country's store.
    "The iTunes Service is available to you only in the United States, its territories, and possessions. You agree not to use or attempt to use the iTunes Service from outside these locations. Apple may use technologies to verify your compliance." - http://www.apple.com/legal/itunes/us/terms.html#SERVICE  (reads the same for pretty much any country).

  • Can you register iPhone on one computer, then use the library from another?

    My iTunes store doesn't work on my computer (ive tried to fix it - i think it's a virus on my computer), so what i thought i'd do is register my iPhone through my dads computer, then carry on using the iTunes library from my computer.
    Is it possible to register iPhone on one computer, then use the iTunes library from another computer?

    .

  • I want to be able to use airplay to stream audio to another iOS device, and then use that audio stream to be used when recording video instead of the built in microphone / microphone input. Is this possible?

    I want to be able to use airplay to stream audio to another iOS device, and then use that audio stream to be used when recording video instead of the built in microphone / microphone input. Is this possible?

    A third-party app probably cannot obtain a stream from another app. To the best of my knowledge, such a capability is not provided in the software development kit, apps being "sandboxed" from each other and so allowed to communicate only in very specific and limited ways.
    I'm not completely sure what you mean by "limitations on video capture". An iPhone, to the best of my knowledge, can natively record video only through it's built-in camera, and audio while doing video recording only through the built-in microphone or mic/headphone jack. There might be a video recording app that would allow audio input from an external device connected to the dock connector, but I'm not sure.
    Regards.

  • HT1947 If you add music VIDEOS to Up Next playlist, then go to look at the album cover playing screen, then go to add another song from diff playlist, no longer can see Up Next, just go to full screen mode button. Using remote app iphone 5 to play out of

    If you add music videos to Up Next playlist, then go to look at the album cover playing screen, then go to add another song from different playlist, you no longer can see Up Next, just go to full screen mode button. Using remote app iPhone 5 to play out of iTunes. It looks like it works fine for regular music, but for music videos you can't see your up next unless you go back on the computer to change once you've left the screen. When using the remote app, you shouldn't need to go to iTunes on the PC to view or edit Up Next already added. See first image, you can hit upper right and get back to Up Next (second image). Third image is music video, where you can't get back to Up Next, just swap between full screen and not. I hoped 3.0.1 would have the answer, no luck!

    wow, very nice review Makes me want to get a vision for myself.
    WebKnight wrote:
    <SPAN>
    Add the ability to randomly select a new background from a pre selected group of photos every time the player is turned on or each day.
    I would love that feature. I can't stand useing my computer with a single wall paper anymore (I have 500 anime pics that i rotate between every 2 mins ) If you could make the vision rotate background every x minutes or every time the player is turned on, it would be totally amazeningly sweet!!!! (i might have to go out and buy one then :P)
    I just hope that creative has better firmware support with the vision than they have had with the touch.
    Once again, great review

  • Now impossible to insert the cursor by clicking in one paragraph. I am able to 'find' the cursor by going to another paragraph, then using the arrows to position the cursor in this rogue paragraph.

    I use Pages version 4.0.5.
    My software is all up to date, 10.6.8 version of OS.
    The particular document with the problem is 255 pages and currently at 125,000+ words. One area of a paragraph seems to be at fault and clicking within it has no effect. No cursor appears, no editing is possible and no other input is possible for that part of document.
    I can work round this by going to another paragraph, clicking there when the cursor appears, then using the arrows to get the cursor in to position in this 'rogue' paragraph.
    I am fairly new to Mac, only having bought this machine at the end of last year but have used it everyday since then. I did have problems with an image editing program supplied with a new Pentax camera but I have stopped using that program after taking the laptop to Apple tech in Sheffield UK who said the laptop was OK but the program was VERY slow and they could see when checking forums that this program was causing problems for other Mac users.
    That was about three months ago, so the laptop was deemed to have a clean bill of health then.
    I am curious and disappointed more than anything, as I can work around the problem at the moment.
    What might be going wrong, how can I correct it, if at all, and should I be worried that there might be a more significant problem developing?

    zxcwx wrote:
    (1) It is quite likely that I am losing what little cognitive ability I started with due to advancing years,
    (2) perhaps visual acuity as well so your red italic text made your point very well.
    (1) don't worry, I was born on 1943/12/31 23:55
    (2) It's why I change the size or the color from time to time.
    (3) I never use phrases when I search something. Just lowercase words 'linked' by the conjunction AND (uppercase)
    I'm remembering a thread about this behavior.
    https://discussions.apple.com/message/15102726
    Yvan KOENIG (VALLAURIS, France) samedi 9 juillet 2011 22:52:31 iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How do I do this:  "This disk needs to be repaired. Start up your computer with another disk (such as your Mac OS X installation disc), and then use Disk Utility to repair this disk?"

    "This disk needs to be repaired. Start up your computer with another disk (such as your Mac OS X installation disc), and then use Disk Utility to repair this disk."

    Stick the disk in, reboot holding c.
    Disk Utility is a menu option about the 2 or 3rd screen in the installer. (don't install OS X!)
    Because your booted form the installer disk, you can repair the disk.
    Quit and exit the installer and reboot.
    If your drive is not repaired, make a note of all what it says, for Apple to use.
    Reboot and get your files off to a external drive,
    Take the note and your comptuer to Apple for a warranty/Apple care call, they will replace the drive.

  • If i delete my iCloud account on my iPhone, then I can use it on another iPhone or it will be inexistent?

    If i delete my iCloud account on my iPhone, then I can use it on another iPhone or it will be inexistent?

    Why would it? you only deleting it from one phone, right?

  • Can I activate iPhone 4S with a SIM from one country and then use with a SIM from another country?

    I bought a factory unlocked iPhone 4S from an Apple store in the U.S. and I am in Guatemala. I want to use it now but later on I will move to New Zealand. Can I activate it with a SIM card from Guatemala and then use it with a SIM card from New Zealand? I am just wondering if it will get locked with the Guatemalan SIM card. Or does it just need a SIM from any supported carrier and then it remains unlocked to use with any other carrier? Thanks

    David,
    As I (mis)understand it, you may:
    1) Copy one orange gradient path to the magenta gradient path document;
    2) Select the two magenta gradient paths and change the Fill to None;
    3) Select the orange gradient path;
    4) Select the two magenta gradient paths and change the Fill to Gradient.
    That should give you the desired replacement. For multiple use of the same gradient, you may consider a gradient swatch.

  • Using attributes from another entry type

    Hey experts,
    use case: there are multiple departments within the company. Each department has it's own folder in Active Directory where users are stored for that department. When a new user is created in IdM and send to AD he should be created in the folder relevant for his/her department.
    I have created an entry type called Department and filled it with departments and their LDAP starting point for user creation. I have also created a reference attribute in MX_PERSON to the department name.
    problem: when the job CreateADSUser is fired it receives pending value date from MX_PERSON but I need to use the LDAP starting point which goes with the department from the department entry type.
    So my question is: how do I use the LDAP starting point value which is stored in my department entry type in a job which receives MX_PERSON data. I'm guessing a script or something but am unsure how to do this.
    Thanks in advance.

    HI Jonathan,
    We did exactly the same thing but without using a separate entry type for the department, it was just the department number. We then in the code that calculated the DN of the person, coded in to read the department number and based on that enter a text string into the DN. If you want to do it with another entry type for department, the can't you load the value on the mx_person of department, which will be the MSKEY of the department you want, and then use ISGetValue (Or something like that) to get the name of that department based on it's MSKEY?
    Hope that is helpful,
    Ian

  • Using data from another View

    Is it possible to create a new Grid in the same analysis where calculated/Grand Totals columns/rows may be used?
    I understand there is a feature use results from another analysis but wonder if it can be used in the same. Thanks.
    Adi

    Hi,
    Say you have a report for retrieving Sales by Products for a company and showing up grand total of sales for all products too in the same report. So, how about a case where you would like to see each product's contribution to the whole sales numbers? For this, a new column could be something like
    Measures.Sales*1.0/SUM(Measures.Sales)
    Here Measures.Sales is the sales for each product and SUM(Measures.Sales) is nothing but the total sales ie grand total.
    Hope this helps.
    Thank you,
    Dhar

  • How to retrieve comments from one OfficeTask activity and use them in another OfficeTask activity for Multi level Approval sequential Workflow

    I'm designing a sequential site workflow using Visual Studio 2010 for Project Server 2010. In my case, I have following 6 stages in the workflow:
    1. InitialProposal Stage
    2. Approval Stage1 -- Needs approval from Approver Project Security Group Members1
    3. Rejection Stage
    4. Approval Stage2 -- Needs approval from Approver Project Security Group Members 2
    5. Execution Stage
    6. Completed Stage
    Requirement is workflow should move to Approval stage2 from Approval stage1  if approved by all members of Approver Project Security Group1and it should move to Rejection Stage even if a single member rejects it.
    Workflow should move from Approval Stage2 to Execution Stage if approved by all members of Approver Project Security Group2 and it should move back to Approval Stage1 on rejection by a single member of the group.
    I'm using inbuilt PSWApproval content type and OfficeTask activity for creating approval task for the group members at both stages.
    On task rejected in Approval stage2, task will be assigned again to Approval Stage1 and I want to show comments given by members of Approver Project Security Group2 to the members of Approver Project Security Group1 with this assigned task
    but I'm not able to retrieve comments from officeTask activity.
    My question is where exactly these comments are saved? how can we retrieve them and use them in another officetask activity? If this is not possible then what is the possible solution for meeting above mentioned business requirement?

    Hi Paul,
    Thanks for your suggestion.
    By comments field I'm assuming OfficeTask.Comments field. Problem is, this field is always null. I tried accessing this field in CheckExitCondition activity as well as in OnTaskCompleted but in both the cases, it was null only(I wrote comments while approving
    the task).
    I used a code activity within OnTaskCompleted activity and following code for accessing Comments and Description fields:
    public string officeComments;
            public string officeDescription;
            private void TaskCOmplete(object sender, EventArgs e)
                CodeActivity Sender = (CodeActivity)sender;
                Microsoft.Office.Workflow.Actions.OfficeTask ofctask1 = ((CompositeActivity)Sender.Parent).Parent as Microsoft.Office.Workflow.Actions.OfficeTask;
                officeComments = ofctask1.Comments;
                officeDescription = ofctask1.Description;          
    Please tell me if I'm doing anything wrong here, I'm very new to Workflows. Also, do I need to set any specific property of officeTask for retriving comments?
    Thank you

  • Can you activate an iphone with one sim, and than once it is activated use it with another sim?

    can you activate an iphone with one sim, and than once it is activated use it with another sim?

    It could be the activation server is unavailable right now, however have you or anyone else ever used that computer to jailbreak or hack another phone? That can have an affect on the hosts file. You can check this regarding information on the hosts file or security software problems.
    Error 1 or -1
    This may indicate a hardware issue with your device. Follow Troubleshooting security software issues, and restore your device on a different known-good computer. If the errors persist on another computer, the device may need service.
    This device is not eligible for the requested build (Also sometimes displayed as an "error 3194")
    Update to the latest version of iTunes. Mac OS X 10.5.8 (Leopard) users may need to download iTunes 10.6.3.
    Third-party security software or router security settings can also cause this issue. To resolve this, follow Troubleshooting security software issues.
    Downgrading to a previous version of iOS is not supported. If you have installed software to perform unauthorized modifications to your iOS device, that software may have redirected connections to the update server (gs.apple.com) within the Hosts file. Uninstall the unauthorized modification software from the computer.
    Edit out the "gs.apple.com" redirect from your hosts file, and then restart the computer for the host file changes to take affect. For steps to edit the Hosts file and allow iTunes to communicate with the update server, see iTunes: Advanced iTunes Store troubleshooting—follow steps under the heading Blocked by configuration (Mac OS X / Windows) > Rebuild network information > Mac OS X > The hosts file may also be blocking the iTunes Store. If you do not uninstall the unauthorized modification software prior to editing the hosts file, that software may automatically modify the hosts file again on restart.
    Avoid using an older or modified .ipsw file. Try moving the current .ipsw file (see Advanced Steps > Rename, move, or delete the iOS software file (.ipsw) below for file locations), or try restoring in a new user to ensure that iTunes downloads a new .ipsw.
    Error 3014
    This error occurs when iTunes is unable to reach gs.apple.com in a timely fashion. Follow the steps below in Unable to contact the iOS software update server gs.apple.com.

  • Can I use 3G in another countries if I purchase a iPad 3G in America

    Can I use 3G in another countries if I purchase a iPad 3G in America

    Not sure why you are asking but yes, of course you can use the cellular 3G connection abroad.
    If you are living in the US and plan to use the iPad overseas, then it will cost you. Be sure to understand your operator's roaming policy and costs.
    If on the other hand you are living overseas and plan to buy an iPad in the US and use it overseas with a GSM operator in your home territory, then again, yes it will work. But not that the warranty will NOT be valid. If anything goes wrong, you will have to physically transport the iPad to the US for any warranty claim.

Maybe you are looking for