<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Azaz's blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/azazr/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/azazr/feed.xml</link>
    <description>It&amp;#039;s all about Microsoft SQL Server and Business Intelligence. Sharing my experience, views, learning and findings on SQL Server, SQL Azure, MS BI - SSIS, SSAS, SSRS, MDX, Proclarity and Sharepoint BI - Performancepoint Services, and Powerpivot. - raso</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:18:52 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Parameterize OLAP Report using SP</title>
      <link>https://docs.microsoft.com/archive/blogs/azazr/parameterize-olap-report-using-sp</link>
      <pubDate>Thu, 04 Dec 2008 06:15:00 GMT</pubDate>
      <dc:creator><![CDATA[Azaz Rasool]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/azazr/2008/12/04/parameterize-olap-report-using-sp/</guid>
      <description><![CDATA[A. Set a linked server (analysis server) in your SQL Server
&nbsp;
In the SQL Server Surface Area...]]></description>
      <content:encoded><![CDATA[<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><B><U><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-ansi-language: EN-US" lang=EN-US>A. Set a linked server (analysis server) in your SQL Server</SPAN></U></B></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><B><U><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-ansi-language: EN-US" lang=EN-US></SPAN></U></B>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-ansi-language: EN-US" lang=EN-US>In the SQL Server Surface Area Configuration enable 'Ad Hoc Remote Queries' </SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-ansi-language: EN-US" lang=EN-US>1. Open SQL Surface Area configuration</SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-ansi-language: EN-US" lang=EN-US>2. Go to Database enginer --&gt; Ad Hoc Remote Queries --&gt; Set Enable OPENROWSER andn OPENDATASOURCE support</SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-ansi-language: EN-US" lang=EN-US></SPAN>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-ansi-language: EN-US" lang=EN-US>In SQL Mgmt Studio in Server Objects to the MSOLAP Linked Server provider to 'Allow inprocess'</SPAN></P>
<DIV style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-ansi-language: EN-US" lang=EN-US>
<OL>
<LI>Open SQL Server 2005 Management Studio, and then connect to an instance of SQL Server 2005. 
<LI>In Object Explorer, expand Server Objects, expand Linked Servers, expand Providers, and then double-click MSOLAP. 
<LI>In the Provider Options dialog box, click to select the Allow inprocess check box under Provider options. 
<LI>Click OK to close the Provider Options dialog box.<STRONG><U>&nbsp;</U></STRONG></SPAN></LI></OL></DIV>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><B><U><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-ansi-language: EN-US" lang=EN-US>B. Write Stored procedure :<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></U></B></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><B><U><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-ansi-language: EN-US" lang=EN-US><o:p><SPAN style="TEXT-DECORATION: none">&nbsp;</SPAN></o:p></SPAN></U></B><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri; mso-ansi-language: EN-US" lang=EN-US><SPAN style="mso-list: Ignore">1.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-ansi-language: EN-US" lang=EN-US>Create a parameterized stored procedure to return a flat table from the Analysis Services cube. I will explain the process of setting this in the demo session.<o:p></o:p></SPAN></P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri; mso-ansi-language: EN-US" lang=EN-US><SPAN style="mso-list: Ignore"><FONT color=#0000ff size=2><FONT color=#0000ff size=2>
<P>CREATE</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>PROCEDURE</FONT></FONT><FONT color=#000000 size=2> [dbo]</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>.</FONT></FONT><FONT size=2><FONT color=#000000>[usp_DataSet] </FONT></P></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>
<P>(</FONT></FONT><FONT color=#000000 size=2>@ProductCategoryID </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>nvarchar</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT color=#000000 size=2>10</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>),</FONT></FONT><FONT color=#000000 size=2> @MeasureValue </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>float</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</P></FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>
<P>AS</FONT></FONT><FONT size=2><FONT color=#000000> </FONT></P>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>SET</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>NOCOUNT</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>ON</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>;</FONT></FONT><FONT size=2> </P>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>DECLARE</FONT></FONT><FONT size=2> @sql_data </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>nvarchar</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT color=#ff00ff size=2><FONT color=#ff00ff size=2>max</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</FONT></FONT><FONT size=2> </P>
<P></FONT><FONT color=#008000 size=2><FONT color=#008000 size=2>--define the temporary table for the data</P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>CREATE</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>TABLE</FONT></FONT><FONT size=2> #DataSet</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2> </FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT size=2>SalesReason </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>varchar</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT size=2>255</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</FONT></FONT><FONT size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>NULL,</P></FONT></FONT><FONT size=2>
<P>SalesTerritoryGroup </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>varchar</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT size=2>255</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</FONT></FONT><FONT size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>NULL,</P></FONT></FONT><FONT size=2>
<P>SalesAmount </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>decimal</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT size=2>18</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>2</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</FONT></FONT><FONT size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>NULL,</P></FONT></FONT><FONT size=2>
<P>OrderQuantity </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>decimal</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT size=2>18</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>2</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</FONT></FONT><FONT size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>NULL,</P></FONT></FONT><FONT size=2>
<P>TotalProductCost </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>decimal</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT size=2>18</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>2</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</FONT></FONT><FONT size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>NULL)</FONT></FONT><FONT size=2> </P>
<P></FONT><FONT color=#008000 size=2><FONT color=#008000 size=2>--statement</P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>SET</FONT></FONT><FONT size=2> @sql_data </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=</FONT></FONT><FONT size=2> </FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>'INSERT INTO #DataSet (SalesReason, SalesTerritoryGroup, SalesAmount, </P>
<P>OrderQuantity)</P>
<P>SELECT * FROM OPENQUERY(ADVWORKS_SSAS,</P>
<P>''SELECT NON EMPTY { [Measures].[Internet Sales Amount], [Measures].[Internet Order Quantity]} </P>
<P>ON COLUMNS, </P>
<P>NON EMPTY { ([Sales Reason].[Sales Reason].[Sales Reason].ALLMEMBERS * </P>
<P>[Sales Territory].[Sales Territory Group].[Sales Territory Group].ALLMEMBERS ) } </P>
<P>having [Measures].[Internet Sales Amount] '</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>+</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#ff00ff size=2><FONT color=#ff00ff size=2>convert</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>varchar</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT color=#000000 size=2>@MeasureValue</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>+</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>' ON ROWS </P>
<P>FROM [Adventure Works]</P>
<P>WHERE ([Product].[Category].&amp;['</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>+</FONT></FONT><FONT color=#000000 size=2> @ProductCategoryID </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>+</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>'])'' )'</FONT></FONT><FONT size=2><FONT color=#000000> </FONT></P>
<P></FONT><FONT color=#008000 size=2><FONT color=#008000 size=2>--populate the temp table, return nothing if there is an error in MDX</P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#008000 size=2><FONT color=#008000 size=2>--select @sql_data</P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>begin</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>try</P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>EXEC</FONT></FONT><FONT size=2> </FONT><FONT color=#800000 size=2><FONT color=#800000 size=2>sp_executesql</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2> </FONT></FONT><FONT size=2>@sql_data</P>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>end</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>try</P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>begin</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>catch</P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>end</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>catch</FONT></FONT><FONT size=2> </P>
<P></FONT><FONT color=#008000 size=2><FONT color=#008000 size=2>--return the dataset</P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>SELECT</FONT></FONT><FONT size=2> SalesReason</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</P></FONT></FONT><FONT size=2>
<P>SalesTerritoryGroup</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</P></FONT></FONT><FONT size=2>
<P>SalesAmount</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</P></FONT></FONT><FONT size=2>
<P>OrderQuantity </P>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>FROM</FONT></FONT><FONT size=2> #DataSet </P>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>DROP</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>TABLE</FONT></FONT><FONT size=2> #DataSet&nbsp;</FONT></P>
<P><FONT size=2><STRONG><U>C. Report setttings</U></STRONG></FONT></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri; mso-ansi-language: EN-US" lang=EN-US><SPAN style="mso-list: Ignore">&nbsp;</SPAN></SPAN></P>
<P style="TEXT-INDENT: -18pt; MARGIN: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1" class=MsoListParagraph><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri; mso-ansi-language: EN-US" lang=EN-US><SPAN style="mso-list: Ignore">2.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-ansi-language: EN-US" lang=EN-US>Use this SP as the Data Source in your server report<o:p></o:p></SPAN></P>
<P style="TEXT-INDENT: -18pt; MARGIN: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1" class=MsoListParagraph><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri; mso-ansi-language: EN-US" lang=EN-US><SPAN style="mso-list: Ignore">3.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-ansi-language: EN-US" lang=EN-US>Create the required parameters in the report<o:p></o:p></SPAN></P>
<P style="TEXT-INDENT: -18pt; MARGIN: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1" class=MsoListParagraph><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri; mso-ansi-language: EN-US" lang=EN-US><SPAN style="mso-list: Ignore">4.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-ansi-language: EN-US" lang=EN-US>Set the report parameters in the winform application based on the value provided by the end user. I have not used operator parameter as of now. However, after the demo you will find it easy to implement. <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-ansi-language: EN-US" lang=EN-US>&nbsp;&nbsp;&nbsp; rp[0].Name = <SPAN style="COLOR: maroon">"ProductCategoryID"</SPAN>;<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-ansi-language: EN-US" lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rp[1].Name = <SPAN style="COLOR: maroon">"MeasureValue"</SPAN>;<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-ansi-language: EN-US" lang=EN-US>&nbsp;&nbsp;&nbsp; rp[0].Values.Add(txtCategoryId.Text.Trim());<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><SPAN style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-ansi-language: EN-US" lang=EN-US>&nbsp;&nbsp;&nbsp; rp[1].Values.Add(txtMeasureValue.Text.Trim());</SPAN><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-ansi-language: EN-US" lang=EN-US><o:p></o:p></SPAN></P>
<P style="TEXT-INDENT: -18pt; MARGIN: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1" class=MsoListParagraph><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri; mso-ansi-language: EN-US" lang=EN-US><SPAN style="mso-list: Ignore">5.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-ansi-language: EN-US" lang=EN-US>Run the winForm app. Pass the parameters in the textboxes and show the report<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt 36pt" class=MsoListParagraph><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt; mso-ansi-language: EN-US" lang=EN-US>Final screen:<o:p></o:p></SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>Dynamic Security in SSAS Cube</title>
      <link>https://docs.microsoft.com/archive/blogs/azazr/dynamic-security-in-ssas-cube</link>
      <pubDate>Thu, 14 Aug 2008 20:09:00 GMT</pubDate>
      <dc:creator><![CDATA[Azaz Rasool]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/azazr/2008/08/14/dynamic-security-in-ssas-cube/</guid>
      <description><![CDATA[Technorati Tags: SSAS,Cube,Security,Dynamic Security,username,Analysis Services,SQL Analysis...]]></description>
      <content:encoded><![CDATA[<DIV class=wlWriterSmartContent id=scid:0767317B-992E-4b12-91E0-4F059A8CECA8:31546e12-c14f-434b-a338-870a624cf964 style="PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px">Technorati Tags: <A href="http://technorati.com/tags/SSAS" rel=tag mce_href="http://technorati.com/tags/SSAS">SSAS</A>,<A href="http://technorati.com/tags/Cube" rel=tag mce_href="http://technorati.com/tags/Cube">Cube</A>,<A href="http://technorati.com/tags/Security" rel=tag mce_href="http://technorati.com/tags/Security">Security</A>,<A href="http://technorati.com/tags/Dynamic%20Security" rel=tag mce_href="http://technorati.com/tags/Dynamic%20Security">Dynamic Security</A>,<A href="http://technorati.com/tags/username" rel=tag mce_href="http://technorati.com/tags/username">username</A>,<A href="http://technorati.com/tags/Analysis%20Services" rel=tag mce_href="http://technorati.com/tags/Analysis%20Services">Analysis Services</A>,<A href="http://technorati.com/tags/SQL%20Analysis%20Services" rel=tag mce_href="http://technorati.com/tags/SQL%20Analysis%20Services">SQL Analysis Services</A></DIV>
<P>For implementing dynamic security in your SSAS cube you need make little change in the Dimension model. 
<P><B><U>Steps:</U></B> 
<P><U></U>
<P>1. Assuming you already have a dimension to store the employee credentials for whom you want to apply the security. If such dimension is not there then create one.In AdventureWorksDw we have such a table called DimEmployee 
<P>2. Decide what you want to secure, let’s say Customer dimension members 
<P>3. Create a fact table (factless) relating the Customer and Employee dimensions 
<P><B><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image002_2.jpg" original-url="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image002_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image002_2.jpg"><IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=218 alt=clip_image002 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image002_thumb.jpg" original-url="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image002_thumb.jpg" width=244 border=0 mce_src="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image002_thumb.jpg"></A></B><B></B> 
<P><B></B>
<P>4. <B>Create / modify</B> the cube to include the following 
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image004_2.jpg" original-url="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image004_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image004_2.jpg"><IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=156 alt=clip_image004 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image004_thumb.jpg" original-url="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image004_thumb.jpg" width=244 border=0 mce_src="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image004_thumb.jpg"></A> 
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image005_2.jpg" original-url="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image005_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image005_2.jpg"><IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=96 alt=clip_image005 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image005_thumb.jpg" original-url="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image005_thumb.jpg" width=244 border=0 mce_src="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image005_thumb.jpg"></A> 
<P>5. <B>Add the test data</B> (in employee table) 
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image006_2.jpg" original-url="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image006_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image006_2.jpg"><IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=43 alt=clip_image006 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image006_thumb.jpg" original-url="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image006_thumb.jpg" width=244 border=0 mce_src="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/DynamicSecurityinSSASCube_95AD/clip_image006_thumb.jpg"></A> 
<P><B>6. </B><B>Test it</B> 
<P>Connect to the cube through any client (Cube browser/SSMA/Excel) as a test user and you will see the dynamic security working. 
<P>If anybody need this sample write to me at <A href="mailto:azazr@microsoft.com" mce_href="mailto:azazr@microsoft.com">azazr@microsoft.com</A></P>]]></content:encoded>
    </item>
    <item>
      <title>Parameterize the OLAP Reports in Client Applications</title>
      <link>https://docs.microsoft.com/archive/blogs/azazr/parameterize-the-olap-reports-in-client-applications</link>
      <pubDate>Thu, 14 Aug 2008 19:51:00 GMT</pubDate>
      <dc:creator><![CDATA[Azaz Rasool]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/azazr/2008/08/14/parameterize-the-olap-reports-in-client-applications/</guid>
      <description><![CDATA[In this post let’s see how you can pass the parameters into your OLAP report. The parameters have to...]]></description>
      <content:encoded><![CDATA[<P>In this post let’s see how you can pass the parameters into your OLAP report. The parameters have to be passed dynamically through the WinForm application. 
<P>Here we will NOT be using the report parameters which you would have added on the report at the design time. 
<P>The report is displayed through report control in winApp (or webApp). 
<P><B><U>Final output:</U></B> 
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image002_2.jpg" original-url="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image002_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image002_2.jpg"><IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=153 alt=clip_image002 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image002_thumb.jpg" original-url="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image002_thumb.jpg" width=244 border=0 mce_src="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image002_thumb.jpg"></A> 
<P><B><U>Steps-A: (</U></B>Design a parameterized report using BIDS and publish on to the report server)<B><U></U></B> 
<P>1. Create a report server project and design a Pivot table report 
<P>2. Set the DataSource for the report as follows and also set the required parameters. Note that setting parameters is not must at design time. You can add parameters at runtime also.: 
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image004_2.jpg" original-url="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image004_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image004_2.jpg"><IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=90 alt=clip_image004 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image004_thumb.jpg" original-url="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image004_thumb.jpg" width=244 border=0 mce_src="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image004_thumb.jpg"></A> 
<P>3. Preview the report in BIDS to check if everything is fine before you publish it 
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image006_2.jpg" original-url="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image006_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image006_2.jpg"><IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=89 alt=clip_image006 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image006_thumb.jpg" original-url="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image006_thumb.jpg" width=244 border=0 mce_src="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image006_thumb.jpg"></A> 
<P>4. Deploy the report solution 
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image008_2.gif" original-url="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image008_2.gif" mce_href="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image008_2.gif"><IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=102 alt=clip_image008 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image008_thumb.gif" original-url="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image008_thumb.gif" width=244 border=0 mce_src="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image008_thumb.gif"></A> 
<P><B><U>Steps-B: Accessing report in the Client App</U></B> 
<P>1. Create a winForm App and add a report viewer control. The screen will look something like this: 
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image010_2.jpg" original-url="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image010_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image010_2.jpg"><IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=132 alt=clip_image010 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image010_thumb.jpg" original-url="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image010_thumb.jpg" width=244 border=0 mce_src="http://blogs.msdn.com/blogfiles/azazr/WindowsLiveWriter/ParameterizetheOLAPReportsinClientApplic_9126/clip_image010_thumb.jpg"></A> 
<P>2. Here comes the real stuff. How to populate the parameter controls in winform from the dimension/hierarchies members and to set the report viewer control properties to show the report. 
<P>The code will be as follows: 
<P>a. In form load: 
<P>reportViewer1.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Remote; 
<P>reportViewer1.ServerReport.ReportServerUrl = new Uri(@"http://localhost/reportserver"); 
<P>reportViewer1.ServerReport.ReportPath = "/OLAP Reports/OLAP Report-CalculatedMeasures"; 
<P>reportViewer1.ShowParameterPrompts = false; 
<P>this.reportViewer1.RefreshReport(); 
<P>GetParam(); 
<P>b. To populate the parameter control: 
<P>public void GetParam() 
<P>{ 
<P>server = @"http://localhost/reportserver"; 
<P>report = "/OLAP Reports/OLAP Report-CalculatedMeasures"; 
<P>bool forrendering = true; 
<P>string historyId = null; 
<P>ParameterValue[] values = null; 
<P>DataSourceCredentials[] credentials = null; 
<P>ReportParameter[] parameterSSRS = null; 
<P>parameterSSRS = rs.GetReportParameters(report, historyId, forrendering, values, credentials); 
<P>ValidValue[] pvs = null; 
<P>ArrayList[] a =new ArrayList[parameterSSRS.Length]; 
<P>for(int i=0;i&lt;parameterSSRS.Length;i++) 
<P>{ 
<P>a[i] = new ArrayList(); 
<P>if (parameterSSRS[i].ValidValues != null) 
<P>{ 
<P>pvs = parameterSSRS[i].ValidValues; 
<P>foreach (ValidValue pv in pvs) 
<P>{ 
<P>a[i].Add(new ComboItem(pv.Label, pv.Val</P>
<DIV class=wlWriterSmartContent id=scid:0767317B-992E-4b12-91E0-4F059A8CECA8:20493c8f-a86b-4435-81b6-a85b0209c7f1 style="PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px">Technorati Tags: <A href="http://technorati.com/tags/SQL%20Reporting%20Services" rel=tag mce_href="http://technorati.com/tags/SQL%20Reporting%20Services">SQL Reporting Services</A>,<A href="http://technorati.com/tags/Report" rel=tag mce_href="http://technorati.com/tags/Report">Report</A>,<A href="http://technorati.com/tags/OLAP%20Report" rel=tag mce_href="http://technorati.com/tags/OLAP%20Report">OLAP Report</A>,<A href="http://technorati.com/tags/Parameter" rel=tag mce_href="http://technorati.com/tags/Parameter">Parameter</A>,<A href="http://technorati.com/tags/SSRS" rel=tag mce_href="http://technorati.com/tags/SSRS">SSRS</A>,<A href="http://technorati.com/tags/WinForm" rel=tag mce_href="http://technorati.com/tags/WinForm">WinForm</A></DIV>
<P>ue)); 
<P>} 
<P>} 
<P>} 
<P>//The ValueMember is required to get the fully qualified hierarchy path for the members used as the parameter value 
<P>cmbCountry.DataSource = a[0]; 
<P>cmbCountry.DisplayMember = "Display"; 
<P>cmbCountry.ValueMember = "Val"; 
<P>cmbYear.DataSource = a[1]; 
<P>cmbYear.DisplayMember = "Display"; 
<P>cmbYear.ValueMember ="Val"; 
<P>} 
<P>c. And finally to load the report in report viewer control 
<P>private void btnRefresh_Click(object sender, EventArgs e) 
<P>{ 
<P>Microsoft.Reporting.WinForms.ReportParameter[] rp = new Microsoft.Reporting.WinForms.ReportParameter[2]; 
<P>rp[0] = new Microsoft.Reporting.WinForms.ReportParameter(); 
<P>rp[1] = new Microsoft.Reporting.WinForms.ReportParameter(); 
<P>rp[0].Name = "DeliveryDateCalendarYear"; 
<P>rp[1].Name = "CustomerCountry"; 
<P>if (cmbYear.SelectedValue != null &amp;&amp; cmbYear.SelectedValue.ToString() != string.Empty) 
<P>{ 
<P>rp[0].Values.Add(cmbYear.SelectedValue.ToString().Trim() ); 
<P>} 
<P>if (cmbCountry.SelectedValue != null &amp;&amp; cmbCountry.SelectedValue.ToString() != string.Empty) 
<P>{ 
<P>rp[1].Values.Add(cmbCountry.SelectedValue.ToString().Trim()); 
<P>} 
<P>reportViewer1.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Remote; 
<P>reportViewer1.ServerReport.ReportServerUrl = new Uri(@"http://localhost/reportserver"); 
<P>reportViewer1.ServerReport.ReportPath = "/OLAP Reports/OLAP Report-CalculatedMeasures"; 
<P>reportViewer1.ServerReport.SetParameters(rp); 
<P>reportViewer1.ShowParameterPrompts = false ; 
<P>this.reportViewer1.RefreshReport(); 
<P>} 
<P>3. Now you can run the winApp and change the parameter values to see how the report’s columns and rows changes accordingly.</P>]]></content:encoded>
    </item>
    <item>
      <title>Populate Time Dimension of AdventureWorksDW Sample Database and use it in your Datawarehouse/cube</title>
      <link>https://docs.microsoft.com/archive/blogs/azazr/populate-time-dimension-of-adventureworksdw-sample-database-and-use-it-in-your-datawarehousecube</link>
      <pubDate>Fri, 09 May 2008 13:20:08 GMT</pubDate>
      <dc:creator><![CDATA[Azaz Rasool]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/azazr/2008/05/09/populate-time-dimension-of-adventureworksdw-sample-database-and-use-it-in-your-datawarehousecube/</guid>
      <description><![CDATA[In one of my current data warehouse projects I wanted to use a time dimension. The time dimension...]]></description>
      <content:encoded><![CDATA[<p></p> <p>In one of my current data warehouse projects I wanted to use a time dimension. The time dimension structure I wanted was very similar to the one available with AdventureWorksDW but it has the date only till year 2004.  <p>I had written a simple SP to populate the time fields. If anyone has a similar requirement you can try it.  <p>---Populate Time dimension of AdventureWorksDW sample database with latest<br>--- You can either Create a new time dimension table or Use the table available in <br>--- AdventureWorksDW sample database of SQL Server 2005. Download from codeplex.com<br>set datefirst 1<br>declare <br>@starting_dt datetime<br>,@ending_dt datetime<br>,@cntr_day datetime<br>,@diff int<br>,@cntr int  <p>Select <br>@starting_dt ='2009-01-01' <br>,@ending_dt = '2009-01-31'<br>,@cntr = 0  <p>select <br>@diff = datediff(dd,@starting_dt,@ending_dt)  <p>while @cntr &lt;= @diff <br>begin<br>select @cntr_day = dateadd(dd,@cntr,@starting_dt)<br>insert into [DimDate] <br>(FullDateAlternateKey,<br>DayNumberOfWeek ,<br>EnglishDayNameOfWeek,<br>DayNumberOfMonth,<br>DayNumberOfYear,<br>WeekNumberOfYear,<br>EnglishMonthName,<br>MonthNumberOfYear,<br>CalendarQuarter,<br>CalendarYear,<br>CalendarSemester)<br>select <br>@cntr_day <br>,datepart(dw,@cntr_day)<br>,case datepart(dw,@cntr_day)<br>when 1 then 'Monday'<br>when 2 then 'Tuesday'<br>when 3 then 'Wednesday'<br>when 4 then 'Thursday'<br>when 5 then 'Friday'<br>when 6 then 'Saturday'<br>when 7 then 'Sunday'<br>end<br>,datepart(day,@cntr_day) <br>,datepart(dy,@cntr_day)<br>,datepart(wk,@cntr_day)<br>,case datepart(mm,@cntr_day)<br>when 1 then 'January'<br>when 2 then 'February'<br>when 3 then 'March'<br>when 4 then 'April'<br>when 5 then 'May'<br>when 6 then 'June'<br>when 7 then 'July'<br>when 8 then 'August'<br>when 9 then 'September'<br>when 10 then 'October'<br>when 11 then 'November'<br>when 12 then 'December'<br>end<br>,datepart(mm,@cntr_day)<br>,datepart(qq,@cntr_day)<br>,datepart(yy,@cntr_day)<br>,case (datepart(mm,getdate()))<br>when 1 then 1<br>when 2 then 1<br>when 3 then 1<br>when 4 then 1<br>when 5 then 1<br>when 6 then 1<br>else 2<br>end <br>set @cntr = @cntr + 1 <br>end  <p>--And to get the fiscal properties in your time dimension check this one<br><a href="http://www.sqlteam.com/article/returning-a-week-number-for-any-given-date-and-starting-fiscal-month">http://www.sqlteam.com/article/returning-a-week-number-for-any-given-date-and-starting-fiscal-month</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Ways of Improving MDX Performance and Improvements with MDX in Katmai (SQL 2008)</title>
      <link>https://docs.microsoft.com/archive/blogs/azazr/ways-of-improving-mdx-performance-and-improvements-with-mdx-in-katmai-sql-2008</link>
      <pubDate>Wed, 30 Apr 2008 22:22:59 GMT</pubDate>
      <dc:creator><![CDATA[Azaz Rasool]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/azazr/2008/04/30/ways-of-improving-mdx-performance-and-improvements-with-mdx-in-katmai-sql-2008/</guid>
      <description><![CDATA[1. Use calculated members with Scope assignments instead of using IIF  The reason this option is...]]></description>
      <content:encoded><![CDATA[<p></p> <p><b>1. Use calculated members with Scope assignments instead of using IIF </b> <p>The reason this option is faster is because the scope subcube definitions enable the Query Execution Engine to know ahead of time the calculation space for each business rule. Using this information, the Query Execution Engine can select an optimized execution path to execute the calculation on the specified range of cells. As a general rule, it is a best practice to always try to simplify calculation expressions by moving the complex parts into multiple Scope definitions whenever possible.  <p>No-one writing MDX ever wants to show the 1.#INF value in a cell is because it’s looks ugly and typically end user tends to see it as errors in the data.&nbsp;However, it’s not an error it only look like that. If you don’t check for divide by zero errors, you get either positive or negative infinity represented as <b>1.#INF</b>.  <p>On the other hand, empty cells are typically easier to interpret as no input data.&nbsp;&nbsp;To have this check, lot of time is spent checking division by zero conditions. If it is SQL AS 2005, take a call...you want to perform expensive calculations and deliver clean output OR fast calculations with such ugly looking output&nbsp;(<b>1.#INF). </b> <p>If it is SQL Server 2008 then things are pretty much taken care, if the numerator is empty, the formula returns empty (regardless of the denominator), but if only the denominator is empty, you get an error. Multiplication by empty results in empty, but with addition and subtraction, empty = 0. The idea seems to be that if the numerator is empty, then an empty denominator is OK, but if the numerator is not empty and the denominator is, something is wrong and an error should appear. Think of examples like price = dollars/units or ratio = current/parent. (This comes from a recent training I had on SQL BI Performance Tuning)  <p>Following are the different ways of checking the denominator. Give it a try and see which one works best for you...  <blockquote> <p>IIF(b = 0, NULL, a/b) </p></blockquote> <blockquote> <p>IIF(IsEmpty(b), NULL, a/b)</p></blockquote> <blockquote> <p>IIF(b IS NULL, NULL, a/b)</p></blockquote> <p>Using IIF statement, calculation space is evaluated Cell-by-Cell. Because of this Query Execution engine selects less optimized path and so its query response time is high. Another computation method is 'Block Computation' <p><b>2. Remove empty tuples from MDX result. </b> <p>This is always a good practice, because empty tuples can not only increase the number of rows and/or columns in your result set, but they can also increase query response time.&nbsp;  <p>Empty tuples can be removed by using NON EMPTY keyword, NON EMPTY function or the NON EMPTY BEHAVIOR (NEB) hint  <p>You can also evaluate empty by using Exists function on a measure group  <p>Use should use Non_Empty_Behavior where ever possible to enable the query execution engine to use bulk evaluation mode. Beware, if you use Non_Empty_Behavior incorrectly, you will return incorrect results. Let's see what Mosha says on this... a case study on different ways of controlling non-empty-behavior here: <a href="http://www.sqljunkies.com/WebLog/mosha/archive/2006/11/05/non_empty_behavior.aspx">http://www.sqljunkies.com/WebLog/mosha/archive/2006/11/05/non_empty_behavior.aspx</a>  <p><b></b> <p><strong>3. Other techniques of Summarizing data </strong> <p>Summarizing data through MDX can potentially result in slow performance in large-scale cubes or cubes with many nested MDX calculations. If you experience performance issues summarizing data in MDX then you may need to consider other approaches for improving performance like Creating Named Calculations in DSV, Using Measure expressions, Use semiadditive measures and unary operators  <p><strong>And now, I am sure you would be keen to know what are performance improvements done with MDX in SQL Server 2008 (Katmai)....</strong>  <blockquote> <p>Performance Improvements for MDX in SQL Server 2008 Analysis Services: <a href="http://msdn.microsoft.com/en-us/library/bb934106(S...">http://msdn.microsoft.com/en-us/library/bb934106(S...</a></p></blockquote> <blockquote> <p>MDX in Katmai: Dynamic named sets: <a href="http://sqljunkies.com/WebLog/mosha/archive/2007/08...">http://sqljunkies.com/WebLog/mosha/archive/2007/08...</a></p></blockquote> <p><strong>If you are new to MDX: </strong> <blockquote> <p>MDX Syntax Elements (MDX): <a href="http://msdn.microsoft.com/en-us/library/ms146020(S...">http://msdn.microsoft.com/en-us/library/ms146020(S...</a></p></blockquote> <blockquote> <p>MDX Language Reference (MDX): <a href="http://msdn.microsoft.com/en-us/library/ms145595(S...">http://msdn.microsoft.com/en-us/library/ms145595(S...</a></p></blockquote> <blockquote> <p><a href="http://www.amazon.com/MDX-Solutions-Microsoft-Anal..."><b>MDX Solutions: With Microsoft SQL Server Analysis Services 2005 and Hyperion Essbase </b>http://www.amazon.com/MDX-Solutions-Microsoft-Anal...</a></p></blockquote> <p>I will be writing about 'Block computation in Katmai and its Impact on Performance' in my next post...stay tuned... :)</p>]]></content:encoded>
    </item>
    <item>
      <title>TFS Migration and Synchronization Toolkit</title>
      <link>https://docs.microsoft.com/archive/blogs/azazr/tfs-migration-and-synchronization-toolkit</link>
      <pubDate>Fri, 29 Jun 2007 15:37:00 GMT</pubDate>
      <dc:creator><![CDATA[Azaz Rasool]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/azazr/2007/06/29/tfs-migration-and-synchronization-toolkit/</guid>
      <description><![CDATA[TFS Migration and Synchronization Toolkit is now available at...]]></description>
      <content:encoded><![CDATA[TFS Migration and Synchronization Toolkit is now available at <A href="http://www.codeplex.com/MigrationSyncToolkit">http://www.codeplex.com/MigrationSyncToolkit</A>]]></content:encoded>
    </item>
    <item>
      <title>TFS Guide - Know the effective usage of TFS in the real world constraints</title>
      <link>https://docs.microsoft.com/archive/blogs/azazr/tfs-guide-know-the-effective-usage-of-tfs-in-the-real-world-constraints</link>
      <pubDate>Thu, 24 May 2007 02:22:00 GMT</pubDate>
      <dc:creator><![CDATA[Azaz Rasool]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/azazr/2007/05/24/tfs-guide-know-the-effective-usage-of-tfs-in-the-real-world-constraints/</guid>
      <description><![CDATA[This is awesome! A much needed thing has finally arrived. We have been getting request from customer...]]></description>
      <content:encoded><![CDATA[<P><SPAN style="FONT-FAMILY: 'Segoe UI','sans-serif'"><A href="http://www.codeplex.com/TFSGuide"><FONT size=3>This</FONT></A><FONT size=3> is awesome! A much needed thing has finally arrived. We have been getting request from customer and partner community about How to use TFS effectively in their company/projects with the real work constraint. Thanks a lot to P &amp; P team who worked with the customers and industry partners and finally let this guide out for all of us. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Segoe UI','sans-serif'"><FONT size=3>Today morning&nbsp;when I reached office and read </FONT><A title="J.D. Meier's Blog" href="http://blogs.msdn.com/jmeier/archive/2007/05/23/team-dev-with-tfs-guide-beta-1-release.aspx" target=_blank mce_href="http://blogs.msdn.com/jmeier/archive/2007/05/23/team-dev-with-tfs-guide-beta-1-release.aspx"><FONT size=3>J.D.Meier's</FONT></A><FONT size=3> post, I was really excited looking at the content and reading the first few pages. It has lot of things, not from too much technical perspective (for that we have many blogs, msdn articles, and web casts) but this guide more focused towards ‘How a team/company can use TFS as one product for different activities involved in the SDLC and AM’. <o:p></o:p></FONT></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Segoe UI','sans-serif'"><FONT size=3>While other articles and blogs talks about technical architecture of TFS or individual features but we were really in need of a guidance which could tell us how all these great technical features will work together for any development team/project. This guide&nbsp;seems to address most of those issues and you will find a very good logical workflow integrating different components of TFS with specific teams like Testing, Development, and Architect etc.<o:p></o:p></FONT></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Segoe UI','sans-serif'"><FONT size=3>Project Managers and Source Control admins would find these sections of the guide very useful<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN-LEFT: 36pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1"><SPAN style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"><SPAN style="mso-list: Ignore"><FONT size=3>·</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><FONT size=3><B><SPAN style="FONT-FAMILY: 'Segoe UI','sans-serif'">Structuring Projects and Solutions in Source Control </SPAN></B><SPAN style="FONT-FAMILY: 'Segoe UI','sans-serif'"><o:p></o:p></SPAN></FONT></P>
<P style="MARGIN-LEFT: 36pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1"><SPAN style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"><SPAN style="mso-list: Ignore"><FONT size=3>·</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><FONT size=3><B><SPAN style="FONT-FAMILY: 'Segoe UI','sans-serif'">Structuring Projects and Solutions in Team Foundation Source Control</SPAN></B><SPAN style="FONT-FAMILY: 'Segoe UI','sans-serif'"><o:p></o:p></SPAN></FONT></P>
<P><FONT size=3><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 'Segoe UI','sans-serif'">‘Defining Your Branching and Merging Strategy’ </SPAN></B><SPAN style="FONT-FAMILY: 'Segoe UI','sans-serif'">section<B style="mso-bidi-font-weight: normal"> </B>could be used<B style="mso-bidi-font-weight: normal"> </B>along with<B style="mso-bidi-font-weight: normal"> </B><A href="javascript:window.location.href='http://www.codeplex.com/BranchingGuidance/Project/FileDownload.aspx?DownloadId=8483';"><FONT color=#0000ff>"Team Foundation Server Branching Guidance"</FONT></A> which provides different approaches of Branching in different release scenarios.<o:p></o:p></SPAN></FONT></P>
<P><SPAN style="FONT-FAMILY: 'Segoe UI','sans-serif'"><FONT size=3>That is all by the quick first look at the guide. Well, no too much to comment now. I need to explore the guide more before I do that. <o:p></o:p></FONT></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Segoe UI','sans-serif'"><FONT size=3>Njoy reading and implementing the guide! <o:p></o:p></FONT></SPAN></P>
<P mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>Power Toys is now TFS Power Tool (Try it)</title>
      <link>https://docs.microsoft.com/archive/blogs/azazr/power-toys-is-now-tfs-power-tool-try-it</link>
      <pubDate>Mon, 30 Apr 2007 08:07:00 GMT</pubDate>
      <dc:creator><![CDATA[Azaz Rasool]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/azazr/2007/04/30/power-toys-is-now-tfs-power-tool-try-it/</guid>
      <description><![CDATA[Microsoft Visual Studio 2005 Team Foundation Server Power Tool
The Microsoft Visual Studio 2005...]]></description>
      <content:encoded><![CDATA[<H1>Microsoft Visual Studio 2005 Team Foundation Server Power Tool</H1>
<P>The Microsoft Visual Studio 2005 Team Foundation Server Power Tool (formerly known as Power Toys) is a set of enhancements, tools and command-line utilities that improve the Team Foundation Server user experience. This release includes two new command-line tools for the developer and three non-command line tools: a process template editor, a set of custom check-in policies, and a test tools build task: </P>
<UL>
<LI><A href="http://msdn2.microsoft.com/en-us/vstudio/aa718351.aspx#tfpt">Team Foundation Server Power Tool Commands (tfpt.exe)</A> - A command-line tool with enhanced functionality for Team Foundation Version Control with graphical user interfaces for some commands. 
<LI><A href="http://msdn2.microsoft.com/en-us/vstudio/aa718351.aspx#pte">Process Template Editor</A> - A tool integrated with Visual Studio for authoring custom work item types and some of the associated process template components. 
<LI><A href="http://msdn2.microsoft.com/en-us/vstudio/aa718351.aspx#cipp">Check-In Policy Pack</A> - A set of handy check-in policies to address needs customers have expressed. 
<LI><A href="http://msdn2.microsoft.com/en-us/vstudio/aa718351.aspx#bttt">Test Tools Build Task</A> - A tool that allows running unit tests by simply specifying the DLLs, or by specifying a file name pattern in TfsBuild.proj, instead of using .vsmdi files to specify tests to run.</LI></UL>
<P>For more details and download visit: <A href="http://msdn2.microsoft.com/en-us/vstudio/aa718351.aspx">http://msdn2.microsoft.com/en-us/vstudio/aa718351.aspx</A></P>
<P mce_keep="true">&nbsp;</P>
<P mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>Configuring TFS to use Sharepoint 2007</title>
      <link>https://docs.microsoft.com/archive/blogs/azazr/configuring-tfs-to-use-sharepoint-2007</link>
      <pubDate>Mon, 30 Apr 2007 07:57:00 GMT</pubDate>
      <dc:creator><![CDATA[Azaz Rasool]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/azazr/2007/04/30/configuring-tfs-to-use-sharepoint-2007/</guid>
      <description><![CDATA[Configuring Visual Studio 2005 Team Foundation Server with Windows SharePoint Services 3.0:...]]></description>
      <content:encoded><![CDATA[<H2>Configuring Visual Studio 2005 Team Foundation Server with Windows SharePoint Services 3.0: <A href="http://blogs.msdn.com/bharry/archive/2007/04/17/configuring-tfs-to-use-sharepoint-2007.aspx">http://blogs.msdn.com/bharry/archive/2007/04/17/configuring-tfs-to-use-sharepoint-2007.aspx</A></H2>
<P>&nbsp;Reference: Brian Harry's blog --&gt; <A href="http://blogs.msdn.com/bharry/archive/2007/04/17/configuring-tfs-to-use-sharepoint-2007.aspx">http://blogs.msdn.com/bharry/archive/2007/04/17/configuring-tfs-to-use-sharepoint-2007.aspx</A></P>]]></content:encoded>
    </item>
    <item>
      <title>Add New Tab/New Field in WorkItem windows</title>
      <link>https://docs.microsoft.com/archive/blogs/azazr/add-new-tabnew-field-in-workitem-windows</link>
      <pubDate>Sat, 21 Apr 2007 04:08:00 GMT</pubDate>
      <dc:creator><![CDATA[Azaz Rasool]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/azazr/2007/04/21/add-new-tabnew-field-in-workitem-windows/</guid>
      <description><![CDATA[1.&nbsp;&nbsp;&nbsp;&nbsp; Export the exiting workitem type (xml)
Syntax: witexport /f...]]></description>
      <content:encoded><![CDATA[<P style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Arial"><SPAN style="mso-list: Ignore">1.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Export the exiting workitem type (xml)<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P style="MARGIN-LEFT: 0.25in"><U><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Syntax: </SPAN></U><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">witexport /f &lt;filename&gt;.xml /t &lt; Team Foundation Server name &gt; /p &lt;project name&gt; /n &lt;WorkItem Type name&gt;<o:p></o:p></SPAN></P>
<P style="TEXT-INDENT: 0.25in"><U><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Example:</SPAN></U><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">&nbsp; witexport /f task.xml /t&nbsp;MyTFS&nbsp; /p MyProject /n Task <o:p></o:p></SPAN></P>
<P style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Arial"><SPAN style="mso-list: Ignore">2.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Open the task.xml in an editor<o:p></o:p></SPAN></P><A href="http://www.twango.com/m/6491d07114"><IMG title="image hosting by Twango" height=260 alt="image hosting by Twango" src="http://media.twango.com/m1/large/0052/13687ab8a4d244c9a1b6f323acdc3f3e.jpg" width=512 border=0></A> 
<P style="TEXT-INDENT: 0.25in"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes"><?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:shapetype id=_x0000_t75 stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></v:path><o:lock aspectratio="t" v:ext="edit"></o:lock></v:shapetype></SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"><o:p></o:p></SPAN></P>
<P style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1" mce_keep="true"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Arial"><SPAN style="mso-list: Ignore">4.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>Import the modified workitem type (xml)<o:p></o:p></SPAN></P>
<P style="MARGIN-LEFT: 0.5in" mce_keep="true"><U><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Syntax:</SPAN></U><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"> witimport /f &lt;filename&gt;.xml /t &lt; Team Foundation Server name &gt; /p &lt;project name&gt;<o:p></o:p></SPAN></P>
<P style="MARGIN-LEFT: 0.5in" mce_keep="true"><U><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Example:</SPAN></U><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"> witimport /f task.xml /t&nbsp;MyTFS /p MyProject <o:p></o:p></SPAN></P>
<P style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Arial"><SPAN style="mso-list: Ignore">5.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Refresh the Team Project and Add a New Task, you should see the changes as follows:<o:p></o:p></SPAN></P><A href="http://www.twango.com/m/f7fee41ca0" mce_href="http://www.twango.com/m/f7fee41ca0"><IMG title="image hosting by Twango" height=147 alt="image hosting by Twango" src="http://media.twango.com/m1/medium/0052/0964f02ba3fd406ba619ce7cd546ed64.jpg" width=256 border=0 mce_src="http://media.twango.com/m1/medium/0052/0964f02ba3fd406ba619ce7cd546ed64.jpg"></A> 
<P style="MARGIN-LEFT: 0.5in"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes"></SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"><o:p></o:p></SPAN></P>
<P mce_keep="true">&nbsp;</P>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/02/21/88/14/NewTabinWIT.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-02-21-88-14/NewTabinWIT.JPG">NewTabinWIT.JPG</a></p>]]></content:encoded>
    </item>
  </channel>
</rss>