Question about calculation example with Query Designer

Hi guys,
I have to calculate within columns and rows and I am not familiar with the settings in Query Designer that could be done to achieve the results.
For example:
Payments----
Delay -
Weighted Delay
1000USD--10 days--
10000
2000USD--20 days--
40000
3000USD--xxx--
50000 (this is the sum row)
The column marked with the xxx is calculated with the sum of weighted delay divided by the sum of payments (50000 / 3000).
Has anybody an idea how the sum row can be calculated separately?
Thank you for suggestions!
Edited by: saplaz on Jul 13, 2010 8:47 AM
Edited by: saplaz on Jul 13, 2010 9:08 AM

Hi,
Assuming you have the Payments Infoobject in the rows and WD Infoobject in the columns; Delay as a formula object.
> Payments----
Delay -
Weighted Delay
> 1000USD--10 days--
10000
> 2000USD--20 days--
40000
> 3000USD--xxx--
50000 (this is the sum row)
> The column marked with the xxx is calculated with the sum of weighted delay divided by the sum of payments (50000 / 3000).
You may try this workaround of using
NODIM( SUMCT(WEIGH_DELAY) / SUMCT(PAYMENTS) )
on a formula variable. (In this case, the assumption is you have not static type-restricted the rows/cols) If you find any hinderances in the default approach, you may check this out as a formula & insert this at the cell editor level.
If not, use a simple formula variable; here define the replacement path as 0(N) for your Payments. (N being the # of digits)
Use a simple calculation:
SUMGT(WD)/FV
But you may not get an result o/p in the last row, as the values are not linked (sans relation with Payments). as it will return a X for the delay in the Result row.
Pls. let me know know if this works or some sample o/p if the initial assumption was wrong.
Thanks,
Arun Bala

Similar Messages

  • Another BW question about filter in the query definition

    Hi ,
    I have another question about filter in the query definition.
    <u>Question:</u>
    Which of the following objects can be filtered in the query definition?
    A. characteristic
    B. Key figure
    C. Structure
    D. Units
    E. Hierarchy
    My answer is A,B,D,E.
    The answer in the book is A,B,D
    Can anybody tell me which one is wrong?
    Thanks in advance,
    Liu Jia

    HI
    1.The answer could be A,B,D.you can not apply filters on hierarchies
    2.Whenever there is a change in Attribute data(like Location,Num etc...)that has to be reflected in all aggregates of the cube.Thsi can be done by running "ATTRIBUTE CHANGE RUN".
    sri

  • Question about calculation script 'Fix'

    Hi Guys,
    I have a question about calculation script 'Fix'. Below is the sample for my question:
    Dimension 'Period' has members '2009','2010','2011'. We want to Fix the data which 'Period' is not '2009'.
    From Database Administrator's Guide we could use @NOTEQUAL, but version 11.1.1.3.0 seems not support @NOTEQUAL.
    Actually, the dimension is dynamic so we cannot use the way fixing other memebers. What should I do for this requirement?
    Edited by: 842270 on Apr 24, 2011 7:29 PM

    842270 wrote:
    Hi Guys,
    I have a question about calculation script 'Fix'. Below is the sample for my question:
    Dimension 'Period' has members '2009','2010','2011'. We want to Fix the data which 'Period' is not '2009'.
    From Database Administrator's Guide we could use @NOTEQUAL, but version 11.1.1.3.0 seems not support @NOTEQUAL.
    Actually, the dimension is dynamic so we cannot use the way fixing other memebers. What should I do for this requirement?
    Edited by: 842270 on Apr 24, 2011 7:29 PMYou can use @Remove command to avoid 2009.
    @REMOVE
    Removes values or members in one list from another list.
    Syntax
    +@REMOVE (list1, list2)+
    Parameter     Description
    list1
    +     A list of member specifications, from which the members specified in list2 are removed.+
    list2
    A list of member specifications to be removed from list1.

  • A question about the example "Filter"

    Hi,
    I have a question about the example "Filter (The Filter example illustrates how to filter data using a butterworth filter)" in the measurement studio reference now, it is one of the analysis examples.
    I load this example in Vc++, but when I compile it, the error messages are:
    "'ButterworthHighPass' : is not a member of 'CNiMath'" ,
    "'ButterworthHighPass' : undeclared identifier",
    "'ButterworthLowPass' : is not a member of 'CNiMath'" ,
    "'ButterworthLowPass' : undeclared identifier",
    "'WhiteNoiseWave' : is not a member of 'CNiMath'" ,
    "'WhiteNoiseWave' : undeclared identifier",
    Can you tell me what is matter? and how can I solve it?
    Thanks!

    Hi,
    I was hoping that you could tell me what version and edition you have of Measurement Studio. I also need to know if you are using .NET or 6.0. For example, "I am using Mesurement Studio Enterprise edition 7.1 for Visual Studio .NET."
    Depending on the version that you have, different functions and controls are included. I believe that you may have an edition that does not include the Butterworth filter. Let me know and we can go from there.
    Thanks,
    Caroline
    National Instruments
    Thanks,
    Caroline Tipton
    Data Management Product Manager
    National Instruments

  • I have A question about Adobe creative Suite 3 Design Premium, and what it comes with..

    My boyfriend works for a office furniture company building and tearing down office furniture. Today one of the people who worked at the company he was tearing down told him he could take any of the programs there as they had no use for them. So he took the Adobe Creative Suite 3 Design Premium as well as mac OSX Leopard, thinking I would like to use them. But I have a PC.
    My question is what comes with the Adobe Creative Suite 3 Design Premium? Since I can not use it, I thought I could sell it, but do not want to do so if I do not have everything it comes with or needs. What I have is three disc's, in the case. There is the application, the content, and the video workshop. There is no booklet or anything with it. If anyone could answer my question, I would really appreciate it. I dont want to sell it to someone and get in any trouble for it not having what its supposed to.
    Thank you for your time and help.

    Firstly, the CS3 Design Prem comes with Photoshop Extended CS3, Illustrator CS3, InDesign CS3, Dreamweaver CS3, Acrobat Pro 8 as well as Bridge and and Vesion Cue.
    Secondly, has the packaging been opened? If so, it could still be installed on a PC or rather Macintosh somewhere. If so, this makes it a trickier proposition with regards to installing it yourself or selling it on.
    Don't quote me on this, but if the software is fresh and unopened or has been deactivated, you could upgrade to Design Prem CS4 Mac and then crossgrade to Design Prem Windows. Don't know if it's possible to crossgrade and upgrade in one fell swoop from Mac to Win. I suspect not - but will be happy to be proven wrong.
    Hope this helps.
    Ian

  • Issue with Query Designer

    Hi Guys,
    I am using 3.5 query designer.i have a requirement in a report.There is keyfigure structure developed which has key figures defined for eg Actual,target etc.This structure is is been restricted as whole by posting period ie 1,2,3 &4.so all the keyfigures will by defult display in posting periods ie 1,2,3 &4.I have a requirent to bring a new KF in the structure say forcast which has values for 1,2,3&4.Now i need another kef which compares only the target Posting period 4 value with all the posting period values of forcast.On which i will create an indicator.Could anyone help me in creating this new KF out of the structure so that it displaysonly the posting period 4 values of target.If i incude in the structure and restrict it with posting period 4,it comes up again with 4 coulmns for posting period which again makes it difficult to compare.
    thanks
    panchan

    Panchan,
    I am not so clear about your requirement.
    But what i understand from below question is
    You have created some KPIs with YTD fiscal year period reqtriction. and used the Fiscal year period in drill down.
    Now you want to create 1 KPI with selected fiscal year period restriction, but you can see this column in all 4 fiscal year period.
    but you want to see that in only 4th(selected) fiscal year period.
    am i right?
    if yes then use zero suppression with rows and column, as new KPI contains value in only 4th period, other 3 period will be suppressed by above setting.
    Regards,
    Ashish

  • A question about a method with generic bounded type parameter

    Hello everybody,
    Sorry, if I ask a question which seems basic, but
    I'm new to generic types. My problem is about a method
    with a bounded type parameter. Consider the following
    situation:
    abstract class A{     }
    class B extends A{     }
    abstract class C
         public abstract <T extends A>  T  someMethod();
    public class Test extends C
         public <T extends A>  T  someMethod()
              return new B();
    }What I want to do inside the method someMethod in the class Test, is to
    return an instance of the class B.
    Normally, I'm supposed to be able to do that, because an instance of
    B is also an instance of A (because B extends A).
    However I cannot compile this program, and here is the error message:
    Test.java:16: incompatible types
    found   : B
    required: T
                    return new B();
                           ^
    1 errorany idea?
    many thanks,

    Hello again,
    First of all, thank you very much for all the answers. After I posted the comment, I worked on the program
    and I understood that in fact, as spoon_ says the only returned value can be null.
    I'm agree that I asked you a very strange (and a bit stupid) question. Actually, during recent months,
    I have been working with cryptography API Core in Java. I understood that there are classes and
    interfaces for defining keys and key factories specification, such as KeySpec (interface) and
    KeyFactorySpi (abstract class). I wanted to have some experience with these classes in order to
    understand them better. So I created a class implementing the interface KeySpec, following by a
    corresponding Key subclass (with some XOR algorithm that I defined myself) and everything was
    compiled (JDK 1.6) and worked perfectly. Except that, when I wanted to implement a factory spi
    for my classes, I saw for the first time this strange method header:
    protected abstract <T extends KeySpec> T engineGetKeySpec
    (Key key, Class<T> keySpec) throws InvalidKeySpecExceptionThat's why yesterday, I gave you a similar example with the classes A, B, ...
    in order to not to open a complicated security discussion but just to explain the ambiguous
    part for me, that is, the use of T generic parameter.
    The abstract class KeyFactorySpi was defined by Sun Microsystem, in order to give to security
    providers, the possibility to implement cryptography services and algorithms according to a given
    RFC (or whatever technical document). The methods in this class are invoked inside the
    KeyFactory class (If you have installed the JDK sources provided by Sun, You can
    verify this, by looking the source code of the KeyFactory class.) So here the T parameter is a
    key specification, that is, a class that implements the interface KeySpec and this class is often
    defined by the provider and not Sun.
    stefan.schulz wrote:
    >
    If you define the method to return some bound T that extends A, you cannot
    return a B, because T would be declared externally at invocation time.
    The definition of T as is does not make sense at all.>
    He is absolutely right about that, but the problem is, as I said, here we are
    talking about the implementation and not the invocation. The implementation is done
    by the provider whereas the invocation is done by Sun in the class KeyFactory.
    So there are completely separated.
    Therefore I wonder, how a provider can finally impelment this method??
    Besides, dannyyates wrote
    >
    Find whoever wrote the signature and shoot them. Then rewrite their code.
    Actually, before you shoot them, ask them what they were trying to achieve that
    is different from my first suggestion!
    >
    As I said, I didn't choose this method header and I'm completely agree
    with your suggestion, the following method header will do the job very well
    protected abstract KeySpec engineGetKeySpec (Key key, KeySpec key_spec)
    throws InvalidKeySpecException and personally I don't see any interest in using a generic bounded parameter T
    in this method header definition.
    Once agin, thanks a lot for the answers.

  • Questions about supporting TLF with Halo components in Flex 4.1

    We recently decided to upgrade to the Flex 4.1 SDK after a year or so at 3.2.  We have been asked to not use the new SPARK components yet because our products would then have a mistmatch of Halo and Spark components in the UI.  We have built support for our Halo components to display html through the ".htmlText" property for the Text components.  For example, we can display strings such as "<p>Choose <b>one</b> option:</p>".  With the upgrade to Flex 4.1 a couple of questions about supporting bi-directional text have come up.  My understanding is that in order to support bi-directional text we need to use the Text Layout Framework.  Does anyone have a suggestion on how we can utilize the TLF with the Halo components in Flex 4.1?    Can we still use the ".htmlText" property somehow or is there a new property that understands the TextFormat markup?  We would love to still be able to use the limited html tags that are supported for the "htmlText" property.  Is there an option where that syntax is still understood?
    Thanks in advance!
    David

    The halo components use TextField, and the spark components use TLF. Both sets have support for some html markup to import and export text. To use bidi text, you have to use TLF; TextField won't work properly.
    It is possible to use TLF to build your own components, and this can work well particularly for applications with specialized needs. But if you need bidi support for advanced components like DataGrid and List, then you should use the spark components.
    Thanks!
    - robin

  • SSO with Query Designer

    Hi all,
    I need to add a link to SAP Query Designer in Portal that will launch Query Designer using SSO.
    We have SSO with R/3 and with BI already implemented (the user will click on the link and launch SAP GUI without having to type username/password), but we don't know how to do that for Query Designer.
    Can anyone help us? Is there any documentation on the subject that we didn't find?
    Thanks,
    Daniel

    Apparently there needs to be some kind of certificate to add.
    Anyone know anything about this?

  • Sap bi authorizations issue with query designer..

    i am using bw 3.x and bi 7 query designer with different kind of probs?...
    i am able to see the info provider  in query desinger 3.x. but i can see only cubes .i am not able to find dso or infosets or multiprovider.. can anyone suggest is there any authorizations issues..please suggest.
    and with BI 7 query designer i am not able to see info providers in info areas folder to design a query..
    please suggest if any authorizations should be added or not

    hi suman chakravar,
    thanks for replying,
    can u be little bit clear about the steps.
    i went to tcode su01 and entered profile 0bi_all..it doesnt work.
    and executed tcode su56.there i can find list of BI related authorization profiles
    i added s_rs_all profile to my user. even then i face the same problem.
    i can see only queries in query designer of bi 7 format and i can not view info providers.
    i can view only cube and infosets and i can not view dso and multiproviders in bw 3.x type query designer
    Edited by: satishchow on Dec 14, 2011 3:23 PM

  • Question about Logon ticket with user mapping at BI-JAVA environment

    We're implementing BI 7.0 including BI Java and SAP EP for end user
    access.
    I have two question about SSO method when we're using BI Java.
    I know we can simply configure SSO logon ticket with BI-Java(EP
    included) and BI-ABAP through BI template installer and we already
    succeeded in that case.
    But the problem is we want to change it to user mapping SSO method for
    some our internal reason.
    After we configure user mapping SSO, we've got SSO failed error when we
    call BI-Java stuff like BEx Web Application iView.
    After many testing implemented, we found SSO Logon ticket with user
    mapping (using SAP reference system). It seems working now.
    But our question is "Is it no problem when we use SSO logon ticket with
    user mapping?" Is there any restriction or issue?
    One more question is we can ONLY use user base mapping when reference
    system used. How can we assign BI-ABAP users to EP Group?

    Using an SAP Reference system is allright. But if the reason u r going for this is because of different usernames in EP and BI, why dont you go for user mapping.
    Anyways, on restriction of reference syetms is that you can have ONLY ONE reference system defined in portal. In you case you can only have the BI system defined.
    Hope this helps!!

  • Questions about PDF exporting with InDe CS5.5

    Hey all,
    A couple questions about exporting to PDF from the latest version of InDe.
    First, I have noticed that it seems to take a lot longer to get to a PDF. Any suggestions for how to speed up the process? It took 8 minutes or so to generate a low-res PDF (for print) of a 24pp document with a few placed images and vector graphics. Wow, that's a long time to wait, especially for a proof.
    Second, the background task... if I get it going on making that 8-minute PDF and then work some more on the document, what exactly is in the PDF? Usually I save before making a PDF or printing. So, is the last version saved what will be in the PDF?
    (As an aside, this ability to work on the doc while generating a PDF seems kind of weird. Generally one makes a PDF for proofing, or even for printing, when all the changes have been made and everything is "final". So, I see no benefit to being able to work on my document while it's making a PDF, as I'm probably finished making revisions for the time being. I have to say that I kind of like the progress bar you get when you make an interactive PDF, as you know you can't work on the document when that's on the screen... )
    Thanks as always.

    First, I have noticed that it seems to take a lot longer to get to a PDF. Any suggestions for how to speed up the process? It took 8 minutes or so to generate a low-res PDF (for print) of a 24pp document with a few placed images and vector graphics. Wow, that's a long time to wait, especially for a proof.
    Yes, this is abnormally long (and too long), something is wrong. What's the full version of InDesign you are running, as reported by holding down Cmd or Control and selecting About InDesign?
    Second, the background task... if I get it going on making that 8-minute PDF and then work some more on the document, what exactly is in the PDF? Usually I save before making a PDF or printing. So, is the last version saved what will be in the PDF?
    Saving is not related. InDesign makes a database snapshot of your document the moment you begin the PDF export, and makes the export relative to that snapshot, regardless of edits you continue to make during the export process, and regardless of saving. Of course saving first is a good idea, for several reasons, not the least of which it sounds like something's fairly seriously wrong with your document or your InDesign installation.
    We recommend you trash your preferences and export your document to IDML and see if either of those things changes this 8-minute behavior...err, assuming you're running 7.5.2.318.
    (As an aside, this ability to work on the doc while generating a PDF seems kind of weird. Generally one makes a PDF for proofing, or even for printing, when all the changes have been made and everything is "final". So, I see no benefit to being able to work on my document while it's making a PDF, as I'm probably finished making revisions for the time being. I have to say that I kind of like the progress bar you get when you make an interactive PDF, as you know you can't work on the document when that's on the screen... )
    Yeah, I think the primary benefit is if you are likely to work on 2 or more files in parallel, so you can finish A and export A and then switch to B. If you'd like a dialog box to pop up when export is done, check out my exportPop script from this post: ANN: automatic dialog after background export (exportPop.jsx.

  • Question about 360 movieclip with cursor action

    Hello Flash Forum
    We have a question about a 360 flash / movieclip which comes
    to a halt or jumps to whereever the cursor is moved horizontally
    while any vertical movements is ignored. We are having difficulties
    to implement this and would like to ask whether someone can point
    us into the right direction in Flash 8 - read somewhere that this
    is extremely easy in Flash 8 but we cannot find out how!?
    An example would be:
    http://www.kswiss.com/cgi-bin/kswiss/store/product_detail.html?mv_arg=x&pid=01190:177
    and then chosing 'Go 360'
    Thank you for any assistance and/or direction.
    Alex

    Alex, took a look at your sample - looks to me like
    start_drag and stop_drag on mouse_over. Hope this helps. ash

  • A few questions about using PS3 with 27" iMac display...

    Hey people, I had a few questions about how I could possibly get my ps3 connected to the iMac's 27" screen. First of all, could you guys list some adapters that would be able to convert the HDMI to Mini displayport? That would be great. The only one I know of is that Dr. Bott Digital Video link.
    Okay secondly, I was wondering if I do get the the ps3 connected with the iMac's display with an adapter to convert HDMI to mini DisplayPort, would it be in HD? Would I be able to play ps3 games or watch blu-ray movies in 1080p HD format?
    Thanks!

    Welcome to the Apple Discussions!
    This has been asked a number of times here since the intro of the 27" iMac. The answer is very expensive US$149 or more converters and sometimes even more expensive to maintain the resolutions that you seek.
    http://lowendmac.com/ed/bashur/09db/dvi-to-mini-displayport.html
    Dah•veed

  • Problem with Query designing

    Hi All,
    I had created a query and started designing a crystal report.
    But after designing the report, i came to know that some infoobjects are missing in the query.
    So i went to query designer and added the corresponding infoobjects inorder, they could reflect while designing my crystal report.
    But when i have reopened the report the field explorer is not showing the infoobjects which i have added newly.
    In crystal reports what is the way to obtain those objects which are newly added to the query.
    Even i have refreshed the field explorer many times but still it is not showing the updated objects.
    But if i go creating a new report on the same query, there it is showing the added objects as well.
    Only for the new report i could able to see the newly added objects in field explorer but not for the old report.
    Please let me know the solution for this problem ASAP.
    Best Regards
    Jiten

    Jiten,
    i think if you click Database--->Verify Database and also try Set datasource location -
    >Update.
    this should do the trick.
    Regards
    Jehanzeb

Maybe you are looking for

  • How to define a data carrier type "archive" in DMS

    Hi, experts. In order to intgerate DMS and ArchiveLink(Check in origin with ArchiveLink), i want to define a data carrier type "archive" in DC20. I have already defined a content repository 'Z2' in OAC0, but i can't enter 'Z2' into the field-data car

  • Problem with Lightroom-HTML-Gallery

    Hi Adobe-Team, I like your gallery in Lightroom 3 but there is one problem! If I write the title to the photos, google can't read it - so it is not possible to find the photos in the internet! Google seems to read the words above the photo. So it thi

  • Problem in executing report using rwrun.sh with runtime/lexical parameters

    hi.. My problem is as follows.. I'm using SuSE8.0, with Oracle DS installed.. I made a rep file to execute a report from command line using rwrun.sh. For the first time I got problems with single quotes and later I solved it by using \ as escape sequ

  • Callable object with external backend

    Hi everyone! Is it possible to create a form (the callable object) in Guided Procedures which takes its data from an external database? For example, say I want to create a callable object in Guided Procedures which picks up user information from an M

  • Problem using application client for local stateful session bean

    Hi, I have deployed a local stateful session bean in Sun J2EE 1.4 application server. On running the applclient for the stateful session bean application client i get the following error: Warning: ACC006: No application client descriptor defined for: