Hi , How to make a calculated kf as local in the query definition

Hi ,
How to make a calculated kf as local in the query definition
Regards,
Ravi.

Hi,
Calculate KF consists of Basic, restrict and other calculated kFs stored in Metadata repository.
Calculate KF is a replicate of Formula and acts as Global.
Calculate KF acts as Global--you can use Globally.
Formula as Local--you can use as local to Query.
you can create the Calculate KF as follow:
Goto Query Designer>Open/Create Query>Select Key Figures Mode on left side of Query>Select that KF node> right click Select Calculate Keyfigure.
then one popup window dispays, so you make the calculations based on Basic KF, Restirct Kf and Formule. then save it.
Regards,
Suman.

Similar Messages

  • How to make a summary on one level of the query

    Hi
    I have the following table relationship
    Father -< Child -< GrandChild
    Every table has numeric values that I would like to summarize but I have only one query:
    select ...
    from Father, Child, GrandChild
    where Father.id = Child.parentId(+) and
    Child.id = GrandChild.parentId(+)
    In this query I would like to summarize values from Child and GrandChild. But if I summarize Child values they will be repeated depending on the number of GrandChild he has. So is there a way to do a "SUM" that will only summarize the values in Child without values repeating? SUM DISTINCT will not work because I can have values in two Childs that are equal.
    Regards,
    Néstor Boscán

    Hi,
    You should give sample data and expected result. Without that I can only guess what you want.
    My guess is this:
    with father as
    select 1 f_id, 'f1' f_name from dual union all
    select 2 f_id, 'f2' f_name from dual union all
    select 3 f_id, 'f3' f_name from dual union all
    select 4 f_id, 'f4' f_name from dual
    ,child as
    select 11 c_id, 'c11' c_name, 1 parentid from dual union all
    select 12 c_id, 'c12' c_name, 1 parentid from dual union all
    select 13 c_id, 'c13' c_name, 2 parentid from dual union all
    select 14 c_id, 'c14' c_name, 3 parentid from dual union all
    select 15 c_id, 'c15' c_name, 4 parentid from dual union all
    select 16 c_id, 'c16' c_name, 4 parentid from dual
    ,GrandChild as
    select 101 gc_id, 'gc101' gc_name, 11 parentid ,1 age from dual union all
    select 102 gc_id, 'gc102' gc_name, 11 parentid ,2 age from dual union all
    select 103 gc_id, 'gc103' gc_name, 12 parentid ,4 age from dual union all
    select 104 gc_id, 'gc104' gc_name, 12 parentid ,8 age from dual union all
    select 105 gc_id, 'gc105' gc_name, 11 parentid ,16 age from dual union all
    select 106 gc_id, 'gc106' gc_name, 14 parentid ,32 age from dual union all
    select 107 gc_id, 'gc107' gc_name, 13 parentid ,64 age from dual
    SELECT
         f_name
         ,case grouping_id(f_name, c_name) when 0 then c_name else 'All Childeren' end c_name
         ,case grouping_id(f_name, c_name, gc_name)  when 0 then gc_name else 'All grand Children' end gc_name
         ,sum(age)
    FROM
         Father
    , Child
    , GrandChild
    WHERE
         Father.f_id    = Child.parentId(+)
         AND Child.c_id = GrandChild.parentId(+)
    group by
    grouping sets
              (f_name, c_name, gc_name)
              ,(f_name, c_name)
              ,(f_name)
    F_NAME C_NAME        GC_NAME            SUM(AGE)
    f1     c11           gc101                     1
    f1     c11           gc102                     2
    f1     c11           gc105                    16
    f1     c11           All grand Children       19
    f1     c12           gc103                     4
    f1     c12           gc104                     8
    f1     c12           All grand Children       12
    f1     All Childeren All grand Children       31
    f2     c13           gc107                    64
    f2     c13           All grand Children       64
    f2     All Childeren All grand Children       64
    f3     c14           gc106                    32
    f3     c14           All grand Children       32
    f3     All Childeren All grand Children       32
    f4     c15                                      
    f4     c15           All grand Children         
    f4     c16                                      
    f4     c16           All grand Children         
    f4     All Childeren All grand Children         
    19 rows selected Regards,
    Peter

  • How to make use of adjacent data elements within the same buffer

    Hi,
             Does anyone know how to make use of adjacent data elements within the same buffer? To make my question clearly, I would like to give you an example. In my application, I set "sample to read" as 10 which means at each loop 10 data samples will be taken into a buffer. Now, what I would like to do is to do some calculations on adjacent data samples in same buffer. I tried to use "shift register" for this, but it seemed to me that it only can deal with the calculation between data from adjacent loops. In other words, it skips 9 data elements and take the 10th one for the calculation.
             Here I also attach my VI showing what I did.
        Thank you very much in advance,
                            Suksun
    Attachments:
    wheel_encoder_1.vi ‏98 KB

    Hi Suksun,
          I hope you'll forgive me for distilling your code - mainly to understand it better.  I tried to duplicate your logic exactly - which required reversing the "derivatives"-array before concatination with the current samples array.  As in your code, the last velocity is being paired with the first position.  If first velocity is really supposed to be paired with first position, just remove the "Reverse 1D Array" node.
    cheers
    Message Edited by Dynamik on 01-07-2006 03:17 AM
    Message Edited by Dynamik on 01-07-2006 03:19 AM
    When they give imbeciles handicap-parking, I won't have so far to walk!
    Attachments:
    encoder2.GIF ‏14 KB
    encoder2.vi ‏102 KB

  • How to make a redirect without auto-redirect from the portlet "edit" mode?

    How to make a redirect without auto-redirect from the portlet "edit" mode?
    I use some sofisticated customizing with server-side validation of the form data. I want to redirect to the page of the portlet "show" mode and to the "edit" mode depending on the validation results. How can I do it?

    Heay.....this worked for me.
    I am able to change the mode programatically from edit to show.
    HttpPortletRendererUtil.handleEditAction(portletRenderRequest,"OK");
    I removed Apply , OK and Cancel buttons and applied my own Submit and Back button in Personalize mode and then change the mode to show on click of Back button using the above mentioned statement.
    Thanks
    ~Neeraj Sidhaye
    Try_Catch_Finally @ Y !
    ExtremePortal @ Gmail&#12288;&#65316;&#65359;&#65364;&#12288;&#65315;&#65359;&#65357;

  • How to make an ebook and sell it on the ibook or app store??

    How to make an ebook and sell it on the ibook or app store??
    Can anybody help me please T^T
    By the way I'm in Thailand and want to sell my ebook around the world.
    This is my dream ^^.. Help me please...

    Hi,
    Start with the ADC iOS dev center here.
    http://developer.apple.com/devcenter/ios/index.action
    Carolyn

  • How to make ENTER key in internet explorer run the  BIP report?

    In BI publisher 11g, users wanted that after entering the values for the parameter, they hit the ENTER key ( on the keyboard)  and the report should run .
    In Mozilla firefox, when I hit ENTER key on the keyboard report runs fine... but in Internet explorer, it does not ( infact in internet explorer TAB key works)
    How to make ENTER key in internet explorer run the report?
    Thanks
    Ashish

    Perform the following steps and tell us if it  resolve this issue:
    1. In Internet Explorer, click Tools, and then click Internet Options.
    2. Click the Security tab.
    3. There are four security zones listed:
    * Internet
    * Local intranet
    * Trusted sites
    * Restricted sites
    Click the zone being used by P6, which is noted at the bottom right hand corner of the browser window when the P6 URL is being accessed.
    4. Under Security level for this zone, click Custom Level.
    5. Under Downloads, under Automatic prompting for file downloads, click Enable, and then click OK two times.
    6. The browser will need to be restarted for the change to take effect.
    Refer to the following Microsoft Knowledge base article for additional file download and active x controls which should also be enabled: http://support.microsoft.com/kb/883255

  • How to make more than one person can access the database at one time

    how to make  more than one person can access the database at one time 

    Please post further f'up's in the Access forum.
    In short: for different reasons it is best practice that each user gets its own local copy of the database. This means that you need to split it into a front-end which only consists of the forms, queries, reports etc. Everything which doesn't need to be
    shared. And a back-end, which only stores the data.
    Take also a look at Allen Browne's article:
    Split your Access database into data and application.
    When you've splitted your database, you may often consider to use SQL Server as back-end. Here you may read Armen Stein's
    The Best of Both Worlds: Access-SQL Server Optimization.

  • Hello, i would like to know how to make horizontal sites and it moves with the scroll

    Hello, i would like to know how to make horizontal sites and it moves with the scroll

    Hi
    You can refer to these videos :
    http://www.lynda.com/Muse-tutorials/basics-horizontal-scrolling-websites/108131/115685-4.h tml
    https://www.youtube.com/watch?v=gZI_K1TXqOM
    Thanks,
    Sanjit

  • I was able copy the hardrive of my old macbook from "My Passport" onto the desktop on an older iMac. but i dont know how to make my hardrive and user name be the main one since someone had used it in the past and had their info on the comp. please help!

    I recently broke my 2008 macbook. i was able to use an external hardrive to back up my data onto My Passport. I was going to buy a new computer but a friend told me sher had an older version of the iMac. (not sure how old but it doesnt have a camera if that helps) i was able to hook it up and turn it on but i ran into a few problems. 1) the "authentic" user or whatever it says is someone who previously used the computer. i added me as a user but im not sure how to make me the main user. 2) after hooking up My Passport, i was able to drag my files and copy them to the desktop.(i think i did it correctly) now, i dont know how to make my hard drive and applications and iformation the "main " info. The current apps on the iMac are super old versions of iTunes and iPhoto and such. 3) while trying to open the apps from my macbook on the iMac, it said it didnt have the right software to open these apps.
    I am so computer illiterate so someone please help!!! Also, i do not have internet in my new apartment yet so if there is a way to make this happen without using the internet that would be preferred. sorry for the horrible spelling and poorly written paragraph.
    THANK YOU!!

    You are not going to be able to run your old system from the backup on this old computer as the hardware is incompatible.
    You need to get a new computer or a refurbished one.

  • HOW TO MAKE AN ANIMATION SCENE GO BACK TO THE NAVIGATION?

    I'm creating this animation for a class and I'm supposed to do the following:
    "Build a basic animation that runs for 10 secs and then returns to the navigation area in scene one."
    the highlighted text is what i need to do..can anyone tell me how to do it in Action Script 2.0?!?..thanks..I really appreciate the favor!

    thanks but uhm perhaps i was not specific enough..heres the full assignment:
    Controling the Timeline in a multi scene movie
    Scene one - Build a one frame navigation scene with three buttons. Each button should link the user to one of scenes in the flash movie. Make sure that this scene is paused from the start to prevent the playhead from moving past the navigation buttons in the first scene.
    Scene two - Build a basic animation that runs for 10 secs and then returns to the navigation area in scene one.
    Scene three - Build another basic animation that runs for 10 secs and then returns to the navigation area in scene one.
    Scene four - Build a final basic animation that runs for 10 secs and then returns to the navigation area in scene one.
    Extra Credit -  Add sound to the file that begins as each scene begins to play and that ends when the playhead returns to the main navigation scene.
    I've created the buttons and few scenes but i just want the scenes after playing to go back to the navigation area and maybe you can tell me how to how make sure scene one is paused from the start..thanks

  • How to make html file on server side from the data entered in text area

    Hi!
    I want to know how to make .html file on server side. Like if i enter the data in text area ( or like we normaly see when we write mail that editor) and we can use html tages in it and when user submit form all the data in that field will be saved on server side as an html formate. Is it possible to do so??? or any ruff idea how to design it???

    Erm ...
    Whats the problem with that?!
    Ok, here the code ...
    String myparameter = request.getParameter("paramname");
    String htmltemplate = "<html>\n"
                         +"<head><title>demo</title></head>\n";
                         +"<body>@parametertag@</body>\n";
                         +"<html>";
    String htmlpage = htmltemplate.replaceAll("@parametertag@",myparameter);
    File yourHTMLfile = new File("wheredoyouwannagotoday.html");
    FileOutputStream fos = new FileOutputStream(yourHTMLfile);
    fos.write(htmlpage.getBytes());
    fos.close();You're done.
    Happy Coding! :-) &copy;

  • How to make a Java application that will change the client box's IP address

    HI how to make a Java application( that application would be run on the client ) that will change the client box's IP address ( IP address of itself )

    If you can do that through the command line, then use Runtime.getRuntime().exec(...) to execute your command.

  • How to make a simple C program universal from the command line???

    Hi all,
    I've developed widgets that use a simple C program. I had no clue how to make it universal. Apple documentation is all about big projects to be developed inside Xcode and so on, but I don't understand even the introductory remarks...
    As far as I've read, I have to make a binary for PPC and a binary for i386, and then merge it with lipo. Fine. I get my PPC binary from:
    gcc-4.0 prog.c -o prog_ppc -lm -arch ppc -arch ppc64
    Now, it seems that I have to use:
    gcc-4.0 prog.c -o prog_i386 -lm -arch i386
    The latter command didn't work until I added -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/ at the end. With this, it creates a binary file, but with the following message:
    /usr/bin/ld: warning fat file: /usr/lib/system/libmathCommon.A.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
    and I guess this is quite an issue if I don't have the common math functions, no?...
    Can somebody help me? I googled a lot on this, and found nothing helpful.
    Cédric

    Thanks, it helped me. I googled a bit to build up my Makefile, and this is what I got.
    CC= gcc-4.0
    CFLAGS= -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386
    LDFLAGS= -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -lm
    TARGETS= skycalc.fixed.c
    all: $(TARGETS)
    $(CC) $(TARGETS) $(CFLAGS) $(LDFLAGS) -o skycalc_universal
    Thanks again.

  • How to make a still from a frame in the timeline?

    how to make stills from a frame in the timeline or browser in  FCPX?
    I want to place it elswhere in the timeline but also in iPhoto for exporting on the web or printing etc.
    How to do that?
    Thanks!

    Bruce27 wrote:
    No, I don 't agree, it helped me many times and explaned me a lot but the keywordsearch function (or something like that) could be much better.
    That's what I meant - the search facility.
    If you can't find the content, help is of no use whatever.
    Andy

  • How to make a ARCH package from local folder?

    hello ARCH lovers
    I can't seem to figure out how to make a installable
    package from a folder on my desktop?
    Coming from Slackware; the procedure would be simple enough just issuing
    "makepkg /root/pkgname.txz"
    Now; how would I do the same in ARCH?
    I know about PKGBUILD, etc but there is no source or any url's
    I just need to make it into a .pkg.tar.xz
    The package is my "kernel-live-kit" for both x86 and x86_64 versions of arch
    enabling one to remaster there existing install into a livecd/usb, etc
    The kernel itself is kernel26-zen from AUR
    http://aur.archlinux.org/packages.php?ID=30330
    however; mine is quite different and also includes all components to make the livecd using modified linux-live-6.3.0
    scripts and special stuff
    The pkg includes a premade kernel with modules and full kernel source
    The resulting live media is similar to my nFluxOS builds
    http://multidistro.com/
    As I will be releasing the new four horsemen of nFluxOS today; I also made 4 Kernel pkg's for the arch and slack versions
    Those will be for x86/x86_64 versions for both arch and slackware
    I did this in lieu of creating a quartet of x86_64 versions of nFluxOS; as that would up the number of versions to 8
    and I would then have to maintain 8 distro's instead of 4.
    I made a testing version of ARCH x86_64 live
    http://www.linuxquestions.org/questions … ost4017796
    so, I really need to make the ARCH x86 and x86_64 kernel kits into installable pkg's because there are many symlinks that would get corrupted if I just tarred it and then the end user untars it and copies it somewhere it would mess up the symlinks.
    as I said, in slackware I do makepkg and it creates a script named "doinst.sh" that makes all the symlinks, etc
    so, any help appreciated!
    thanks

    You can read a simple introduction to using the ABS here.
    By the way, it's not hard. Out of all the distributions I've used, Arch Linux is the only one I've figured out how to make packages for.

Maybe you are looking for

  • Implementing a "back button" in a JSC project.

    I would like to give my use a "back button" that acts like the back button on most browsers. In other words, add a button to a page and when the user clicks that button, the user will be sent back to the previous page just like if they clicked the ba

  • Need help installing Flash Player

    After following the Adobe trouble shooting procedures, I'm still unable to install Flash Player.  Can anyone help?  OS is Vista Home Premium.

  • Downloading question

    I had no problem signing up and making an account, but when I go to download it says Internet Explored cannot display this.  My internet connection is excellent, and I have allowed the pop ups for this site so I'm not sure what else I can do.  Any he

  • When I use my ipod in the car it goes back to the start of the track every time i start the car. why is this?

    When I use my ipod in the car it goes back to the start of the track every time i start the car. why is this?

  • Transaction CO28....

    Hi, I am using CO28 transaction.I am passing Profile and plant on the selection screen. Output list is displayed. Now I am trying to download the records throgh List - > Export -> Microsoft Excel -> Table. The excel sheet is getting downloaded,but th