Can I report on the AGE of open Work Items? How? Group into Buckets?

Is there a way to report on the age of open work items?
Perhaps a bar graph that has several buckets.
a.    Over 364
b.    180 to 364
c.    90 to 179
d.    1 to 89
And then a COUNT in each bucket. 
For example, if a Work Item is open longer than 364 day, it would appear in bucket "a" as a count of 1.  Say there are a total of 45 Work Items that were opened older than 364 days, then "45" would appear in column "a" now say that there are 100 work items open that are 1 to 89 days old, then 100 would appear in the "d" bucket.
Make sense?  How can I report like this?

Hi mrpeepers,
You can use following MDX script when you create this report that uses TfsOlapReportDS
with
member [Measures].[Age]
As
IIF([Measures].[Current Work Item Count]>0,DateDiff("d",cdate([System_CreatedDate].[Date].CurrentMember .name),Now()),null)
member [Measures].[AgeRange]
as
case
when [Measures].[Age] >70 then 70
when [Measures].[Age] >60 then 60
when [Measures].[Age] >50 then 50
when [Measures].[Age] >40 then 40
when [Measures].[Age] >30 then 30
when [Measures].[Age] >20 then 20
when [Measures].[Age] >10 then 10
when [Measures].[Age] >0 then 0
when [Measures].[Age] <0 then -1
else null
end
 SELECT
 non empty
 {[Measures].[Current Work Item Count],[Measures].[Age] ,[Measures].[AgeRange]}
 ON COLUMNS,
 [System_CreatedDate].[Date].[Date].AllMembers on Rows
 FROM [Current Work Item]
And then, drop a Chart to report designer, select “Current_Work_Item_Count” as datafield,  AgeRange as category field.
Best Regards,
Ruiz
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Sincerely,
Ruiz Yi

Similar Messages

  • On my iPad2 I get a black screen when Itry to open FaceTime.  Others can contact me and the camera and audio work.  How do I fix this problem?

    On my iPad2 I get a black screen when I attempt to open Face Time.  Others can contact me and they come in with video and audio.  I can chat with them as well.  Is there a fix for this?  I have verified my email address twice.  I have turned FaceTime on and off several times as well. 
    Thanks,
    Bill

    I double clicked the round button when the icons appeared I held down and selected the FaceTime icon while it was shaking I selected the minus sign on the FaceTime icon closing it out.  Then I restarted the iPad and bingo FaceTime works now. 

  • Report using the feature of opening Excel in SAP.

    We are building a custom report using the feature of opening Excel in SAP.
    We need to do things like:
    Protect the worksheet, but leave some rows unprotected
    Freeze the windows
    Have any one ever used this feature before? Can any know how to do this?
    Thank you,
    PV

    No, no extra somewhere.  What it actually is, is that you are calling the methods of the application(sort of).  Here is an example application which does to the freeze panes.
    report zrich_0001.
    include ole2incl.
    data: e_sheet type ole2_object.
    data: e_appl  type ole2_object.
    data: e_work  type ole2_object.
    data: e_col1  type ole2_object.
    data: e_col2  type ole2_object.
    data: e_cols  type ole2_object.
    data: e_cell  type ole2_object.
    data: e_wind  type ole2_object.
    data: field_value(30) type c.
    parameters: p_file type localfile default 'C:RichTest.xls'.
    start-of-selection.
    * Start the application
      create object e_appl 'EXCEL.APPLICATION'.
      set property of e_appl 'VISIBLE' = 1.
    * Open the file
      call method of e_appl 'WORKBOOKS' = e_work.
      call method of e_work 'OPEN'
              exporting
                   #1 = p_file.
    * Write data to the excel file
      do 20 times.
    * Create the value
        field_value  = sy-index.
        shift field_value left deleting leading space.
        concatenate 'Cell' field_value into field_value separated by space.
    * Position to specific cell  in  Column 1
        call method of e_appl 'Cells' = e_cell
               exporting
                    #1 = sy-index
                    #2 = 1.
    * Set the value
        set property of e_cell 'Value' = field_value .
    * Position to specific cell  in  Column 2
        call method of e_appl 'Cells' = e_cell
               exporting
                    #1 = sy-index
                    #2 = 2.
    * Set the value
        set property of e_cell 'Value' = field_value .
    * Position to specific cell  in  Column 3
        call method of e_appl 'Cells' = e_cell
               exporting
                    #1 = sy-index
                    #2 = 3.
    * Set the value
        set property of e_cell 'Value' = field_value .
      enddo.
      call method of e_appl 'Columns' = e_col1
             exporting
                  #1 = 1.
      call method of e_appl 'Columns' = e_col2
              exporting
                  #1 = 2.
      call method of e_appl 'Range' = e_cols
              exporting
                #1 = e_col1
                #2 = e_col2.
      call method of e_cols 'Select' .
      get property of e_appl 'ActiveWindow' = e_wind.
      set property of  e_wind 'FreezePanes' = 1.
    ** Close the file
    *  call method of e_work 'close'.
    ** Quit the file
    *  call method of  e_appl  'QUIT'.
    *  free object e_appl.
    Regards,
    Rich Heilman

  • How can I find out the age of my imac

    How can I find out the age of my computer to see if it will be able to download latest operating system

    Open System Profiler in Utilities folder. Look for the Model ID on the right. Then see the following:
    Upgrade Paths to Snow Leopard, Lion, and/or Mountain Lion
    You can upgrade to Mountain Lion from Lion or directly from Snow Leopard. Mountain Lion can be downloaded from the Mac App Store for $19.99. To access the App Store you must have Snow Leopard 10.6.6 or later installed.
    Upgrading to Snow Leopard
    You can purchase Snow Leopard through the Apple Store: Mac OS X 10.6 Snow Leopard — Apple Store (U.S.). The price is $19.99 plus tax. You will be sent physical media by mail after placing your order.
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store. Access to the App Store enables you to download Mountain Lion if your computer meets the requirements.
         Snow Leopard General Requirements
           1. Mac computer with an Intel processor
           2. 1GB of memory
           3. 5GB of available disk space
           4. DVD drive for installation
           5. Some features require a compatible Internet service provider;
               fees may apply.
           6. Some features require Apple’s iCloud services; fees and
               terms apply.
    Upgrading to Lion
    If your computer does not meet the requirements to install Mountain Lion, it may still meet the requirements to install Lion.
    You can purchase Lion by contacting Customer Service: Contacting Apple for support and service — this includes international calling numbers. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
         Lion System Requirements
           1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
               or Xeon processor
           2. 2GB of memory
           3. OS X v10.6.6 or later (v10.6.8 recommended)
           4. 7GB of available space
           5. Some features require an Apple ID; terms apply.
    Upgrading to Mountain Lion
    To upgrade to Mountain Lion you must have Snow Leopard 10.6.8 or Lion installed. Purchase and download Mountain Lion from the App Store. Sign in using your Apple ID. Mountain Lion is $19.99 plus tax. The file is quite large, over 4 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
         OS X Mountain Lion — System Requirements
           Macs that can be upgraded to OS X Mountain Lion
             1. iMac (Mid 2007 or newer) — Model Identifier 7,1 or later
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer) —
                 Model Identifier 5,1 or later
             3. MacBook Pro (Mid/Late 2007 or newer) — Model Identifier 3,1 or later
             4. MacBook Air (Late 2008 or newer) — Model Identifier 2,1 or later
             5. Mac mini (Early 2009 or newer) — Model Identifier 3,1 or later
             6. Mac Pro (Early 2008 or newer) — Model Identifier 3,1 or later
             7. Xserve (Early 2009) — Model Identifier 3,1 or later
    To find the model identifier open System Profiler in the Utilities folder. It's displayed in the panel on the right.
    Are my applications compatible?
             See App Compatibility Table — RoaringApps.
         For a complete How-To introduction from Apple see Upgrade to OS X Mountain Lion.

  • Whenever I try to save a file as a PDF, it tells me it can't save because the file is open somewhere else. This is not the case and I have tried it with different files. Please help. You can also call me at:(301)651-9616

    Whenever I try to save a file as a PDF, it tells me that it can't save, because the file is open somewhere else. I don't have anything else open. I have also tried different files and they all say the same thing. Help.

    Given there are so many problems and removed features in Pages 5, why not just continue using Pages '09?
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&mforum=iworktipsn trick
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=432&mforum=iworktips ntrick
    Peter

  • Remove age from birthday notification: I don't know the years most of my contacts were born, so I keep getting a default year 2000 birthdate. How can I turn off the age (xxth birthday) in Birthday Calendar - it really is very annoying!

    I don't know the years most of my contacts were born, so I keep getting a default year 2000 birthdate.
    How can I turn off the age (xxth birthday) in Birthday Calendar - it really is very annoying!?
    Thanks
    Tim

    Where do you see the default birthday showing as Nov. 30? If you can explain that, I can probably modify the below script to do that clean up.
    In response to the original problem:
    I'm not sure why I missed the original reply, but here is an Applescript that will change all the years of any selected contacts to 1604 (default for no year).
    tell application "Contacts"
              set thePeople to selection
              repeat with aPerson in thePeople
                        set theDate to birth date of aPerson
                        if theDate is not missing value then
                                  set the year of theDate to 1604
                                  set birth date of aPerson to theDate
                        end if
              end repeat
    end tell
    copy and paste it into a new Applescript Editor document. Select all the contacts you want to change (in Contacts), then run this script by clicking on the green Run button in Applescript Editor.

  • When I open a new window (App etc) the windows already open disappear. How can I fix this ?, When I open a new window (App etc) the windows already open disappear. How can I fix this ?

    When I open a new window (App etc) the windows already open disappear. How can I fix this ?

    Back up all data.
    Please triple-click anywhere in the line below on this page to select it:
    defaults delete com.apple.dock single-app && killall Dock
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    Wait for a new line ending in a dollar sign ($) to appear below what you entered. You can then quit Terminal. Test.

  • I have a macbook pro can can log into a server, but my new iMac with lion can't even see the server--both are over wifi- how do i get the new iMac to see the server?

    i have a macbook pro can can log into a server, but my new iMac with lion can't even see the server--both are over wifi- how do i get the new iMac to see the server?

    Without knowing what you have tried please open System Preferences - Sharing - File Sharing and select File Sharing. If you still have trouble you can call AppleCare in the morning when they re-open. You have 90 days of telephone support if you haven't already bought AppleCare.

  • I am having trouble with my iPad, i can start it, but the iPad does not work. i tried to use the power and home button at the same time, the apple logo appears, but the iPad does not work. What am I suppose to do?

    I am having trouble with my iPad, i can start it, but the iPad does not work. i tried to use the power and home button at the same time, the apple logo appears, but the iPad does not work. What am I suppose to do?

    After the Apple logo appears, what happens then? Can you hear any sounds or if you tap on the screen, does it seem like apps can open or are you just seeing a black screen? You might have a hardware problem, but you can try restoring the software and see what happens.
    Read this in its entirety before you do anything. Make sure you read the sections at the end about using recovery mode.
    iTunes: Restoring iOS software - Support - Apple

  • I just bought a iTunes card and its not accepting it.  It already sent it to the support team and they said they were going to get back to my within 24 hours and i am trying to buy a program in the app store for work.  How can I expedite this process?

    I just bought a iTunes card and its not accepting it.  It already sent it to the support team and they said they were going to get back to my within 24 hours and i am trying to buy a program in the app store for work.  How can I expedite this process?

    Has it been 24 hours?
    I take it this was a gift card.  iTunes Store:  Invalid, Inactive, or Illegible codes http://support.apple.com/kb/TS1292 - gift cards
    I don't know if this provides an alternative means: https://expresslane.apple.com ; select 'iTunes' in the first column; 'iTunes Store' in the second column
    If you are really desperate you could buy the app yourself, then request reimbursement.

  • How can I close out the page I am working on in safari when error boxes keep popping up?

    How can I close out the page I am working on in safari when error boxes keep popping up?

    What do the error messages say ?

  • I have photos on my iphone 4 that i'm trying to transfer to iphoto.  The problem is when I plug the phone in, it only wants to transfer the new photos, not all.  How can I take all the photos off my phone and put them into iphoto?

    I have photos on my iphone 4 that i'm trying to transfer to iphoto.  The problem is when I plug the phone in, it only wants to transfer the new photos, not all.  How can I take all the photos off my phone and put them into iphoto? Even if there are duplicates, I'd like to make sure I get all the photos from my phone into iphoto.  Thanks

    To see all the photos on the phone, including photos that have already been imported into iPhoto, deselect the "Hide Photos Already Imported" checkbox. If the camera contains photos that have already been imported into iPhoto, those photos are hidden by default.

  • Hi, I have a Macbook Air OS X 10.10.3 and the cam doesn't work. How can I fix it?

    Hi, I have a Macbook Air OS X 10.10.3 and the cam doesn't work. How can I fix it?

    How to Troubleshoot iSight - Apple Support

  • I can't close safari (option is greyed out) and I can't shut down the computer because of it. How do I fix this?

    I can't close safari (option is greyed out) and I can't shut down the computer because of it. How do I fix this?

    Try to "Force Quit" Safari - either under the Apple menu or by holding down option-Command-esc.
    Clinton

  • How can i know if the face time is working on the iPad before i buy it?

    How can i know if the face time is working on the iPad before i buy it?

    I am plan to buy new ipad2 and i want to check before i buy it, if there is facetime or not?
    As far as i know if it is from KSA there is no face time in, but if it from US there is facetime in?
    And i have the serial number.

Maybe you are looking for

  • Stamping multiple images

    I've been using Aperture for about two years, and was one of the early adopters of A3. Until recently, I've had no real issues to speak of, but now when I try to stamp multiple images, or even select a couple images to apply a rating, only the last i

  • SLD server connection is inactive SCDT_LIS_IF011

    After install and test SLD into XI 3.0, I am trying to customizr a Solution Manager 3.1 to connecto with SLD using SYSM_SETUP. I configure RZ70, SLDAPICUST, and SMSY_SETUP->Edit->expert setting as requested in SAP documentation. When I try from SMSY_

  • Connecting Database with Struts

    package assignment.actions; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.Statement; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.Ht

  • Mail crashes when I try to add an account

    I'm trying to add an IMAP account to mail. When I get to the SMTP server page I enter the information I've been provided, then mail crashes when I click next. Process: Mail [219] Path: /Applications/Mail.app/Contents/MacOS/Mail Identifier: com.apple.

  • LAN file and printer sharing lost

    We're very happy we just installed wireless broadband in New Zealand - an Ericsson W35 Fixed Wireless Terminal connect us to the new Telecom 3G network most places we sail our yacht ADAGIO. The W35 includes a wireless access point, so we enabled that