How can I use a date range in a list KPI value expression

I am trying to create a series of status indicators for a document library in SharePoint 2010. I've made a status list for this. One of the desired KPI's is to show the percentage of documents that must be revised and approved within the next two
months.
I have a field which logs the next approval date (last approval date plus one year). In the standard form for the KPI I can set the value expression to return the percentage of documents to be reviewed between [Today] and a date that I fill
in by hand (see image below). But I haven't yet been able to have the target date (two months from today) change dynamically. Is there a way to have the second date increment via a calculation here? Or do I need to use a recurring workflow to do this?
Any help would be greatly appreciated - also if this post should be elsewhere. I am not a programmer, and just beginning to learn to make use of many of SharePoint's functions.
Cheers,
Russ Herald

I'm not certain if you can use formulas here but if you can use the standard SharePoint Field Formulas you could try the following:
For the second date could you just put: [Today]+60 to add 60 days to the current date
Or to work with actual months you could possibly use: =DATE(YEAR([Today]),MONTH([Today])+2,DAY([Today])) to add exactly two months.
Reference:
https://msdn.microsoft.com/en-us/library/office/bb862071(v=office.14).aspx#sectionSection2

Similar Messages

  • HT1338 How can i use my data on windows or mac when i use one of them in the same time?

    Hi,
    i have a Mac book with 2 operating system, ( Windows& mac). How can i use my data on windows or mac when i use one of them in the same time?
    Thank you

    The following article(s) may help you.
    Resolving duplicate calendars
    Resolving duplicate contacts

  • How can we restrict the date range in the date picker

    While selecting any date a pop up date picker appears. In this date picker the users can select any future dates which can be 30-40 yrs ahead. How can customize this date picker so that the users are not allowed to slected date beyond certain range. ...??

    Hi user570596,
    I think there is no method to actually restrict the date picker popup, but you can use the ApexLib Framework (http://apexlib.sourceforge.net/) to define a min/max value for your date field. This will prevent the user from submitting the page when the date value is outside the defined range.
    See http://inside-apex.blogspot.com/2007/03/min-max-value-validation-in-browser.html
    for details.
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com
    Check out the ApexLib Framework: http://apexlib.sourceforge.net

  • How can I use international data on a prepaid sim (not vzw roaming) with the Galaxy s3?

    This has been incredibly frustrating.  I am in the middle of a trip to Europe.  Before I left, I confirmed with VZW CSR's that my s3 LTE phone is fully unlocked and that I could buy a local sim and use it while in Austria.
    Aside -- I can't use VZW global services on their network -- cost notwithstanding -- because I  hit some device limit when I bought my wife an iPad, and VZW required a deposit for it.  No big deal, EXCEPT that here three months later I learn that VZW accounting prohibits global roaming if you account has a deposit.  So fine, VZW doesn't want me to pay them a dollar a minute and $20/100MB.  No problem, I can get a drei (3) prepaid card for 10 euros that has 1000 minutes and 2 GB of data.
    So, I do.  I activate the card, and voice and sms work fine.  No data.  No joy.
    Step 1.  I call samsung.  Samsung, after about an hour of claiming it should work, decides that it is because VZW has some sort of software block.  Not surprising, since the software is actually from VZW.
    Step 2.  Call VZW.  After a great deal of ****  VZW says you have to go back to the drei store.
    Step 3.  Return to drei.  Store rep discovers VZW software will not recognize their access point name (APN), and will not let you enter it.  They verify on a different s3 that the sim is fine.  With my VZW sim, I can see the VZW APN's, but because I don't have global services turned on, no joy.
    Step 4.  Do some web digging.  Discover that this APN thing is a known bug.  Web sites (like the CSR in the transcript) suggest rooting or jailbreaking is the only workaround -- which I don't want to do.  But here I sit in Austria, with no data on a top of the line VZW phone and an account with seven different lines. 
    So, how do I resolve this?  Take the phone back, because there is clearly a defect?  But if it's software, I'll have to get an escalation to get a different phone.  Is there a fix?  Sue for false advertising?  Better yet, start a class action -- there sure seem to be a lot of us in this boat based on web searches.
    << Transcript removed to comply with Verizon Wireless Terms of Service >>
    Message was edited by: Verizon Moderator

    OK, I have to throw VZW some props here.  I went to the store where I bought my phones, and explained the problem I was having with international travel and the s3.  The store put me into an iphone5 for free as a warranty exchange -- apparently they know the APN issue is a serious one and they said there was a big lawsuit about it.  It cost me a bit for power adapters and such, and a few paid apps, but the iphone has (reportedly) no issues with international travel and local sims.
    Way to go, VZW. Mark this one up for responsive customer service.

  • How Can One use XML data into our Java Program

    I have an Java Program and an XML file contaning data. I want to parse the xml data and use into my Java Program. How can I do so.

    Check out the org.xml.sax.XMLReader class.

  • How can I use MY data in the GLV_GigaLabVIEWMemoryStoreAndBrowse.vi?

    Hello everyone,
    As I use large data files (500MB) and need to be able to view them in graphs, I was reading this arcticle about Managing Large Data Sets, and found the GLV_GigaLabVIEWMemoryStoreAndBrowse.vi example in the "Fast Data Display with Decimation" section of it. It is exactly what I need, but, of course, with my data... So, how could I rearrange this file to be able to see not it's own data, but the data I acquired with the TDMS Writer (1D array of waveform data)?
    Thanks,
    Rafael

    There are several options, but I would recommend using the already existing file as your data buffer.  This will replace the internal data structures (queue or functional global) for the main data, not the decimated preview.  I would do it as follows:
    Replace the number of points front panel control with a path control called Filename.  This will allow you to specify your file.
    Modify the command enum so Change NPoints is Change Filename (only needed for us humans).
    In the Value Change event (top loop) for Filename (create one if it is not already there, delete the nPoints one if it is still there), stuff the command queue with Change Filename.
    Create a local shift register in the bottom task handler loop (similar to the one in the traditional memory store and browse) to hold your file reference.
    In the Change Filename frame of the task handler, close the file reference (if it is valid) and open a new file reference using the TDMS functions (use the file name terminal to read the file name).
    Replace all instances of reading or generating the main data with the corresponding TDMS function using the new file reference.  For example, in the Change Filename case, replace the Sine Wave.vi with a TDMS Read.vi which reads the corresponding subset.  Make your chunk size 65,000 points for best speed.
    I have never done this with TDMS (only because I stopped working with file I/O before TDMS was invented), but have done it with raw binary, NI-HWS, and HDF5.  All worked well, so you should have no problems.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • How can I set a date range for a Date/Time Field in LiveCycle ES2?

    I need to set a specific date range for a form set up in LiveCycle ES2. Cannot see where i allows me to do that without a code entered.

    Hi,
    You can't set a start and end date for the date/time field, the best you can do is validate the range after the user has selected it.
    An alternate is to make your own date / time field, like this sample http://adobelivecycledesignercookbookbybr001.blogspot.com.au/2013/05/an-alternative-date-p icker-for.html
    Regards
    Bruce

  • How can I use equalsIgnoreCase in JDBC Application to return database value

    How can I ensure that the code will return a name from the database by using equalsIgnoreCase().
    Please see below code .
    public class RetrievEmp {
    final static String FILE_NAME "c:\\project\\test.txt";
    /** Retrieves data from Employee table with the specified column
    * and employee's name.
    public String getDataFromEmpTable(String empname, String column) throws Exception {
    java.sql.Connection con = null;
    String query = "select " + column + " from owner.Employee where NAME = ?";
    ConnectionPool conPool = ConnectionPool.getPool();
    ResultSet rs = null;
    con = conPool.getConnection();
    PreparedStatement ps = con.prepareStatement(query);
         try {
              ps.setString(1, name);
         rs = ps.executeQuery();
              if(rs.next()) {
    rs.getString(1).equalsIgnoreCase(column);
         return rs.getString(1);
              else {
                   return null;
              finally {
                   try {
                        if(rs != null) {
                             rs.close();
                        if(con != null) {
                             con.close();
                        if(ps != null) {
                             ps.close();
                   }catch(Exception e){
         log.debug("Exception while closing connection");

    Thank you for your posting - The Member Feedback forum is not monitored by Oracle support or product teams and so Oracle product and technology related questions cannot be answered. However we recommend that you post this thread to the "Database - General" forum.
    The URL is: General Database Discussions
    Thanks - The OTN team

  • How can I use the data pump export from external client?

    I am trying to export a bunch of table from a DB but I cant figure out how to do it.
    I dont have access to a shell terminal on the server itself, I can only login using TOAD.
    I am trying to use TOAD's Data Pump Export utility but I keep getting this error:
    ORA-39070: Unable to open the log file.
    ORA-39087: directory name D:\TEMP\ is invalid
    I dont understand if its because I am setting the parameter file wrong or if the utility is trying to find that directory on the server whereas I am thinking its going to dump it to my local filesystem where that directory exists.
    I'd hate to have to use SQL Loader to create ctl files for each and every table...
    Here is my parameter file:
    DUMPFILE="db_export.dmp"
    LOGFILE="exp_db_export.log"
    DIRECTORY="D:\temp\"
    TABLES=ACCOUNT
    CONTENT=ALL
    (just trying to test it on one table so far...)
    P.S. Oracle 11g
    Edited by: trant on Jan 13, 2012 7:58 AM

    ORA-39070: Unable to open the log file.
    ORA-39087: directory name D:\TEMP\ is invalidDirectory here it should not be physical location, its a logical representation.
    For that you have to create a directory from SQL level, like create directory exp_dp..
    then you have to use above created directory as DIRECTORY=exp_dp
    HTH

  • [DIAdem] How can I trace a data range from a data channel?

    Hello,
    I am looking for a way to trace a range of data from a data channel using DIAdem script.
    Right now, I can only trace an entire data channel.
    Is it possible? I do not want to split a data channel in order to trace a part of it...
    Thank you.
    Regards

    Hello Tenanio,
    I believe this will answer your question:
    I am assuming in my code that you have a VIEW layout with a sheet called "Sheet 0" which has a 2D-graph in the top area (as can be seen from the screenshot below):
    Copy this Code into SCRIPT and run it, it should display the data the way you had described:
    View.Sheets(1).Cursor.Type = "Band"
    View.CoordinateWnd.Visible = TRUE
    View.ActiveSheet.Cursor.X1 = ChD(305,"Date_Mesure")
    View.ActiveSheet.Cursor.X2 = ChD(320,"Date_Mesure")
    View.Sheets("Sheet 0").Areas("Area : 1").DisplayObj.XScalingMode = "RangeScroll"
    call wndshow("View")
     Please let me know if this works for you and if you have any additional question.
           Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • How can I use a date/time from a cursor and insert it into a table later?

    I have a cursor which retrieves data from a table which includes a date column, which has date and time.
    I want to insert this value into a table which has another date column but when I do, it is dropping off the time data and putting in 00:00:00.
    I am using execute immediate and trapped the SQL I am executing:
    insert into ifsapp.GSCDB_TRANS_DTL_TAB values (
    'GSCDB_COMPANY',to_date('01-DEC-06',3,0 )
    and so you can see the date has no time.
    The plsql is:
    v_sql := 'insert into ifsapp.GSCDB_TRANS_DTL_TAB values ( '''||r_gscdbio.name||''','''||r_gscdbio.last_exec_time||''','||v_count||',0 )';
    Any help appreciated, I feel I need to use to_date and/or to_char but my head is spinning!
    Thank you

    Why are you using EXECUTE IMMEDIATE for this? And why are you not using bind variables? It'll be much easier (and more efficeint, easier to debug, etc) to just have static SQL
    INSERT INTO table_name
      VALUES( r_gscdbio.name, r_gscdbio.last_exec_time, v_count, 0 );Additionally, you'll want to explicitly specify the column list for your INSERT statement. Otherwise, if you add another column to the table, your code will break.
    Justin

  • How can I use more than 2 dependent dropdown lists

    I would like to create a form using three level of dépendent dropdown lists.
    Some examples exist with States dropdown list depending on a Country dropdown list. I would like to have a third level City depending on the choice made in the second list. Thanks for your help and sorry for my English

    Hi,
    I used the script from http://acrobatusers.com/tutorials/js_list_combo_livecycle1 to create a two dependent drop-downs and then was able to extend this to three dependent drop-down lists. I have put an example up at https://workspaces.acrobat.com/?d=Ph1ZsLxdyeZk9dq9qovNeQ
    Hope this helps,
    Greig

  • How can I use 2G in IOS 8

    How can I use 2G data in iOS 8 ?

    Who is your provider?
    Where are you located?
    Why are you wanting this?
    Being able to select what data type is a carrier provisioning feature.
    FYI, Carriers are phasing out 2G/Edge in lieu of faster communications of 3G/LTE.

  • How can I use it in CFQueryparam?

    I'm not experience in Sybase but one of my application has
    Sybase as the back end. I'm using CF 8 as the front end. I need to
    use cfqueryparam but one of the column call Author_number is set to
    id_dt data type in Sybase
    I have never heard about this data type so how can I use this
    data type in CFQueryparam's cfsqltype attribute?
    The cfsqltype I'm familiar with are:
    CF_SQL_BIGINT
    CF_SQL_BIT
    CF_SQL_CHAR
    CF_SQL_BLOB
    CF_SQL_CLOB
    CF_SQL_DATE
    CF_SQL_DECIMAL
    CF_SQL_DOUBLE
    CF_SQL_FLOAT
    CF_SQL_IDSTAMP
    CF_SQL_INTEGER
    CF_SQL_LONGVARCHAR
    CF_SQL_MONEY
    CF_SQL_MONEY4
    CF_SQL_NUMERIC
    CF_SQL_REAL
    CF_SQL_REFCURSOR
    CF_SQL_SMALLINT
    CF_SQL_TIME
    CF_SQL_TIMESTAMP
    CF_SQL_TINYINT
    CF_SQL_VARCHAR
    Please help!

    cfsqltype attribute is optional - you do not have to specify
    it.
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/

  • How can I use Automator to extract specific Data from a text file?

    I have several hundred text files that contain a bunch of information. I only need six values from each file and ideally I need them as columns in an excel file.
    How can I use Automator to extract specific Data from the text files and either create a new text file or excel file with the info? I have looked all over but can't find a solution. If anyone could please help I would be eternally grateful!!! If there is another, better solution than automator, please let me know!
    Example of File Contents:
    Link Time =
    DD/MMM/YYYY
    Random
    Text
    161 179
    bytes of CODE    memory (+                68 range fill )
    16 789
    bytes of DATA    memory (+    59 absolute )
    1 875
    bytes of XDATA   memory (+ 1 855 absolute )
    90 783
    bytes of FARCODE memory
    What I would like to have as a final file:
    EXCEL COLUMN1
    Column 2
    Column3
    Column4
    Column5
    Column6
    MM/DD/YYYY
    filename1
    161179
    16789
    1875
    90783
    MM/DD/YYYY
    filename2
    xxxxxx
    xxxxx
    xxxx
    xxxxx
    MM/DD/YYYY
    filename3
    xxxxxx
    xxxxx
    xxxx
    xxxxx
    Is this possible? I can't imagine having to go through each and every file one by one. Please help!!!

    Hello
    You may try the following AppleScript script. It will ask you to choose a root folder where to start searching for *.map files and then create a CSV file named "out.csv" on desktop which you may import to Excel.
    set f to (choose folder with prompt "Choose the root folder to start searching")'s POSIX path
    if f ends with "/" then set f to f's text 1 thru -2
    do shell script "/usr/bin/perl -CSDA -w <<'EOF' - " & f's quoted form & " > ~/Desktop/out.csv
    use strict;
    use open IN => ':crlf';
    chdir $ARGV[0] or die qq($!);
    local $/ = qq(\\0);
    my @ff = map {chomp; $_} qx(find . -type f -iname '*.map' -print0);
    local $/ = qq(\\n);
    #     CSV spec
    #     - record separator is CRLF
    #     - field separator is comma
    #     - every field is quoted
    #     - text encoding is UTF-8
    local $\\ = qq(\\015\\012);    # CRLF
    local $, = qq(,);            # COMMA
    # print column header row
    my @dd = ('column 1', 'column 2', 'column 3', 'column 4', 'column 5', 'column 6');
    print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    # print data row per each file
    while (@ff) {
        my $f = shift @ff;    # file path
        if ( ! open(IN, '<', $f) ) {
            warn qq(Failed to open $f: $!);
            next;
        $f =~ s%^.*/%%og;    # file name
        @dd = ('', $f, '', '', '', '');
        while (<IN>) {
            chomp;
            $dd[0] = \"$2/$1/$3\" if m%Link Time\\s+=\\s+([0-9]{2})/([0-9]{2})/([0-9]{4})%o;
            ($dd[2] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of CODE\\s/o;
            ($dd[3] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of DATA\\s/o;
            ($dd[4] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of XDATA\\s/o;
            ($dd[5] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of FARCODE\\s/o;
            last unless grep { /^$/ } @dd;
        close IN;
        print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    EOF
    Hope this may help,
    H

Maybe you are looking for

  • MySQL Transaction last_insert_id

    Can anyone tell me how to get the last inserted id when in transaction ? I have to do inserts in several tables. Problem is when inserting into one table my auto_increment id of the table should be used as a foreign key in the next table and so on. I

  • Need help with connecting internal cables

    I opened up my iMac to install a new superdrive and I am having trouble finding where 3 cables go. One cable comes from the internal camera One comes from the monitor and the third one is from a card . The first 2 are pins and the third one is a roun

  • CM 5.1 and Tenants

    Hi guys, Following on from my thread here... http://forums.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Unified%20Communications%20and%20Video&topic=IP%20Phone%20Services%20for%20Developers&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.1dd

  • How to swap the position of two objects?

    I have four self made componensts that I imported them into my main mxml file and placed each on four corners. What I want to achieve is to drag each component onto others then swap their position. For example, comp A is dragged over comp B, when thi

  • BPM design for trigger based file from Oracle

    Hi We have one requirement as follows: 1. We need to receive trigger file from Oracle. 2. As soon as we recieved trigger file, it needs to activate all other 10 JDBC adapter channels. 3. once reciever all 10 RFC channels completed, it needs to pass t