Help with Over

Greetings everyone,
I'm trying to use the over function but with two sums, the point is to get the points of a sum to make a graphic that goes up and down depending on this values.
This is the first part thats working
SELECT {RegistoDeposito}.[Data],
SUM({RegistoDeposito}.[Quantidade]) over (order by {RegistoDeposito}.[Data] ASC) as total, '','',''
FROM {RegistoDeposito}
But now I need that that value gets subtracted by the values that come from this column: {Enchimentos}.[Quantidade].
I have no ideia how to do this, please help me if you can.

If a few rows, here's a suggestion.
IF Object_ID('tempdb..#MovSeq','U') is not null DROP TABLE #MovSeq;
-- agrupa entradas e saídas, gerando tabela temporária
;with Movimento as (
SELECT [Date], -Quantidade
from RegistoDeposito
union all
SELECT [Date], Quantidade
from Enchimentos
SELECT [Date], Sum(Quantidade) as Quantidade
into #MovSeq
from Movimento
group by [Date];
-- cria índice para agilizar pesquisa por data
CREATE clustered INDEX I1 on #MovSeq ([Date]);
-- acumula
SELECT [Date],
Quantidade= (SELECT Sum(Quantidade) from #MovSeq as M2 where M2.[Date] <= M.[Date])
from #MovSeq as M
order by [Date];
IF Object_ID('tempdb..#MovSeq','U') is not null DROP TABLE #MovSeq;
Or
-- acumula
SELECT M1.[Date],
Sum(M2.Quantidade) as Quantidade
from #MovSeq as M1 inner join
#MovSeq as M2
on M2.[Date] <= M1.[Date])
group by M1.[Date]
order by M1.[Date];
José Diz     Belo Horizonte, MG - Brasil
(Se encontrou a solução nesta resposta, ou se o conteúdo foi útil, lembre-se de marcá-la)

Similar Messages

  • Help with over by clause in query.

    guys i have a table like this
    create table fgbtrnh ( fgbtrnh_doc_code varchar2(9),
                                             fgbtrnh_trans_date date,
                                             fgbtrnh_trans_amt number(17,2),
                                             fgbtrnh_acct varchar2(6) ,
                                             fgbtrnh_fund_code varchar2(6),
                                             fgbtrnh_rucl_code varchar2(6) );
    with data like this.
       insert into fgbtrnh( fgbtrnh_doc_code,fgbtrnh_trans_date,fgbtrnh_trans_amt,fgbtrnh_acct,fgbtrnh_rucl_code,fgbtrnh_fund_code) values('J0005445','31-MAY-10','38491','6001','BD01','360098');
    insert into fgbtrnh( fgbtrnh_doc_code,fgbtrnh_trans_date,fgbtrnh_trans_amt,fgbtrnh_acct,fgbtrnh_rucl_code,fgbtrnh_fund_code) values('L0000005','01-JUL-08','38260','6001','BD01','360098');
    insert into fgbtrnh( fgbtrnh_doc_code,fgbtrnh_trans_date,fgbtrnh_trans_amt,fgbtrnh_acct,fgbtrnh_rucl_code,fgbtrnh_fund_code) values('L0000002','30-JUN-08','24425.29','6001','BD01','360125');
    insert into fgbtrnh( fgbtrnh_doc_code,fgbtrnh_trans_date,fgbtrnh_trans_amt,fgbtrnh_acct,fgbtrnh_rucl_code,fgbtrnh_fund_code) values('L0000002','30-JUN-08','48057.71','6001','BD01','360125');
    insert into fgbtrnh( fgbtrnh_doc_code,fgbtrnh_trans_date,fgbtrnh_trans_amt,fgbtrnh_acct,fgbtrnh_rucl_code,fgbtrnh_fund_code) values('M0000002','30-JUN-08','90','7200','BD01','360098');i would like to get a running total of these items so i tried something like this.
    select  f.fgbtrnh_doc_code,f.fgbtrnh_trans_date,f.fgbtrnh_trans_amt, sum(f.fgbtrnh_trans_amt)
    over
    (--partition by  f.fgbtrnh_doc_code
    order by fgbtrnh_trans_date desc  ROWS UNBOUNDED PRECEDING
    --group by  f.fgbtrnh_doc_code
    )total
    From fgbtrnh f
    where f.fgbtrnh_fund_code in ('360098', '360125')
    and f.fgbtrnh_rucl_code = 'BD01'
    and f.fgbtrnh_acct = '6001'
    order by  f.fgbtrnh_trans_date desc,  f.fgbtrnh_doc_codebut i end up with a result set like
    "FGBTRNH_DOC_CODE", "FGBTRNH_TRANS_DATE", "FGBTRNH_TRANS_AMT", "TOTAL"
    "J0005445", 31-MAY-10, 38491, 38491
    "L0000005", 01-JUL-08, 38260, 76751
    "L0000002", 30-JUN-08, 24425.29, 101176.29
    "L0000002", 30-JUN-08, 48057.71, 149234
    i would like to thave the running total to start from the bottom in other word is my total column i would like to end up with the 149234 at the top
    so it would look something like so.
    "FGBTRNH_DOC_CODE", "FGBTRNH_TRANS_DATE", "FGBTRNH_TRANS_AMT", "TOTAL"
    "J0005445", 31-MAY-10, 38491, 149234
    "L0000005", 01-JUL-08, 38260, 110743
    "L0000002", 30-JUN-08, 24425.29, 72483
    "L0000002", 30-JUN-08, 48057.71, 48057.71
    i have tried everything and just cant seem to make this work can someone please point me in the rigth direction.
    I would really appreciate the help.
    Thanks
    Miguel

    Hi, Miguel,
    mlov83 wrote:
    ... Also, if you uniquely order the rows, you won't need the windowing clause ("ROWS UNBOUNDED PRECEEDING"); the default ("RANGE UNBOUNDED PRECEDING") will produce exactly what you want, so you don;'t need to say it.
    I dont really understand what you mean by this ? but if i take a gander are you saying that all my rows would have to be unique and then i wont have to use ("ROWS UNBOUNDED PRECEEDING")I think you got it right.
    The analytic ORDER BY clause doesn't have to result in a unique ordering; there are good reasons for having a unique oprdering, and there are good reasons for not having a unique ordering.
    I'm saying that if the analytic ORDER BY is unique, then you don't need to give a widnowing clause, such as "ROWS UNBOUNDED PRECEEDING".
    Frank sorry if im asking some really stupid questions but i have tried and tried to read and understand "partion by" and "over" work but im not quite sure I understand yet. It's not stupid at all! Analytic functions can be very subtle and confusing.
    Let's use a query based on the scott.emp table, which has seveal rows for each deptno.
    -- Tell SQL*Plus to put a blank line between deptnos, just to make the output easier to read
    BREAK     ON deptno   SKIP 1     DUPLICATES
    SELECT       deptno
    ,       ename
    ,       sal
    ,       SUM (sal) OVER ( PARTITION BY  deptno
                                ORDER BY        sal
                      ROWS            UNBOUNDED PRECEDING
                    )     AS running_total
    FROM       scott.emp
    ORDER BY  deptno
    ,            sal          DESC
    ,       ename
    ;Output:
    `   DEPTNO ENAME             SAL RUNNING_TOTAL
            10 KING             5000          8750
            10 CLARK            2450          3750
            10 MILLER           1300          1300
            20 FORD             3000         10875
            20 SCOTT            3000          7875
            20 JONES            2975          4875
            20 ADAMS            1100          1900
            20 SMITH             800           800
            30 BLAKE            2850          9400
            30 ALLEN            1600          6550
            30 TURNER           1500          4950
            30 MARTIN           1250          2200
            30 WARD             1250          3450
            30 JAMES             950           950PARTITION BY deptno" means do a separate calculation for each distinct value of deptno. Rows with deptno=10 don't effect the results on rows where deptno=20 or deptno=30. Since there are 3 distinct values of deptno, there are 3 distinct running totals.
    Notice that the aNalytic ORDER BY clause results only in a partial ordering. If there are two or more rows in the same deptno that happen to have the same sal, look what can happen:
    {code}
    ` DEPTNO ENAME SAL RUNNING_TOTAL
    ... 30 TURNER 1500 4950
    30 MARTIN 1250 2200
    30 WARD 1250 3450
    30 JAMES 950 950
    {code}
    MARTIN and WARD are in the same partition (deptno=30), and they both have the same sal (1250), so there is no reason why one of those rows would be considered "before" the other one. When you use a windowing clause based on ROWS, as above, and there is a tie for whcih row comes first (as there is a tie between MARTIN and WARD), then one of the rows will arbitrarily be condidered to be before the other one. In this example, it happened to chose MARTIN as the 2nd lowest sal, so running_total=2200 (= 950 + 1250) on the row for MARTIN, and running_total=3450 ( = 950 + 1250 + 1250) on the row for WARD. There's no particular reason for that; it's completely arbitrary. I might do the exact same query tomorrow, or in 10 minutes, and get running_total=2200 on WARD's row, and 3450 on MARTIN's.
    However, it is no accident that MARTIN comes before WARD in the output; the *query* ORDER BY clause (which has nothing to do with the analytic ORDER BY clause) guarantees that, when two rows have the same deptno and sal, then the one with the earlier ename will come first.
    Now, what's the difference between a window based on ROWS and a window bnased on RANGE?
    One difference is that, when a tie occurs in the ORDER BY clause, all rows with the same value of sal get the same value for SUM (sal):
    {code}
    SELECT     deptno
    ,     ename
    ,     sal
    ,     SUM (sal) OVER ( PARTITION BY deptno
                   ORDER BY      sal
                   )     AS running_total
    FROM     scott.emp
    ORDER BY deptno
    ,      sal          DESC
    ,     ename
    {code}
    Notice that the only difference between the first query above and this one is that this one does not have an analytic windowing clause, so the default window, *RANGE* UNBOUNDED PRECEDING is used.
    Output:
    {code}
    ` DEPTNO ENAME SAL RUNNING_TOTAL
    10 KING 5000 8750
    10 CLARK 2450 3750
    10 MILLER 1300 1300
    20 FORD 3000 10875
    20 SCOTT 3000 10875
    20 JONES 2975 4875
    20 ADAMS 1100 1900
    20 SMITH 800 800
    30 BLAKE 2850 9400
    30 ALLEN 1600 6550
    30 TURNER 1500 4950
    30 MARTIN 1250 3450
    30 WARD 1250 3450
    30 JAMES 950 950
    {code}
    Again, look at MARTIN and WARD near the end. They both have the ame sal, so they both have the same running_total=3450 (= 950 + 1250 + 1250). This is often a desireable result, but, in your case, it seems not to be. If you want separate running_totals for MARTIN and WARD, then you eigher have to use a ROW-based window, like we did earlier, or add a tie-breaker to the ORDER BY clause, like this:
    {code}
    SELECT     deptno
    ,     ename
    ,     sal
    ,     SUM (sal) OVER ( PARTITION BY deptno
                   ORDER BY      sal
                   ,          ename          DESC     -- Changed (this is the only change)
                   )     AS running_total
    FROM     scott.emp
    ORDER BY deptno
    ,      sal          DESC
    ,     ename
    {code}
    Output:
    {code}
    ` DEPTNO ENAME SAL RUNNING_TOTAL
    10 KING 5000 8750
    10 CLARK 2450 3750
    10 MILLER 1300 1300
    20 FORD 3000 10875
    20 SCOTT 3000 7875
    20 JONES 2975 4875
    20 ADAMS 1100 1900
    20 SMITH 800 800
    30 BLAKE 2850 9400
    30 ALLEN 1600 6550
    30 TURNER 1500 4950
    30 MARTIN 1250 3450
    30 WARD 1250 2200
    30 JAMES 950 950
    {code}

  • Help with Over 30 Days Data

    Gurus,
    I have to create a ACCOUNTS PAYABLE AGED INVOICE REPORT where I need to to know the Future, Over 30 days (1-29), Over 60 (30-59),Over 90 (60-89). How can I have this info in the report. What are the steps that I need to follow. It's a urgent report. I dont any columns related to Over 30 days........ Is there way to write so sql on the Current date to get that info.
    Please Help.

    First of all, I think you mean "elaborate" not "allowbarate." ;)
    What you need is the date column that represents where the customer payable invoice stands "today," say "INVOICE_DATE." There is a repository variable called CURRENT_DATE which houses the "current date" so you don't have to build it.
    1) Click on the fx button of the INVOICE_DATE column and enter: TIMESTAMPDIFF(SQL_TSI_DAY, CURRENT_DATE, INVOICE_DATE)
    This column will now house the difference between the two dates.
    To determine the days an account is delinquent, create BINS as follows:
    2) Click on the fx column of the above column you have and then click on the BINS tab.
    3) Click on "Add BIN" and in the next window, choose the operand "less than or equal to" and for the value, enter 30.
    4) Click "OK" and name this BIN, "0-29 Days."
    Repeat this for the rest of your date breakpoints and you now have column that categorizes your measure by what category it falls in.
    Edited by: David_T on Sep 29, 2010 7:29 AM

  • Looking for help with respect to configuring MS Exchange server to handle attachments over 10 MB for forwarding to Salesforce (Email-to-case).

    Looking for help with respect to configuring MS Exchange server to handle attachments over 10 MB for forwarding to Salesforce (Email-to-case).
    Problem - SFDC does not create cases from emails that have more than 10 MB of attachments. Our clients will not go-live if their clients cannot send in emails with attachments over 10 MBs
    Potential resolution - Configure MS exchange to strip off the attachments(if over 10 MB) and store it in a public folder, forward the email to Salesforce (so the case gets created or the email
    is associated to an existing case), the client should have some way to know if the attachments were stripped off and should be able to dlownload the attachments and continue with case resolution.
    Any help is appreicated!
    Thanks

    Hi,
    From your description, you want to achieve the following goal:
    Configure Exchange to filter the attachments if the size is over 10 MB and store it in a public folder, and then forward the email to Salesforce.
    Based on my knowledge, I'm afraid that it can't be achieved. Exchange can filter messages with attachments, but it couldn't store these attachments on public folder automatically. Also, I don't see any transport rule can do it.
    Hope my clarification is helpful.
    Best regards,
    Amy Wang
    TechNet Community Support

  • HT5824 I switched over from an iPhone to a Samsung Galaxy S3 & I haven't been able to receive any text messages from iPhones. Please help with turning my iMessage completely off..

    I switched over from an iPhone to a Samsung Galaxy S3 & I haven't been able to receive any text messages from iPhones. I have no problem sending the text messages but I'm not receivng any from iPhones at all. It has been about a week now that I'm having this problem. I've already tried fixing it myself and I also went into the sprint store, they tried everything as well. My last option was to contact Apple directly. Please help with turning my iMessage completely off so that I can receive my texts.

    If you registered your iPhone with Apple using a support profile, try going to https://supportprofile.apple.com/MySupportProfile.do and unregistering it.  Also, try changing the password associated with the Apple ID that you were using for iMessage.

  • Need help with duplicate print jobs over network that I can't cancel

    I have the Photosmart Premium All-in-One on my home network.  My kids who each have laptop running Windows 7 and are connected via wireless to the printer via a DLINK DIR-655.
    They hit the print button too many times and it keeps printing over and over again.
    Is there a way to get the printer to stop printing these duplicates.  I tried turning off/on but they just keep printing.
    We're wasting paper/ink and I need help with a solution.
    Please let me know.  Thanks.
    Angelo

    There should be a button with a red 'X' on it on the front of the printer.  This is the print cancel button.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • How can I get help with pending songs that have taken over 12 hours to fully download?

    How can I get help with pending songs that have taken over 12 hours to fully download?

    You can only suspend service for 3 months at a time (with or without payment) and only twice a year.

  • Why is it ok for a verizon wireless service representative to lie to a customer? I went over my monthly data and i called to ask for some help with the overage because i was barely over. They told me they would take care of it and sold me on a shared data

    why is it ok for a verizon wireless service representative to lie to a customer? I went over my monthly data and i called to ask for some help with the overage because i was barely over. They told me they would take care of it and sold me on a shared data plan that would result in 2gb less data but told me i would save 20$ a month. I agreed and recieved my next statement and to my suprise my bill actually went up 15$ a month and i talked to several people and they all told me there is nothing that can be done to get back on the plan i was on and they can not even give me a discount to get me back to what i was paying. They can only offer me a convenience credit. I will be cancelling service.

    ajwest101,
    We do not want to see you go. I truly apologize for any misinformation regarding your plan. Let's investigate into this a little further. What plan were you on? What plan were you switched to? If you look at the detailed billing online of your previous bill do you see any additional charges other then the plan?
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • HT4623 Over the last few days, I cannot update my apps or connect to iTunes using my iPad.  Can anyone help with this?

    Over the last few days, I cannot load the updates for my iPs apps or download any books via iTunes as it will not allow me to connect to the iTunes store.

    Hi susieq2014,
    When troubleshooting iTunes Store connection issues, the following articles provide the best information:
    First, try signing out of your account in Settings > iTunes & App Store. Once signed out, go ahead and sign back in.
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/HT1311
    If the above did not resolve your issue, refer to the following:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Troubleshoot issues on an iPhone, iPad, or iPod touch
    If you haven't been able to connect to the iTunes Store:
    - Make sure your date, time, and time zone are correct in Settings > General > Date & Time.
              Note: Time Zone may list another city in your time zone.
    - Make sure that your iOS software is up to date by tapping Settings > General > Software Update (iOS 5 or later) or connecting your iOS device to iTunes and clicking Check for Update on your device's Summary page.
    - Check and verify that you're in range of a Wi-Fi router or base station. If you're on a device with cellular service, make sure that cellular data is turned on from Settings > General > Cellular.
              Note: If connected to cellular data, larger items may not download. You may need to connect to Wi-Fi to download apps, videos, and podcasts.
    - Make sure that you have an active Internet connection. You can check the user guidefor your device for help with connecting to the Internet.
    - Make sure that other devices (portable computers, for example) are able to connect to the Wi-Fi network and access the Internet.
    - Try resetting (turning off and then on again) your Wi-Fi router.
    - If the issue persists, try troubleshooting your Wi-Fi networks and connections.
    Thanks,
    Matt M.

  • My Ipad reboots over and over again could someone help with my problem?

    My Ipad reboots over and over again, could someone help with my problem?

    Try a reset. Hold the Sleep and Home button down for about 10 seconds until you see the Apple logo.

  • Tips and help with re-installing Lion over Snow Leopard

    I had MAJOR issues with my initial Lion install on my Mid-2009 MBP- so much so, that I had to wipe my hard drive and re-install Snow Leopard and all my applications. My major issues were as follows:
    1. All my files were locked out- I could open them in most cases, but I couldn't overwrite them- Lion had aded some funky permissions scheme that I didn't recognize, and my user name wasn't present on any of them. In some cases, I couldn't even open files, even though they were resident on my hard drive (and in my own user folder) before the upgrade to Lion.
    2. Apple's own Universal Binary apps wouldn't work after the upgrade. Final Cut Pro 6, in particular, came up with a message that it was a "PowerPC" app and wouldn't run- yet Shake 4.1 would run just fine!
    3. Adobe Creative Suite 3- after the upgrade, my Abode Ceative Suite 3 apps worked just fine, for about a day- that is, until I tried to correct the file permissions issue by changing permission on a few of my folders in my User folder (and electing to change permissions in the files contained therein)- at which point my Adobe apps told me that they were damaged and needed to be reinstalled. Yet after uninstaling and reinstalling the entire Creative Suite 3 times, I still would get the same message.
    My entire workflow is Adobe CS and FCS2- why chould I have to pay the upgrade costs just to use Lion? FCPX is completely brkoen for my workflow and eqipment, and Adobe can't even guarantee that CS5 works with Lion- so why does Apple insist on Lion when it's hardly even compatible with its own products?
    I really want to use Lion, but I am looking for some tips on instalation to kep these problems from happening again. I didn' have ANY of these problems with upgrading OS 10.2 through 10.6. Any help with prepping my system/files for upgrading would be helpful. Thanks!

    any new Apple kB articles
    http://support.apple.com/kb/index?page=articles
    Me, I think clone backups are more useful, and only use T.M. as secondary.
    Using Cloning as a Backup Strategy
    I'd assume that professional apps may need to be tested still; and of course check to see what you have that depends on PowerPC code and Rosetta first. That has some in a tither.
    A clone lets you still be able to boot Snow Leopard. Check out Carbon Copy, SuperDuper.

  • In need of immediate help with FCP new user taking over colleagues position

    Good Morning. I am in urgent need of some help with a specific final cut pro question. My coworker and I have been working on a video project for our employer, a university. He ran the editor (FCP) and I ran the logistics of setting things up, keeping the contacts and scheduling, etc.
    He has left until late August and there are two major typos in his work which is posted to the web at the moment. I need to correct these typos and have less than a faint idea of how to do it.
    First of all, what is the file's last three letters? (.doc, .mov, etc...)
    Second, can I edit this as easily as I think I can? Just click in the text file along the bottom timeline and edit that way?
    How do I export the movie as an mp4 file after i have edited it.
    Anything else that would be deemed helpful is always appreciated!
    I really appreciate the help. I was never trained on this program because I never needed to be. Unfortunately, as it turns out, I did.
    Thanks for the help!

    You need to locate the Project file. Which will be somewhere in your colleague's User space.
    In the Finder, press command and F to activate the Find function.
    Make sure the following parameters are set:
    Search *This Mac* and Contents
    Kind is Documents
    Type the project name.
    The icon looks like this:
    Double click it to launch Final Cut Pro with the project.
    To locate the text overlay, click on the Timeline to make it active. Use the down arrow on your keyboard to jump from one cut to the next. The text overlay will look similar to this:
    Double click on the Text clip. This will place it in the Viewer (the left "monitor").
    Click the "Controls" tab above the Viewer and make your changes. Press Return.
    Clicking anywhere in the Timeline once more will update it.
    Make sure that no clips are selected and the Timeline is the active window.
    Go to the menu bar: File > Export > Using QuickTime Conversion.
    In the window that opens, make sure that Format is set to QuickTime Movie.
    Click the Options button. Look at the top of the next window.
    Does it say Compression Setting: H264? If it does, great.
    If not, click the settings button and choose H264 from the *Compression Type* button.
    At bottom left, drag the Quality slider to Best. Click OK.
    This brings you back to the previous window.
    Click on Size if you need to change something -there are a number of presets, but you can choose a custom size if you wish. Click OK.
    That window is dismissed and returns you to the Save dialog.
    Type a name and choose a destination for your file.
    Message was edited by: Nick Holmes

  • I opened an older catalog and lost the original catalog with over 2 years of photos on it --Help

    I opened an older catalog and lost the original catalog with over 2 years of photos on it (I never opened any other catalogs---I never chose to back it up either). it is not saved anywhere I can see as a catalog on my computer. If I didn't save it before opening the older catalog ( I don't specifically remember saving anything) would it be save in another format other than a catalog somewhere?

    What happens if you choose File->Open Recent? Is the other catalog listed, and can you choose it? Simply switching to a different catalog should not cause the previous catalog to disappear.

  • WRT310N: Help with DMZ/settings (firmware 1.0.09) for wired connection

    Hello. I have a WRT310N and have been having a somewhat difficult time with my xbox 360's connection. I have forwarded all the necessary ports (53, 80, 88, 3074) for it to run, and tried changing MTU and what-not.
    I don't know if I have DMZ setup incorrectly, or if it's my settings.
    Setup as follows:
    PCX2200 modem connected via ethernet to WRT310N. 
    The WRT310N has into ethernet port 1 a WAP54G, and then upstairs (so that my Mother's computer can get a strong signal) I have another WAP54G that I believe receives its signal from the downstairs 54G. 
    In the back of the WRT310N, I have my computer connected via ethernet port 3, and my Xbox 360 connected via ethernet port 4.
    Now, I first figured I just have so many connections tied to the router and that is the reason for being so slow. However, when I unplug all the other ethernet cords and nothing is connected wirelessly, except for my Xbox connected to ethernet port 4, it is still poor. Also, with everything connected (WAP54G and other devices wirelessly) I get on my PC and run a speedtest.  For the sake of advice, my speedtests I am running on my PC are (after 5 tests) averagely 8.5 Mbps download, and 1.00 Mbps upload, with a ping of  82ms.
    Here is an image of the results:
    http://www.speedtest.net][IMG]http://www.speedtest.net/result/721106714.png
    Let me add a little more detail of my (192.168.1.1) settings for WRT310N.
    For starters, my Father's IT guy at his workplace set up this WRT310N and WAP54G's. So some of these settings may be his doing. I just don't know which.
    "Setup" as Auto-configurations DHCP. I've added my Xbox's IP address to the DHCP reservation the IP of 192.168.1.104. This has (from what I've noticed) stayed the same for days.
    MTU: Auto, which stays at 1500 when I check under status.
    Advanced Routing: NAT routing enabled, Dynamic Routing disabled. 
    Security: Disabled SPI firewall, UNchecked these: Filter Anonymous Internet Requests, Multicast, and Internet NAT redirection.
    VPN passthrough: All 3 options are enabled (IPSec, PPTP, L2TP)
    Access Restrictions: None.
    Applications and Gaming: Single port forwarding has no entries. Port Range Forwarding I have the ports 53 UDP/TCP, 88 UDP, 3074 UDP/TCP, and 80 TCP forwarded to IP 192.168.1.104 enabled. (192.168.1.104 is the IP for my xbox connected via ethernet wired that is in DHCP reserved list)
    Port Range Triggering: It does not allow me to change anything in this page.
    DMZ: I have it Enabled. This is where I am a bit confused. It says "Source IP Address" and it has me select either "Any IP address" or to put entries to the XXX.XXX.XXX.XXX to XXX fields. I have selected use any IP address. Then the source IP area, it says "Destination:"  I can do either "IP address: 192.168.1.XXX" or "MAC address:" Also, under MAC Address, it says DHCP Client Table and I went there and saw my Xbox under the DHCP client list (It shows up only when the Xbox is on) and selected it.  
    Under QoS: WMM Enabled, No acknowledgement disabled.
    Internet Access Priority: Enabled. Upstream Bandwith I set it to Manual and put 6000 Kbps. I had it set on Auto before, but I changed it. I have no idea what to put there so I just put a higher number. 
    Then I added for Internet Access Priority a Medium Priority for Ethernet Port 4 (the port my xbox is plugged into).
    Administration: Management: Web utility access: I have checked HTTP, unchecked HTTPS.
    Web utility access via Wireless: Enabled. Remote Access: Disabled.
    UPnp: Enabled.
    Allow Users to Configure: Enabled.
    Allow users to Disable Internet Access: Enabled.
    Under Diagnostics, when I try and Ping test 192.168.1.104 (xbox when on and connected to LIVE), I get:
    PING 192.168.1.104 (192.168.1.104): 24 data bytes
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    --- 192.168.1.104 data statistics ---
    5 Packets transmitted, 0 Packets received, 100% Packet loss
    Also, when I do Traceroute Test for my Xbox's IP, I just keep getting: 
    traceroute to 192.168.1.104 (192.168.1.104), 30 hops max, 40 byte packets
    1 * * * 192.168.1.1 Request timed out.
    2 * * * 192.168.1.1 Request timed out.
     As for the Wireless Settings, it is all on the default settings with Wi-Fi Protected setup Enabled.
    To add, I have tried connecting my modem directly to the Xbox and my connection is much improved. I have no difficulty getting the NAT open, for it seems my settings are working for that. Any help with these settings would be VERY much appreciated. 
    Message Edited by CroftBond on 02-18-2010 01:09 PM

    I own 2 of these routers (one is a spare) with the latest firmware and I have been having trouble with them for over a year.  In my case the connection speed goes to a crawl and the only way to get it back is to disable the SPI firewall.  Rebooting helps for a few minutes, but the problem returns.  All of the other fixes recommended on these forums did not help.  I found out the hard way that disabling the SPI Firewall also closes all open ports ignoring your port forwarding settings.  If you have SPI Firewall disabled, you will never be able to ping your IP from an external address.  Turn your SPI Firewall back on and test your Ping. 
    John

  • Looking for Help with Hyperion to JAVA

    I am looking for help with connecting Hyperion to Java. We are in Maryland but would be willing to work out something for remote consulting. If you have experience with connecting web services, hyperion, and Java and would be interested in about 80 hours of consulting please contact me at:[email protected] x4846

    Hi,
    From your description, you want to achieve the following goal:
    Configure Exchange to filter the attachments if the size is over 10 MB and store it in a public folder, and then forward the email to Salesforce.
    Based on my knowledge, I'm afraid that it can't be achieved. Exchange can filter messages with attachments, but it couldn't store these attachments on public folder automatically. Also, I don't see any transport rule can do it.
    Hope my clarification is helpful.
    Best regards,
    Amy Wang
    TechNet Community Support

Maybe you are looking for