<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>POP-BI</title>
	<atom:link href="http://popbi.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://popbi.wordpress.com</link>
	<description>Popular Business Intelligence</description>
	<lastBuildDate>Thu, 23 Feb 2012 06:15:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='popbi.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/82eebbad3c2947fe34ee4fdf3ea6862b?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>POP-BI</title>
		<link>http://popbi.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://popbi.wordpress.com/osd.xml" title="POP-BI" />
	<atom:link rel='hub' href='http://popbi.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Indexed Views are Good for Reporting&#8230;Inserts please turn away now&#8230;</title>
		<link>http://popbi.wordpress.com/2012/02/23/indexed-views-are-good-for-reporting-inserts-please-turn-away-now/</link>
		<comments>http://popbi.wordpress.com/2012/02/23/indexed-views-are-good-for-reporting-inserts-please-turn-away-now/#comments</comments>
		<pubDate>Thu, 23 Feb 2012 05:26:47 +0000</pubDate>
		<dc:creator>popbi</dc:creator>
				<category><![CDATA[Manage (SQL Server Admin)]]></category>
		<category><![CDATA[Model (Dimensional Modelling)]]></category>
		<category><![CDATA[indexed views for reporting]]></category>

		<guid isPermaLink="false">http://popbi.wordpress.com/?p=224</guid>
		<description><![CDATA[There is a lot of red tape involved in creating indexed views &#8211; but the bottom line is they are worth it, particularly for reporting. If you have ever created Indexed Views before you most definately would have come across an error or two throughout the process.  Before you put this into the too hard [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=popbi.wordpress.com&amp;blog=29462819&amp;post=224&amp;subd=popbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There is a lot of red tape involved in creating indexed views &#8211; but the bottom line is they are worth it, particularly for reporting.</p>
<p>If you have ever created Indexed Views before you most definately would have come across an error or two throughout the process.  Before you put this into the too hard basket consider the following scenarios where the benefits of fast query performance will be realised…</p>
<p>Applications that benefit from the implementation of indexed views include:</p>
<ul>
<li>Joins and aggregations of large tables</li>
<li>Repeated patterns of queries</li>
<li>Repeated aggregations on the same or overlapping sets of columns</li>
<li>Repeated joins of the same tables on the same keys</li>
<li>Combinations of the above</li>
</ul>
<p>Indexed views are therefore likely to benefit in the following scenarios :</p>
<ul>
<li>Decision support workloads</li>
<li>Data marts</li>
<li>Data warehouses</li>
<li>Online analytical processing (OLAP) stores and sources</li>
<li>Data mining workloads</li>
</ul>
<p>Ok lets look at some basics.   The first thing we need to do is create our view.  We can then create one or more indexes on our view starting with a clustered index.</p>
<p>To create the view we will use a similar syntax to creating a regular view except we will use the WITH SCHEMA BINDING Option see <a href="http://www.mssqltips.com/sqlservertip/1610/sql-server-schema-binding-and-indexed-views/">Schema Binding</a> &#8230;</p>
<p>e.g.</p>
<p><pre class="brush: css;">

CREATE VIEW dbo.vw_SomeView WITH SCHEMABINDING

AS

SELECT colKey, col2, col3

FROM dbo.Table1

</pre></p>
<p>Note that any tables mentioned in the SELECT statement of your view must be in the two part owner.object name format.  There are a heap of caveits that could bring you down at this point which would prevent you from creating the view.   One of which is you should not use deterministic functions.  E.g. DateAdd returns the same value for a set of parameters each time, whereas getdate() does not i.e don&#8217;t use getdate() in your view.    CONVERT(datetime, somedate) is non deterministic as it can return different results when different values are provided for the style parameter&#8230;.consider CONVERT(datetime, somedate,103) as it is deterministic – see <a href="http://social.msdn.microsoft.com/Forums/en/sqldatabaseengine/thread/de22b14a-13e9-4c5f-92ca-10619472d97d">Using Convert Within an Indexed View</a>.   Note in the example Create View statement above there is explicit specification of columns in the select clause (i.e. no select * &#8230;), the select is on a base table not other views and if joins were used, OUTER JOINS would be avoided. The full design considerations for indexed views are outlined here <a href="http://msdn.microsoft.com/en-us/library/ms191432.aspx">http://msdn.microsoft.com/en-us/library/ms191432.aspx</a>.</p>
<p>Once we have successfully navigated the design guidelines and have successfully created our view, now it is time to create the indexes.  We create the index as we would on a table.  The first index we need to create on a view is a unique clustered index.  We can then create additional none clustered indexes as required.</p>
<p><pre class="brush: css;">

CREATE UNIQUE CLUSTERED INDEX ci_vw_Table1 ON dbo.Table1 (colKey)

</pre></p>
<p>Finally Aaron Bertrand runs through a practical example of using Indexed Views and discusses the good and dark sides of indexes views in this nice example <a href="http://sqlblog.com/blogs/aaron_bertrand/archive/2009/12/29/mixing-oltp-and-reporting-using-indexed-views.aspx">Redundancy is No Evil</a>.</p>
<br />Filed under: <a href='http://popbi.wordpress.com/category/manage-sql-server-admin/'>Manage (SQL Server Admin)</a>, <a href='http://popbi.wordpress.com/category/model-dimensional-modelling/'>Model (Dimensional Modelling)</a> Tagged: <a href='http://popbi.wordpress.com/tag/indexed-views-for-reporting/'>indexed views for reporting</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/popbi.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/popbi.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/popbi.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/popbi.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/popbi.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/popbi.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/popbi.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/popbi.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/popbi.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/popbi.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/popbi.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/popbi.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/popbi.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/popbi.wordpress.com/224/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=popbi.wordpress.com&amp;blog=29462819&amp;post=224&amp;subd=popbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://popbi.wordpress.com/2012/02/23/indexed-views-are-good-for-reporting-inserts-please-turn-away-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6c66d7129ec7a8d9e7a8342903a763c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">popbi</media:title>
		</media:content>
	</item>
		<item>
		<title>MDX Samples &#8211; Helping our Business Users see Custom Groupings of Products</title>
		<link>http://popbi.wordpress.com/2012/02/21/mdx-samples-helping-our-business-users-see-custom-groupings-of-products/</link>
		<comments>http://popbi.wordpress.com/2012/02/21/mdx-samples-helping-our-business-users-see-custom-groupings-of-products/#comments</comments>
		<pubDate>Tue, 21 Feb 2012 04:29:48 +0000</pubDate>
		<dc:creator>popbi</dc:creator>
				<category><![CDATA[Analyse (SSAS)]]></category>
		<category><![CDATA[Model (Dimensional Modelling)]]></category>
		<category><![CDATA[Report (SSRS)]]></category>
		<category><![CDATA[mdx top items and other items]]></category>

		<guid isPermaLink="false">http://popbi.wordpress.com/?p=219</guid>
		<description><![CDATA[One of the more common citations from the desk of the business user, is something that starts with .. “I want to see …”&#8230; Creating a data model that fits the business requirements like a glove might do for now, but the business are great at thinking up new ways of categorising their data.   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=popbi.wordpress.com&amp;blog=29462819&amp;post=219&amp;subd=popbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of the more common citations from the desk of the business user, is something that starts with .. “I want to see …”&#8230;</p>
<p>Creating a data model that fits the business requirements like a glove might do for now, but the business are great at thinking up new ways of categorising their data.   Top items, these items, those items, those items excluding top items, the list goes on. Whilst some I.T. folk might view business requests as &#8220;annoying&#8221;, we in the B.I. space love seeing out business users take hold of our collaborations and running with them.</p>
<p>The following snippet demonstrates (using Adventureworks), how to group product lines into 3 custom groupings : Top 2 items, All Other Items, and All Items.  These techniques show you how to include specific line items of interest in your report, whilst grouping the remaining items you are not so interested in, into one total e.g. Other Products &#8230; <a href="http://martinmason.wordpress.com/category/mdx/">From the Martin Mason Blog</a> &#8230;</p>
<p><pre class="brush: css;">

WITH SET [Top Items] AS

Generate(

{ [Product].[Category].[Category].Members },

TopCount(

EXISTING [Product].[Product].[Product].members,

2,

( [Measures].[Reseller Sales Amount] )

)

)

MEMBER [Product].[Product].[All].[All Other Products] AS

Aggregate( { EXISTING { [Product].[Product].[Product].Members } - [Top Items] } )

SELECT        {

[Measures].[Reseller Sales Amount]

} ON COLUMNS,

{

{ [Product].[Category].[Category].Members }

* {

[Top Items],

[Product].[Product].[All Other Products],

[Product].[Product].[All]

}

} ON ROWS

FROM        [Adventure Works]

</pre></p>
<p>Alternatively lets say the business wants to see all of the products that are listed in the current 20% catalogue sale (20% off all Accessories and Products), we can display the line items for all products in the Accessories and Products categories, then show all other items grouped into one total&#8230;</p>
<p><pre class="brush: css;">

WITH SET [Catalog Accessory Products] AS

'Filter([Product].[Product].[Product].Members,

(InStr(1,[Product].[Category].CurrentMember.Name, &quot;Accessories&quot;) &lt;&gt; 0)

)'

SET [Catalog Clothing Products] AS

'Filter([Product].[Product].[Product].Members,

(InStr(1,[Product].[Category].CurrentMember.Name, &quot;Clothing&quot;) &lt;&gt; 0)

)'

MEMBER [Product].[Product].[All].[All Other Products] AS

Aggregate(

{ EXISTING

{ [Product].[Product].[Product].Members }

- {[Catalog Accessory Products] + [Catalog Clothing Products]} } )

SELECT        {

[Measures].[Reseller Sales Amount]

} ON COLUMNS,

NONEMPTY({

{ [Product].[Category].[Category].Members }

* {

[Catalog Accessory Products],

[Catalog Clothing Products],

[Product].[Product].[All Other Products]

}

}) ON ROWS

FROM        [Adventure Works];

</pre></p>
<br />Filed under: <a href='http://popbi.wordpress.com/category/analyse-ssas/'>Analyse (SSAS)</a>, <a href='http://popbi.wordpress.com/category/model-dimensional-modelling/'>Model (Dimensional Modelling)</a>, <a href='http://popbi.wordpress.com/category/report-ssrs/'>Report (SSRS)</a> Tagged: <a href='http://popbi.wordpress.com/tag/mdx-top-items-and-other-items/'>mdx top items and other items</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/popbi.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/popbi.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/popbi.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/popbi.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/popbi.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/popbi.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/popbi.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/popbi.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/popbi.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/popbi.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/popbi.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/popbi.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/popbi.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/popbi.wordpress.com/219/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=popbi.wordpress.com&amp;blog=29462819&amp;post=219&amp;subd=popbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://popbi.wordpress.com/2012/02/21/mdx-samples-helping-our-business-users-see-custom-groupings-of-products/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6c66d7129ec7a8d9e7a8342903a763c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">popbi</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating Time Intelligence Filters in Performance Point 2010 &#8211; Quick Ref</title>
		<link>http://popbi.wordpress.com/2012/02/20/creating-time-intelligence-filters-in-performance-point-2010-quick-ref/</link>
		<comments>http://popbi.wordpress.com/2012/02/20/creating-time-intelligence-filters-in-performance-point-2010-quick-ref/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 07:01:38 +0000</pubDate>
		<dc:creator>popbi</dc:creator>
				<category><![CDATA[Model (Dimensional Modelling)]]></category>
		<category><![CDATA[Performance Point 2010]]></category>
		<category><![CDATA[Share (SharePoint 2007 and 2010)]]></category>
		<category><![CDATA[pps 2010 time intelligence functions]]></category>

		<guid isPermaLink="false">http://popbi.wordpress.com/?p=215</guid>
		<description><![CDATA[Those of you new to Performance Point 2010 or who are starting to want more from your dashboards using Time Intelligence, the following link provides a succinct reference for applying Time Intelligence formulas see Performance Point TI Shortcuts. Those turning their hand at MDX filter queries and doing custom member rollups filters &#8230;..(exhale) be aware the Performance Point [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=popbi.wordpress.com&amp;blog=29462819&amp;post=215&amp;subd=popbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Those of you new to Performance Point 2010 or who are starting to want more from your dashboards using Time Intelligence, the following link provides a succinct reference for applying Time Intelligence formulas see <a href="http://technet.microsoft.com/en-us/library/ff701696.aspx">Performance Point TI Shortcuts</a>.</p>
<p>Those turning their hand at MDX filter queries and doing custom member rollups filters &#8230;..(exhale) be aware the Performance Point 2010 MDX editor has a strict requirement on formatting which excludes the use of WITH statements before your SELECT as identified here <a href="http://social.technet.microsoft.com/Forums/en-US/ppsmonitoringandanalytics/thread/dd4a0c49-3a57-4ee4-ae9f-d4975f740d60/">MSDN Reference</a>.</p>
<p>Ron Davis provides a good You Tube clip demonstrating the use of the MDX Filter feature <a href="http://www.youtube.com/watch?v=dct39cqx-VU">Ron Davis MDX Filter Clip</a>.</p>
<br />Filed under: <a href='http://popbi.wordpress.com/category/model-dimensional-modelling/'>Model (Dimensional Modelling)</a>, <a href='http://popbi.wordpress.com/category/performance-point-2010/'>Performance Point 2010</a>, <a href='http://popbi.wordpress.com/category/share-sharepoint-2007-and-2010/'>Share (SharePoint 2007 and 2010)</a> Tagged: <a href='http://popbi.wordpress.com/tag/pps-2010-time-intelligence-functions/'>pps 2010 time intelligence functions</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/popbi.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/popbi.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/popbi.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/popbi.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/popbi.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/popbi.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/popbi.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/popbi.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/popbi.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/popbi.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/popbi.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/popbi.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/popbi.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/popbi.wordpress.com/215/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=popbi.wordpress.com&amp;blog=29462819&amp;post=215&amp;subd=popbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://popbi.wordpress.com/2012/02/20/creating-time-intelligence-filters-in-performance-point-2010-quick-ref/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6c66d7129ec7a8d9e7a8342903a763c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">popbi</media:title>
		</media:content>
	</item>
		<item>
		<title>Convert string with $ and , 000’s separator to a number</title>
		<link>http://popbi.wordpress.com/2012/02/20/convert-string-with-and-000s-separator-to-a-number/</link>
		<comments>http://popbi.wordpress.com/2012/02/20/convert-string-with-and-000s-separator-to-a-number/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 04:06:15 +0000</pubDate>
		<dc:creator>popbi</dc:creator>
				<category><![CDATA[Integrate (SSIS)]]></category>
		<category><![CDATA[Model (Dimensional Modelling)]]></category>
		<category><![CDATA[convert string to number]]></category>

		<guid isPermaLink="false">http://popbi.wordpress.com/?p=211</guid>
		<description><![CDATA[You have imported some data from a file or Sharepoint list and the numbers have come across as strings, in their display format.  Unfortunately for you this means if you want to perform some arithmetic or sorting on this column, you will need to convert to a number and remove the formatting characters like $ [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=popbi.wordpress.com&amp;blog=29462819&amp;post=211&amp;subd=popbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You have imported some data from a file or Sharepoint list and the numbers have come across as strings, in their display format.  Unfortunately for you this means if you want to perform some arithmetic or sorting on this column, you will need to convert to a number and remove the formatting characters like $ , -.</p>
<p>If you do try to perform some arithmetic on this column directly, you will most likely get the error … “Error converting data type varchar….”.</p>
<p>Now there is nothing like a clean datamart to store this data, however the following example demonstrates how to perform this function in an adhoc query.   The code sample searches the varchar column aptly named &#8220;Varchar Actual ($)&#8221; and replaces any symbols containing the characters $ , &#8211; and the space character with empty string&#8230;allowing the string to be successfully cast to a number…</p>
<p><pre class="brush: css;">

CAST(REPLACE(REPLACE(REPLACE(RTRIM(LTRIM

([Varchar Actual ($)])),'$',''),',',''),'-','') as float)

AS [Float - Actual ($)]

</pre></p>
<p>Reference …</p>
<p><a href="http://social.msdn.microsoft.com/Forums/en/transactsql/thread/4ee0627d-983f-4ab6-a284-adf3ccf4b0e2">Social MSDN Thread</a></p>
<p>Cast and Convert</p>
<p><a href="http://msdn.microsoft.com/en-us/library/ms187928.aspx">Cast and Convert Basics</a></p>
<p>Some REPLACE basics with Bru ! <a href="http://learnsqlwithbru.com/2011/12/23/sql-server-string-function-replace-with-examples/">Have a Cuppa with Bru</a></p>
<br />Filed under: <a href='http://popbi.wordpress.com/category/integrate-ssis/'>Integrate (SSIS)</a>, <a href='http://popbi.wordpress.com/category/model-dimensional-modelling/'>Model (Dimensional Modelling)</a> Tagged: <a href='http://popbi.wordpress.com/tag/convert-string-to-number/'>convert string to number</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/popbi.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/popbi.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/popbi.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/popbi.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/popbi.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/popbi.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/popbi.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/popbi.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/popbi.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/popbi.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/popbi.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/popbi.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/popbi.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/popbi.wordpress.com/211/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=popbi.wordpress.com&amp;blog=29462819&amp;post=211&amp;subd=popbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://popbi.wordpress.com/2012/02/20/convert-string-with-and-000s-separator-to-a-number/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6c66d7129ec7a8d9e7a8342903a763c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">popbi</media:title>
		</media:content>
	</item>
		<item>
		<title>Sigh&#8230;You get “A duplicate attribute key has been found when processing ..” error message when processing a dimension &#8230;</title>
		<link>http://popbi.wordpress.com/2012/02/16/sigh-you-get-a-duplicate-attribute-key-has-been-found-when-processing-error-message-when-processing-a-dimension/</link>
		<comments>http://popbi.wordpress.com/2012/02/16/sigh-you-get-a-duplicate-attribute-key-has-been-found-when-processing-error-message-when-processing-a-dimension/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 06:56:15 +0000</pubDate>
		<dc:creator>popbi</dc:creator>
				<category><![CDATA[Analyse (SSAS)]]></category>
		<category><![CDATA[Integrate (SSIS)]]></category>
		<category><![CDATA[duplicate attribute key]]></category>

		<guid isPermaLink="false">http://popbi.wordpress.com/?p=208</guid>
		<description><![CDATA[Sigh&#8230;is the sound you make, when you get “A duplicate attribute key has been found when processing ..” error message when processing a dimension.  Most of the time you can quickly get to the bottom of these errors.  In this case you have checked the attributes participating in a hierarchy so that there is a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=popbi.wordpress.com&amp;blog=29462819&amp;post=208&amp;subd=popbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sigh&#8230;is the sound you make, when you get “A duplicate attribute key has been found when processing ..” error message when processing a dimension.  Most of the time you can quickly get to the bottom of these errors.  In this case you have checked the attributes participating in a hierarchy so that there is a 1 to many between each level running top to bottom.   You have also read the following reference <a href="http://support.microsoft.com/kb/2002757">kb2002757</a> and are back to sighing again.</p>
<p>To make matters worse the error is in relation to an attribute that is not part of the hierarchy you created.  You have checked and you don&#8217;t have any null values.</p>
<p>One of the conditions that can contribute to this error is when you have trailing special characters in the offending column such as char(13) or char(10).   The trimming property of the key column for the failing attribute is set to RIGHT by default.   So you will need to either trim the special characters out of your database, ETL or through the DSV.  Setting the trimming property to NONE may get you over the line in some circumstances but this is not foolproof and not a good long term strategy.</p>
<p>Bottom line &#8211; check your data for char(13) and char(10) characters, perhaps test the length of values in the offending column to make the problem easier to visualise.</p>
<p><pre class="brush: css;">

SELECT col1, LEN(col1) AS Col1Length

FROM TableName WHERE col1 LIKE 'Value%' ORDER BY col1 </pre></p>
<p>Additional reading &#8230;</p>
<p><a href="http://wschampheleer.wordpress.com/2009/12/20/degenerate-dimensions-in-ssas/">Official BI Twibe Blog</a></p>
<br />Filed under: <a href='http://popbi.wordpress.com/category/analyse-ssas/'>Analyse (SSAS)</a>, <a href='http://popbi.wordpress.com/category/integrate-ssis/'>Integrate (SSIS)</a> Tagged: <a href='http://popbi.wordpress.com/tag/duplicate-attribute-key/'>duplicate attribute key</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/popbi.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/popbi.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/popbi.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/popbi.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/popbi.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/popbi.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/popbi.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/popbi.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/popbi.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/popbi.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/popbi.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/popbi.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/popbi.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/popbi.wordpress.com/208/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=popbi.wordpress.com&amp;blog=29462819&amp;post=208&amp;subd=popbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://popbi.wordpress.com/2012/02/16/sigh-you-get-a-duplicate-attribute-key-has-been-found-when-processing-error-message-when-processing-a-dimension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6c66d7129ec7a8d9e7a8342903a763c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">popbi</media:title>
		</media:content>
	</item>
		<item>
		<title>Alter a column&#8217;s datatype in your database</title>
		<link>http://popbi.wordpress.com/2012/02/15/alter-a-columns-datatype-in-your-database/</link>
		<comments>http://popbi.wordpress.com/2012/02/15/alter-a-columns-datatype-in-your-database/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 06:59:49 +0000</pubDate>
		<dc:creator>popbi</dc:creator>
				<category><![CDATA[Integrate (SSIS)]]></category>
		<category><![CDATA[Manage (SQL Server Admin)]]></category>
		<category><![CDATA[alter column information_schema.columns]]></category>

		<guid isPermaLink="false">http://popbi.wordpress.com/?p=203</guid>
		<description><![CDATA[Ideally we should set the datatype for the columns in our database correctly from the start of the project. However over time, you may find yourself facing a requirement to change the data type for one of the columns in your database.   If your negotiation skills fail to convince the stakeholder party otherwise, well [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=popbi.wordpress.com&amp;blog=29462819&amp;post=203&amp;subd=popbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ideally we should set the datatype for the columns in our database correctly from the start of the project. However over time, you may find yourself facing a requirement to change the data type for one of the columns in your database.   If your negotiation skills fail to convince the stakeholder party otherwise, well I guess you need to change it.  To change the datatype for a column in your database use the following as a guide.  For example to change the column called ColumnName from varchar(7) null to varchar(10) not null &#8230;</p>
<p><pre class="brush: css;">

ALTER TABLE dbo.TableName ALTER COLUMN ColumnName varchar(10) not null

</pre></p>
<p>But wait, there&#8217;s more !  To determine any other varchar(7) columns that could potentially be impacted you could issue a query against your database like the following, then apply similar code above to change those columns &#8230;</p>
<p><pre class="brush: css;">

SELECT TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME, IS_NULLABLE, DATA_TYPE, CHARACTER_MAXIMUM_LENGTH
 FROM INFORMATION_SCHEMA.COLUMNS
 WHERE DATA_TYPE = 'varchar' and CHARACTER_MAXIMUM_LENGTH = 7

</pre></p>
<p>But wait, there&#8217;s still more !  If this particular column is involved in any SSIS packages you will need to refactor those packages.   If your SSIS package is stored in the MSDB database you may have some luck performing a <a href="http://www.sqlservercentral.com/articles/Integration+Services+(SSIS)/70011/">SSIS Package Object Search</a>, otherwise there are various 3rd party tools you can use to scan through your SSIS package and allow object searching.  I touched on this in the blog post <a href="http://popbi.wordpress.com/2011/11/18/searching-for-extra-terrestrial-ssis-or-dts-package-content/">PopBI DTS SSIS Object Search</a> - there are many tools to facilitate this.</p>
<p>For any cube impacts you can install and then utilise the <a href="http://bidshelper.codeplex.com/">BIDS helper</a> (<a href="http://bidshelper.codeplex.com/wikipage?title=Dimension%20Data%20Type%20Discrepancy%20Check&amp;ANCHOR">Data Type Discrepancy Check</a>).</p>
<p>For subtle data type changes such as the above example, your Reporting Services reports may still run without  error, however you may need to adjust the width of a column for example.</p>
<p>Ok now you can have the steak knives &#8230;</p>
<br />Filed under: <a href='http://popbi.wordpress.com/category/integrate-ssis/'>Integrate (SSIS)</a>, <a href='http://popbi.wordpress.com/category/manage-sql-server-admin/'>Manage (SQL Server Admin)</a> Tagged: <a href='http://popbi.wordpress.com/tag/alter-column-information_schema-columns/'>alter column information_schema.columns</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/popbi.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/popbi.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/popbi.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/popbi.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/popbi.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/popbi.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/popbi.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/popbi.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/popbi.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/popbi.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/popbi.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/popbi.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/popbi.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/popbi.wordpress.com/203/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=popbi.wordpress.com&amp;blog=29462819&amp;post=203&amp;subd=popbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://popbi.wordpress.com/2012/02/15/alter-a-columns-datatype-in-your-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6c66d7129ec7a8d9e7a8342903a763c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">popbi</media:title>
		</media:content>
	</item>
		<item>
		<title>Upgrading to SQL Server 2008 R2 or SQL Server 2012</title>
		<link>http://popbi.wordpress.com/2012/02/09/upgrading-to-sql-server-2008-r2-or-sql-server-2012/</link>
		<comments>http://popbi.wordpress.com/2012/02/09/upgrading-to-sql-server-2008-r2-or-sql-server-2012/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 06:04:37 +0000</pubDate>
		<dc:creator>popbi</dc:creator>
				<category><![CDATA[Manage (SQL Server Admin)]]></category>
		<category><![CDATA[sql server upgrade advisor 2012 2008 R2]]></category>

		<guid isPermaLink="false">http://popbi.wordpress.com/?p=199</guid>
		<description><![CDATA[For those starting to think about upgrading to SQL 2012, or for SQL 2008 sites, should I upgrade to SQL 2008 R2 or SQL 2012, you will find the SQL Server Upgrade Advisor an excellent first step and rewarding toe in the water experience. A link to the upgrade advisor can be reached here that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=popbi.wordpress.com&amp;blog=29462819&amp;post=199&amp;subd=popbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For those starting to think about upgrading to SQL 2012, or for SQL 2008 sites, should I upgrade to SQL 2008 R2 or SQL 2012, you will find the SQL Server Upgrade Advisor an excellent first step and rewarding toe in the water experience.</p>
<p>A link to the upgrade advisor can be reached here that includes the links to download the tool <a href="http://technet.microsoft.com/en-us/library/ms144256.aspx">SQL Server 2008 R2 Upgrade Advisor Link</a> - ordinarily this would be available in the SQL 2008 R2 feature pack.</p>
<p>Running the upgrade advisor is simple and allows you to select and analyse only the components you are thinking about upgrading.  For example if you only want to upgrade Reporting Services, then only select the Reporting Services option.  Keep in mind, for Reporting Services, you must install and run the tool locally on the Reporting Services server, whereas for the other components (SQL Server, Analysis Services, etc) you can analyse from a client workstation that has upgrade advisor installed.  Any issues can be viewed later using the same upgrade Advisor tool but using the Report Viewer option.</p>
<p>The link to the current SQL 2012 Release Candidate Upgrade Advisor is here <a href="http://msdn.microsoft.com/en-us/library/ms144256(v=sql.110).aspx">SQL Server 2012 Upgrade Advisor Link</a>.</p>
<p>I also recommend running the SQL Server Best Practices Analyser to help identify risk areas that might be better sorted out before you plan to do the upgrade.  The link to the Best Practices Analyser can be found here <a href="http://www.microsoft.com/download/en/details.aspx?id=15289">SQL Server 2008 R2 Best Practices Analyser Link</a>.  BPA also performs some O.S. level checks so is recommended to install and run on the actual SQL Server you intend to analyse.  It is also works on SQL 2008 instances.</p>
<p>Currently, the SQL 2012 Best Practices Analyser defers to the SQL 2008 R2 version <a href="http://msdn.microsoft.com/en-us/library/bb677622(v=sql.110).aspx">SQL Server 2012 Upgrade Quick Sheet</a>.</p>
<p>Hope this helps.</p>
<br />Filed under: <a href='http://popbi.wordpress.com/category/manage-sql-server-admin/'>Manage (SQL Server Admin)</a> Tagged: <a href='http://popbi.wordpress.com/tag/sql-server-upgrade-advisor-2012-2008-r2/'>sql server upgrade advisor 2012 2008 R2</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/popbi.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/popbi.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/popbi.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/popbi.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/popbi.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/popbi.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/popbi.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/popbi.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/popbi.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/popbi.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/popbi.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/popbi.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/popbi.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/popbi.wordpress.com/199/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=popbi.wordpress.com&amp;blog=29462819&amp;post=199&amp;subd=popbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://popbi.wordpress.com/2012/02/09/upgrading-to-sql-server-2008-r2-or-sql-server-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6c66d7129ec7a8d9e7a8342903a763c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">popbi</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting Data From Active Directory and who is Troy Farrell?</title>
		<link>http://popbi.wordpress.com/2012/02/08/getting-data-from-active-directory-and-who-is-troy-farrell/</link>
		<comments>http://popbi.wordpress.com/2012/02/08/getting-data-from-active-directory-and-who-is-troy-farrell/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 02:03:07 +0000</pubDate>
		<dc:creator>popbi</dc:creator>
				<category><![CDATA[Integrate (SSIS)]]></category>
		<category><![CDATA[Model (Dimensional Modelling)]]></category>

		<guid isPermaLink="false">http://popbi.wordpress.com/?p=192</guid>
		<description><![CDATA[With integration ever on the increase, leveraging data stored in the Active Directory is proving to be an increasingly common requirement. Typical scenarios may include efforts to build a configuration database through to building a schema to support row level security for reporting. Access to active directory data can be retrieved as simply as a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=popbi.wordpress.com&amp;blog=29462819&amp;post=192&amp;subd=popbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>With integration ever on the increase, leveraging data stored in the Active Directory is proving to be an increasingly common requirement. Typical scenarios may include efforts to build a configuration database through to building a schema to support row level security for reporting.</p>
<p>Access to active directory data can be retrieved as simply as a linked server configuration and data access using OpenQuery. Brendan Tompkins provides a simple guide to achieving this but keep in mind the importance of getting the adsdatasource and port correct.</p>
<p><a href="http://codebetter.com/brendantompkins/2003/12/19/create-a-sql-server-view-of-your-ad-users/">Brendan Tompkins A.D. Query Example</a></p>
<p>Some Ldap query examples are provided here &#8211; see <a href="http://atlantamdf.com/presentations/AtlantaMDF_111201_examples.txt">Examples</a>.</p>
<p>If linked servers are not your thing or you have problems accessing through the linked server then there is a tool that is installed with the Lightweight Directory Services Role for Windows 2008 called “csvde.exe” see <a href="http://technet.microsoft.com/en-us/library/cc732101(WS.10).aspx">CSVDE</a>. This tool provides a command line interface to the active directory server to extract data in csv format using various object queries.</p>
<p>If you are using a non Microsoft Ldap v3 compliant directory server keep in mind the csvde.exe tool will still work, however you may run into problems. For a start rows may be paged in 500 row lots and csvde cannot page through the data automatically. Secondly, the columns may return to the csv file out of order when returning from the LDAP v3 compliant LDAP server (note this is unrelated to the –l behaviour as design which can return columns out of order if you specify specific attributes in your query against a Microsoft Active Directory Server). As a workaround you can get a Powershell guru like <a title="View public profile" href="http://au.linkedin.com/pub/troy-farrell/14/55b/480">Troy Farrell</a> to write a script to rearrange the data in the csv file.</p>
<p>There are third party tools available for a fee that allow you to interrogate and create command line extracts for LDAP v3 directory servers however be sure to test these tools thoroughly to handle the issues around data paging and out of order columns.</p>
<p>For non Microsoft LDAP servers that utilise single source of the truth for the directory in an  ODBC or OLDEB database, you also have the option of bypassing all of the above and extracting that data directly from the LDAP database using SQL Server Integration Services.</p>
<p>Happy A.D.</p>
<br />Filed under: <a href='http://popbi.wordpress.com/category/integrate-ssis/'>Integrate (SSIS)</a>, <a href='http://popbi.wordpress.com/category/model-dimensional-modelling/'>Model (Dimensional Modelling)</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/popbi.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/popbi.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/popbi.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/popbi.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/popbi.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/popbi.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/popbi.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/popbi.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/popbi.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/popbi.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/popbi.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/popbi.wordpress.com/192/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/popbi.wordpress.com/192/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/popbi.wordpress.com/192/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=popbi.wordpress.com&amp;blog=29462819&amp;post=192&amp;subd=popbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://popbi.wordpress.com/2012/02/08/getting-data-from-active-directory-and-who-is-troy-farrell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6c66d7129ec7a8d9e7a8342903a763c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">popbi</media:title>
		</media:content>
	</item>
		<item>
		<title>SSRS &#8211; Get the Value from a Textbox</title>
		<link>http://popbi.wordpress.com/2012/02/03/ssrs-get-the-value-from-a-textbox/</link>
		<comments>http://popbi.wordpress.com/2012/02/03/ssrs-get-the-value-from-a-textbox/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 05:38:51 +0000</pubDate>
		<dc:creator>popbi</dc:creator>
				<category><![CDATA[Report (SSRS)]]></category>
		<category><![CDATA[srss textbox value expression]]></category>

		<guid isPermaLink="false">http://popbi.wordpress.com/?p=186</guid>
		<description><![CDATA[Ok, a quickie but a goodie &#8230; The expression to use to refer to the value inside a textbox within a report is &#8230; Although, we are all good B.I. developers and would never leave our textbox named as textbox1 *wink* &#8230;. &#160; Filed under: Report (SSRS) Tagged: srss textbox value expression<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=popbi.wordpress.com&amp;blog=29462819&amp;post=186&amp;subd=popbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ok, a quickie but a goodie &#8230;</p>
<p>The expression to use to refer to the value inside a textbox within a report is &#8230;</p>
<p><pre class="brush: css;">ReportItems!textbox1.Value</pre></p>
<p>Although, we are all good B.I. developers and would never leave our textbox named as textbox1 *wink* &#8230;.</p>
<p>&nbsp;</p>
<br />Filed under: <a href='http://popbi.wordpress.com/category/report-ssrs/'>Report (SSRS)</a> Tagged: <a href='http://popbi.wordpress.com/tag/srss-textbox-value-expression/'>srss textbox value expression</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/popbi.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/popbi.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/popbi.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/popbi.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/popbi.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/popbi.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/popbi.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/popbi.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/popbi.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/popbi.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/popbi.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/popbi.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/popbi.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/popbi.wordpress.com/186/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=popbi.wordpress.com&amp;blog=29462819&amp;post=186&amp;subd=popbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://popbi.wordpress.com/2012/02/03/ssrs-get-the-value-from-a-textbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6c66d7129ec7a8d9e7a8342903a763c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">popbi</media:title>
		</media:content>
	</item>
		<item>
		<title>Removing the ALL member from your SSRS Reports and the MDX Query Designer Bug</title>
		<link>http://popbi.wordpress.com/2012/02/03/removing-the-all-member-from-your-ssrs-reports-and-the-mdx-query-designer-bug/</link>
		<comments>http://popbi.wordpress.com/2012/02/03/removing-the-all-member-from-your-ssrs-reports-and-the-mdx-query-designer-bug/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 01:23:33 +0000</pubDate>
		<dc:creator>popbi</dc:creator>
				<category><![CDATA[Analyse (SSAS)]]></category>
		<category><![CDATA[Report (SSRS)]]></category>
		<category><![CDATA[mdx query designer]]></category>
		<category><![CDATA[removing all member]]></category>

		<guid isPermaLink="false">http://popbi.wordpress.com/?p=182</guid>
		<description><![CDATA[No need to reinvent the wheel here, nice post by Chris Albrektson that demonstrates how to remove the ALL member from your parameter values where an Analysis Services Data Source is concerned. Note if you are using the MDX Query Designer in SSRS you may find that editing your dataset queries effectively replaces any upstream datasets [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=popbi.wordpress.com&amp;blog=29462819&amp;post=182&amp;subd=popbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>No need to reinvent the wheel here, nice post by <a href="http://www.bidn.com/blogs/ChrisAlbrektson/bidn-blog/1452/mdx-ssrs-how-to-remove-the-all-member-from-your-parameter">Chris Albrektson</a> that demonstrates how to remove the ALL member from your parameter values where an Analysis Services Data Source is concerned.</p>
<p>Note if you are using the MDX Query Designer in SSRS you may find that editing your dataset queries effectively replaces any upstream datasets you just changed to the CHILDREN function back to ALLMEMBERS.  What the ??</p>
<p>As a workaround, you will need to jump into code view for your report, locate each dataset and under the datasets QUERY element you will need to add the &lt;rd:SuppressAutoUpdate&gt; element and set this to true.  This will effectively give the dataset immunity from being automatically updated.  Example &#8230;</p>
<p><pre class="brush: css;">&lt;Query&gt;
...
&lt;rd:SuppressAutoUpdate&gt;true&lt;/rd:SuppressAutoUpdate&gt;
&lt;/Query&gt;</pre></p>
<p>Alternatively simply executing the parameter dataset is supposed to automatically set the &lt;rd:AutoGenerated&gt; element to FALSE (which has the same effect) however I had no luck here.</p>
<p>Discussed here <a href="http://connect.microsoft.com/SQLServer/feedback/details/417209/mdx-query-designer-overwrites-parameter-queries">Connect MDX Query Designer Bug</a>.</p>
<br />Filed under: <a href='http://popbi.wordpress.com/category/analyse-ssas/'>Analyse (SSAS)</a>, <a href='http://popbi.wordpress.com/category/report-ssrs/'>Report (SSRS)</a> Tagged: <a href='http://popbi.wordpress.com/tag/mdx-query-designer/'>mdx query designer</a>, <a href='http://popbi.wordpress.com/tag/removing-all-member/'>removing all member</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/popbi.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/popbi.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/popbi.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/popbi.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/popbi.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/popbi.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/popbi.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/popbi.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/popbi.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/popbi.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/popbi.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/popbi.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/popbi.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/popbi.wordpress.com/182/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=popbi.wordpress.com&amp;blog=29462819&amp;post=182&amp;subd=popbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://popbi.wordpress.com/2012/02/03/removing-the-all-member-from-your-ssrs-reports-and-the-mdx-query-designer-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6c66d7129ec7a8d9e7a8342903a763c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">popbi</media:title>
		</media:content>
	</item>
	</channel>
</rss>
