Trying to prove one set of queries is killing performace (50% CPU)

A set of queries for which SUM( cpu_time ) from the V$SQLAREA view represents around 50% of all CPU_TIME in the entire V$SQLAREA at any given point in time. We ran the check every 15 seconds and these queries always count for a hughe 40-60%.
QUESTION: given that pin ratio is 99+% for SQL AREA, can we assert that these few queries are actually responsible for +/- 50% of the load ?
This is important to us as we have a workaround that will be costly to put in place and want to confirm the hypothesis before undertaking the work. Moreover, thess queries are coming from an ERP and we may need their approval to do such customization.
We saw interesting stuff on the FORUM confirming our thinking but could not see anything yet that positively confirms our approach.
Thx a lot
Claude Huard

Thanks John,
This is a long story. We first looked at Statpack info. We are READ and CPU intense. We have then identified the TOP SQL, the so-called "bad guys". We regognize them by the table they access.
To see how bad the bad guys were, we have tried this V$SQLAREA thing I am questioning about and the numbers were impressive ( 40 - 65 % of CPU_TIME ).
Parallelly, we could also confirmed that when then BUFFER_GETS go higher than a certain threshold, the response time for a typical query running every 20 minutes is degradating. The two curves follow a similar pattern.
Tadam : we believe we have found the bad guys that most likely impact performance and make users complain.
Fixing the bad guys is an issue because they are in the core of a financial ERP so we need a good case to undertake that effort. We would also prefer having the vendor’s support in the customization effort.
To build our case, we though we could show the relative load of the bad guys with respect to the entire load. Back to the original question, maybe I shall nuance what I mean by the every-15-seconds lookup. We get the instant face value of the cumulative CPU_TIME (and BUFFER_GETS, etc.) for the cursors. One lookup is the sum of all cursors within V$SQLAREA. Another lookup is the sum of those bad guys matching a criteria (excluding our own query...). What we look at is the delta between two cumulative values. The sum of all cursors increases by such and the sum of the bad guys increases by such. That is the percentage of increase we are looking at. Does that approach make sense ?
Plese note that the cumulative for the entire V$SQLAREA sometimes go down. To be thourouigh, we only consider snapshots where the total number of cursors + the sums look the same. We have several snapshotrs to look at so we only keep numbers that seem growing steadily. We pay attention to the number of cursors that typically is 3700. The pin ration of SQL AREA is close to 100% so we though the approach was raesonable.
Thanks,
Claude

Similar Messages

  • I have had a real problem after installing ML. In mail my archive files were tripled (exact copies), then when I tried to remove one set of the archives, they all disappeared taking all of my files with them.  Any comments which could be useful would good

    I have had a real problkem after installing ML.  The archives in my MAIL tripled (exact copiesof the original files) and when I tried to delete the extra ones, all of my files disappeared.  Is there any way that I can get them back as I need them for business?

    Use the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
    This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps.

  • I have been trying to do the serial number retrieval for the Photoshop elemems 13 and hve been having trouble getting it to go through. One set of the numbers contains a O with a slash through it and I don't know how to enter it

    I am trying to enter the redemption code for my photoshop elements 13 and have one set that has a O with a slash through it and I have no idea what to enter

    A slashed Ø often represents the number zero, to distinguish it from the character O.
    If you have more questions, please ask in the Downloading, Installing, Setting Up forum.

  • HT1277 Automatic set up for mail isnt working, on the "welcome to mail" pop up its not recognising my password and gives me no option to reset, which password should I be entering? Im assuming its the one for my Mac ? also tried my Yahoo one but no joy...

    Automatic set up for mail isnt working, on the "welcome to mail" pop up its not recognising my password and gives me no option to reset, which password should I be entering? Im assuming its the one for my Mac ? also tried my Yahoo one but no joy.....

       start mail then:
      Preferences> Accounts>  click the  [+] icon and  fill in the blanks.
    select  POP account
      Here are the basic server settings for Yahoo! Mail:
    Incoming Mail (POP3) Server: pop.mail.yahoo.com (Use SSL, port: 995)
    Outgoing Mail (SMTP) Server: smtp.mail.yahoo.com (Use SSL, port: 465, use authentication)
    Account Name/Login Name: Your Yahoo! Mail ID (your email address without the "@yahoo.com")
    Email Address: Your Yahoo! Mail address (e.g., [email protected])
    Password: Your Yahoo! Mail password

  • Have been trying since Friday to set up a One to One class and cannot

    Does anyone know why we cannot set up a One to One class online? Have been trying since Friday to set up a One to One class and cannot

    I have the router that my ISP provided and that is connected to a airport extreme base station wirelessly
    That....will not work. The AirPort Extreme must connect to your ISP provided router using a permanent, wired Ethernet cable connection.
    Once you reset the AirPort Extreme back to factory default settings, make the Ethernet connection, and then reconfigure the AirPort Extreme to create a wireless network.......then......the Time Capsule will be able to wirelessly extend the AirPort Extreme wireless network.
    If you do it this way, you will not be using your ISP provided wireless network at all, so you might want to consider turning off the wireless on the ISP router.....unless you really need a second wireless network for guests, or the kids, etc.

  • If I have forgotten my security questions and am not given the option to send them to an alternate email address because I didn't have one set up at the time, how can I get passed this point? I'm sure I'm blocked out at this time from trying.

    I cannot remember my security questions and I am not given the option to send to an alternate email address because I didn't have one set up at the time.  How can I get past this point?

    See Here... ask to speak with the Account Security Team...
    Apple ID: Contacting Apple for help with Apple ID account security
    Or Here  >  Apple  Support  iTunes Store  Contact

  • Republish to Flickr from LR4 posts as new photos instead of updates them (only one set, not all)

    I have a single set on Flickr that I cannot republish updates to from LR4 - republishing a modified photo posts it as a new photo.  All other sets seem to work fine.  I use the "built-in" Flickr plugin and LR4.3 with a Flickr Pro account.  This issue started with LR4.2 when I got my Nikon D800.  I've tried just about everything I can think of and have been searching for any similar problems for months and decided to finally ask for help myself.
    Back in October I created a set of an event, and published the photos to Flickr without issue.  A week later I wanted to republish a few photos and noticed that they instead published to the set as new.  If I mark to republish, yet another copy is posted as new.  After some testing, this is only for images in this one particular set - any other images in any other set update their existing version as expected.
    After a while I began to wonder if the machine tag I added was causing it (active:event=) so I removed the tag from the image on both sides and tried to republish again with the same results.
    Naturally I delete the new copy of the image from Flickr which then dissassociates the LR photo with anything on Flickr.  I found another (cludgy) plugin which can associate photos in LR with photos on Flickr and that fixes the link between the two.  But again, republish from LR and a new copy shows up.
    Any ideas?  This has been driving me nuts.  I haven't found any special permissions or settings on the Flickr set or within LR which would explain why this one set is affected and no others.  I don't want to delete the set on Flickr and lose the history.  I'm trying to avoid having to manually update the images on Flickr where I would also have to manually update the titles, etc.

    This has happened for LR4.2, 4.3, 4.4, and now LR5.  The seemingly random nature of this bug is irratating.  Last week while still on LR4.4 I published a photo, changed it, and was able to republish it without issue.  Today on LR5 I published a set and went to republish a handful of photos only for them to be added as new photos to the set.  LR5 indicated that they were photos to republish and not new ones to the set.

  • TS1292 Purchased gift cards about a year ago. Misplaced two of them. Found them yesterday, tried to use one today. Invalid. If the money is tagged to the card code why is it invalid? Now have to take photos of both sides and find receipt? Guess out $20?

    Purchased gift cards about a year ago. Misplaced two of them, but Found them yesterday. i tried to use one today. Invalid. If the money is tagged to the card code why is it invalid? Now have to take photos of both sides and find receipt? Finding the receipt might take as long as .finding the cards. If I paid hard earned money for the card from a computer company why would that card not be in their data base waiting to be activated? I guess I am out $20 to Apple for not activating immediately! My account was hacked once so I won't put a credit card in and live with gift cards. Now I am getting hit for $20, two gift cards for ten each. I now question who and how people are making money?? Is my only solution, buy card, redeem code instantly, purchase item?

    Hi Oxfordataloss,
    Thanks for posting. I'm really sorry you've had such problems with BT, it's certainly not the kind of service we would hope to provide. I'll take your comments on board and if you don't receive the final bill as expected please drop me an email with the account details and a link to this thread for reference.
    Cheers
    David
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • How does one set databse parameters in Tomcat to run a servlet?

    Hi, I am trying to run a applet-servlet code, downloaded from the web. According to the installation instructions, the following is stated:
    Database Parameters. You can provide different database parameters to the servlet. These parameters are set during the administration of the servlet.
    dbDriver - name of the database driver class name (default = sun.jdbc.odbc.JdbcOdbcDriver)
    dbURL - complete database URL (default = jdbc:odbc:StudentDatabase)
    userid - user id (default = <none>)
    passwd - password (default = <none>)
    I am running TOMCAT on a Windows2000 machine. My question is how to does one set the parameters in TOMCAT. What is the default userid and password for TOMCAT.
    Any help/advise is appreciated in advance. Thanks.Regards.

    May be parameters must be set in web.xml in your war

  • Allow only one set of parameter values for all worksheets

    I would like to " Allow only one set of parameter values for all worksheets ", but prompt before executing the worksheet. This function is a great time saver, but the users on occasion would like to change at the least one of the parameters. Is this possible? What setting do I use? I've tried various combinations of the " After opening a workbook: " on the options page. " Run query automatically", " Don't run query (leave sheet empty) ", and " Ask for comformation ". I would have thought that "Ask for comformation " was the trick, but no. I'm considering putting a do nothing parameter that has the setting of " Allow different parameter values for each worksheet. " so that it will keep all the others, default this one, but prompt for a possible change.
    Any thoughts...
    Thanks,
    Jamie

    Hi Jamie
    Even though you have the same parameter for all worksheets a user can still choose what to use on a worksheet. Its just that if they click to another worksheet then that parameter will be applied.
    Which version of Discoverer are you using?
    Best wishes
    Michael

  • One set of files, multiple users

    I've seen a lot of posts on this, but I can't tell if any of the suggestions will give me what I want. Or if what I want is possible. So I thought I'd try to describe what I want to do in detail and see if someone can point me to the right solution.
    I'm using iTunes 5. My wife and I each have laptops where our iTunes libraries used to live, but now we have a G5 (i.e. effectively infinite disk space) and have moved our libraries to it, and feed our iPods from it. So, we have two libraries on one computer, and probably 60-80% of the files are duplicates.
    What I would like to do is merge these file libraries (by hand if needed, since in some cases we have different quality scans of the same songs) so that there is only one set of music files. But I want to keep our two separate sets of playlists, ratings, etc.
    I would also like it if either of us could add to the library, although I understand this might involve resetting file permissions and/or reimporting the library occasionally. We could probably live with only one person being able to add music as long as we could each have our own ratings, but it would be annoying.
    So how much of this is possible? And has anyone made anything like iPhoto Buddy for iTunes? Thanks.

    Thanks,
    I've started looking down that road a bit myself. It's been a while since I tried to solve something like this and have found a few other alternatives similar to your suggestion. I like the looks of the Linksys Network attached Storage
    http://www.linksys.com/servlet/Satellite?childpagename=US%2FLayout&packedargs=c% 3DLProductC2%26cid%3D1119460470527&pagename=Linksys%2FCommon%2FVisitorWrapper
    It's about $700-800 us and has a gigabit connection.

  • Trying to update one table from a second table when data is different

    Hello;
    I have a the same table in two databases. The database are connected with a DB Link. I am trying to update one of the tables based on the data in the second table when the EMP_ID matches but the LAST_NAME does not match.
    The table(s) look like:
    Table Name:EMP
    EMP_ID
    LAST_NAME
    FIRST_NAME
    MIDDLE_INITIAL
    My SQL is:
    update EMP TARGET
        set (TARGET.LAST_NAME, TARGET.FIRST_NAME,TARGET.MIDDLE_INITIAL) = (
            select SOURCE.LAST_NAME, SOURCE.FIRST_NAME, SOURCE.MIDDLE_INITIAL
            from EMP@OTHER_DB SOURCE where
            TARGET.PHYSICIAN_ID = SOURCE.PHYSICIAN_ID
            and TARGET.LAST_NAME <> SOURCE.LAST_NAME); This returns an update count of all the rows not the few that I want.
    Any help would be great!

    Hi,
    Sky13 wrote:
    Hello;
    I have a the same table in two databases. The database are connected with a DB Link. I am trying to update one of the tables based on the data in the second table when the EMP_ID matches Do you <b>physician</b>_id?
    but the LAST_NAME does not match.
    The table(s) look like:
    Table Name:EMP
    EMP_ID
    LAST_NAME
    FIRST_NAME
    MIDDLE_INITIAL
    My SQL is:
    update EMP TARGET
    set (TARGET.LAST_NAME, TARGET.FIRST_NAME,TARGET.MIDDLE_INITIAL) = (
    select SOURCE.LAST_NAME, SOURCE.FIRST_NAME, SOURCE.MIDDLE_INITIAL
    from EMP@OTHER_DB SOURCE where
    TARGET.PHYSICIAN_ID = SOURCE.PHYSICIAN_ID
    and TARGET.LAST_NAME <> SOURCE.LAST_NAME); This returns an update count of all the rows not the few that I want.
    Any help would be great!There's no WHERE clause in that UPDATE statement, so every row of the target table will be modified.
    if you only want to modify the rows that have a match in the source table, then add a WHERE clause (perhaps "WHERE EXISTS (...) with a sub-query very miuch like the one you already have), or use MERGE instead of UPDATE.
    If you'd like help, post CREATE TABLE and INSERT statements to re-create the tables as they exist before the UPDATE, and also post the contents of the changed table after the UPDATE.
    Always say which version of Oracle you're using.
    Perhaps you want something like this:
    {code}
    MERGE INTO     emp     target
    USING     (
         SELECT     o.emp_id
              ,     o.last_name
              ,      o.last_name
              ,      o.middle_initial
              FROM     emp@other_db     o
              JOIN     emp          t ON     o.emp_id     = t.emp_id
                             AND     o.last_name     != t.last_name
         )          source
    ON     (target.emp_id     = source.emp_id
    WHEN MATCHED THEN UPDATE
    SET     target.last_name     = source.last_name
    ,     target.first_name     = source.first_name
    ,     target.middle_initial     = source.middle_initial
    {code}
    assuming emp is unique, at least in other_db.
    This will work in Oracle 10 (and up). In Oracle 9, MERGE always requires a WHEN MATCHED clause, so add one if you must. it doesn't matter what it does; the USING subquery will only return matches.
    Edited by: Frank Kulash on Oct 10, 2011 4:45 PM

  • I changed my password and used the new computer, next time I tried to log in it wouldn't accept the password. I tried the old one as well but that doesn't work either. Can anyone help?

    I changed my password and used the new computer, next time I tried to log in it wouldn't accept the password. I tried the old one as well but that doesn't work either. Can anyone help?

    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    When the menubar appears select Terminal from the Utilities menu. Enter resetpassword at the prompt and press RETURN. Follow instructions in the dialog window that will appear.
    Or see Reset a Mac OS X 10.7 Lion Password and OS X Lion- Apple ID can be used to reset your user account password.
    Be sure to open Keychain Access and repair the keychain:
    Assuming that you are using a recent build of OS X, go to /Applications/Utilities and launch the app called Keychain Access. Go to the Window pulldown menu and select "Keychain First Aid". Enter your password, set the radio button to "Repair", and click "Start".

  • Exporting error "Nothing can be exported until at least one setting is configured"

    I imported a GPO Folder export into Microsoft Security Compliance Manager. 
    Then, I went to export it as SCCM DCM 2007 (.cab) so that I can prepare to import it into SCCM for Configuration Baseline data. 
    However, Compliance Manager throws me an error which I haven't run into on any other GPO's I've done the same process for.
    Does anyone know what this mean and how I can fix this?
    After import, I go to Export:
    Save it as file name USGCB WIN7 User Settings_DCM.CAB
    Immediately get this message, so it doesn't save after all:
    Microsoft Security Compliance Manager
    Nothing can be exported until at least one setting is configured.
    OK   
    Does anyone know what needs to be configured? It seems to me the settings are configured? I haven't got this message until this one and I've done about 10 other exports with no issue. 

    Were you able to resolve this issue, I'm encountering the same exact issue (SCCM 2012 R2, SCM 3.0, trying to export a GPO, which was imported into SCM, in the hope of exporting it, to create a 'GPO baseline' in SCCM 2012).
    Regards TIA!

  • Return 0 count when a Department within a CTE contains records for one set, but not another

    This is a bit of a complicated question to explain, but I am hoping not as complicated to resolve. I will try to describe this generically to allow anybody who can provide a solution to provide a generic example that anybody could adapt to their data.
    In my query, I created a CTE which combines two separate sets of data. One set of data lists who is within a given audience (call it audiencelist). The other set lists people who are in that same audience and have completed a given course (call if courselist).
    This is then all brought into one table by the CTE.
    My resulting report in Visual Studio 2008 is then going to include an expression to count each employee from both lists by department within the same field. (I will achieve this by first grouping by department, and then by the appropriate measure,
    which in the case of this example, I am calling audiencelist and courselist. Then, I will include an expression that counts the Employees.) The problem is, if a department has somebody in the audience, but NOBODY from that department has completed the
    course yet, I need the department to still show up in the "courselist" but with a count of 0.
    Example of the desired result:
    Dept 
    Field            
    Count
    A       Audiencelist  25
    A       Courselist     15
    B       Audiencelist  20
    B       Courselist     10
    C       Audiencelist  20
    C       Courselist     0
    I was trying as best I can to make this a generic example, but let me know if it would be easier if I share some of my actual code so you can provide a solution. My hope was that somebody could offer a generic example I could adapt to my data.

    I am having a little trouble following this example, or the one provided at the link above. I was hoping to just allow for a generic example, but I guess it may help if I share my actual code. My query is rather long, but I will just share the relevant parts
    for the sake of the sample.
    gm101measures
    AS
    select
    dimUser.EmpFK MeasureEmpFK,
    RIGHT(OrgCode2, LEN(OrgCode2) - 2) MeasurePC,
    audusersName MeasureAudName,
    dimActivity.ActivityName MeasureActName,
    dimActivity.Code MeasureActCode,
    CASE
    WHEN OrgCode2 LIKE 'US%' then 'US'
    WHEN OrgCode2 LIKE 'CA%' then 'CA' END
    CountryCode,
    'ACTUALS_GM101' SOURCESYSTEMID,
    Null CURRENCYCODE,
    'GM101CERT' MEASUREID,
    Null MEASUREDOLLARS,
    CASE
    WHEN GETDATE() Between '20131001 00:00:00' AND '20140930 11:59:59' THEN '2014'
    WHEN GETDATE() Between '20141001 00:00:00' AND '20150930 11:59:59' THEN '2015'
    WHEN GETDATE() Between '20151001 00:00:00' AND '20160930 11:59:59' THEN '2016'
    WHEN GETDATE() Between '20161001 00:00:00' AND '20170930 11:59:59' THEN '2017' END
    FiscalYear,
    CASE
    WHEN MONTH(GETDATE()) = '10' THEN '1'
    WHEN MONTH(GETDATE()) = '11' THEN '2'
    WHEN MONTH(GETDATE()) = '12' THEN '3'
    WHEN MONTH(GETDATE()) = '1' THEN '4'
    WHEN MONTH(GETDATE()) = '2' THEN '5'
    WHEN MONTH(GETDATE()) = '3' THEN '6'
    WHEN MONTH(GETDATE()) = '4' THEN '7'
    WHEN MONTH(GETDATE()) = '5' THEN '8'
    WHEN MONTH(GETDATE()) = '6' THEN '9'
    WHEN MONTH(GETDATE()) = '7' THEN '10'
    WHEN MONTH(GETDATE()) = '8' THEN '11'
    WHEN MONTH(GETDATE()) = '9' THEN '12' END
    FiscalMonthNbr
    from
    dimUser INNER JOIN
    audusers ON audusers.DataSetUsers_EmpFK = dimUser.EmpFK INNER JOIN
    Org ON dimUser.PrimaryDomFK = Org.Org_PK INNER JOIN
    factUserRequiredActivity ON factUserRequiredActivity.UserID = dimUser.ID INNER JOIN
    dimActivity ON dimActivity.ID = factUserRequiredActivity.ActivityID INNER JOIN
    dimRequirementStatus ON factUserRequiredActivity.ReqStatusID = dimRequirementStatus.ID LEFT OUTER JOIN
    UsrOrgs ON dimUser.ID = UsrOrgs.UserID LEFT OUTER JOIN
    UsrDoms ON dimUser.ID = UsrDoms.UserID
    WHERE
    dimActivity.ActivityName = 'GM101 Program Completion'
    AND
    dimRequirementStatus.name = 'Satisfied'
    AND
    (audusersName = @audparam)
    UNION
    select
    dimUser.EmpFK MeasureEmpFK,
    RIGHT(OrgCode2, LEN(OrgCode2) - 2) MeasurePC,
    audusersName MeasureAudName,
    Null MeasureActName,
    Null MeasureActCode,
    CASE
    WHEN OrgCode2 LIKE 'US%' then 'US'
    WHEN OrgCode2 LIKE 'CA%' then 'CA' END
    CountryCode,
    'ACTUALS_GM101' SOURCESYSTEMID,
    Null CURRENCYCODE,
    'GM101AVAIL' MEASUREID,
    Null MEASUREDOLLARS,
    CASE
    WHEN GETDATE() Between '20131001 00:00:00' AND '20140930 11:59:59' THEN '2014'
    WHEN GETDATE() Between '20141001 00:00:00' AND '20150930 11:59:59' THEN '2015'
    WHEN GETDATE() Between '20151001 00:00:00' AND '20160930 11:59:59' THEN '2016'
    WHEN GETDATE() Between '20161001 00:00:00' AND '20170930 11:59:59' THEN '2017' END
    FiscalYear,
    CASE
    WHEN MONTH(GETDATE()) = '10' THEN '1'
    WHEN MONTH(GETDATE()) = '11' THEN '2'
    WHEN MONTH(GETDATE()) = '12' THEN '3'
    WHEN MONTH(GETDATE()) = '1' THEN '4'
    WHEN MONTH(GETDATE()) = '2' THEN '5'
    WHEN MONTH(GETDATE()) = '3' THEN '6'
    WHEN MONTH(GETDATE()) = '4' THEN '7'
    WHEN MONTH(GETDATE()) = '5' THEN '8'
    WHEN MONTH(GETDATE()) = '6' THEN '9'
    WHEN MONTH(GETDATE()) = '7' THEN '10'
    WHEN MONTH(GETDATE()) = '8' THEN '11'
    WHEN MONTH(GETDATE()) = '9' THEN '12' END
    FiscalMonthNbr
    from
    dimUser INNER JOIN
    audusers ON audusers.DataSetUsers_EmpFK = dimUser.EmpFK INNER JOIN
    Org ON dimUser.PrimaryDomFK = Org.Org_PK LEFT OUTER JOIN
    UsrOrgs ON dimUser.ID = UsrOrgs.UserID LEFT OUTER JOIN
    UsrDoms ON dimUser.ID = UsrDoms.UserID
    WHERE
    audusersName = @audparam
    The final main query actually just pulls in everything from this CTE. My next step was going to be to pull this information all into the report, sort and group by MeasurePC (the Department, referred to in my company as a "Profit Center" and by
    the MeasureID (GM101Cert for those who completed the course, GM101Avail for those who are part of the audience) and then have an Expression that would count each MeasureEmpFK (the employee codes). However, that is when I realized it wouldn't count 0's for
    any MeasurePC in the GM101Cert set of data that did not have any people complete the course.
    Here is a mock-up of how the data would currently look from this above query:
    Country   Code
    SOURCESYSTEMID
    Fiscal Year
    Fiscal Month Nbr
    Org Value
    CURRENCYCODE
    MEASUREID
    MEASUREDOLLARS
    Measure Emp FK
    US
    ACTUALS_GM101
    2014
    7
    Org A
    GM101AVAIL
    170445
    US
    ACTUALS_GM101
    2014
    7
    Org A
    GM101AVAIL
    2671
    US
    ACTUALS_GM101
    2014
    7
    Org A
    GM101AVAIL
    113
    US
    ACTUALS_GM101
    2014
    7
    Org A
    GM101AVAIL
    271
    US
    ACTUALS_GM101
    2014
    7
    Org B
    GM101AVAIL
    272
    US
    ACTUALS_GM101
    2014
    7
    Org B
    GM101AVAIL
    317
    US
    ACTUALS_GM101
    2014
    7
    Org B
    GM101AVAIL
    375
    US
    ACTUALS_GM101
    2014
    7
    Org A
    GM101CERT
    170445
    US
    ACTUALS_GM101
    2014
    7
    Org A
    GM101CERT
    2671
    From here, I was going to pull the data into a report to count. Using the above example, my desired result would be:
    Country   Code
    SOURCESYSTEMID
    Fiscal Year
    Fiscal Month Nbr
    Org Value
    CURRENCYCODE
    MEASUREID
    MEASUREDOLLARS
    Measure Emp FK
    US
    ACTUALS_GM101
    2014
    7
    Org A
    GM101AVAIL
    4
    US
    ACTUALS_GM101
    2014
    7
    Org A
    GM101CERT
    2
    US
    ACTUALS_GM101
    2014
    7
    Org B
    GM101AVAIL
    2
    US
    ACTUALS_GM101
    2014
    7
    Org B
    GM101CERT
    0
    I had planned to achieve this just by pulling the data into my report and then, instead of pulling the EmpFK, I would create an expression to count them. However, I realized this wouldn't achieve the 0 counts when some PC's did not have anybody who had completed
    the course yet.

Maybe you are looking for