Repository Logical Column Transactional Update Failed [nQSError:37005]

Hello,
I use version 11.1.6 of the admin tool and bi server. The repository has no errors and and I can save it BUT as soon as I add a logical column and try
to to the consistency check I get the error: Transactional Update Failed [nQSError:37005]
If I remove the logical column the check shows no errors and I can save the repository again.
So why does a logical column cause the problem?
Thanks

Hi,
Can please check ur deploying rpd is modified one or not. i mean what the changes are done in new rpd....
i mean first u select for ex:sh rpd open it in offline mode add logical columns and save it and deploy this rpd only.then only u will see the added columns..
u didn't deploy the sh001 or sh002...just u should deploy recently saved rpd...
I am trying this and its working 5n..
let me know updates...
please mark if it correct/helpful..............

Similar Messages

  • NQSerror: 37005 Transactional Update Failed

    Working in the 11g repository in online mode. When attempting to check in changes, I'm getting this error:
    nQSError: 37005 Transactional Update Failed
    If I go to the Fusion Middleware Control and restart all OBIEE services, everything is fine again for a little while, but it eventually decides to stop accepting online changes and produces the same error message.
    Consistency check passes.

    Well, after a month's absence our little friend NQSerror 37005 is back. It is showing up when I'm attempting to check in changes and save the repository (online mode). The only change I made was a permissions change to one of my subject areas.
    Here are the things I've tried to diagnose the problem, with the word SUCCESS if I received no error, or the word FAIL if I got the 37005 error. In all cases, after a 37005 error I've reconnected to the repository in online mode, not allowing the 37005 to get stuck in memory from one test to the next.
    1. Offline: Make a copy of the repository, open in offline mode, change subject area permissions, save: SUCCESS
    2. Online: Add a new fact in the business model, attempt to check in changes and save: SUCCESS
    3. Online: Move the new fact into the presentation layer, check in changes and save: SUCCESS
    4. Online: Change permissions for a subject area and check in changes: FAIL
    5. Online: Change permissions for a presentation layer table and check in changes: SUCCESS
    6. Online: OK, now this is really strange: After doing #5, do #4 again (the one that failed the first time). Now it succeeds. Go figure.
    Since the problem has now gone back into hiding, I'll suspend this post. If the problem appears again, I'll resume the post.
    Note to myself: In the case of a 37005 error, make a mental note of what was changed prior to doing a check-in. Reconnect in online mode and try the exact same thing again. If that error appears again, reconnect in online mode, and try setting permissions for a presentation layer table then checking in changes. If that succeeds, try whatever didn't work before.

  • [nQSError:37005]Transaction update failed.

    Hi All,
    I am working on Obiee 11g(11.1.1.5).
    when i am set data level security for user and saved. At that time 'Transaction Update failed' Error Display.
    User have BIConsumer Group.
    Thanks
    Prashant.
    Edited by: Prashant on Mar 15, 2012 9:45 PM

    We had the same issue...This is an upublihser bug for which oracle supplies a patch
    Bug 9884975 - 11G ADMIN TOOL RECEIVES NQSERROR: 37005 WHEN SAVING ONLINE RPD CHANGES
    Solution
    The fix for the unpublished Bug 9884975 is included in Patch 12909840 - GETTING ERROR : [46036] INTERNAL ASSERTION: CONDITION M_LOCK.ISACQUIRED()
    Regads
    Dhruv

  • Transactional update failed ..

    Hi All,
    I opened RPD in online mode.we Check out One column Do some changes And When I do Check in Getting Error.
    nQSError: 37005 Transactional update failed.
    RPD global consistency check It's Ok.d't showing Any Errors.
    useing 11.1.1.6.0.

    it's a bug in obiee 11.1.1.6 so if you want to modify any thing go for offline
    if we want to resolve the issue need to run the patch files that one also not available for this version i think
    thanks
    bethamsetty
    Edited by: 961992 on Nov 5, 2012 4:53 AM

  • Logical Column Mappings update

    If I want all my Logical Columns in the Business Model layer to point to a new and different database (e.g: EIMDW) instead of "ORAEIMU", what is the quickest and easiest way to update all the column mappings at once in the Business Model Layer?
    Your feedback will be very much appreciated
    Boniface Ntawutarama

    Hello :)
    Maybe someone else has a better suggestion. But as for our project's case, when we want to point to a different database with EXACT same definition of schema, tables, and fields, we simply re-define the ODBC connection to point to a different Data Source Name (in System DSN) or we edit the actual data source definition in tnsnames.ora. This would mainly affect your physical layer, though, not just your BMM.
    If you wish to use both old and new databases in the repository, I think you would need to import the tables from the new database and change the Sources of each Logical Folder to point to the new tables.
    Hope this helps. Share with us if you find a better solution. :)
    - Cha :)

  • Can anyone answer why in logic pro X I keep getting a window popping up that says Directory not found, result code= -120, followed by another window saying, Fade update failed, (error -120)?

    Can anyone answer, why in Logic Pro X I keep on getting a window popping up saying, Directory not found, result code = -120. Followed by another window saying, Fade update failed, (error -120)?
    I am running the latest version 10.0.5 through a Macbook Pro that has just been upgraded to 16GB Ram and a 960GB SSD which has made it as fast as ****. I upgraded because I was experiencing problems before and it was suggested that I didn't have enough Ram?
    I am using a Focusrite scarlett 2i4 and an Alesis Q61 midi controller. Weirdly, just trying to put a bass line down on a track using the Alesis, the bass sound goes out of tune with the track during recording only. This is very frustrating! I surely can't be the only one experiencing this?
    Many thanks
    Rob.

    Hi
    Time lost could be a problem, but.....
    Sadly, I don't think that there are any Apple docs relating to networked storgae issues with Logic. Other than a 'school' or 'business' setup, NAS/OD/AD setups are not usual circumstances for audio.
    If the issue is one of data backup & security, it may be enough to automatically backup the students local work folders to the NAS.
    If the issue is one of the Users being able to work from any Mac and pick up their files from the server, you are not likely to resolve this problem, without copying the files to the Local Mac.
    CCT

  • Logical Column based on expression leads to nQSError: 14020

    Hallo everbody,
    I've got two dimensions D01, D02 and a fact table F.
    In Answers I have created analysises before containing D01.A and D02.A without problems.
    Now, in the rpd-file, I added another logical column to dimension D01, say D01.B, which is based on an expression of type "SOME_FUNCTIONS(D01.A))".
    If I drag D01.B and D02.A into an analysis I get the error message: nQSError: 14020 "None of the fact tables are compatible with the query request..."
    What is the problem here? I don't quite understand what is going wrong here, as I only used some functions on a colum that is working...
    Thanks for any help.
    Best regards
    Matt

    Exactly. As I wrote, B contains some functions (mainly SUBSTR and CAST) that depend on other columns from the same dimension (all other colums are physical).
    Funny thing is, when I drag D01.B into the analysis alone, it works all fine... Adding a measure also leads to the said error.

  • New Logical Column using repository variables

    Hello all,
    Can anyone let me know how we create a new logical column in OBIEE 11g in the BMM layer using the repository variables..Is there any way/chance to create such new logica columns.If so please let me know how we will be doing that

    This is alwayz possible.
    Here is the syntax.
    CASE WHEN VALUEOF(VAR1) ='ABC' THEN
    "Sample App Lite Data"."".""."F10 Revenue Facts (Order grain)"."Units"
    WHEN VALUEOF(VAR1) ='XYZ' THEN
    "Sample App Lite Data"..."F10 Revenue Facts (Order grain)"."Discnt_Value"
    END

  • How to add customize columns to update logic of vanilla etl code

    Hi Experts,
    How to add customize columns to update logic of vanilla etl code.
    example we added a column and passes through custom expression and passed to target it worked fine for full load.
    but when the code move to QA we found defect that some of the data is not loaded. we are unable to get the updated data for customize columns.(not incremental load using DAC)
    In documnet it was mentioned to add to update logic port. can any one help us in this issue.
    Thanks
    Naresh

    You now that you need to ask BI Apps related questions on this forum: Business Intelligence Applications because I see the same question here: How to add customize columns to update logic of vanilla etl code
    This kind of cross-posting isn't correct forum behavior.
    Regards,
    Stijn

  • Logic and OS X Lion - i/o error code 36 - fade update fail

    Logic and OS X Lion - i/o error code 36 -
    from the moment i installed Lion, Logic started giving me the i/o error code 36 - fade update failed. I had never seen it before.
    Anytime I change a fade, or crossfade, i get this error code, which is all the time.
    I have tried all updates, and I even reinstalled Logic. What do I do?

    do any of these help:
    http://www.native-instruments.com/forum/showthread.php?p=925390
    Http://discussions.apple.com/thread/2768362?start=0&tstart=0

  • OBIEE 11.1.1..6.9 Logical Column Derived from existing columns

    Hello,
    I've just installed the last version 11.1.1.6.9 in my test environment and I already have a problem with the RPD.
    I've some logical column derived from existing columns using an expression. (so far, so good)
    With Adminsitration Tool (Last Version 11.1.1.6.9), when I launch the Consistency Check Manager I have the following error (I use the SampleAppLite RPD in order to reproduce the problem)
    ERRORS:
    SampleApp Lite :
    [nQSError: 46008] Internal error: File server\objectmodel\Src\SOSecureRpGateway.cpp, line 479.
    [nQSError: 23013] An error occurred when extracting the metadata definition for the Attribute '"SampleApp Lite"."D3 Orders (Facts Attributes)"."test"'.
    The logical column test on "D3 Orders (Facts Attributes)" :
    CASE WHEN "SampleApp Lite"."D3 Orders (Facts Attributes)"."Order Date" > "SampleApp Lite"."D0 Time"."Calendar Date" THEN 1 ELSE 0 END
    The problem appears only when I use multiple source table in column expression.
    Does anyone has the same problem ? I think it's easy to reproduce (I searched on OracleSupport but I didn't find anything yet)
    Benjamin

    I know that there is no relation between "SampleApp Lite"."D3 Orders (Facts Attributes)"."Order Date", "SampleApp Lite"."D0 Time"."Calendar Date", it's also the same thing in my own RPD.
    But as it's working with the 11.1.1.6.2 BP1 version I don't understand why it's not working with 11.1.1.6.9.
    Implicit fact column is not set on my repository, but I don't have any request with only dimensional column, so if my understanding is correct I don't need to use it. Also, the problem appears during the check of the repository not in answers.
    thanks anyway

  • Yum update fails on oel 4

    Hello,
    I have a virtual machine set up with OEL4 and Oracle Database 9iR2 installed on it quite a while back. All had worked well at the time of setup.
    Couple of days back, I decided to update the OS and ran "yum update" with yum pointing to "el4_latest" repository on oracle public yum server.
    However, the "yum update" fails with a transaction error.
    I am a newbie with Linux and so am looking for help to figure out what is causing this error and how to resolve it.
    Following are the details, I feel are relevant to my problem but let me know if you need any more details.
    The error message:
    [oracle@localhost ~]$ cat Desktop/yumupdateerror.log
    Transaction Check Error:   file /usr/lib/libdaplcma.so.1.0.2 conflicts between attempted installs of compat-dapl-1.2.5-2.0.7-2.el4 and compat-dapl-2.0.15-1.el4
      file /usr/lib/libdat.so.1.0.2 conflicts between attempted installs of compat-dapl-1.2.5-2.0.7-2.el4 and compat-dapl-2.0.15-1.el4The details of the OS
    [oracle@localhost ~]$ lsb_release -a
    LSB Version:    :core-3.0-ia32:core-3.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch
    Distributor ID: EnterpriseEnterpriseAS
    Description:    Enterprise Linux Enterprise Linux AS release 4 (October Update 5)
    Release:        4
    Codename:       OctoberUpdate5
    [oracle@localhost ~]$ uname -r
    2.6.9-55.0.0.0.2.ELsmp
    [oracle@localhost ~]$ rpm -qa | grep kernel
    kernel-smp-2.6.9-55.0.0.0.2.EL
    kernel-utils-2.4-13.1.99.0.1
    kernel-devel-2.6.9-55.0.0.0.2.EL
    kernel-2.6.9-55.0.0.0.2.EL
    kernel-hugemem-devel-2.6.9-55.0.0.0.2.EL
    kernel-smp-devel-2.6.9-55.0.0.0.2.EL
    [oracle@localhost ~]$ rpm -qa | grep compat
    compat-libstdc++-296-2.96-132.7.2
    compat-libgcc-296-2.96-132.7.2
    compat-libcom_err-1.0-5
    compat-openldap-2.1.30-7.4E
    java-1.4.2-gcj-compat-1.4.2.0-27jpp
    compat-gcc-32-c++-3.2.3-47.3
    compat-libcwait-2.1-1
    compat-libstdc++-33-3.2.3-47.3
    compat-db-4.1.25-9
    compat-gcc-32-3.2.3-47.3Thanks in advance.

    Dude wrote:
    I suggest to check the release notes: https://oss.oracle.com/el4/docs/RELEASE-NOTES-U8-en.html, which mentions a known problem that might apply.
    Dude,
    Thanks for the response and the link above. But it gives a "404 Not found".
    What happens if you try "yum install compat-dapl" prior to using yum update?Now, why did not I think of that clever idea? You were spot on!!!
    When I installed compat-dapl separately and subsequently ran yum update, everything worked well.
    In the process, I also managed to resolve my original issue (not mentioned here) but yum update looks like a sledgehammer approach to crack the nut.
    I have a feeling just updating/adding few packages may have resolved the issue (without having to update the kernel itself, caused by yum update) and discussing it with experts like yourself would have added to my knowledge about linux.
    But that issue had virtualbox in the picture and so I was worried some over-active moderator would have blocked my thread and redirected me to virtualbox forum.
    Anyway, Thanks once again for your help with this.

  • Windows Server 2008 R2 updates fail - error code 80071A30

    One of our windows 2008 servers has recently failed to install any updates.
    I have tried the following solutions but non have worked.
    1. Cleaning up the SoftwareDistribution folder.
    2. Fixed some errors using WindowsUpdateDiagnostic.diagcab
    3. Installed the System update readiness tool. the CheckSUR.log detects no errors.
    Still all updates fail with error code 80071A30
    Here's a link to the CBS.log and CheckSUR.log
    http://speedy.sh/WHYkP/logs.7z
    It may be worth mentioning that WSUS is installed on this machine. When updateing, cabs are downloaded from itself and it has always been like this without any problem. I have even tried updating directly from Microsoft servers without success. There is
    though a difference when checking for updates directly from Microsoft in which the windows update first asks to update itself. the same error occurs anyway.

    Here's the first 130 lines of CBS.log
    2014-09-20 15:59:35, Info                  CBS    Starting TrustedInstaller initialization.
    2014-09-20 15:59:35, Info                  CBS    Loaded Servicing Stack v6.1.7601.17592 with Core: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\cbscore.dll
    2014-09-20 15:59:36, Info                  CSI    00000001@2014/9/20:11:29:36.467 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7feeef9f0ad @0x7feef259849 @0x7feef2234e3 @0xfff0e97c @0xfff0d799
    @0xfff0db2f)
    2014-09-20 15:59:36, Info                  CBS    Could not load SrClient DLL from path: SrClient.dll.  Continuing without system restore points.
    2014-09-20 15:59:36, Info                  CSI    00000002@2014/9/20:11:29:36.467 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7feeef9f0ad @0x7feef2a6816 @0x7feef272aac @0x7feef2235b9 @0xfff0e97c
    @0xfff0d799)
    2014-09-20 15:59:36, Info                  CSI    00000003@2014/9/20:11:29:36.467 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7feeef9f0ad @0x7fef7778738 @0x7fef7778866 @0xfff0e474 @0xfff0d7de
    @0xfff0db2f)
    2014-09-20 15:59:36, Info                  CBS    Ending TrustedInstaller initialization.
    2014-09-20 15:59:36, Info                  CBS    Starting the TrustedInstaller main loop.
    2014-09-20 15:59:36, Info                  CBS    TrustedInstaller service starts successfully.
    2014-09-20 15:59:36, Info                  CBS    SQM: Initializing online with Windows opt-in: False
    2014-09-20 15:59:36, Info                  CBS    SQM: Cleaning up report files older than 10 days.
    2014-09-20 15:59:36, Info                  CBS    SQM: Requesting upload of all unsent reports.
    2014-09-20 15:59:36, Info                  CBS    SQM: Failed to start upload with file pattern: C:\Windows\servicing\sqm\*_std.sqm, flags: 0x2 [HRESULT = 0x80004005 - E_FAIL]
    2014-09-20 15:59:36, Info                  CBS    SQM: Failed to start standard sample upload. [HRESULT = 0x80004005 - E_FAIL]
    2014-09-20 15:59:36, Info                  CBS    SQM: Queued 0 file(s) for upload with pattern: C:\Windows\servicing\sqm\*_all.sqm, flags: 0x6
    2014-09-20 15:59:36, Info                  CBS    SQM: Warning: Failed to upload all unsent reports. [HRESULT = 0x80004005 - E_FAIL]
    2014-09-20 15:59:36, Info                  CBS    No startup processing required, TrustedInstaller service was not set as autostart, or else a reboot is still pending.
    2014-09-20 15:59:36, Info                  CBS    NonStart: Checking to ensure startup processing was not required.
    2014-09-20 15:59:36, Info                  CSI    00000004 IAdvancedInstallerAwareStore_ResolvePendingTransactions (call 1) (flags = 00000004, progress = NULL, phase = 0, pdwDisposition = @0xd9f6f0
    2014-09-20 15:59:36, Info                  CSI    00000005 Creating NT transaction (seq 1), objectname [6]"(null)"
    2014-09-20 15:59:36, Info                  CSI    00000006 Created NT transaction (seq 1) result 0x00000000, handle @0x1f0
    2014-09-20 15:59:36, Info                  CSI    00000007@2014/9/20:11:29:36.467 CSI perf trace:
    CSIPERF:TXCOMMIT;451
    2014-09-20 15:59:36, Info                  CBS    NonStart: Success, startup processing not required as expected.
    2014-09-20 15:59:36, Info                  CBS    Startup processing thread terminated normally
    2014-09-20 15:59:36, Info                  CSI    00000008 CSI Store 1584208 (0x0000000000182c50) initialized
    2014-09-20 15:59:36, Info                  CBS    Session: 30397638_679184229 initialized by client WindowsUpdateAgent.
    2014-09-20 15:59:36, Info                  CBS    Read out cached package applicability for package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, ApplicableState: 112, CurrentState:64
    2014-09-20 15:59:38, Info                  CBS    Session: 30397638_703676072 initialized by client WindowsUpdateAgent.
    2014-09-20 15:59:39, Info                  CBS    Read out cached package applicability for package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, ApplicableState: 112, CurrentState:64
    2014-09-20 15:59:39, Info                  CBS    Session: 30397638_708980038 initialized by client WindowsUpdateAgent.
    2014-09-20 15:59:39, Info                  DPX    Started DPX phase: Resume and Download Job
    2014-09-20 15:59:39, Info                  DPX    Started DPX phase: Apply Deltas Provided In File
    2014-09-20 15:59:39, Info                  DPX    Ended DPX phase: Apply Deltas Provided In File
    2014-09-20 15:59:39, Info                  DPX    Started DPX phase: Apply Deltas Provided In File
    2014-09-20 15:59:40, Info                  DPX    Ended DPX phase: Apply Deltas Provided In File
    2014-09-20 15:59:40, Info                  DPX    Ended DPX phase: Resume and Download Job
    2014-09-20 15:59:40, Info                  CBS    Opened cabinet package, package directory: C:\Windows\SoftwareDistribution\Download\879f71a4d803dabbe2d84ba4a3747100\, sandbox location: \\?\C:\Windows\SoftwareDistribution\Download\879f71a4d803dabbe2d84ba4a3747100\inst\,
    cabinet location: \\?\C:\Windows\SoftwareDistribution\Download\879f71a4d803dabbe2d84ba4a3747100\windows6.1-kb2982378-x64.cab, manifest location: \\?\C:\Windows\SoftwareDistribution\Download\879f71a4d803dabbe2d84ba4a3747100\inst\update.mum
    2014-09-20 15:59:40, Info                  DPX    Started DPX phase: Resume and Download Job
    2014-09-20 15:59:40, Info                  DPX    Started DPX phase: Apply Deltas Provided In File
    2014-09-20 15:59:40, Info                  DPX    Ended DPX phase: Apply Deltas Provided In File
    2014-09-20 15:59:40, Info                  DPX    Ended DPX phase: Resume and Download Job
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~ar-SA~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~sk-SK~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~sl-SI~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~th-TH~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~hr-HR~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~bg-BG~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~ro-RO~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~sr-LATN-CS~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~et-EE~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~uk-UA~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~lt-LT~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~lv-LV~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~cs-CZ~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~da-DK~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~de-DE~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~el-GR~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~es-ES~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~fi-FI~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~fr-FR~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~he-IL~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~hu-HU~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~it-IT~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~ja-JP~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~ko-KR~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~nb-NO~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~nl-NL~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~pl-PL~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~pt-BR~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~pt-PT~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~ru-RU~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~sv-SE~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~tr-TR~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~zh-CN~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~zh-TW~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~zh-HK~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-WinPE-Package~31bf3856ad364e35~amd64~~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-CredentialManagementRole~31bf3856ad364e35~amd64~ar-SA~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, no parent found, go absent
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, Parent: Microsoft-Windows-CredentialManagementRole~31bf3856ad364e35~amd64~en-US~6.1.7601.17514,
    Disposition = Detect, VersionComp: EQ, ServiceComp: EQ, BuildComp: EQ, DistributionComp: GE, RevisionComp: GE, Exist: present
    2014-09-20 15:59:40, Info                  CBS    Appl: detectParent: package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, parent found: Microsoft-Windows-CredentialManagementRole~31bf3856ad364e35~amd64~en-US~6.1.7601.17514,
    state: Installed
    2014-09-20 15:59:40, Info                  CBS    Appl: detect Parent, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, disposition state from detectParent: Installed
    2014-09-20 15:59:40, Info                  CBS    Appl: Evaluating package applicability for package Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0, applicable state: Installed
    2014-09-20 15:59:40, Info                  CBS    Exec: Asynchrous operation, session completes later
    2014-09-20 15:59:40, Info                  CBS    Asynchronous Session: 30397638_708980038 finalized. [HRESULT = 0x00000000 - S_OK]
    2014-09-20 15:59:40, Info                  CBS    Blocked system sleep; prior state: 0x80000000
    2014-09-20 15:59:40, Info                  CBS    Exec: Processing started.  Client: WindowsUpdateAgent, Session: 30397638_708980038, Package: Package_for_KB2982378~31bf3856ad364e35~amd64~~6.1.1.0
    2014-09-20 15:59:40, Info                  CBS    Exec: Using execution sequence: 693
    2014-09-20 15:59:40, Info                  CBS    Reboot mark refs incremented to: 1
    2014-09-20 15:59:40, Info                  CBS    Disabling LKG boot option
    2014-09-20 15:59:40, Info                  CBS    Client specifies CbsMovePayload, or client is Windows Update, will move payload to system.

  • Logical Columns - Running Sum & 3Month Rollover

    Hi All,
    Need to build a logical column.
    I have a column with number of units (count distinct) in RPD.
    I need to build a new logical column in the REPOSITORY , such that it has running sum values.... sothat when i pick this #units column and months column in the ANSWERS...I need to get roll over of all previous values for first month.
    Say Jan ---> XXXX units ( summation of all previous available units - few years)
    Feb----> YYYY units ( sum of till jan values & Feb units)
    Mar----> ZZZZ ...etc ( sum of till Feb values & Mar units) so on.
    Based on this newly built column I need to build another column of " 3 months roll over " column.
    Replies appreciated.
    Thanks in advance.

    Hi user11939829m
    So help me understand your new measures a little better. For the sake of this post, let's say your data is like so
    Month Year -- Units
    Jan 2010 -- 1
    Feb 2010 -- 2
    Mar 2010 -- 3
    Apr 2010 -- 4
    May 2010 -- 5
    Jun 2010 -- 6Then let's say you have a report with the above columns and the new running sum columns.
    Month Year -- Units -- Running Sum Units
    Jan 2010 -- 1 -- 1
    Feb 2010 -- 2 -- 3
    Mar 2010 -- 3 -- 6
    Apr 2010 -- 4 -- 10
    May 2010 -- 5 -- 15
    Jun 2010 -- 6 -- 21Now what exactly would your three months rollover be? Would the 3 month rolling sum = running sum for current month + running sum for last month + running sum for last last month?
    i.e.
    Month Year -- Units -- Running Sum Units -- 3 Month Rolling Sum
    Jan 2010 -- 1 -- 1 -- 1
    Feb 2010 -- 2 -- 3 -- 4
    Mar 2010 -- 3 -- 6 -- 10
    Apr 2010 -- 4 -- 10 -- 19
    May 2010 -- 5 -- 15 -- 31
    Jun 2010 -- 6 -- 21 -- 46Not sure what value such a measure would add. Or do you mean 3 month rolling sum would be the running sum for just the last three months (like below)? This makes more sense but in your description, you indicated that you'd build the 3 month rolling sum off of the running sum which confused me a bit.
    Month Year -- Units -- Running Sum Units -- 3 Month Rolling Sum
    Jan 2010 -- 1 -- 1 -- 1
    Feb 2010 -- 2 -- 3 -- 3
    Mar 2010 -- 3 -- 6 -- 6
    Apr 2010 -- 4 -- 10 -- 9
    May 2010 -- 5 -- 15 -- 12
    Jun 2010 -- 6 -- 21 -- 15 Is that what you are going for? Please elaborate.
    Best regards,
    -Joe

  • JDBC Update Failed in JTable Interface

    A connection is established to database and the JTable gets the details from database and displays it in the form of a JTable as normal. When i edit just one cell, the update is processed successfully, however when try to update second cell on that particular table, the update would fail. It seems that the second update doesnt actually generate a SQL update statement to execute on database. If anyone has come across such a problem, could you please let me know what i am doing wrong here. I am using an instance of this class to create each JTable on my GUI:
    import javax.swing.JTable;
    import javax.swing.JScrollPane;
    import javax.swing.JFrame;
    import javax.swing.SwingUtilities;
    import javax.swing.JOptionPane;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.Vector;
    import java.sql.*;
    import javax.swing.table.AbstractTableModel;
    import javax.swing.event.TableModelEvent;
    public class TableGen extends JFrame {
    public JTable table1;
    public JScrollPane scrollPane;
    private boolean DEBUG = true;
    public TableGen(String squery) {
    JDBCAdapter tabl = new JDBCAdapter("jdbc:odbc:ereg", "sun.jdbc.odbc.JdbcOdbcDriver",
    null,null);
    tabl.executeQuery(squery);
    table1 = new JTable(tabl);
    table1.setPreferredScrollableViewportSize(new Dimension(500, 70));
    //Create the scroll pane and add the table to it.
    scrollPane = new JScrollPane(table1);
    //Add the scroll pane to this window.
    class JDBCAdapter extends AbstractTableModel {
    Connection connection;
    Statement statement;
    ResultSet resultSet;
    String[] columnNames = {};
    Vector          rows = new Vector();
    ResultSetMetaData metaData;
    public JDBCAdapter(String url, String driverName,
    String user, String passwd) {
    try {
    Class.forName(driverName);
    System.out.println("Opening db connection");
    connection = DriverManager.getConnection(url, user, passwd);
    statement = connection.createStatement();
    catch (ClassNotFoundException ex) {
    System.err.println("Cannot find the database driver classes.");
    System.err.println(ex);
    catch (SQLException ex) {
    System.err.println("Cannot connect to this database.");
    System.err.println(ex);
    public void executeQuery(String query) {
    if (connection == null || statement == null) {
    System.err.println("There is no database to execute the query.");
    return;
    try {
    resultSet = statement.executeQuery(query);
    metaData = resultSet.getMetaData();
    int numberOfColumns = metaData.getColumnCount();
    columnNames = new String[numberOfColumns];
    // Get the column names and cache them.
    // Then we can close the connection.
    for(int column = 0; column < numberOfColumns; column++) {
    columnNames[column] = metaData.getColumnLabel(column+1);
    // Get all rows.
    rows = new Vector();
    while (resultSet.next()) {
    Vector newRow = new Vector();
    for (int i = 1; i <= getColumnCount(); i++) {
         newRow.addElement(resultSet.getObject(i));
    rows.addElement(newRow);
    // close(); Need to copy the metaData, bug in jdbc:odbc driver.
    fireTableChanged(null); // Tell the listeners a new table has arrived.
    catch (SQLException ex) {
    System.err.println(ex);
    public void close() throws SQLException {
    System.out.println("Closing db connection");
    resultSet.close();
    statement.close();
    connection.close();
    protected void finalize() throws Throwable {
    close();
    super.finalize();
    // Implementation of the TableModel Interface
    // MetaData
    public String getColumnName(int column) {
    if (columnNames[column] != null) {
    return columnNames[column];
    } else {
    return "";
    public Class getColumnClass(int column) {
    int type;
    try {
    type = metaData.getColumnType(column+1);
    catch (SQLException e) {
    return super.getColumnClass(column);
    switch(type) {
    case Types.CHAR:
    case Types.VARCHAR:
    case Types.LONGVARCHAR:
    return String.class;
    case Types.BIT:
    return Boolean.class;
    case Types.TINYINT:
    case Types.SMALLINT:
    case Types.INTEGER:
    return Integer.class;
    case Types.BIGINT:
    return Long.class;
    case Types.FLOAT:
    case Types.DOUBLE:
    return Double.class;
    case Types.DATE:
    return java.sql.Date.class;
    default:
    return Object.class;
    public boolean isCellEditable(int row, int column) {
    return true;
    public int getColumnCount() {
    return columnNames.length;
    // Data methods
    public int getRowCount() {
    return rows.size();
    public Object getValueAt(int aRow, int aColumn) {
    Vector row = (Vector)rows.elementAt(aRow);
    return row.elementAt(aColumn);
    public String dbRepresentation(int column, Object value) {
    int type;
    if (value == null) {
    return "null";
    try {
    type = metaData.getColumnType(column+1);
    catch (SQLException e) {
    return value.toString();
    switch(type) {
    case Types.INTEGER:
    case Types.DOUBLE:
    case Types.FLOAT:
    return value.toString();
    case Types.BIT:
    return ((Boolean)value).booleanValue() ? "true" : "false";
    case Types.DATE:
    return value.toString(); // This will need some conversion.
    default:
    return "'"+value.toString()+"'";
    public void setValueAt(Object value, int row, int column) {
    try {
    String tableName = metaData.getTableName(column+1);
    // Some of the drivers seem buggy, tableName should not be null.
    if (tableName == null) {
    System.out.println("Table name returned null.");
    String columnName = getColumnName(column);
    String query =
    "UPDATE "+tableName+
    " SET "+columnName+" = "+dbRepresentation(column, value)+
    " WHERE ";
    // We don't have a model of the schema so we don't know the
    // primary keys or which columns to lock on. To demonstrate
    // that editing is possible, we'll just lock on everything.
    for(int col = 0; col<getColumnCount(); col++) {
    String colName = getColumnName(col);
    if (colName.equals("")) {
    continue;
    if (col != 0) {
    query = query + " AND ";
    query = query + colName +" = "+
    dbRepresentation(col, getValueAt(row, col));
    System.out.println(query);
    statement.executeUpdate(query);
    catch (SQLException e) {
    //e.printStackTrace();
    System.err.println("Update failed");
    Vector dataRow = (Vector)rows.elementAt(row);
    dataRow.setElementAt(value, column);
    JScrollPane returnTabl()
    { return scrollPane;

    the setValueAt() method generate the SQL according to
    the selection on the JTable. The second update doesnt
    even generate any SQL query as it should always print
    it out in DOS even if update fails.there is only two possibilites remaining.
    1) there is a problem with the loop. seems unlikely.
    2) the setValueAt is not being called for some other reason.
    why don't you put some more lines to help you see what is happening.... some suggestions.
    uncomment the e.printStackTrace(); line
    put a System.out line at the start of the setValueAt method and through the iterations of the loop.

Maybe you are looking for