How to create parameter: =Today() minus some number of days

SSRS 2005 on XP SP2
How does one format a date time parameter as, for example, today's date minus 7? Attempting to use:
=Today() - 7 throws the error "Operator '-' is not defined for types 'Date' and 'Integer'
Thanks in advance

Note that an internal reference to another paramer yields same result. For example, datasource is an SP with a BETWEEN operator. An internal report reference to the other parameter (=Parameters!StartDate - 7) throws same error.

Similar Messages

  • How to create a table with varied number of columns?

    I am trying to create a balance table. The colunms should include years between the start year and end year the user will input at run time. The rows will be the customers with outstanding balance in those years.
    If the user input years 2000 and 2002, the table should have columns 2000, 2001, 2002. But if the user input 2000 and 2001, the table will only have columns 2000 and 2001.
    Can I do it? How? Thanka a lot.

    Why did you create a new thread for this?
    How to create a table with varied number of columns?

  • How to Create Business Partner with  fix number in t-code :BP

    Dear SIr,
    Normally I will set number range for auto  to create Business Partner. In case , If we would like to crea How to Create Business Partner with  fix number in t-code :BP , howe to do?
    Please kindly advise.
    THnak you and best regards,
    Vimol

    Dear Shobhit,
    How to put the thread as you mentioned.
    Best regards,

  • How to create parameter with multiple selection in a query (SQ02) ?

    Hi Exports
    Do you know how to create parameter with multiple selection in a query (transaction SQ02)?
    thanks.

    Hi
    i know how to create user parameter at SQ02,
    the question is how to create multiple selection parameter?

  • How to create a group of some of the items of a page programatically.

    Hi,
    I am able to create a group of all Items of a page successfully. But I want to create a group of some of the item of the page.
    Below is my code snape:
    InterfacePtr<ICommand> groupItemsCmd(CmdUtils::CreateCommand(kGroupCmdBoss));
    ASSERT(groupItemsCmd);
    if (!groupItemsCmd) { 
    return;}
    InterfacePtr<IGroupCmdData> groupCmdData ( groupItemsCmd, UseDefaultIID());
    groupCmdData->Set(itemsOnPageNew);
    ErrorCode status = CmdUtils::ProcessCommand(groupItemsCmd);
    if (status != kSuccess){ASSERT_FAIL(
    "kGroupCmdBoss failed"); 
    break;}
    So how I can create UDList of some of the control of the page .
    Any help will be appreciable.
    Thanks,

    I have done below code to get tag name but xmlReferenceData object is blank so tagname is blank.
    UIDRef pageItemRef=itemsOnPage->GetRef(pageItemIndex);
    InterfacePtr<IXMLReferenceData> xmlReferenceData(pageItemRef, DefaultIID());
    ASSERT(xmlReferenceData);
    if 
    (!xmlReferenceData) {
    break 
    XMLReference ref = xmlReferenceData->GetReference();
    PMString tagname=this->AsString(ref);

  • How to create parameter and control file like filename + date

    Hello there
    I am trying to create parameter and control file with following command
    in SQLPLUS
    create pfile='/u03/oradata/WEBDB/backup/initWEBDB.ora' from spfile;
    In RMAN
    copy current controlfile to '/u03/oradata/WEBDB/backup/cf_longterm.cpy';
    how can I put date at the end of filename like
    initWEBDB8jan06.ora and cf_longterm8jan06.cpy
    Thanks in advance
    Lionel

    ASM is reliable but a smart DBA is very careful. If ASM is doing mirroring this is like RAID doing mirroring. What happens if you accidentally delete one copy ... the other one disappears instantly. Not a good idea.
    With respect to redo logs you need a minimum of three groups, two members, and one thread per instance. So a 2 node cluster should, at a minimum have 12 physical files.
    Not mirroring the redo logs, assuming multiple members, is not as critical.

  • How to create text names within a number or shape

    I would like to learn how to create a print design for college hoodies. I get asked all the time but it takes me a very long time to do it. I am sure there is a quicker way in illustrator.
    I want to create a design like this image. Can Anyone Help me please?
    I am using Illustrator CS 5.1 right now.

    Just use the big numerals as text boxes and pour text into them.
    Be aware thought that text boxes can not be compound paths so you will have to make some special arrangements for 4, 6, 8, 9 and 0.
    Either Text Wrap or slice the numerals into smaller abutting text boxes. I suggest that the latter will be easier.
    Once you’ve done the job the first time it will be easy to do a repaet with new text.

  • How to get planned % complete based on number of days

    Hello:
    I a trying to figure out a way(best way) to determine a "planned % complete" simply based on the number of days in a task.
    For example:
    Task Start Date = 3/1/15
    Task Finish Date = 3/20/15
    So the task is 20 days long
    Today is 3/10/15 so "planned % complete" should be 50%
    (Today-Start) / (Finish-Start)
    =
    ((3/10/15)-(3/1/15)) / ((3/20/15)-(3/1/15))
    =
    (10) / (20)
    =
    50%
    Do I just enter this into a custom field as a formula or is there a better way of doing this?
    Also, when I tried to do this with a formula, it did not apply to the roll up tasks. So, the bolded tasks were blank.
    I am trying to get to a calculated number of the % I should be completed based on the current date and length of the task. I realize this might not be the best way so any
    suggestions are greatly appreciated.
    I would like to be able to look at my project and see that I am 35% complete, but I should be 50%.
    Any guidance is greatly appreciated.
    I am using MS Project 2010.
    Thanks
    kp

    Hi kp,
    You are typically asking for Earned Value indicators. You could of course use the kind of formula you are refering to, but have in mind that MS Project proposes by default a large number of EV fields, such as CPI, SPI and all variance fields. Although it
    requires a certain maturity in scheduling (cost, baselines, status date, tracking), it will provide you a large set of EV indicators out of the box.
    See an excellent article
    here.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How to create an absence on a non-working day?

    Hi HR experts,
    Is it possible to create an absence on a non working day or holiday? I tried to do so and I get all these information messages, until it finally saves. But it wont accept any number of Absence hours. Is there a way to allow it to accept 10 hours of absence for a holiday?
    I'd appreciate your insight, thanks in advance!

    hello annalyn,
    I think you have got 2 possibilites.
    you have to change the absence definitions for entering on free-days
    table: V_T554S
    are you using TM?
    if yes, you can change in a rule the working hours.
    or second solution would be changing T556C for this absence. also and this i have not tested changing the day type.
    regards
    Stefan

  • Can I create a field that calculates number of days from a date field?

    Hi all,
    I need a field that will calculate the number of days elapsed whatever date is entered into the date field, and update that number of days based on the calendar/computer calendar date.  Does that make sense?
    https://www.dropbox.com/s/arkmnsxjkl4r156/AFBS_FacilitySpecialCareList02.pdf
    I set up the form so that my boss can add or subtract clients from the list.  Each client needs to have its own "Days since added to the list" number. Sorta like a little aging report.
    Is this possible?
    Many thanks,
    Laura

    Wow, I'm so stumped.  I tried to copy a bit of formcalc into the exit event for my current date field to try to make this happen, but I can't get it to work.
    My  attempt at scripting is embarrassing, but here it is:
    form1.sf1.CCSub.CCGroup.#subform[0].DateField2::exit - (FormCalc, client)
    form1.sf1.CCSub.CCGroup.#subform[0].NumericField2.rawValue = Date2Num(DateField1, "MM-DD-YY") - Date2Num(DateField2, "MM-DD-YY")
    and here's the file:
    https://www.dropbox.com/s/arkmnsxjkl4r156/AFBS_FacilitySpecialCareList02.pdf
    Can anyone help me get this right?
    Sign me: One Lost Designer
    Thanks!

  • How to create URL link for telephone number ,open to account search page and account result page ?

    Hi Experts,
    Bussines role - ZCC_ICAGENT 
    If user open this bussiness role and open Account page ,user enter telephone number and enter search account ,then result will be displayed.Instead of 3 clicks ,user click direct URL link ,telephone number is parameter,account Search and account result  page will be opened direct link.
    So how to do it..could you please provide me step by step...what are the steps wee need to follow for creating URL ..how to do it..Please help..
    Thanks
    Kalpana

    Hi kalpana,
    You dont need to do any setting for this.
    Following URL will be used as per your requirement.
    http://rrnewcrm.ril.com:8000/sap(bD1lbiZjPTI0MiZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm
    ?sap-system-login-basic_auth=X&sap-system-login=onSessionQuery&saprole=ZCC_ICAGENT&
    sap-phoneno=9999999999
    Here parameter sap-phoneno will contain the number you want to search for.
    In component ICCMP_BP_SEARCH, go to view BuPaSearchB2B. write below code in its inbound plug IP_INBOUNDPLUG-
    DATA: lt_ivr_url_param TYPE tihttpnvp,
             ls_ivr_url_param TYPE ihttpnvp,
             lr_searchcustomer TYPE REF TO if_bol_bo_property_access,
             ls_searchcustomer TYPE crmt_bupa_il_header_search.
    CALL METHOD cl_crm_ui_session_manager=>get_initial_form_fields
           CHANGING
             cv_fields = lt_ivr_url_param.
    lr_searchcustomer ?= me->typed_context->searchcustomer->collection_wrapper->get_current( ).
         CHECK lr_searchcustomer IS BOUND.
    READ TABLE lt_ivr_url_param INTO ls_ivr_url_param WITH KEY name = 'sap-phoneno'.
    IF ls_ivr_url_param-value IS NOT INITIAL.
             ls_searchcustomer-telephone = ls_ivr_url_param-value.
       CALL METHOD lr_searchcustomer->set_properties( EXPORTING is_attributes = ls_searchcustomer ).
             eh_onsearch( ).
        ENDIF.
    Thanks & Regards
    Richa

  • How to create line hart with variable number of data series

    Hello,
    I am student and I am completely new to Flex programming but
    I need to urgently create an app that should have a variable number
    of data series but of ame type of object.
    eg. Profits for X,Y and Z in in run while just corp X in the
    next instance.
    How can I accomodate for this in the app? can someone point
    me in the right direction I would really greatful as this project
    is really crucial for my coursework to get finished in timely
    manner.
    Thank you

    Hey,
    I'm not really sure what you want, but you should check out:
    http://demo.quietlyscheming.com/ChartSampler/app.html
    Which has a list of different types of charts in Flex and
    will hopefully help. Also check out charting from ILOG, which is
    quite good:
    http://www.ilog.com/products/elixir/

  • How to create global toolbar for some common operation like add, delete etc

    Hi,
    I want to create one global toolbar which contains buttons for common operations such as add, delete, modify etc.
    I have one globl .jspx page and in its center facet, I am loading my each screen's .jsff page.
    Now I want to create global toolbar on my .jspx page and when I click on toolbar's add button at that time it should call, currently loaded .jsff (loaded in center facet of .jspx page) backing bean's add method.
    How can I get the instance of currently loaded .jsff backing bean in my toolbar's backing bean and also I need it with its current state( means whatever UI components have values I should be able to get it in my instance).
    Regards,
    Devang

    Hi,
    since page templates don't support method expression arguments there are two options I can imagine
    - define a contract between the toolbar buttons and the availability of a managed bean available for the consumer page. If for example each page has a managed bean like <viewId>_toolbar then the Toolbar could reference exposed methods on this bean (which must be consistent)
    - Another option is to have the page passing in the EL string to access the iterator to operate on as an attribute of the template you use. Then you create a ValueExpression from it and call it for the button action events that you point to the managed bean you deploy with the template
    Frank

  • How to create invoice by passing delivery number..?

    Plz suggest any method or code to create automatic invoice by passing delivery number...

    Through BDC we have done it .
    we are passing delivery number as well text field also.
    Thanks

  • How to create a clone of some tablespaces?

    Hello,
    I have two Oracle systems:
    A - Production (Oracle two-node RAC 10.2.0.4 on w2k3 x64)
    B - Testing (Oracle 11g R2 on OEL 5.5 x64)
    Also I have rman backup made by this script (NOCATALOG):
    CONNECT TARGET 'sys/somepass@rac1';
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO COMPRESSED BACKUPSET;
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK connect 'sys/somepass@rac1';
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK connect 'sys/somepass@rac1';
    CONFIGURE CHANNEL 3 DEVICE TYPE DISK connect 'sys/somepass@rac1';
    CONFIGURE CHANNEL 4 DEVICE TYPE DISK connect 'sys/somepass@rac1';
    run {
    allocate channel '1' DEVICE TYPE DISK;
    allocate channel '2' DEVICE TYPE DISK;
    allocate channel '3' DEVICE TYPE DISK;
    allocate channel '4' DEVICE TYPE DISK;
    BACKUP FULL DATABASE FORMAT 'D:\exp\backup_%d_%T_%s.rman' TAG='daily_full_backup' SKIP OFFLINE;
    release channel '1';
    release channel '2';
    release channel '3';
    release channel '4';
    exit;
    Now I need to restore some of tablespaces on system B - how can I do it?
    Edited by: user9319618 on 14.03.2011 2:56

    Thanks for link. My both databases and needed tablespaces meet all the prerequisites, but in Task 3 (Generate a Transportable Tablespace Set) I've read:
    2. Make all tablespaces in the set read-only.
    It's impossible because applications runs in 24/7/365 mode on production database and next database shutdown planned just for database upgrade.
    So, it seems that the only 'hot backup' way for me is to take a Datapump export of tablespaces from production database and then import them to testing environment?

Maybe you are looking for

  • PI' RFC  Connection pool  doubt.

    Hi PI exports: i have a doubt about  pi' RFC  Connection pool ,pi RFC receive channel can set the conn pool size ,but when start the rfc receiver channel ,is there always only one Connection  pool ,or there is only one Connection  pool  instance?   t

  • Mac Pro does not connect to ADSL router

    Took my mac in so that they could install airport extreme card. When clicking on the Airport icon on task bar my router is listed in the drop down menu. When selecting it, it asks for a WPA password, after entering the password it shows the connectio

  • What's wrong with my xorg.conf?

    I just installed Arch + KDEmod and I think I'd like it, but I can't get any video driver to work correctly.  The open-source ati driver crashes immediately (just like in Ubuntu, I could never get that one to work) so I'm trying to catalyst drivers. 

  • ABAP CUSTOM PROGRAMS vs SOX - What is your best approach?

    SOX defines you must put in place controls to be sure your users can do only those activities wich are not able to create a risk for your company assets. You can use GRC AC to get clean and stay clean, but the problem is in your custom developments.

  • Exception while logout

    Hi!: OS: Windows 2000 Professional AppServer: WebLogic Platform 8.1 sp2 Domain: Integration Domain Application: workshop 8 web app (using jpf, database control, and java control) First, I'm sorry for my poor English. I hope you can understand my ques