You are on page 1of 21

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/ DTD/xhtml11.dtd"> <html xmlns="http://www.w3.

org/1999/xhtml"><head id="ctl00_Head1"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"><link id="ctl 00_HeaderLink1" rel="stylesheet" type="text/css" href="ms157334.aspx_files/Globa l-bn20110608.css"><link id="ctl00_HeaderLink2" rel="stylesheet" type="text/css" href="ms157334.aspx_files/Library-bn20110608.css"><link id="ctl00_HeaderLink3" r el="stylesheet" type="text/css" href="ms157334.aspx_files/technet.css"><meta nam e="NormalizedUrl" content="http://technet.microsoft.com/en-us/library(d=default) /ms157334(l=en-us,v=SQL.105).aspx"><meta name="VotingContextUrl" content="http:/ /technet.microsoft.com/en-us/library(d=default)/ms157334(l=en-us,v=SQL.105).aspx "><meta name="ROBOTS" content="NOINDEX,NOFOLLOW"><meta name="MN" content="73E99E 8C-11:11:18 PM"><meta name="ms.locale" content="en-us"><meta name="Search.ShortI d" content="ms157334"> <!-- Looking for metadata? Use the robot view instead http://currentsite/current url(robot).aspx --> <meta name="DCS.dcsuri" content="/en-us/library(d=default)/ms157334(l=en-us,v=SQ L.105).aspx"> <link rel="stylesheet" type="text/css" href="ms157334.aspx_files/mtps-bn20110608 .css"><link rel="alternate" media="print" href="http://technet.microsoft.com/enus/library/ms157334%28printer%29.aspx"> <title> Adding a Matrix (Reporting Services) </title></head> <body id="ctl00_Mtps_body" dir="ltr"> <form name="aspnetForm" method="post" action="ms157334.aspx" id="aspnetForm"> <div> <input name="flag" id="flag" value="false" type="hidden"> <input name="__EVENTTARGET" id="__EVENTTARGET" value="" type="hidden"> <input name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" type="hidden"> <input name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUBMGQYAQUeX19Db250cm9sc1 JlcXVpcmVQb3N0QmFja0tleV9fFgEFHmN0bDAwJGN0bDA0JGN0bDAwJFNlYXJjaEJ1dHRvbpE8rp2Izk 2KaiVAtytJF07y6EH/" type="hidden"> </div> <script type="text/javascript"> //<![CDATA[ var theForm = document.forms['aspnetForm']; if (!theForm) { theForm = document.aspnetForm; } function __doPostBack(eventTarget, eventArgument) { if (!theForm.onsubmit (theForm.onsubmit() != false)) { theForm.__EVENTTARGET.value = eventTarget; theForm.__EVENTARGUMENT.value = eventArgument; theForm.submit(); } } //]]> </script> <script src="ms157334.aspx_files/WebResource.js" type="text/javascript"></script > <script type="text/javascript"> //<![CDATA[ var CurUserId="AxUFAAAAAACwBwAAUYIrE3dOg/jMi+K5SJWP+Q!!";var ClientURL="http%3a%

2f%2ftechnet.microsoft.com%2fen-us%2flibrary(d%3ddefault)%2fms157334(l%3den-us%2 cv%3dSQL.105).aspx";var maxRating=5;var RatingObjId="ctl00_ib1_Flyout_Rating1";v ar tbCommentsId="ctl00_ib1_Flyout_tbComments";var PageId="ms157334";var pageTag= "contentRatingms157334SQL.105en-us";var sendBtnId="ctl00_ib1_Flyout_btnSend";var curRating="4";var contentRated=false;var RatingTooltipText="Click a star and pr ovide feedback";var RatedTooltipText="You have already rated this content. Thank you for your feedback.";var userIPAddress="59.97.184.153";var MtpsPageDirection ="ltr";var RatingFlyoutID="ctl00_ib1_Flyout";var Rating_Device="default";var CCI _DeleteConfirmationText="Are you sure you want to delete?";function wkAddNewItem Click(){CCE_EditAnnotation(-1);}; var CCS_AddLinkID="ctl00_WikiContent_Add";var CCS_User="";var CCS_ContentUrl="ht tp://technet.microsoft.com/en-us/library/ms157334.aspx";//]]> </script> <script src="ms157334.aspx_files/jquery-1.js" type="text/javascript"></script> <script src="ms157334.aspx_files/Silverlight-bn20110608.js" type="text/javascrip t"></script> <script type="text/javascript"> //<![CDATA[ var wt_nvr_ru = "WT_NVR_RU";var wt_fpcdom = ".microsoft.com";var wt_domlist = "t echnet.microsoft.com";var wt_pathlist = "/technet/";var wt_paramlist = "DCSext.m tps_techcenter";var wt_siteid = "TECHNET";var gDomain="m.webtrends.com"; var gDcsId="dcsjwb9vb00000c932fd0rjc7_5p3t"; var gFpc="WT_FPC"; /*<![CDATA[*/ if(document.cookie.indexOf(gFpc+"=")==-1){document.write("<scr"+"ipt type='text/ javascript' src='"+"http"+(window.location.protocol.indexOf('https:')==0?'s':'') +"://"+gDomain+"/"+gDcsId+"/wtid.js"+"'><\/scr"+"ipt>");} /*]]>*/ var detectedLocale = 'en-us'; var wtsp="_technet_"; var gTrackEvents = 0; var omni_guid='0d2c120a-32d7-4657-8552-1ac8108f617e';//]]> </script> <script src="ms157334.aspx_files/omni_rsid_technet-bn20110608.js" type="text/jav ascript"></script><noscript><a href='http://www.omniture.com' title='Web Analyti cs'><img src='http://msstonojstechnet.112.2o7.net/b/ss/msstonojstechnet/1/H.20.2 --NS/0' height='1' width='1' border='0' alt='' /></a></noscript> <script type="text/javascript"> //<![CDATA[ var CCT_Browse="Browse other topics containing this tag";var CCT_Remove="Remove the tag from this topic";var CCT_NoTags="No tags entered";var CCT_Error="An erro r has occurred";var CCT_BugTag="contentbug";var CCE_ErrSameContent = "Content ha s not changed"; var CCE_ErrEmptyTitle = "Title can not be empty"; var CCE_ErrEmptyContent = "Content cannot be empty"; var CCE_ErrTitleTooLong = "Title is limited to 100 characters"; var CCE_ErrContentTooLong = "Content is limited to 50,000 characters"; var CCE_ErrServerError = "Error occurred while saving your data."; var CCE_IsEditing=false;var CCE_IsTaggingEnabled=true;var CCE_TitleMaxLen=100;va r CCE_ContentMaxLen=50000;var CCE_UpdateText="Please Wait";//]]> </script> <script src="ms157334.aspx_files/compositejscript3.js" type="text/javascript"></ script> <div> <input name="__PREVIOUSPAGE" id="__PREVIOUSPAGE" value="lqkRTMwj2qKt5IHZ ivurWK7KYIlN8fiQJhEsKkeNQC0VvYFaql53viZLYI9KFl7Xh9K79FxFAGXoLWH_xppHDadB3omn8tNK n07gKsBH4PV65U0z0" type="hidden">

</div> <script type="text/javascript"> //<![CDATA[ Sys.WebForms.PageRequestManager._initialize('ctl00$ScriptManager1', 'aspnetForm' , ['tctl00$ContributionSummary1$ctl00','','fctl00$WikiContent$ctl00$ItemUpdatePa nel',''], [], [], 90, 'ctl00'); //]]> </script> <div id="rheader"> <div class="mastheadfontbase"> <div> <div class="GlobalBar"> <div class="Teaser"> <span id="ticklerWrapper"> <a id="ctl00_ctl04_Tickler1_InstallLink" class="slLink" href="http://clk.atdmt.c om/MRT/go/141489559/direct/01/" onclick="javascript:Track('ctl00_ctl04_Tickler1 _InstallLink',this);">Upgrade your Internet Experience</a> </span> </div> <div class="GlobalBarRight"> <div class="LocaleFlyout"> <div class="LocaleManagementFlyoutStatic" styl e="position:relative;" id="ctl00_ctl04_LocaleManagement_ctl00"><a class="LocaleM anagementFlyoutStaticLink" href="javascript:void(0)">United States - English&nbs p;</a><img class="LocaleManagementFlyoutPopArrow LibC_popdownarrow" src="ms15733 4.aspx_files/clear_002.gif" alt="Dropdown Arrow" style="height: 4px; width: 7px; border-width: 0px;"><div id="ctl00_ctl04_LocaleManagement_ctl00_Popup" class="L ocaleManagementFlyoutPopup" style="position: absolute;visibility:hidden;left:-10 00px;"> <table style="width: 175px;" border="0"> <tbody><tr> <td><a href="javascript:__doPostBack('ctl00$ctl0 4$LocaleManagement$ctl00$ctl05','')">Argentina (Espaol)</a></td> </tr><tr> <td><a href="javascript:__doPostBack('ctl00$ctl0 4$LocaleManagement$ctl00$ctl06','')">Australia (English)</a></td> </tr><tr> <td><a href="javascript:__doPostBack('ctl00$ctl0 4$LocaleManagement$ctl00$ctl07','')">Brasil (Portugus)</a></td> </tr><tr> <td><a href="javascript:__doPostBack('ctl00$ctl0 4$LocaleManagement$ctl00$ctl08','')">Canada (English)</a></td> </tr><tr> <td><a href="javascript:__doPostBack('ctl00$ctl0 4$LocaleManagement$ctl00$ctl09','')"> ( )</a></td> </tr><tr> <td><a href="javascript:__doPostBack('ctl00$ctl0 4$LocaleManagement$ctl00$ctl10','')">Colombia (Espaol)</a></td> </tr><tr> <td><a href="javascript:__doPostBack('ctl00$ctl0 4$LocaleManagement$ctl00$ctl11','')">Deutschland (Deutsch)</a></td> </tr><tr>

<td><a href="javascript:__doPostBack('ctl00$ctl0 4$LocaleManagement$ctl00$ctl12','')">Espaa (Espaol)</a></td> </tr><tr> <td><a href="javascript:__doPostBack('ctl00$ctl0 4$LocaleManagement$ctl00$ctl13','')">France (Franais)</a></td> </tr><tr> <td><a href="javascript:__doPostBack('ctl00$ctl0 4$LocaleManagement$ctl00$ctl14','')">India (English)</a></td> </tr><tr> <td><a href="javascript:__doPostBack('ctl00$ctl0 4$LocaleManagement$ctl00$ctl15','')">Italia (Italiano)</a></td> </tr><tr> <td><a href="javascript:__doPostBack('ctl00$ctl0 4$LocaleManagement$ctl00$ctl16','')"> ()</a></td> </tr><tr> <td><a href="javascript:__doPostBack('ctl00$ctl0 4$LocaleManagement$ctl00$ctl17','')">Mxico (Espaol)</a></td> </tr><tr> <td><a href="javascript:__doPostBack('ctl00$ctl0 4$LocaleManagement$ctl00$ctl18','')">Per (Espaol)</a></td> </tr><tr> <td><a href="javascript:__doPostBack('ctl00$ctl0 4$LocaleManagement$ctl00$ctl19','')"> (P )</a></td> </tr><tr> <td><a href="javascript:__doPostBack('ctl00$ctl0 4$LocaleManagement$ctl00$ctl20','')">United Kingdom (English)</a></td> </tr><tr> <td><a href="javascript:__doPostBack('ctl00$ctl0 4$LocaleManagement$ctl00$ctl21','')">United States (English)</a></td> </tr><tr> <td class="LocaleManagementFlyoutPopupHr"></td> </tr><tr> <td><a href="http://technet.microsoft.com/en-us/ ms376720.aspx">More...</a></td> </tr> </tbody></table></div><div id="ctl00_ctl04_LocaleManagement_ctl0 0_Anim" class="TFlyPopupAnimate"></div> </div>

</div> <div class="SiteMap"> <a id="ctl00_ctl04_MSFT_Site" title="Microsoft .com" class="SiteMapLink" href="http://www.microsoft.com/">Microsoft.com</a> </div> <div class="PassportScarab"> <span id="ctl00_ctl04_UserRecognitionFlyout_lb welcom" class="UserRecognitionStaticText">Welcome</span>

<a id="idPPScarab" href="https://login.live.com/login.srf?wa=wsignin1.0&amp;rpsn v=11&amp;ct=1308895878&amp;rver=6.0.5276.0&amp;wp=MCLBI&amp;wlcxt=technet%24tech net%24technet&amp;wreply=http:%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fms 157334.aspx&amp;lc=1033&amp;cb=&amp;id=254354"><span id="idPPScarabSIT" class="M TPS_GlobalToolbarLinks_msdn">Sign in</span></a> </div>

</div> </div> </div> <div class="classicTopNav"> <div class="ThinNavBox"> <a href="http://technet.microsoft.com/en-us/default.aspx" id="ct l00_ctl04_brandlink"><div id="ctl00_ctl04_BrandLogo" class="BrandLogo"> </div></a> <div class="Search"><div id="ctl00_ctl04_ctl00_SearchBox" class= "SearchBox"> <input value="Search TechNet with Bing" style="color: rgb(170, 170, 170); fo nt-style: italic;" autocomplete="off" name="ctl00$ctl04$ctl00$SearchTextBox" id= "ctl00_ctl04_ctl00_SearchTextBox" title="Search TechNet with Bing" class="TextBo xSearch" type="text"> <input name="ctl00$ctl04$ctl00$SearchButton" id="ctl00_ctl04_ctl00_SearchBut ton" title="Search TechNet with Bing" class="SearchButton" alt="Click here to se arch" src="ms157334.aspx_files/clear_002.gif" style="border-width: 0px;" type="i mage"> <span class="Bing"></span> <script type="text/javascript" defer="defer" src="ms157334.aspx_files/SearchBox. js" id="mscom.srch.searchBox"></script><div style="display: none; text-align: le ft; border: 1px solid buttonshadow; position: absolute; z-index: 1000; padding: 2px; background-color: rgb(255, 255, 255); color: rgb(0, 0, 255); font-family: a rial;" id="SearchFlyoutContainer"><div id="SuggestionContainer"><ul style="liststyle: none outside none; padding: 4px 2px 0px 1px; cursor: pointer; font-size: 8pt; margin: 1px;"></ul></div><div style="width: 100%; margin: 0px; text-align: right; font-size: 8pt;" id="FooterContainer"><a href="#">Close</a></div></div></ div></div> <div class="evergreenLinks">

<a id="ctl00_ctl04_eventlink"><div id="ctl00_ctl04_EventLogo" class="Eve ntLogo"> </div></a> </div> </div> <div class="Clear"></div> <div class="NavigationBox"> <div id="ctl00_ctl04_tabs_CenterTitle" class="HeaderTitle">Resources for IT Professionals</div> <div class="Sponsor"> </div> <div class="ClearLeft"></div> <div class="leftcap"></div> <div class="internav"> <div id="ctl00_ctl04_tabs_manTabsHolder"><a id="ctl00_ctl04_tabs _ctl01" href="http://technet.microsoft.com/en-us/default.aspx" onclick="javascri pt:Track(' TabStrip Link ctl00_ctl04_tabs_ctl00 ctl00_ctl04_tabs_ctl01',this);"> Home</a><a id="ctl00_ctl04_tabs_ctl03" class="active" href="http://technet.micro soft.com/en-us/library/default.aspx" onclick="javascript:Track(' TabStrip Link c

tl00_ctl04_tabs_ctl02 ctl00_ctl04_tabs_ctl03',this);">Library</a><a id="ctl00_ct l04_tabs_ctl05" href="http://social.technet.microsoft.com/wiki" onclick="javascr ipt:Track(' TabStrip Link ctl00_ctl04_tabs_ctl04 ctl00_ctl04_tabs_ctl05',this);" >Wiki</a><a id="ctl00_ctl04_tabs_ctl07" href="http://technet.microsoft.com/en-us /bb291022.aspx" onclick="javascript:Track(' TabStrip Link ctl00_ctl04_tabs_ctl06 ctl00_ctl04_tabs_ctl07',this);">Learn</a><a id="ctl00_ctl04_tabs_ctl09" href="h ttp://technet.microsoft.com/en-us/bb403698.aspx" onclick="javascript:Track(' Tab Strip Link ctl00_ctl04_tabs_ctl08 ctl00_ctl04_tabs_ctl09',this);">Downloads</a>< a id="ctl00_ctl04_tabs_ctl11" href="http://technet.microsoft.com/en-us/ms772425. aspx" onclick="javascript:Track(' TabStrip Link ctl00_ctl04_tabs_ctl10 ctl00_ctl 04_tabs_ctl11',this);">Support</a><a id="ctl00_ctl04_tabs_ctl13" href="http://so cial.technet.microsoft.com/Forums/en-us/categories/" onclick="javascript:Track(' TabStrip Link ctl00_ctl04_tabs_ctl12 ctl00_ctl04_tabs_ctl13',this);">Forums</a> <a id="ctl00_ctl04_tabs_ctl15" href="http://blogs.technet.com/" onclick="javascr ipt:Track(' TabStrip Link ctl00_ctl04_tabs_ctl14 ctl00_ctl04_tabs_ctl15',this);" >Blogs</a></div> </div> <div id="ctl00_ctl04_tabs_LwViewSwitcher1_Panel1" class="LWVS_Loband"> <a id="ctl00_ctl04_tabs_LwViewSwitcher1_ClassicLink" tabindex="201" class="LWVS_ DisabledLink" onclick="SetViewCookie('classic')">Classic</a>&nbsp; &nbsp; <a h ref="http://technet.microsoft.com/en-us/library/ms157334.aspx" id="ctl00_ctl04_t abs_LwViewSwitcher1_LightweightLink" tabindex="202" class="LWVS_Link" onclick="S etViewCookie('lightweight')">Lightweight</a>&nbsp; &nbsp; <a href="http://tech net.microsoft.com/en-us/library/ms157334.aspx" id="ctl00_ctl04_tabs_LwViewSwitch er1_LobandLink" tabindex="203" class="LWVS_Link" onclick="SetViewCookie('loband' )">ScriptFree</a> </div> <div class="rightcap"></div> </div> <div class="Clear"></div> <div id="ctl00_ctl04_tabs_LocalNavigation" class="LocalNavigation" style ="height:2px;display:none;"> </div> <div class="cleartabstrip"></div> <div id="ctl00_ctl04_tabs_LocalNavBottom" class="LocalNavBottom"></div>

</div> </div> <div class="Clear"></div> <div id="ctl00_ib1_Panel1" class="miniRatings"> <div id="ctl00_ib1_miniRatings_left" class="miniRatings_left"> <a id="ctl00_ib1_hlPrint" title="Print This Content" class="itPrint" onclick ="javascript:SubmitRateAction('printerFriendlyPage');" href="http://technet.micr osoft.com/en-us/library/ms157334%28printer%29.aspx"><img id="ctl00_ib1_imgPrint" class="LibC_rtg_print" src="ms157334.aspx_files/clear_002.gif" style="border-wi dth: 0px;">&nbsp;Printer Friendly Version</a>&nbsp;&nbsp; &nbsp;&nbsp; <a id="ctl00_ib1_hlSendCont" title="Send This Content" class="itSend" onclic k="javascript:SubmitRateAction('sendThisPage');" href="mailto:?subject=Adding%20

a%20Matrix%20%28Reporting%20Services%29&amp;body=This%20URL%20points%20to%20a%20 page%20on%20TECHNET%20that%20may%20interest%20you:%20http://technet.microsoft.co m/en-us/library/ms157334.aspx"><img id="ctl00_ib1_imgSendCont" class="LibC_rtg_e mail" src="ms157334.aspx_files/clear_002.gif" style="border-width: 0px;">&nbsp;S end</a>&nbsp;&nbsp; <a id="ctl00_ib1_hlComCon" title="Click here to jump to the Community Conten t section on this page." class="itComCon" href="http://technet.microsoft.com/enus/library/Community-Signup.aspx?ru=http%3a%2f%2ftechnet.microsoft.com%2fen-us%2 flibrary%2fms157334%28SQL.105%29.aspx%3fwbi%3dnew"><img id="ctl00_ib1_imgComCon" class="LibC_rtg_comCon" src="ms157334.aspx_files/clear_002.gif" style="border-w idth: 0px;">&nbsp;Add Content...</a>&nbsp;&nbsp; </div> <div id="ctl00_ib1_miniRatings_right" class="miniRatings_right"> <div class="ratingFlyoutStatic" style="position:relative;" id="ctl00_ib1 _Flyout"><div id="ctl00_ib1_Flyout_rtgContainer" title="Click a star and provide feedback" style="display: block; text-align:right;"> <table> <tbody><tr> <td style="text-align: right; line-height: 70%;"> <span id="ctl00_ib1_Flyout_rateTitleLabel" class="tbFont">Cl ick to Rate and Give Feedback</span> </td> <td id="ctl00_ib1_Flyout_tdRtg" style="width: 85px;" onclick=" if($get('ctl00_ib1_Flyout_tbComments')!=null &amp;&amp; $get('ctl00_ib1_Flyout_t bComments').visible == 'true') $get('ctl00_ib1_Flyout_tbComments').focus();"> <div id="ctl00_ib1_Flyout_Rating1" title="Click a star and provide feedback" dir="ltr" style="height:16px;"> <a href="#" id="ctl00_ib1_Flyout_Rating1 _A" title="Click a star and provide feedback" style="text-decoration: none;"><sp an title="Click a star and provide feedback" value="1" id="ctl00_ib1_Flyout_Rati ng1_Star_1" class="ratingStar filledRatingStar" style="float:left;">&nbsp;</span ><span title="Click a star and provide feedback" value="2" id="ctl00_ib1_Flyout_ Rating1_Star_2" class="ratingStar filledRatingStar" style="float:left;">&nbsp;</ span><span title="Click a star and provide feedback" value="3" id="ctl00_ib1_Fly out_Rating1_Star_3" class="ratingStar filledRatingStar" style="float:left;">&nbs p;</span><span title="Click a star and provide feedback" value="4" id="ctl00_ib1 _Flyout_Rating1_Star_4" class="ratingStar filledRatingStar" style="float:left;"> &nbsp;</span><span title="Click a star and provide feedback" value="5" id="ctl00 _ib1_Flyout_Rating1_Star_5" class="ratingStar emptyRatingStar" style="float:left ;">&nbsp;</span></a> </div> </td> </tr> </tbody></table> </div> <div style="display: block; float: none; clear: both;"> </div> <div id="ctl00_ib1_Flyout_Popup" class="ratingFlyoutPopup" style="posi tion: absolute;visibility:hidden;left:-1000px;"> <span id="ctl00_ib1_Flyout_lbOptText" class="Opt ionalText">Give feedback on this content</span><textarea name="ctl00$ib1$Flyout$ tbComments" rows="2" cols="20" id="ctl00_ib1_Flyout_tbComments" class="Comment"> </textarea><input name="ctl00$ib1$Flyout$btnClose" id="ctl00_ib1_Flyout_btnClose " class="Button" value="Close" onclick='CloseFLY("ctl00_ib1_Flyout") ' type="but ton"><input name="ctl00$ib1$Flyout$btnSend" id="ctl00_ib1_Flyout_btnSend" class=

"Button" value="Send" onclick="return IsPageRated(&quot;ctl00_ib1_Flyout_Rating1 &quot;,&quot;ctl00_ib1_Flyout_lbOptText&quot;,'Please rate the page first.', &qu ot;ctl00_ib1_Flyout&quot;,this)" type="button"></div><div id="ctl00_ib1_Flyout_A nim" class="TFlyPopupAnimate"></div> </div> </div> <div id="intercleardiv" style="display: block; clear: both; visibility: hidden ;"></div> </div> </div> <div id="contents"> <div id="ctl00_LibFrame" class="resizableArea"> <div id="ctl00_raLeft" class="leftSection" style="width:300px;"> <img id="ctl00_TocVector1_o" class="hidden" src="ms157334.aspx_files/cle ar_002.gif" style="border-width: 0px;"> <img id="ctl00_TocVector1_c" class="hidden" src="ms157334.aspx_files/clear_002.g if" style="border-width: 0px;"> <img id="ctl00_TocVector1_e" class="hidden" src="ms157334.aspx_files/clear_002.g if" style="border-width: 0px;"> <div id="holder" onclick="TocClick(event)"> <div id="ctl00_TocVector1_root" class="rootToc"> <ul class="toc" id="tocVectorTreeId"><li name="bb126093( n)"><img src="ms157334.aspx_files/clear_002.gif" class="LibC_o"><a class="tocSel ected" href="http://technet.microsoft.com/en-us/library/aa991542.aspx" target="_ top">TechNet Library</a><ul class="toc"><li name="cc440484(n)"><img src="ms15733 4.aspx_files/clear_002.gif" class="LibC_c"><a href="http://technet.microsoft.com /en-us/library/cc498713.aspx" target="_top">Books, Magazines, and Columns</a></l i><li name="cc440486(n)"><img src="ms157334.aspx_files/clear_002.gif" class="Lib C_c"><a href="http://technet.microsoft.com/en-us/library/cc498714.aspx" target=" _top">Customer Relationship Management</a></li><li name="cc440467(n)"><img src=" ms157334.aspx_files/clear_002.gif" class="LibC_c"><a href="http://technet.micros oft.com/en-us/library/cc498715.aspx" target="_top">Deployment</a></li><li name=" cc161089(exchg.80,n)"><img src="ms157334.aspx_files/clear_002.gif" class="LibC_c "><a href="http://technet.microsoft.com/en-us/library/aa996058%28EXCHG.80%29.asp x" target="_top">Exchange Server</a></li><li name="ff630950(n)"><img src="ms1573 34.aspx_files/clear_002.gif" class="LibC_c"><a href="http://technet.microsoft.co m/en-us/library/ff630950.aspx" target="_top">Forefront</a></li><li name="bb94480 4(n)"><img src="ms157334.aspx_files/clear_002.gif" class="LibC_c"><a href="http: //technet.microsoft.com/en-us/library/bb944804.aspx" target="_top">Infrastructur e Optimization</a></li><li name="cc817584(n)"><img src="ms157334.aspx_files/clea r_002.gif" class="LibC_c"><a href="http://technet.microsoft.com/en-us/library/cc 817584.aspx" target="_top">Internet Explorer</a></li><li name="bb496474(n)"><img src="ms157334.aspx_files/clear_002.gif" class="LibC_c"><a href="http://technet. microsoft.com/en-us/library/bb496474.aspx" target="_top">Interoperability and Mi gration</a></li><li name="cc440473(n)"><img src="ms157334.aspx_files/clear_002.g if" class="LibC_c"><a href="http://technet.microsoft.com/en-us/library/cc498718. aspx" target="_top">Networking and Messaging</a></li><li name="dd627211(office.1 2,n)"><img src="ms157334.aspx_files/clear_002.gif" class="LibC_c"><a href="http: //technet.microsoft.com/en-us/library/hh220610.aspx" target="_top">Office</a></l i><li name="cc440490(n)"><img src="ms157334.aspx_files/clear_002.gif" class="Lib C_c"><a href="http://technet.microsoft.com/en-us/library/cc498720.aspx" target=" _top">Online Services</a></li><li name="cc440492(n)"><img src="ms157334.aspx_fil es/clear_002.gif" class="LibC_c"><a href="http://technet.microsoft.com/en-us/lib rary/cc498722.aspx" target="_top">Scripting</a></li><li name="cc440494(n)"><img

src="ms157334.aspx_files/clear_002.gif" class="LibC_c"><a href="http://technet.m icrosoft.com/en-us/library/cc498723.aspx" target="_top">Security and Updates</a> </li><li name="cc440477(n)"><img src="ms157334.aspx_files/clear_002.gif" class=" LibC_c"><a href="http://technet.microsoft.com/en-us/library/cc440477.aspx" targe t="_top">Products and Technologies</a></li><li name="ee428369(n)"><img src="ms15 7334.aspx_files/clear_002.gif" class="LibC_c"><a href="http://technet.microsoft. com/en-us/library/ee428287.aspx" target="_top">SharePoint Products</a></li><li n ame="bb741061(n)"><img src="ms157334.aspx_files/clear_002.gif" class="LibC_c"><a href="http://technet.microsoft.com/en-us/library/cc936627.aspx" target="_top">S olution Accelerators</a></li><li name="bb418431(sql.10,n)"><img src="ms157334.as px_files/clear_002.gif" class="LibC_c"><a href="http://technet.microsoft.com/enus/library/bb545450.aspx" target="_top">SQL Server</a></li><li name="cc138020(n) "><img src="ms157334.aspx_files/clear_002.gif" class="LibC_c"><a href="http://te chnet.microsoft.com/en-us/library/cc507089.aspx" target="_top">System Center</a> </li><li name="cc440498(n)"><img src="ms157334.aspx_files/clear_002.gif" class=" LibC_c"><a href="http://technet.microsoft.com/en-us/library/cc498726.aspx" targe t="_top">Systems Management</a></li><li name="cc440482(n)"><img src="ms157334.as px_files/clear_002.gif" class="LibC_c"><a href="http://technet.microsoft.com/enus/library/cc498727.aspx" target="_top">Windows</a></li><li name="cc728909(n)">< img src="ms157334.aspx_files/clear_002.gif" class="LibC_c"><a href="http://techn et.microsoft.com/en-us/library/bb625087.aspx" target="_top">Windows Server</a></ li><li name="cc440471(n)"><img src="ms157334.aspx_files/clear_002.gif" class="Li bC_c"><a href="http://technet.microsoft.com/en-us/library/cc498728.aspx" target= "_top">More...</a></li><li name="cc440479(n)"><img src="ms157334.aspx_files/clea r_002.gif" class="LibC_c"><a href="http://technet.microsoft.com/en-us/library/ar chive.aspx" target="_top">TechNet Archive</a></li></ul></li></ul> </div> </div>

</div><div id="ctl00_raSplitter" title="Click and drag to resize. Double click or press 't' to toggle visibility." class="splitter" style="left:300px;"> <div class="LibC_lib_grippy" style="position:absolute;top:50%;"> </div> </div><div id="ctl00_raRight" class="rightSection"> <div> <div id="ctl00_eb1_Panel1" class="EyebrowMenuBar"> <div class="stat" style="position:relative;" id="ctl00_eb1_ctl00"><a title="Tech Net" href="http://technet.microsoft.com/en-us/ms376608.aspx">TechNet</a><div id= "ctl00_eb1_ctl00_Popup" class="popup" style="position: absolute; visibility: hid den; left: -1000px; width: 71px; height: 21px;"> <span name="http://technet.microsoft.com /en-us/library/bb426917(n).aspx">Please Wait</span></div><div id="ctl00_eb1_ctl0 0_Anim" class="TFlyPopupAnimate"></div> </div> <div class="stat" style="position:relative;" id="ctl00_e b1_ctl01"><a title="TechNet Library" href="http://technet.microsoft.com/en-us/li brary/aa991542.aspx">TechNet Library</a><div id="ctl00_eb1_ctl01_Popup" class="p opup" style="position: absolute; visibility: hidden; left: -1000px; width: 71px; height: 21px;"> <span name="http://technet.microsoft.com /en-us/library/bb126093(n).aspx">Please Wait</span></div><div id="ctl00_eb1_ctl0 1_Anim" class="TFlyPopupAnimate"></div> </div> <span style="float:none;clear:both;display:block;"></spa n> </div>

</div>

<div class="CS_Container"> <div class="CS_Header"> <div class="CS_Title"> <span id="ctl00_ContributionSummary1_MainTitle">Community&nbsp;Content</sp an> <a href="http://technet.microsoft.com/en-us/library/community-edits.rss" i d="ctl00_ContributionSummary1_RssLink"><img id="ctl00_ContributionSummary1_rssBu tton" title="RSS" class="CS_RssLogo" src="ms157334.aspx_files/rss_button.gif" st yle="border-width: 0px;"></a><br> <span id="ctl00_ContributionSummary1_SubTitle" class="CS_SubTitle">In this section</span> </div> <div class="CS_wikiLogo"> <img id="ctl00_ContributionSummary1_wikiLogo" src= "ms157334.aspx_files/wiki.gif" style="border-width: 0px;"></div> </div> <div id="ctl00_ContributionSummary1_body" class="CS_Body"> <div id="ctl00_ContributionSummary1_ctl00">

<div id="ctl00_ContributionSummary1_Statistics" class="CS_ItemsHeader"> <div id="ctl00_ContributionSummary1_StatisticsTitle" class="CS_RssTitl e">Statistics&nbsp;<span class="CS_TextItem">Annotations</span>&nbsp;(<span clas s="CS_TextValue">11294</span>)</div> </div> <div id="ctl00_ContributionSummary1_expandPanel" class="CS_Expand"> <a id="ctl00_ContributionSummary1_expandLink" class="CS_Link" href="ja vascript:__doPostBack('ctl00$ContributionSummary1$expandLink','')">Click here to expand</a> </div> </div> </div> </div> <div class="RightPanel"> <div class="ContentBar"> <div id="ECDiv" class="ECPanel"> <img id="ECImg" class="LibC_o" src="ms157334.aspx_files/clear_002.gif" alt="Coll apse All/Expand All" style="border-width: 0px;" align="middle"> <span id="ECCollapse" class="ECLink">Collapse All</span> <span id="ECExpand" class="ECLink" style="display:none">Expand All</span> </div>

<style type="text/css">

.vb, .cs, .cpp, .nu, .fs { display:none; } </style> <style id="LanguageSpecificTextStyle" type="text/css"> .nu { display:inline; } </style>

</div> <div class="ContentArea"> <span id="ctl00_altSelector"><div class="AlterPart"> <div> Other versions are also available for the follow ing: </div><div id="ctl00_ctl02"> <ul><li><a id="ctl00_ctl03" href="http://technet .microsoft.com/en-us/library/ms157334%28SQL.90%29.aspx" onclick="javascript:Trac k('ctl00_ctl02 ctl00_ctl03',this);">SQL Server 2005</a></li></ul> </div> </div></span>

<!--starting processing--><div class="topic"><div class="majorTitle">< !----></div><div class="title">Adding a Matrix (Reporting Services)<!----></div> <!--Content type: Devdiv1. Transform: orcas2mtps.xslt.--><div id="mainSection">< div id="mainBody"> <p><!----></p> <div class="introduction"><p>Use a matrix to display grouped data and summary information. You can group data by multiple fields or expressions in row and column groups. Matrices provide functionality similar to crosstabs and pivot tables. At run time, as the report data and data regions are combined, a matrix grows horizontally and vertically on the page. Values in matrix cells display aggregate values scoped to the intersection of the row and column groups to which the cell belongs. You can format the rows and columns to highlight the data you want to emphasize. You can also include drilldown toggles that initially hide detail data; the user can then click the toggles to display more or less detail as needed. </p><p>After your initial design, you can continue to develop a matrix to improve the viewing experience for the user. For more information, see <span><a id="ctl0 0_MTCS_main_ctl01" href="http://technet.microsoft.com/en-us/library/cc627568.asp x" onclick="javascript:Track('ctl00_MTCS_main_ctl00 ctl00_MTCS_main_ctl01',this) ;">Controlling the Tablix Data Region Display on a Report Page (Reporting Servic es)</a></span>. </p><p>To start working with a table data region right away, see <span><a id="ctl00_MTCS_main_ctl02" href="http://technet.microsoft.com/en-us/li brary/cc627441.aspx" onclick="javascript:Track('ctl00_MTCS_main_ctl00 ctl00_MTCS _main_ctl02',this);">Tutorial: Creating a Basic Matrix Report</a></span>.</p></d iv><span> <div class="MTPS_CollapsibleRegion"> <div class="CollapseRegionLink"> <!-- ApplyClick with current id --> <img class="LibC_o" src="ms157334.aspx_files/clear.gif" style="border-width: 0px

; vertical-align: middle;"> &nbsp;Adding a Matrix to Your Report </div> <div class="MTPS_CollapsibleSection" style="display:block;"> <a id="sectionToggle0"><!----></a><p>Add a matrix to the design surface from the Toolbox. The matrix initially has a row group, a column group, a corner cell, and a data cell, as shown in the following figure. </p><!--src=[.. /art/rs_MatrixTemplateNew.gif]--><img alt="Blank Matrix with 1 row and 1 column group" src="ms157334.aspx_files/ms157334_004.gif"><p>When you select a matrix on the design surface, row and column handles appear, as shown in the following fi gure.</p><!--src=[../art/rs_MatrixTemplateNewSelected.gif]--><img alt="New Matri x added from Toolbox, selected" src="ms157334.aspx_files/ms157334_002.gif"><p>Ad d groups by dragging dataset fields to the Row Groups and Column Groups areas of the Grouping pane. The first field that you drag to the row groups or column groups pane replaces the initial empty default group. You can then apply formatting for each cell, depending on the data. </p><!--src= [../art/rs_BasicMatrixDesign.gif]--><img alt="Matrix, Category row and Geography column group" src="ms157334.aspx_files/ms157334_006.gif"><p>In Preview, the matrix expands to show the row group and column group values. The cells display summary values, as shown in the following figure.</p><!--src=[../art/rs_BasicMatrixPreview.gif]--><img alt="Preview for re ndered matrix with expanded groups" src="ms157334.aspx_files/ms157334.gif"><p>Th e matrix you start with is a template based on the Tablix data region. You can continue to develop your matrix design by adding nested or adjacent row groups or column groups, or even adding detail rows. For more information, see <span><a id="ctl00_MTCS_main_ctl27_ctl00_ctl04" href="http ://technet.microsoft.com/en-us/library/cc627466.aspx" onclick="javascript:Track( 'ctl00_MTCS_main_ctl27_ctl00_contenthere ctl00_MTCS_main_ctl27_ctl00_ctl04',this );">Exploring the Flexibility of a Tablix Data Region</a></span>.</p> </div> </div> </span><span> <div class="MTPS_CollapsibleRegion"> <div class="CollapseRegionLink"> <!-- ApplyClick with current id --> <img class="LibC_o" src="ms157334.aspx_files/clear.gif" style="border-width: 0px ; vertical-align: middle;"> &nbsp;Adding a Parent Group or Child Group to a Matrix </div> <div class="MTPS_CollapsibleSection" style="display:block;"> <a id="sectionToggle1"><!----></a><p>To add a group based on a single dataset field, drag the field from the Report Data pane to the appropriate Row Groups or Column Groups area of the Grouping pane. Drop the field in the group hierarchy to set its relationship to existing groups. Drop it above an existing group to create a parent group, or drop it below an existing group to create a child group. </p><p>Several things h appen when you drop a field in the <span class="label">Grouping</span> pane:</p> <ul><li><p>A new group with a unique name based on the field name is automatically created. The group expression is set to the simple field name reference, for example <span class="code">[Category]</span>. </p></li><li><p>A new row or column appears in the corresponding row group or column group area. </p></li><li ><p>In the new column, a row group cell appears for the default data rows from the report dataset. Cells in the Tablix body for this row are now members of the row group. If there are any column groups defined, cells that are in the columns are members of those column groups. Group indicators provide visual cues for the group membership of each cell. </p></li>< /ul><p>To customize the group after it is created, use the <span class="label">T

ablix Group</span> dialog box. You can change the group name, and edit or add additional expressions to the group definition. To add or remove rows from the table, see <span><a id="ctl00_MTCS_main_ctl28_ctl00_ctl00" href="http://technet. microsoft.com/en-us/library/ms155913.aspx" onclick="javascript:Track('ctl00_MTCS _main_ctl28_ctl00_contenthere ctl00_MTCS_main_ctl28_ctl00_ctl00',this);">How to: Insert or Delete a Row (Reporting Services)</a></span>.</p><p>When the report runs, dynamic column headers expand right (or left, if the Direction property of the matrix is set to RTL) for as many columns as there are unique group values. Dynamic rows expand down the page. The data that appears in the Tablix body cells are aggregates based on the intersections of row and column groups, as shown in the following figure.</p><!--src=[../art/rs_BasicMatrixNestedGroupsTotalsDesign.gif]--><img al t="Matrix, nested row and column groups with totals" src="ms157334.aspx_files/ms 157334_007.gif"><p>In preview, the report displays as in the following figure.</ p><!--src=[../art/rs_BasicMatrixNestedGroupsTotalsPreview.gif]--><img alt="Neste d Groups in Preview" src="ms157334.aspx_files/ms157334_005.gif"><p>To write expressions that specify a scope other than the default scope, you must specify the name of a dataset, data region, or group in the aggregate function all. To calculate the percentage each subcategory contributes to the Clothing category group values, add a column inside the Category group next to the Total column, format the text box to show percentage, and add an expression that uses the default scope in the numerator, and the Category group scope in the denominator, as shown in the following example.</p><p><span class="code">=SUM(Fields!Linetotal.Value)/SUM (Fields! Linetotal.Value,"Category")</span></p><p>For more information, see <spa n><a id="ctl00_MTCS_main_ctl28_ctl00_ctl03" href="http://technet.microsoft.com/e n-us/library/bb630415.aspx" onclick="javascript:Track('ctl00_MTCS_main_ctl28_ctl 00_contenthere ctl00_MTCS_main_ctl28_ctl00_ctl03',this);">Calculating Totals and Other Aggregates (Reporting Services)</a></span>.</p> </div> </div> </span><span> <div class="MTPS_CollapsibleRegion"> <div class="CollapseRegionLink"> <!-- ApplyClick with current id --> <img class="LibC_o" src="ms157334.aspx_files/clear.gif" style="border-width: 0px ; vertical-align: middle;"> &nbsp;Adding an Adjacent Group to a Matrix </div> <div class="MTPS_CollapsibleSection" style="display:block;"> <a id="sectionToggle2"><!----></a><p>To add an adjacent group based on a single dataset field, use the shortcut menu in the Grouping pane. For more information, see <span><a id="ctl00_MTCS_main_ctl29_ctl00_ctl00" href="http://technet.micros oft.com/en-us/library/ms156487.aspx" onclick="javascript:Track('ctl00_MTCS_main_ ctl29_ctl00_contenthere ctl00_MTCS_main_ctl29_ctl00_ctl00',this);">How to: Add o r Delete a Group in a Data Region (Reporting Services)</a></span>. The following figure shows a group based on geography and an adjacent group based on year. </ p><!--src=[../art/rs_BasicMatrixAdjacentGroupsDesign.gif]--><img alt="Adjacent C olumn Groups for Geography and Year" src="ms157334.aspx_files/ms157334_003.gif"> <p>In this example, the query has filtered data values to only include those values for Europe and for the years 2003 and 2004. However, you can set filters on each group independently. In preview, the report displays as in the following figure.</p><!--src=[../art/rs_BasicMatrixAdjacentGroupsPreview. gif]--><img alt="Preview of adjacent column groups" src="ms157334.aspx_files/ms1 57334_008.gif"><p>To add a total column for an adjacent column group, click in t he column group definition cell and use the <span class="label">Add Total</span> command. A new static column is added next to the column group, with a default aggregate sum for every numeric field in the existing rows. To change the expression, manually edit the default aggregate, for example,

<span class="code">Avg([Sales])</span>. For more information, see <span><a id=" ctl00_MTCS_main_ctl29_ctl00_ctl03" href="http://technet.microsoft.com/en-us/libr ary/bb934417.aspx" onclick="javascript:Track('ctl00_MTCS_main_ctl29_ctl00_conten there ctl00_MTCS_main_ctl29_ctl00_ctl03',this);">How to: Add a Total to a Group or Tablix Data Region (Reporting Services)</a></span>.</p> </div> </div> </span><span> <div class="MTPS_CollapsibleRegion"> <div class="CollapseRegionLink"> <!-- ApplyClick with current id --> <img class="LibC_o" src="ms157334.aspx_files/clear.gif" style="border-width: 0px ; vertical-align: middle;"> &nbsp;See Also </div> <div class="MTPS_CollapsibleSection" style="display:block;"> <a id="seeAlsoToggle"><!----></a><h4 class="subHeading">Reference</h4><div class ="seeAlsoStyle"><span><a id="ctl00_MTCS_main_ctl30_ctl00_ctl00" href="http://tec hnet.microsoft.com/en-us/library/ms157328.aspx" onclick="javascript:Track('ctl00 _MTCS_main_ctl30_ctl00_contenthere ctl00_MTCS_main_ctl30_ctl00_ctl00',this);">Ex pression Examples (Reporting Services)</a></span></div><h4 class="subHeading">Co ncepts</h4><div class="seeAlsoStyle"><span><a id="ctl00_MTCS_main_ctl30_ctl00_ct l01" href="http://technet.microsoft.com/en-us/library/ms157313.aspx" onclick="ja vascript:Track('ctl00_MTCS_main_ctl30_ctl00_contenthere ctl00_MTCS_main_ctl30_ct l00_ctl01',this);">Sorting Data in a Report</a></span></div><div class="seeAlsoS tyle"><span><a id="ctl00_MTCS_main_ctl30_ctl00_ctl02" href="http://technet.micro soft.com/en-us/library/ms155903.aspx" onclick="javascript:Track('ctl00_MTCS_main _ctl30_ctl00_contenthere ctl00_MTCS_main_ctl30_ctl00_ctl02',this);">Grouping Dat a in a Data Region</a></span></div><div class="seeAlsoStyle"><span><a id="ctl00_ MTCS_main_ctl30_ctl00_ctl03" href="http://technet.microsoft.com/en-us/library/ms 156394.aspx" onclick="javascript:Track('ctl00_MTCS_main_ctl30_ctl00_contenthere ctl00_MTCS_main_ctl30_ctl00_ctl03',this);">Working with Data Regions</a></span>< /div><div class="seeAlsoStyle"><span><a id="ctl00_MTCS_main_ctl30_ctl00_ctl04" h ref="http://technet.microsoft.com/en-us/library/ms159673.aspx" onclick="javascri pt:Track('ctl00_MTCS_main_ctl30_ctl00_contenthere ctl00_MTCS_main_ctl30_ctl00_ct l04',this);">Using Built-in Report and Aggregate Functions in Expressions (Repor ting Services)</a></span></div> </div> </div> </span></div></div></div> </div> </div>

<span id="CommunityContent"></span> <div id="ctl00_WikiContent_cc" class="CCS_Container"> <div class="CCS_TopicTagEditor"> <div id="ctl00_WikiContent_TopicTagEditor_panel" class="CCT_Panel"> <div id="tagsPanel" class="CCT_TagsPanel"> <span id="ctl00_WikiContent_TopicTagEditor_title" class="CCT_Title">Tags</sp an> <a href="http://technet.microsoft.com/platform/Controls/CCTagEditor/resource s/taghelp.htm" id="ctl00_WikiContent_TopicTagEditor_helpLink" class="CCT_HelpLin k" onclick='CCS_ShowHelp("/platform/Controls/CCTagEditor/resources/taghelp.htm", 800,600);return false;'> <img src="ms157334.aspx_files/clear_002.gif" id="ctl00_WikiContent_TopicTa

gEditor_helpImage" class="CCT_HelpImage LibC_help" alt="What's this?" title="Wha t's this?"></a>: <span id="ctl00_WikiContent_TopicTagEditor_tags" class="CCT_Text"></span> <span id="ctl00_WikiContent_TopicTagEditor_view" class="CCT_View"> <a href="http://technet.microsoft.com/Platform/Controls/CCTagEditor/#" id= "ctl00_WikiContent_TopicTagEditor_addTagLink" class="CCT_LinkButton" onclick='re turn CCT_AddATag("http://technet.microsoft.com/en-us/library/Community-Signup.as px?ru=http%3a%2f%2ftechnet.microsoft.com%2fen-us%2flibrary%2fms157334(SQL.105).a spx",-1);' title="Add a tag to this topic">Add a tag</a> </span> <span id="ctl00_WikiContent_TopicTagEditor_editPanel" style="display:none" c lass="CCT_Edit"> <input name="ctl00$WikiContent$TopicTagEditor$textbox" id="ctl00_WikiConte nt_TopicTagEditor_textbox" class="CCT_TextBox" autocomplete="off" type="text"> <a href="http://technet.microsoft.com/Platform/Controls/CCTagEditor/#" id= "ctl00_WikiContent_TopicTagEditor_addLink" class="CCT_LinkButton" onclick="retur n CCT_AddTags(-1);" title="Submit the tags for this topic">Add</a> &nbsp; <a href="http://technet.microsoft.com/Platform/Controls/CCTagEditor/#" id= "ctl00_WikiContent_TopicTagEditor_cancelLink" class="CCT_LinkButton" onclick="re turn CCT_CancelAddTag(-1);" title="Cancel this operation">Cancel</a> </span> <span id="ctl00_WikiContent_TopicTagEditor_messagePanel" class="CCT_Message" ></span> </div> <div id="ctl00_WikiContent_TopicTagEditor_flagAsPanel" class="CCT_FlagAsPanel" style="display:none"> <span id="ctl00_WikiContent_TopicTagEditor_flagAsLabel">Flag as </span> <a href="http://technet.microsoft.com/Platform/Controls/CCTagEditor/#" id="c tl00_WikiContent_TopicTagEditor_contentBugLink" class="CCT_LinkButton" onclick=' return CCT_FlagContentBug("http://technet.microsoft.com/en-us/library/CommunitySignup.aspx?ru=http%3a%2f%2ftechnet.microsoft.com%2fen-us%2flibrary%2fms157334(S QL.105).aspx",-1);' title="Flagging this annotation as a 'ContentBug' will let t he author know that this topic needs to be reviewed">ContentBug</a> </div> <div style="clear:both"></div> </div> </div> <div class="CCS_WikiLogo"> <img id="ctl00_WikiContent_wikiLogo" class="LibC_wiki" src="ms157334.a spx_files/clear_002.gif" style="border-width: 0px;"> </div> <div id="ctl00_WikiContent_contentContainer" class="CCS_ContentContainer"> <div id="ctl00_WikiContent_headerContainer" class="CCS_HeaderContainer"> <table class="CCS_Header" width="100%" border="0" cellpa dding="0" cellspacing="0"> <tbody><tr> <td> <div class="CCS_HeaderTitle"> <span id="ctl00_WikiContent_headerTitl e">Community Content</span>&nbsp;&nbsp; <a href="http://technet.microsoft.com/platform/Controls/CCSection/ resources/cchelp.htm" id="ctl00_WikiContent_helpLink" class="CCS_HelpLink" oncli

ck='CCS_ShowHelp("/platform/Controls/CCSection/resources/cchelp.htm",400,400);re turn false;'><img src="ms157334.aspx_files/clear_002.gif" id="ctl00_WikiContent_ helpImage" class="CCS_HelpImage LibC_help" alt="What is Community Content?" tit le="What is Community Content?"></a> </div> </td> </tr> </tbody></table> <table class="CCS_Toolbar" width="100%" border="0" cellp adding="0" cellspacing="0"> <tbody><tr> <td class="CCS_Add"> <a id="ctl00_WikiContent_Add" class="C CS_Link" href='javascript:WebForm_DoPostBackWithOptions(new%20WebForm_PostBackOp tions("ctl00$WikiContent$Add",%20"",%20false,%20"",%20"http://technet.microsoft. com/en-us/library/Community-Signup.aspx?ru=http%3a%2f%2ftechnet.microsoft.com%2f en-us%2flibrary%2fms157334(SQL.105).aspx%3fwbi%3dnew",%20false,%20true))'>Add ne w content</a> </td> <td class="CCS_RecentChanges"> <a href="http://technet.microsoft.com/ en-us/library/community-edits.rss?topic=ms157334%7Cen-us%7C105" id="ctl00_WikiCo ntent_recentPageLink"><img id="ctl00_WikiContent_imageRSS" class="CCS_RSSImage L ibC_rss_button" src="ms157334.aspx_files/clear_002.gif" alt="RSS" style="borderwidth: 0px;" align="middle"></a>&nbsp; <span id="ctl00_WikiContent_recentChan gesTitle" class="CCS_RecentChangesText">Annotations</span> </td> <td class="CCS_Profile" align="right"> </td> </tr> </tbody></table> </div> <div id="ctl00_WikiContent_wikiItems" class="CCS_ItemsContainer"> <div id="ctl00_WikiContent_ctl00_ItemUpd atePanel"> <div id="ctl00_WikiContent_ctl00_Container" class="CCI_Container" style="dis play:none;"> <div id="ctl00_WikiContent_ctl00_Header" class="CCI_Header"> <table width="100%" cellpadding="0" cellspacing="0"> <tbody><tr> <td align="left"> <span id="ctl00_WikiContent_ctl00_HeaderTitle" class="CCI_He ader_Title"></span> </td> <td> <span id="ctl00_WikiContent_ctl00_Label2" class="CCI_Header_ Spacer">&nbsp;&nbsp;&nbsp;&nbsp;</span> </td> <td class="CCI_Header_Actions" align="right"> <span id="ctl00_WikiContent_ctl00_EditInfo"></span><span i d="ctl00_WikiContent_ctl00_Separator">

&nbsp;&nbsp; &nbsp;&nbsp; </span><span id="ctl00_WikiContent_ctl00_EditLabel"><a id= "ctl00_WikiContent_ctl00_Edit" title="Edit this version" class="CCI_Header_Link" href="javascript:__doPostBack('ctl00$WikiContent$ctl00$Edit','')">Edit</a></spa n><input name="ctl00$WikiContent$ctl00$showhistoryFlag" id="ctl00_WikiContent_ct l00_showhistoryFlag" style="display: none;" value="false" type="text"> </td> </tr> </tbody></table> </div>

<div id="ctl00_WikiContent_ctl00_EditorPanel" class="CCI_Text" style="curs or:default;"> <div id="ctl00_WikiContent_ctl00_Editor_Container" onkeypress="javascrip t:return WebForm_FireDefaultButton(event, 'ctl00_WikiContent_ctl00_Editor_Save') "> <div id="ctl00_WikiContent_ctl00_Editor_RadEditor" title="Double-click to ed it this block" class=" CCE_Editor_Disabled" style="width:680px;height:400px;heig ht:auto;width:auto;"> <!-- 2008.2.723.35 --> </div> <input name="ctl00$WikiContent$ctl00$Editor$editorData" id="ctl00_WikiConten t_ctl00_Editor_editorData" type="hidden"> <input name="ctl00$WikiContent$ctl00$Editor$tagEditorData" id="ctl00_WikiCon tent_ctl00_Editor_tagEditorData" type="hidden">

</div> </div> <div id="ctl00_WikiContent_ctl00_TagEditor_panel" class="CCT_Panel"> <div id="tagsPanel" class="CCT_TagsPanel"> <span id="ctl00_WikiContent_ctl00_TagEditor_title" class="CCT_Title">Tags</s pan> <a href="http://technet.microsoft.com/platform/Controls/CCTagEditor/resource s/taghelp.htm" id="ctl00_WikiContent_ctl00_TagEditor_helpLink" class="CCT_HelpLi nk" onclick='CCS_ShowHelp("/platform/Controls/CCTagEditor/resources/taghelp.htm" ,800,600);return false;'> <img src="ms157334.aspx_files/clear_002.gif" id="ctl00_WikiContent_ctl00_T agEditor_helpImage" class="CCT_HelpImage LibC_help" alt="What's this?" title="Wh at's this?"></a>: <span id="ctl00_WikiContent_ctl00_TagEditor_tags" class="CCT_Text"></span> <span id="ctl00_WikiContent_ctl00_TagEditor_view" class="CCT_View"> <a href="http://technet.microsoft.com/Platform/Controls/CCTagEditor/#" id= "ctl00_WikiContent_ctl00_TagEditor_addTagLink" class="CCT_LinkButton" title="Add a tag to this topic">Add a tag</a> </span>

<span id="ctl00_WikiContent_ctl00_TagEditor_editPanel" style="display:none" class="CCT_Edit"> <input name="ctl00$WikiContent$ctl00$TagEditor$textbox" id="ctl00_WikiCont ent_ctl00_TagEditor_textbox" class="CCT_TextBox" autocomplete="off" type="text"> <a href="http://technet.microsoft.com/Platform/Controls/CCTagEditor/#" id= "ctl00_WikiContent_ctl00_TagEditor_addLink" class="CCT_LinkButton" title="Submit the tags for this topic">Add</a> &nbsp; <a href="http://technet.microsoft.com/Platform/Controls/CCTagEditor/#" id= "ctl00_WikiContent_ctl00_TagEditor_cancelLink" class="CCT_LinkButton" title="Can cel this operation">Cancel</a> </span> <span id="ctl00_WikiContent_ctl00_TagEditor_messagePanel" class="CCT_Message "></span> </div> <div id="ctl00_WikiContent_ctl00_TagEditor_flagAsPanel" class="CCT_FlagAsPanel " style="display:none"> <span id="ctl00_WikiContent_ctl00_TagEditor_flagAsLabel">Flag as </span> <a href="http://technet.microsoft.com/Platform/Controls/CCTagEditor/#" id="c tl00_WikiContent_ctl00_TagEditor_contentBugLink" class="CCT_LinkButton" onclick= 'return CCT_FlagContentBug("http://technet.microsoft.com/en-us/library/Community -Signup.aspx?ru=http%3a%2f%2ftechnet.microsoft.com%2fen-us%2flibrary%2fms157334( SQL.105).aspx",-1);' title="Flagging this annotation as a 'ContentBug' will let the author know that this topic needs to be reviewed">ContentBug</a> </div> <div style="clear:both"></div> </div>

</div> </div> </div> <div id="ctl00_WikiContent_EditorPanel" class="CCI_Container_Edit" style="di splay:none"> <div id="ctl00_WikiContent_Editor_Container" onkeypress="javascript:return WebForm_FireDefaultButton(event, 'ctl00_WikiContent_Editor_Save')"> <div id="ctl00_WikiContent_Editor_RadEditor" title="Double-click to edit thi s block" class=" CCE_Editor_Disabled" style="width:680px;height:400px;height:aut o;width:auto;"> </div> <input name="ctl00$WikiContent$Editor$editorData" id="ctl00_WikiContent_Edit or_editorData" type="hidden"> <input name="ctl00$WikiContent$Editor$tagEditorData" id="ctl00_WikiContent_E ditor_tagEditorData" type="hidden">

</div> </div>

<div id="ProgressIndicator" class="CCS_Progress"> <img src="ms157334.aspx_files/clear_002.gif" id="ctl00_WikiContent_progres sImage" class="LibC_spinner" alt="Processing"> </div> <div class="CCS_Footer"></div> </div> </div> <div style="overflow:hidden;display:block;position:relative;"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tbody><tr> <td id="ctl00_mtpsFooter_FooterFadeCell" class="MTPS_FooterFade"> <div id="ctl00_mtpsFooter_SiteLinks" class="MTPS_FooterLinks"> </div> <span id="ctl00_mtpsFooter_MSFT_copyright" title=" 2011 Microsoft. All rig hts reserved." class="MTPS_FooterCopyright"> 2011 Microsoft. All rights reserved .</span> <a id="ctl00_mtpsFooter_MSFT_Terms" title="Terms of Use" class="MTPS_Foote rLinks" href="http://technet.microsoft.com/cc300389.aspx">Terms of Use</a> <span id="ctl00_mtpsFooter_PipeSpan1"> </span> <a id="ctl00_mtpsFooter_MSFT_Trademarks" title="Trademarks" class="MTPS_Fo oterLinks" href="http://www.microsoft.com/library/toolbar/3.0/trademarks/en-us.m spx">Trademarks</a> <span id="ctl00_mtpsFooter_PipeSpan2"> </span> <a id="ctl00_mtpsFooter_MSFT_PrivacyStatement" title="Privacy Statement" c lass="MTPS_FooterLinks" href="http://www.microsoft.com/info/privacy.mspx">Privac y Statement</a> <a id="ctl00_mtpsFooter_MSFT_Feedback" class="MTPS_FooterLinks" rel="sitef eedback" target="_blank"></a> <a id="ctl00_mtpsFooter_MSFT_FeedbackAnswers" class="MTPS_FooterLinks"></a > </td> <td id="ctl00_mtpsFooter_FooterLogoCell"> <a id="ctl00_mtpsFooter_MSFT_LOGO" title="Microsoft" href="http://www.micr osoft.com/en/us/default.aspx"><img id="ctl00_mtpsFooter_MSFT_imgLogo" class="tec hnet_TabC_mslogo" src="ms157334.aspx_files/clear_002.gif" style="border-width: 0 px;"></a> </td> </tr> </tbody></table> </div> </div> </div> </div> <div style="display:none"><img src="ms157334.aspx_files/trans_pixel.gif" alt=" Page view tracker" vspace="0" width="0" border="0" height="0" hspace="0"></div>

<script src="ms157334.aspx_files/webtrendsscript-bn20110608.js" type="text/javas cript"></script> <noscript> <div><img alt="DCSIMG" id="Img1" width="1" height="1" src="http://m.webtrends.co m/dcsjwb9vb00000c932fd0rjc7_5p3t/njs.gif?dcsuri=/nojavascript&amp;WT.js=No" /></ div> </noscript> <script type="text/javascript" src="ms157334.aspx_files/mtps-bn20110608.js"></ script> <script type="text/javascript"> //<![CDATA[ setTimeout(function() { var hashElementId = document.location.hash.substr(1); var hashElement = document.getElementById(hashElementId); if (hashElement != null) { hashElement.scrollIntoView(true); } }, 1); //]]> </script> <script type="text/javascript"> //<![CDATA[ var CCT_Controls = new Array({id:-1,prefix:'ctl00_WikiContent_TopicTagEditor_'} , {id:-2,prefix:'ctl00_WikiContent_ctl00_TagEditor_'}); var CCE_EditorInfo = new Array({i:-2,p:'ctl00_WikiContent_ctl00_Editor_',c:'ctl 00_WikiContent_ctl00_'}, {i:-1,p:'ctl00_WikiContent_Editor_',c:''}); //]]> </script> <script type="text/javascript"> //<![CDATA[ Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(CCS_BeginRequestH andler);Sys.WebForms.PageRequestManager.getInstance().add_endRequest(CCS_EndRequ estHandler); RegisterAutoSubmit('ctl00_ib1_Flyout_Rating1','ctl00_ib1_Flyout_btn Send','contentRatingms157334SQL.105en-us'); //]]> </script> <script type="text/javascript" language="javascript"> <!-function GetContentWnd(){ return parent; } function OnInitPage(){var oWnd = Get ContentWnd();} function OnSave(){ var oWnd = GetContentWnd(); window.external.ad dFavorite('http://technet.microsoft.com/en-us/library/ms157334.aspx', oWnd.docum ent.title ); } --> </script> <script type="text/javascript"> //<![CDATA[ document.getElementById('ctl00_ib1_Flyout_rtgContainer').title="Click a star and provide feedback"; CCT_Init("false","http%3a%2f%2ftechnet.microsoft.com%2fen-us%2flibrary%2fms15733 4.aspx");$addHandler($get("ctl00_WikiContent_TopicTagEditor_editPanel"),"keydown ",CCT_KeyDown);TFly_Init('ctl00_ctl04_LocaleManagement_ctl00',0,0,1,0,0,'LocaleM anagementFlyoutStaticHover','',0,400,'','','',''); TFly_Init('ctl00_ib1_Flyout',5,2,1,0,0,'','',0,400,'','TFlyPreAnimate','',''); MTPS.Controls.MtpsRating.createMtpsRating('ctl00_ib1_Flyout_Rating1','ratingStar

','filledRatingStar','emptyRatingStar','savedRatingStar','5','LeftToRightTopToBo ttom', false);MTPS.Controls.ResizeableArea = new MTPS.Controls.CreateResizeableA rea('ctl00_LibFrame','ctl00_raSplitter','ctl00_raLeft','ctl00_raRight','tocwidth ','toccollapsed','173');var tocVectorObject;var hostbase;var closedImg;var openI mg;var emptyImg;var loadingImg;var tocVector;var tocIndex = 0;var holder;var toc Loaded = false;var tocCollapsed = 'False';var pageIdentifier = 'ms157334';tocVec torObject = {"nodes": [{"id": "bb126093(n)" ,"url": "/bb126093(n)"}]};hostbase = "http://technet.microsoft.com/en-us/library";tocVector = eval(tocVectorObject);c losedImg = "LibC_c";openImg = "LibC_o";emptyImg = "LibC_e";var tocDir = false;TF ly_Init('ctl00_eb1_ctl00',0,-1,-1,0,0,'statHover','',0,0,'EyeBrowMenuBarSetHeigh t','ExpEye','',''); TFly_Init('ctl00_eb1_ctl01',0,-1,-1,0,0,'statHover','',0,0,'EyeBrowMenuBarSetHei ght','ExpEye','',''); //]]> </script> </form> <script language="javascript" type="text/javascript" src="ms157334.aspx_files/br oker.js"></script><script src="ms157334.aspx_files/broker-config.js"></script> </body></html>

You might also like