First time to create the OLAP Cube - problem of aggregation

I'm new to OLAP technology and I want to build the first OLAP cube. I use the scott schema is:

1-building dimension on the table 'DEPT' with a level deptno.

2-building cube with a sal of measure on the table 'EMP '.


Emp table

DEPTNO SAL

20 800
30 1600
30 1250
20 2975
30 1250
30 2850
2450 10
20 3000
10 5000
30-1500
20 1100
30 950
20 3000
10 1300


DEPt table

DEPTNO DNAME

10 ACCOUNTING
SEARCH 20
30 SALES
40 OPERATIONS



When I use the wizard to maintain and then display the data, that the sum of the wage is not accurate, it looks like

sum

all departments 5550
accounting of 1300
Researches. 3000
sale 1250
0 operations


the values must be

sum

all departments 29025
accounting 8750
Researches. 10875
sale 9400
0 operations

Why the aggregation of the values for the ministries are not accurate?

Problem is visible in your table.

Emp table

DEPTNO SAL

20 800
30 1600
30 1250
20 2975
30 1250
30 2850
2450 10
20 3000
10 5000
30-1500
20 1100
30 950
20 3000
10 1300

There are several Dept. not with different sal. In OLAP when you load this record then the last record just victories. That's why, if you look at it then you will see the value that you see is the last value is charged.

To solve this, you should do a group (emp) deptno and sum (sal). Load the folders and you'll see the correct result.

I hope this helps.

Thank you
Brijesh

Tags: Business Intelligence

Similar Questions

  • I have just downloaded/subscriber to photoshop and paid the annual fee.  Following purchase, my very first time to load the Client creative Cloud, the app closed and will not reopen.  I can't locate the original location of the purchase binding, so now I'

    I have just downloaded/subscriber to photoshop and paid the annual fee.  Following purchase, my very first time to load the Client creative Cloud, the app closed and will not reopen.  I can't locate the original location of the purchase link, so now that I'm just try the 'free download' option.  Still crashes the Client Creative.  I upgraded to Yosemite.  Same thing.  There, anyone have a suggestion for me?  Thanks in advance.  Frustrated and at $119.

    Login on Adobe.com with your user ID and the password manage you account to see if your subscription is here. If it's usr Adobe cleaner for the installation of the creative Cloud Desktop application.  It allows to download, install and enable you to creative cloud applications.

    The Adobe Creative Cloud Cleaner tool allows to solve installation problems

    Download Adobe Creative cloud apps | Free trial of Adobe CC

  • Everytime I open Photoshop CS2, it starts as if it were the first time.  All the settings are default and it asks me to register even though I already have.  How do I save my settings and keep his memory?

    Everytime I open Photoshop CS2, it starts as if it were the first time.  All the settings are default and it asks me to register even though I already have.  How do I save my settings and keep his memory?

    Right-click on the exe to PS file and choose Run as administrator. I think you choose the option "check mail", it will not ask again.

  • My system hangs during startup "for the first time" after running the system recovery.

    HP G62 - 227 CL

    Win 7 (64 bit)

    No error message, in itself; just a screen frozen on reboot.

    Months, my computer has suddenly started glitching on me.  I stopped and tried a reboot.  The system froze on start with flying colors.  System recovery tried several times but must have made a mistake because he wouldn't.  Resolved to buy a new hard drive and reinstall from the recovery disks.  Delayed unnecessarily until today, months later.

    Before you buy a new hard drive, has decided to relaunch the system recovery.  It worked!  I tried the option that has deleted everything and restored to the software and factory settings.  Everything seemed to work like a charm: hard drive reformatted, reinstalled software, the system prompted me to reboot.  Yes, I did.  Windows started to boot, "Preparting your computer for first use of Setup" appears... and freezes.  For hours.  Hard drive led is off.

    BTW, made sure the button Wi - Fi was on what I read on the problems of recovery if it was turned off when the program is run.

    Restarted.  Press F11.  A ran maintenance and checked the hard disk for errors.  There are errors.  Unfortunately, the default setting of CHKDSK does not repair them.   A opted for a command line.  RAND CHKDSK again with option '/ f/r' seen in other posts.  Here I am too ignorant to get the program to run properly, I guess.  I ran CHKDSK on the two player X and C.  No error found... sort of.  I know they exist because the system will not start.  (Yes, I tried again.)  Return to the command prompt, I tried to run CHKDSK on the drive C again.  This time I got a message that I must first dismount (remove?) the reader.  As I don't know what that means, I opted for the 'no' and have decided to post this help message.

    So.  Suggestions on what do I do then?  More specifically: How do CHKDSK to fix the errors it found?  I think the message was: "errors in $130 of the sector...". "It shows this message two times at the end of 62%.  Freezes for a long time.  Gets will still only slow down to a crawl again around 70%, but no longer.  Then returns to the start of system recovery screen.

    System recovery ran again for the pleasure.  Again, seemed to work like a charm.  Unfortunately, the laptop again sits frozen at "Preparing... for first use" screen again.  It heats more turns.  The audible fan works now plans higher... If none of this helps.  I am stopping and waiting for your advice.

    Thank you!

    Zac:

    My apologies for the delay to return to you.  Believe you that computer gremlins have not hit my very stable desktop which has been fine for years with sudden instability driver?  McAfee thanks for this most recent update!

    In any case, after several diagnoses and find the hard drive has failed in each of them, I decided to install a new copy of Windows 7 as a test while I wait for my upcoming recovery disks in the mail.  I did it by removing all partitions on the drive and do a fresh install.  Here again, everything seemed to go well until that (apparently) a certain area of the drive was used to save/installation of the files.  Even after CHKDSK runs several times (each time he repaired several defective sectors but stalled after only 10% of the disk) the system will become unstable - the last number being a blank screen after logging on to Windows.  So, all in all, epic fail on the side of the hard drive.  The new drive is installed and waiting for my recovery disks.

    Thanks for all your suggestions.  They have been a great help with information, but not with the results because of the training.

    M

  • Windows 7 - Excel 2010 - unable to connect to the OLAP Cubes SQL 2000

    Running 32-bit Windows 7 - Excel 2010 - unable to connect to SQL 2000 of the GreatPlains OLAP Cubes - message Getting connection refused actively.

    It works with XP and even load Excel 2010.  I can't find what I need to change in win 7.  I guess that's the firewall or driver settings.  I completely disabled the firewall and still no luck.  I also took the file to connect to the XP machine and tried to use it as an existing connection and still have the error.  I ran Excel on the Win 7 XP SP2, XP SP3 and still no luck.  I have spent hours reading and researching the issue and can not find an answer.
    I tried to change the OLAP service account and open all ports on the server.  Still nothing.  The error message will connect to the client computer and the server does not record demand, so I think that I don't yet get on the server.  I do not understand as well as if the message is actively refusing connection.
    I can run the cubes very well on the server and on the XP SP3 with Excel 2010 machine.
    I'm in my troubleshooting garnis.  There has been some problems, that I have not been able to solve in Microsoft Servers and this is one.  I know that there is an answer.  I'm just not see it.
    Thank you!!

    Hi Litiasheldon,

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.

    SQL Server (TechNet Forums)

    http://social.technet.Microsoft.com/forums/en-us/category/SQLServer

     

    I hope this helps.

  • Mini tape DV - first time transfer to the suggestions of necessary hard drive

    Maybe it's not the ideal forum for this, but there's probably first users who have dealt with this before...

    I'm a fan of video full/some time user first with tapes Mini DV a dozen in a box that have not been read over the years. (I sold the camera a long time ago) I just discovered that the Mini DV is now obsolete and that I would be better to go fast if I want to get these images before a Mini DV equipment is no longer available.  I want to make a one-time transfer of images to a disk external terabyte, but do not know what is the most economical way to go about it.

    I looked through this Ebay page http://tinyurl.com/nu43k3j where I can spend hundreds on the recorders, players, camcorders. I know not what questions to ask - as I use Firewire or USB, or is it slower? Should I get a cheapo camcorder used for these 12 bands, and hope that the engine tends, or do I need a player/bridge? In addition, I don't know what is the format of the contents of the tape Mini DV will be when transferred. Once I get a device, are there different formats or codecs should I consider before I start the transfer or a film DV Mini still comes like .mov or something? I want just the raw images, something first can change. The transfer format after what I want is something that I would need to know before buying something I guess...

    Any suggestions? Something to sell? Thanks in advance!

    Mac OS 10.6.8 | 2x2.26 GHz Quad Core Intel Xeon | First CS6

    TheOriginal150mph wrote:

    In addition, I don't know what is the format of the contents of the tape Mini DV will be when transferred. Once I get a device, are there different formats or codecs should I consider before I start the transfer or a film DV Mini still comes like .mov or something? I want just the raw images, something first can change.

    Mac OS 10.6.8 | 2x2.26 GHz Quad Core Intel Xeon | First CS6

    I transferred a lot of these bands, not so long ago. Looking at your specs, we have very similar Mac Pro office towers. This means that your Mac probably has FireWire 400 (6-pin) and FireWire 800 (9-pin) ports on the front and the back, so you're completely covered on having FireWire. This leaves the other side, the camera. A miniDV camera should have port FireWire 4 pin on it (Sony called iLink on their cameras). The main thing is that you will need a FireWire cable 4 pin at one end for the camera, and 6 or 9 pin ports FireWire on your Mac at the other end either. If you need to buy the cable Monoprice is less than $5.

    It shouldn't really be a problem with miniDV format; It was a rather well established standard and most of miniDV cameras should it have saved the same way. You are right that miniDV raw footage is automatically imported as .mov files. There is nothing to choose here. .Mov is just an extension of file name for QuickTime container format, what is really inside is a video file in the standard DV codec. You will still need to first export it to a format of modern such as H.264 to upload it to a website.

    Premiere Pro should have no trouble in but you need to check your first capture settings. With the camera is plugged, enabled and set to play mode, go to first preferences, click device control and set it to the model and the camera brand. Then file > Capture should work. In the Capture window, click the settings tab and make sure that Format of Capture is DV, HDV not. Once all this is set, you should be able to control the first miniDV camera and record interactively.

  • Animation animate edge does not start the first time I load the page. But the second time.

    Hi all

    I have problems with animation of edge on a web page. It does not load the first time the page is loaded, but charge very well the second time or at any time after that. To test I empty my cache, then reload the page. It seams to work in Internet Explorer, the first time, but not Firefox or chrome.

    I have a temporary copy of the page here... http://emiwip.com/Monique-Mathieu/landing-page-WIP.html

    Can someone tell me what is happening?

    Thank you.

    Dan

    I found the answer here... Publication is no longer works in the latest edge

    It seems that you need to load the last jQuery in the head of the pag. That suits him.

    Dan

  • I wanted to remember my password in a single site, but first time I clicked the issue appeared in the No. and now I don't know hot to set it to. I have

    I want to save my password in mozilla firefox in a single site.
    But what first time I wrote my pass and this question appeared to remember (save) my pass
    I clicked on no for missclick. Now I can't change it. I tired to clear the cookies and history.
    I visit this site of more than 10 times a day and my connection is quite long.
    How can I save password and login in this site now?

    You can delete all stored data with a specific area through "Forget this Site" from the context menu of the history entry (see the history or the history sidebar) or via the subject: permissions page.

    With the help of "Forget this Site" will delete everything as bookmarks, cookies, passwords, cache, history, and exceptions in this area, so be careful and if you have a password or other data from that domain that you do not want to lose so take note of these passwords and bookmarks.
    You can't recover from which "forget" unless you have a backup of the affected files.

    It has no lasting effect, so if come back you on such a 'forgotten' site, then the data of this Web site will be saved once more.

    The website may use autocomplete = off to prevent Firefox to save and fill in the name and the password.

    You can remove autocomplete = off with a bookmarklet to make Firefox to record names and passwords and other form data.

  • The use of Premiere Elements for the first time, cannot open the prproj file

    Help!  I use Premiere Elements for the first time, and I can't open a prproj file

    You're absolutely right, prproj's Premiere Pro.

  • Removal of cells for the OLAP CUBE

    Hello
    I want to remove the old CUBE cell (to keep the House)?

    Is there any process for that?

    Thank you very much
    Alexandre Martins

    If your build script contains a CLEAR sequence, then the cube will automatically synchronize with the fact table. Consider the following sequence of actions.

    (1) insert a line in fact with (prod = "P1", time = 'T1')
    (2) load the cube. The cell (prod = "P1", time = 'T1') will now be in the cube.
    (3) remove the line from the fact
    (4) load the cube again.

    Will be the cell (prod = "P1", time = 'T1') still be in the cube at the end of all this? The answer is YES, if the script is (LOAD, SOLVE) and SO if the script is (CLEAR, LOAD, SOLVE). The AWM default script is LOAD, SOLVE.

  • all characters replaced by square with two zeros on the top and a number below, works ok when uninstall it, reload and start the first time, after that the problem reappears. sometimes works first time to reboot. IE and Chrome ok, light running. v 7, wind

    Set up of fonts etc seems to be ok, still had problems with plug-ins disabled

    Try to set the pref gfx.font_rendering.directwrite.use_gdi_table_loading false on the topic: config page.

    To open the topic: config page, type Subject: config in the address bar (address) and press the 'Enter' key, as you type the url of a Web site to open a Web site.

    If you see a warning then you can confirm that you want to access this page.

    • Use the filter at the top bar of the on: page config to more easily spot a preference.
    • Preferences that have changed also show "BOLD" (user set).
    • Preferences can be reset to the default value using the context menu if they are set of users
    • Preferences can be changed via the context menu: Edit (string or integer) or toggle (Boolean)
  • I got the message "SIM failure" on my IPhone 5.  The first time, I turned the phone off and turned it back on and it started working again.  I got the same message today and by turning the phone then next turn did not eliminate it.

    message "SIM failure" of "no SIM".  1st time it happened I turned the phone off and turned it back on and it was OK.  It happened again, and this time cut off and back on does not the phone is working correctly.  Cannot make or receive calls.  Nothing has ever changed with my carrier.

    First get a replacement SIM from your operator. If this does not fix it you have a hardware problem.

  • First time Audio of the bad Clip

    I made a little video to illustrate the problem, because it is easier to show than to explain:

    Premiere Pro problem - YouTube

    This problem occurs randomly. The only way I found to get it back is to rebuild the composition. I had to resort to keep each video in a separate project, because everytime I open a project I'm afraid that this will happen. It seems to happen on both my work and home computer and it happened since before the recent update.

    As I said, I couldn't find any mention of this problem online, but I could be looking under the wrong keywords.

    Any ideas?

    Edit: I had this problem before the upgrade, but that goes for first 8.0.0 fixed. I can now open the same specific project file, and everything works fine, so I guess it's something to do with the "valorisation" (break) first project when you open it with a newer version. So yes, don't update if you want to work with your existing projects!

    Hi Zorpley,

    Zorpley wrote:

    Edit: I had this problem before the upgrade, but that goes for first 8.0.0 fixed. I can now open the same specific project file, and everything works fine, so I guess it's something to do with the "valorisation" (break) first project when you open it with a newer version. So yes, don't update if you want to work with your existing projects!

    Yes, it is never a good idea to update a project to halfway there. Thank you for the presentation of reports.

    Kevin

  • Installation CC for the first time: stuck at the stage "pending."

    Hello - I have an installation LR4 and decided to upgrade to CC.  I am running Mac OSX 10.11 (El Capitan) on an iMac of mid-2011.  I bought the subscription for CC LR6/PS and I'm following the guests to install.  I downloaded the installer CC DMG and opened it.  I have then double click the installer.  There is now an icon of Adobe (infinity symbol) in my bar menu at the top of the screen.  When I click on it, I get the picture below.

    Under the 'Apps' tab, it says only: "the wait" next to Lightroom.  This is not a very descriptive or useful status.  What exactly should I wait?  There download something?  This is post something?  And how much time should I wait?

    Any help is appreciated.  Thank you.

    Screen Shot 2015-10-25 at 5.51.33 PM.png

    Finally installed.  It seems that the installation process has been murder my network connection.  All other devices (iPhone, laptop) maintains a connection to my wifi network, but my iMac could not hold a connection when installing CC. Lucky for me, I am a human being unpleasant and happened to have a 60 foot ethernet cable "hanging around" (you can bet that I need all 60 feet to reach the modem down).  A few reboots later and I'm in business.  If all goes well with the app is a bit more transparent.

  • How can I format my Macbook Pro? I am first timer for formatting the Mac after using it for 5 years. Could you give the steps in the process of formatting? Thank you

    How can I format Macbook Pro OS X Yosemite 10.10.5? Could you give me the steps of formatting?

    -Backup of data you want to save

    -Start in Recovery

    OS X: on OS X Recovery - Apple Support

    and then format the boot disk and resinstall OSX via recovery

Maybe you are looking for

  • Need help with my Y40-80? power management

    I get message to the center of the Action as follows: Compatibility problem between your power management system and Windows Your power management system is not compatible with this version of Windows. The name of the model of your power management s

  • Not all applications on the iPhone in iTunes

    In iTunes, I click on the iPhone icon. The left-hand columns shows the summary setting selections, Apps, music, etc... I click on applications. It shows all of the home screens OK on the right. At the top right, it shows I have 156 apps, that's right

  • U16 anomaly of image in the container Image Imaq Vision

    Someone would have seen this type of anomaly and know a work around.  What's weird, is that I have not seen in constantly.  Image appears correctly in ImageJ.

  • I'm unable to access my Windows Live Hotmail account. Why did happen and how can I solve this problem?

    What's wrong?  I've always used Hotmail, but now I can't do ANYTHING with HOTMAIL. Someone please HELP me to get my HOTMAIL support, PLEASE. I REALLY need to use my PC and I REALLY want to get to HOTMAIL, all of my information is here, WILL someone p

  • Windows 8 will not recognize my product key!

    I have had up to Windows7 for windows 8, Microsoft sent an email me my product key, but I want to do a clean reinstall. When I enter my product key reinstall windows do not recognize.When I ranked up 7 to 8, I kept all my old settings, but this cause