Restrict data only up to last week

Hi,
I got a keyfigure in query which has to be restricted only up to completed week.
For eg.
Case 1. If we run this report in any week days it should fetch data till last completed week. So it should not consider data till date.
Case 2. If we run this report on sunday it should fetch data for this week till sunday. As the week completes on sunday.
Pls. advice.

Thanks Eric,
But i already have an char.variable on calweek. And moreover i need to check the day on which iam executing the report. Becasue if the day is on sunday then i should consider current week also. If it is mid of week i need to consider only up to last week.
i use fiscalyear period in query to display based on it. Shall i create variable on fiscal period.

Similar Messages

  • Time Machine - Data created during the last week not being backed up

    I've been searching through all the hints, though haven't been able to solve this problem.
    Time machine backs up regularly - though every once in a while when it shows that its backing up the data; but nothing actually gets backed up. Most of the time it works by using one of the hints on the top of this forum.
    However this time - I've tried everything in the hints, but am unable to get Time Machine to backup files created last week - they're there in my Documents folder but do not get backed up. New files which I create get backed up.
    I think the problem can be solved if I could get time machine to do a deep traversal - but have not been able to do that
    I've tried the following:
    1. Booted into Safe Mode and rebooted into normal
    2. Re-installed 10.6.6 combo update
    Please help

    The latest log file is as follows:
    Starting standard backup
    Attempting to mount network destination using URL: afp://[email protected]/Time
    Mounted network destination using URL: afp://[email protected]/Time
    Warning: Destination /Volumes/Time does not support Server Reply Cache
    QUICKCHECK ONLY; FILESYSTEM CLEAN
    Disk image /Volumes/Time/New MacBook.sparsebundle mounted at: /Volumes/Time Machine Backups
    Backing up to: /Volumes/Time Machine Backups/Backups.backupdb
    2011-01-31 09:59:41.550 FindSystemFiles[310:907] Looking for system packages
    2011-01-31 09:59:43.366 FindSystemFiles[310:907] PackageKit: * Missing bundle identifier: /Library/Receipts/Flip4Mac QuickTime Components.pkg
    2011-01-31 09:59:43.371 FindSystemFiles[310:907] PackageKit: * Missing bundle identifier: /Library/Receipts/Flip4Mac Web Plugins.pkg
    2011-01-31 09:59:43.700 FindSystemFiles[310:907] Finding system files...
    2011-01-31 09:59:46.916 FindSystemFiles[310:907] Writing system path cache.
    2011-01-31 09:59:46.995 FindSystemFiles[314:907] Looking for system packages
    2011-01-31 09:59:47.013 FindSystemFiles[314:907] PackageKit: * Missing bundle identifier: /Library/Receipts/Flip4Mac QuickTime Components.pkg
    2011-01-31 09:59:47.017 FindSystemFiles[314:907] PackageKit: * Missing bundle identifier: /Library/Receipts/Flip4Mac Web Plugins.pkg
    2011-01-31 09:59:47.058 FindSystemFiles[314:907] Finding system files...
    2011-01-31 09:59:48.000 FindSystemFiles[314:907] Writing system path cache.
    No pre-backup thinning needed: 1.39 GB requested (including padding), 189.94 GB available
    Copied 10007 files (66.3 MB) from volume Mac HD.
    Copied 10012 files (66.3 MB) from volume Shared.
    No pre-backup thinning needed: 1.34 GB requested (including padding), 189.94 GB available
    Copied 2754 files (10.6 MB) from volume Mac HD.
    Copied 2759 files (10.6 MB) from volume Shared.
    Starting post-backup thinning
    No post-back up thinning needed: no expired backups exist
    Backup completed successfully.
    Ejected Time Machine disk image.
    Ejected Time Machine network volume.

  • Every time i turn on my macbook pro, it gives me the message: "Your computer was shut down last time because of a problem" even though it only happened once last week

    My computer crashed lasts week. And now, every time I turn on my computer, at the login screen it says that my computer shut down last time because of a problem, and gives me the option to restore my windows, i've tried both options, it still comes back.
    My computer is a macbook pro mid 2010 running OS X 10.9.1
    comment if you need any more information
    Thanks for the help!
    -Ethan

    First boot into Safe Mode, Mac OS X: Starting up in Safe Mode, and then reboot again normally.  The safe mode boot will take longer as it runs repair procedures during the boot.
    If that fixes the problem I'd also update the system to the latest 10.9.4 via the  OS X Mavericks 10.9.4 Update

  • Is there any offer to use data only for my two weeks staying in London?

    I'm staying two weeks in London and i need a new sim card to use data. Any suggestion?

    Is your phone unlocked? See SIM only for phones

  • Firefox takes time loading and keeps stopping every few seconds, but only in the last week

    I have had updates for Windows and wonder if there is a clash between the two. I also seem to be getting more errors thn I ever had. I have tried uninstalling FF and reinstalling it and the results are still the same. It is damm annoying to have had such a great website that just seems to have malfunctioned overnight 25 April seems to have been the date, anything changed at your end

    hey try a smc reset
    EDIT (smc reset
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer. 
    Note: The LED on the MagSafe power adapter may change states or temporarily turn off when you reset the SMC.)
    if that doesnt help look at replacing the batteries in your magic mouse and try it then
    if the issue still presists take it into a apple store and they can test it there to see whats up

  • I only installed Firefox last week because IE didn't allow me to develop our website. This week Firefox is causing my computer to "stall" unless in safe mode!

    I am running Windows XP (don't laugh) and have been quite happy with IE.
    I have tried disabling all plug-ins and have reset a number of times, but to no avail.
    Both the mouse and keyboard stop responding for a second or two before they briefly jump back into action and the keep going like this - starting and stalling - which makes Firefox totally unusable!
    There seems to be no great load on the CPU when this happens and no demand on the memory!

    Hello MaleXLR, try to '''Turn off hardware acceleration''' and check it again (it is in the link '''feer56 gave us in his reply''')
    (in safe mode hardware acceleration is disable)
    ''I am running Windows XP ('''don't laugh''')''
    why we laugh ? xp is great (i have it also!!!)
    thank you

  • Filter for Created date: last week

    Im trying to put a filter on the Created date. We need to show only records from last week. Can anybody help me?
    Thanks in advance.

    WEEK_OF_YEAR(CREATED_DATE) = WEEK_OF_YEAR(VALUEOF(NQ_SESSION.CURRENT_DT))-1
    Make sure the functions and column names are correct

  • Parameter for Last Week, Last Month & Last Year from the current Date

    I have a crystal report that has a StartDate & EndDate parameters from the stored procedure that I am calling. Now i got a new requirement saying that my user wants a drop-down parameter in which they need to be able to select last week (Sunday to Saturday), last month, last year instead of manually selecting start date and end date parameters? Can anyone please explain me how to do this?
    (FYI, I am using Crystal 2008)

    Hi Naveen,
    You'll need to handle the logic in the Stored Proc's where clause.
    If you're using oracle, I have something like this in the Stored Proc's where clause for our reports:
    Where {Date_Field} Between
    Decode('{?Relative Date}',
    'Yesterday', sysdate - 1,
    'Last Week', Tunc(sysdate, 'IW')-7)
    AND
    Decode('{?Relative Date}',
    'Yesterday', sysdate,
    'Last Week', Tunc(sysdate, 'IW'))
    where 'Relative Date' is a prompt in the Stored Proc and 'yesterday'. 'last week' are the 'static values' in the prompt.
    -Abhilash

  • I updated my Macbook Pro last week to Lion.  I went to go import pictures from a memory card to my iPhoto, but only a portion of them loaded before my iPhoto froze and I had to Force Quit it. Now iPhoto won't even open... Help!

    I updated my Macbook Pro last week to Lion.  I went to go import pictures from a memory card to my iPhoto, but only a portion of them loaded before my iPhoto froze and I had to Force Quit it. Now iPhoto won't even open... Help!
    Please! I need an answer fast!!!!

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • How to pass relative dates (Yesterday, Last week) via Command Parameters in a linked subreport

    I have been struggling with this one and would sure appreciate your help
    I have a report that runs fine but takes to long when running, to optimise it have setup it up as a subreport , created a main report which I linked to it via a relative field ({?ServiceID}) field, this has reduced the report time but I would like to go even further by user selecting date e.g startdate, enddate or relative field eg ‘yesterday’, ‘Last Week’
    I can do the selectable start and end date fine but I’m failing to make use of the ‘Yesterday’,’ last week’ within the command parameters, below is an example of the code I have on the reports select expert but I want a semiliar filtering on the command parameter to avoid the filtering taking place on crystal but straight from the DB.
    IF  {?Relative Date}= "Yesterday" THEN currentdate-1
    ELSE IF {?Relative Date}="Last Week" THEN LastFullWeek

    Good Day Guys,
    Apologies for the late response, I have been looking and trying the different suggestion you pointed out, unfortunately without any success
    Stored Proc
    Nrupal, I tried setting one up but I’m getting a error I cannot seem to get past, below is my condition, any help would be appreciated
    where cd1.Service_ID = @Service_ID
    and cd1.CallStartDt in (
      Case @RelativeDate
      When 'Today' then CONVERT (date, getdate())
      When 'Yesterday' Then DATEADD(DAY,-1,CONVERT (date, getdate()))
      When ‘Last Week’ then between @LastWeekStart and @LastWeekEnd       //sytntax before between, also tried using ‘IN’, same result
      When ‘Last Month’ then between @LastMonthStart and @LastMonthEnd 
    else between @CallStart and @CallEnd
    END )
    End
    Crystal command parameter code
    where cd1.Service_ID in ({?Service_ID}) and
    convert(datetime,cd1.CallStartdt) in (
    Case {?RelativeDate}
    When 'Yesterday' Then GetDate()-1
    else  {?CallStart}
    END)
    Abhilash,
    I have tried both your proposed command parameters but still fail
    I’m getting an invalid column name ‘Yesterday’ error , I’m not sure if Crytsal takes this type of command formatting using the command parameters, would appreciate your help as I would like to stay clear of the SP, unless it’s the only altanative
    Dell
    I will start working in your re
    Thanks Again

  • How can I restrict certain apps to cellular data only?

    Product Name: iPhone 6
    Product iOS: 8.3
    Background: I listen to Pandora at work through my iPhone 6. My work has pandora traffic blocked through their WiFi network. I want to keep my iPhone connected to the work WiFi because 1) I don't want to turn on and off my WiFi on my phone 2) I want to my email and other apps to use WiFi since they are not blocked.
    Current Workarounds (not a solutions):
    1) Turn off and on WiFi on iPhone 6- This is a pain/hassle and I forget to turn the WiFi back on.
    2) Switching to a different streaming music providers that aren't blocked by work WiFi- I pay for Pandora One and I like this service the best. I really don't want to switch.
    3) Download music to iPhone memory- I pay for Pandora One and I'd like to use it.
    4) Jailbreak- Not sure if this a solution but I'd rather not jailbreak my device.
    Question: How can I restrict certain apps (Pandora) to use cellular data only?
    Best Regards,
    Chasen

    The network settings in iOS are global and do not support assigning specific networks to specific apps. You cannot do what you describe.

  • Not only do web pages not load properly but we're doing calculus on-line and only 1 video can be viewed at a time. last week we didn't have problem. wish i could call someone. not getting any help.

    a number of site say done and we see a blank page. on-line calculus class, last week could view more than 1 video at a time now only 1 can be viewed. this course need to be completed by may 3. career builders some of the drop downs aren't working. need to find a job. these are serious errors that we did not experience before. we haven't updated to 4.0. now i see the one's who have are having these problems. daughter can't gt to e-mail. wish i could talk to someone. i'm going to try the live session at 2 but i'm not a techy. can take care of most problems, but this seems beyond me. HELP
    s

    If you are wondering why you are not getting any responses, it is because you have vented a complaint without any details that make any sense or give anyone something to work on.
    If you want help, I suggest actually detailing what has happened, with versions of software etc. Anything that would let us assist.
    As a start I am guessing that you have not really got the hang of "How it all works". Firstly download the Pages09_UserGuide.pdf from under the Help menu. Read that and view the Video Tutorials in the same place. A good addition would be the iWork 09 Missing manual book and something to help you learn how to use your Mac.
    If there are specific tasks you need help with:
    http://www.freeforum101.com/iworktipsntrick/index.php?mforum=iworktipsntrick
    Is a good resource.
    Peter

  • I have an iphone 4s that i got last week and i set it up just using the phone. today my dad restored it as my mothers iphone so i lost all of my data. I tried to restore it as my original phone i had but i exited out of itunes and now my phone wont showup

    I have an iphone 4s that i got last week and i set it up just using the phone. today my dad restored it as my mothers iphone so i lost all of my data. I tried to restore it as my original phone i had but i exited out of itunes and now my phone wont showup in itunes or on my computer

    Did you fail to import them to your computer before restoring?
    Not good.
    They are likely gone.
    You can try restoring from backup.

  • I lost my iPhone 4 in Brussels last week. It was in airplane mode when lost. I also use a code to unlock the phone. The phone was off when lost. My question is: Can a person access my personal data on the phone?

    I lost my iPhone 4 in Brussels last week. It was in airplane mode when lost. I also had a code to unlock the phone. The phone was off when lost. My question is: Can a person access my personal data on the phone? Can they take the chip out and place it into another iPhone and access the personal info on the chip or is the personal data on the phone itself and could they put a new chip in and access the data?

    I have Find my iPhone App, but it says that it is offine.
    I've checked all week and it is offline.
    I clicked on erase iphone when phone accesses the internet on the Find my iPhone App.
    I just want to know how safe is my personal information that I have on that iPhone?

  • In CQ 5.4 how to read search trends(keywords) with in specific date (like last week, 30 days...)?

    I have a requirement to display popular search key words with in specific date range. Like search key words searched in last week/ in last 30days/in 90 days.
    how to get date range searched keywords from Search Trends?? is there any other way to get these??

    Issue was due to a syntax error. Case closed.
    Thanks!
    -OS

Maybe you are looking for

  • Is there a way to open a playlist in a second window in iTunes 11 - like all previous versions of iTunes could?

    Is there a way to open a playlist in a second window in iTunes 11 - like all previous versions of iTunes could? To build a playlist, I would open a newly created one in a separate window, then in the main widow I would roam through the full music col

  • ORA-04030

    This is the description that occurred after executing a procedure (during the open of a cursor). ERROR at line 1: ORA-04030: out of process memory when trying to allocate 1048632 bytes (callheap,kllcqas:kllsltba) ORA-06512: at line 108 I don't think

  • Cant burn getting Error 4280 (Yes I have latest version)

    I was having this issue before I upgraded to the newest version and still seem to not be able to burn. I am getting Error 4280? There isnt much info on this to fix it it seems... I'm running Win7 64 Never had a problem before. Ideas to fix this?

  • Duplicate Tables

    As per my problem concern in my database i have 85 tables in my database out of 85 tables 42 tables which are created by me through sql command in oracle, and remaining 42 tables are same name but in capital letters with the same owner name and table

  • Using dynamic stamp in Reader 11 causes crash on exit.

    I've just upgraded reader from 10 to 11 and am investigating using the enhanced comment functionality to stamp and date drawings as approved for manufacture.  However after using a dynamic stamp, when we exit Reader we get a crash report that "Reader