Welcome to Manicprogrammer Sign in | Join | Help

Dimensions, Details and Measures attributes on TFS Workitem fields

Similar to the previous post this post spawns from an MSDN forum question about why added fields weren't showing up in the TFS warehouse.

In the XML schema for the fields there is an attribute 'reportable' which can take values of "dimension", "detail" and "measure".  The value of "dimension", and "detail" should only be applied to integer, double, string and datetime fields and "measure" only to integer and double.

When you add a custom field or if you were to mark an existing field with the "reportable" attribute the next time the warehouse builds it will add these fields to the TFSWarehouse database. If it is a dimension it will show up in the [dbo.Work Item] table and if it is a detail it will show up in the [dbo.Current Work Item] table. The field name will match the refname of the field with the periods replaced by underscores.

Two important things to note.

  1. Once the reportable attribute for a field has been specified it cannot be changed.
  2. You can make a field reportable after it has been in use but only new revisions of the workitems containing that field will have the field value copied into the datawarehouse, prior versions will not get the current field value backfilled into it.

*http://msdn2.microsoft.com/en-us/library/ms194942(VS.80).aspx - the cite for the above

Published Sunday, January 28, 2007 10:45 PM by michaelruminer
Filed under

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

Friday, February 02, 2007 11:27 AM by Team System News

# VSTS Links - 02/02/2007

Michael Ruminer on Dimensions, Details and Measures attributes on TFS Workitem fields.

Neno Loje on...
Friday, August 29, 2008 3:34 PM by Kiran

# re: Dimensions, Details and Measures attributes on TFS Workitem fields

Hi

Have made and existing attribute as reportable. The values in that field are not propagated untill i make a change for this work item(till a new revision happens).

Is there a way to force TFS,propagate that data apart from doing manual updates to all the work items.

Please suggest.

Kiran


Enter the text you see in the image:

Leave a Comment

(required) 
required 
(required)