<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;CU8HRXYycSp7ImA9WhBbEUo.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759</id><updated>2013-05-10T10:17:14.899+02:00</updated><category term="Optimize for ad hoc workloads" /><category term="Windows XP" /><category term="improve" /><category term="exact dashboard Globe" /><category term="DTS" /><category term="bill" /><category term="free" /><category term="combine" /><category term="analytics" /><category term="enrich data" /><category term="include" /><category term="query" /><category term="Globe" /><category term="keyboard layout" /><category term="big tempdb" /><category term="daily" /><category term="SQL; performance; measure; bottleneck" /><category term="Missing indexes" /><category term="email" /><category term="SQL Server editions" /><category term="Solution" /><category term="CTP3" /><category term="sql 2012" /><category term="visualization" /><category term="modify" /><category term="release date" /><category term="type" /><category term="index usage statistics" /><category term="tweetup" /><category term="Service update" /><category term="outdated" /><category term="SYS.Database_usage" /><category term="SP1" /><category term="sql2008" /><category term="corporate homepage social media" /><category term="style sheet" /><category term="concurrency" /><category term="preview" /><category term="sql 2005" /><category term="figures" /><category term="ldf" /><category term="SQL 2000" /><category term="running totals" /><category term="SSRS" /><category term="performance testing" /><category term="design" /><category term="parameter" /><category term="entrepeneur" /><category term="statistics" /><category term="considarations" /><category term="SQL Server 2008 Upgrade 2005" /><category term="isolation levels" /><category term="SQL 2011" /><category term="no data" /><category term="SQL Data Sync" /><category term="procedure cache" /><category term="Read uncommitted" /><category term="CTP" /><category term="PowerPivot Field List" /><category term="ebook" /><category term="site" /><category term="blocking" /><category term="drop" /><category term="SQL Server Management Studio" /><category term="covering index" /><category term="survey" /><category term="SQL performance" /><category term="MRP" /><category term="compressed" /><category term="Bing maps" /><category term="maintenance" /><category term="Certified for" /><category term="Virtualization" /><category term="SP2" /><category term="xVelocity" /><category term="the new world of work" /><category term="SQL Azure Data Sync" /><category term="interactive sorting" /><category term="update" /><category term="second screen" /><category term="driver" /><category term="Corporate headquarters" /><category term="nvarchar" /><category term="user experience" /><category term="dateadd" /><category term="index fragmentation" /><category term="App" /><category term="charts" /><category term="reporting server reports" /><category term="connect" /><category term="optimize" /><category term="supported features" /><category term="sql profiler trace" /><category term="auto update statistics" /><category term="size" /><category term="cube" /><category term="change database" /><category term="fullscan" /><category term="create" /><category term="fit" /><category term="invoice" /><category term="sql" /><category term="twitter" /><category term="index" /><category term="scale out" /><category term="design rules" /><category term="social media" /><category term="caching" /><category term="Maxime Verhagen" /><category term="execution plan" /><category term="bottleneck" /><category term="data transfer" /><category term="spid" /><category term="BISM" /><category term="performance analyze" /><category term="Exact Synergy Enterprise" /><category term="datafeed" /><category term="display" /><category term="documentation" /><category term="web" /><category term="performance monitor" /><category term="throttling" /><category term="filtered index" /><category term="IIS Database manager" /><category term="dynamic data source" /><category term="guest lecture" /><category term="review book" /><category term="whitepaper" /><category term="improve performance" /><category term="backup strategy" /><category term="SSMS" /><category term="account names" /><category term="css" /><category term="Windows Azure MarketPlace" /><category term="function" /><category term="launch" /><category term="performance" /><category term="cockpit" /><category term="data driven subscription" /><category term="corrupted" /><category term="backup" /><category term="generate" /><category term="crw" /><category term="google maps" /><category term="XML" /><category term="improvement" /><category term="language" /><category term="Resource Governor" /><category term="TU Delft" /><category term="style" /><category term="Map" /><category term="limitations" /><category term="product update 398" /><category term="integration" /><category term="technical reference guide" /><category term="queryplan" /><category term="not used" /><category term="Office 2013" /><category term="remove" /><category term="cleanup" /><category term="connection" /><category term="timeline" /><category term="BIDS" /><category term="Profile trace" /><category term="fast" /><category term="benchmark" /><category term="Microsoft Press" /><category term="GA" /><category term="download" /><category term="delete" /><category term="perfmon" /><category term="changed" /><category term="change datasource" /><category term="Service pack" /><category term="script" /><category term="dbcc freeproccache" /><category term="Windows Azure" /><category term="sql denali" /><category term="Power Pivot for Excel" /><category term="fire department" /><category term="file" /><category term="blue screen" /><category term="SYS.Bandwidth_usage" /><category term="GBKMUT" /><category term="unsupported" /><category term="debug" /><category term="Books Online" /><category term="histogram" /><category term="totals" /><category term="Time and Billing" /><category term="operating systems" /><category term="drill through" /><category term="donts" /><category term="empty" /><category term="restore strategy" /><category term="process" /><category term="random" /><category term="execute" /><category term="iBooks" /><category term="monitoring" /><category term="MS" /><category term="tempdb" /><category term="TSQL" /><category term="null" /><category term="CREATE INDEX" /><category term="blogger" /><category term="communicate" /><category term="fillfactor" /><category term="upload" /><category term="customer experience" /><category term="search" /><category term="features" /><category term="SQL Azure Reporting CTP" /><category term="data set" /><category term="iPad" /><category term="maps" /><category term="traffic" /><category term="operatings Guide" /><category term="BOL" /><category term="guidelines" /><category term="Denali" /><category term="#verhagentweetup" /><category term="rendering reports" /><category term="localization" /><category term="argument" /><category term="fonts" /><category term="time dimension" /><category term="PowerPivot" /><category term="SQL performance Simple" /><category term="Windows" /><category term="cumulative" /><category term="selectable" /><category term="restore" /><category term="locks" /><category term="Windows Server 2008 R2" /><category term="copy" /><category term="Exact Online" /><category term="configuration" /><category term="developer" /><category term="X64" /><category term="retrieved" /><category term="2008" /><category term="office 2010" /><category term="read committed" /><category term="SSRS 2008 R2" /><category term="section" /><category term="System Views" /><category term="Windows Vista" /><category term="PDF" /><category term="product review" /><category term="grey" /><category term="lock" /><category term="grayed" /><category term="holiday" /><category term="sp_helpindex" /><category term="growth" /><category term="memory" /><category term="stop support" /><category term="happy new year" /><category term="Import and Export wizard" /><category term="bi" /><category term="batches" /><category term="output" /><category term="on-premise" /><category term="sql server 2008 R2" /><category term="bar chart" /><category term="multi-value" /><category term="backup compression" /><category term="database connection" /><category term="zipped" /><category term="delete records" /><category term="supported" /><category term="seperate" /><category term="error" /><category term="my experiences" /><category term="sharding" /><category term="Excel" /><category term="Powerpoint Web App" /><category term="support" /><category term="Report Builder 3.0" /><category term="Vertipaq" /><category term="bsod" /><category term="Simple" /><category term="folder" /><category term="line graph" /><category term="bcp" /><category term="Business Intelligence" /><category term="rebuild clustered indexes SQL 2005 defragmentation" /><category term="drill down" /><category term="invalid" /><category term="Sketchmd" /><category term="export PDF" /><category term="fill factor" /><category term="differences" /><category term="design tips" /><category term="SQL Server 2008" /><category term="troubelshooting" /><category term="administrator" /><category term="sql on premise" /><category term="high availability" /><category term="dashboard" /><category term="Azure DataMarket" /><category term="columns" /><category term="datamodel" /><category term="DMV" /><category term="disk partition alignment" /><category term="Minister Tweep" /><category term="crescent" /><category term="server" /><category term="Globe Reporting Views" /><category term="suggestions" /><category term="ESE" /><category term="arie van deursen" /><category term="RTM" /><category term="ssas" /><category term="bottleneck sql query performance analyze" /><category term="pivotTable" /><category term="visibility" /><category term="deprecated database engine features" /><category term="settings" /><category term="syntax" /><category term="date" /><category term="Yes" /><category term="white paper" /><category term="EOL" /><category term="cisco" /><category term="iphone" /><category term="blank pages" /><category term="favorite" /><category term="tips" /><category term="SQL 2008 R2" /><category term="first experiences" /><category term="changes" /><category term="future" /><category term="overview" /><category term="SQL Azure labs" /><category term="multiple databases" /><category term="pie" /><category term="business" /><category term="auto refresh" /><category term="scalability" /><category term="support life cycle" /><category term="emotional relationship" /><category term="SQL 2012 SP1" /><category term="log file" /><category term="update_statistics" /><category term="federation" /><category term="SA" /><category term="cloud" /><category term="do's and don'ts" /><category term="labels" /><category term="improvements" /><category term="spatial data" /><category term="hidden" /><category term="transaction log" /><category term="Upgrade" /><category term="disks" /><category term="dynamic sorting" /><category term="copy. move" /><category term="analyze" /><category term="power view" /><category term="geography" /><category term="architecture" /><category term="locking" /><category term="online defragmentation nonclustered indexes" /><category term="Clean up" /><category term="datasource" /><category term="big" /><category term="SQL 2008" /><category term="exact" /><category term="cache" /><category term="executionlog3" /><category term="stacked" /><category term="apple" /><category term="permission" /><category term="SQL Server" /><category term="recovery model" /><category term="Exact System Information" /><category term="kill" /><category term="ESI" /><category term="Azure" /><category term="large number" /><category term="unknown" /><category term="update report" /><category term="shrink" /><category term="chart type" /><category term="SaaS" /><category term="member" /><category term="reporting services" /><category term="enterprise" /><category term="one" /><category term="training kit" /><category term="SQL Azure" /><category term="hide" /><category term="MARS" /><category term="carp" /><category term="SQL Profiler" /><category term="connection termination" /><category term="database" /><category term="Windows 7" /><category term="CTP November" /><category term="fn_trace_gettable" /><category term="SQL performance index structure usage statistics" /><category term="collaborate" /><category term="translation" /><category term="records" /><category term="Exact System Information tool" /><category term="dmvs" /><category term="sql2012" /><category term="mapping" /><category term="blog" /><category term="CICDDDP.SYS" /><category term="Exact Globe" /><category term="win a poken" /><category term="index suggestions" /><category term="updated" /><category term="Virtualization SQL Hyper-V best practises" /><category term="drilldown" /><category term="sql server 2012" /><category term="SQL Azure Update 3" /><category term="microsoft" /><category term="improvement report" /><category term="forced parameterization" /><category term="colors" /><category term="connectivity" /><category term="landscape" /><category term="reasons" /><category term="accounting" /><title>Keep It Simple and Fast</title><subtitle type="html">Keep It Simple and Fast refers to my focus during development of applications. In my opinion, applications should be very simple to use and do not have dozens of options. Every application should perform very fast, even in high transactions volume or high multi user environments.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://www.keepitsimpleandfast.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>201</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/KeepItSimpleAndFast" /><feedburner:info uri="keepitsimpleandfast" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>KeepItSimpleAndFast</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><entry gd:etag="W/&quot;CU8HRXc4cCp7ImA9WhBbEUo.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-5366492112212049306</id><published>2013-05-10T10:17:00.000+02:00</published><updated>2013-05-10T10:17:14.938+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-05-10T10:17:14.938+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SSMS" /><category scheme="http://www.blogger.com/atom/ns#" term="administrator" /><category scheme="http://www.blogger.com/atom/ns#" term="ssas" /><category scheme="http://www.blogger.com/atom/ns#" term="error" /><category scheme="http://www.blogger.com/atom/ns#" term="member" /><title>The connected user is not an Analysis Services server administrator.  Only an administrator can make changes to server properties</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-JParZqy9ZPQ/UYysxORLYiI/AAAAAAAABRo/I1kgsVhYQY4/s1600/access.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-JParZqy9ZPQ/UYysxORLYiI/AAAAAAAABRo/I1kgsVhYQY4/s1600/access.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;
You are a part of the local administrators group on the server. You want to add a user to the Server administrator group of your Analysis Server. After adding the user you will get next error message: The connected user is not an Analysis Services server administrator.&amp;nbsp; Only an administrator can make changes to server properties. &lt;br /&gt;
&lt;br /&gt;
Solution: Start SQL Server Management Studio with the option 'Run as Administrator'. Now it is possible to add users to the Server administrator group of your Analysis Server.&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/8RECLlk2lV4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/5366492112212049306/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=5366492112212049306" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/5366492112212049306?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/5366492112212049306?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/8RECLlk2lV4/the-connected-user-is-not-analysis.html" title="The connected user is not an Analysis Services server administrator.  Only an administrator can make changes to server properties" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-JParZqy9ZPQ/UYysxORLYiI/AAAAAAAABRo/I1kgsVhYQY4/s72-c/access.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2013/05/the-connected-user-is-not-analysis.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE8NQng7cCp7ImA9WhBWFko.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-7086204400153568374</id><published>2013-04-10T17:29:00.001+02:00</published><updated>2013-04-11T11:34:53.608+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-04-11T11:34:53.608+02:00</app:edited><title>The sqlncli10 provider is not registered on the local machine. Failed to connect to the server.</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-ZUAcaXdA6Qo/UWWEJG_LD_I/AAAAAAAABRM/f9OuILNZlSA/s1600/failedSQLNCLI10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="97" src="http://3.bp.blogspot.com/-ZUAcaXdA6Qo/UWWEJG_LD_I/AAAAAAAABRM/f9OuILNZlSA/s400/failedSQLNCLI10.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
When you &lt;a href="http://www.keepitsimpleandfast.com/2011/04/how-to-change-database-for-your-power.html" target="_blank"&gt;configure the data source&lt;/a&gt;&amp;nbsp;of your&amp;nbsp;Office 2010 Excel Power Pivot sheet, you can get the message: &lt;br /&gt;
&lt;strong&gt;Failed to&amp;nbsp;connect to the server. Reason: The sqlncli10 provider is not registered on the local machine. &lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
This can happen if you want to connect to a SQL 2008 (R2) server. On the client you need&amp;nbsp;to have installed the Microsoft SQL Server Native Client (SQL Server Native Client). This is a single dynamic-link library (DLL) containing both the SQL OLE DB provider and SQL ODBC driver.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Solution:&lt;/strong&gt; Install the sqlncli10 provider on your machine.&lt;br /&gt;
&lt;br /&gt;
The sqlncli10 provider for SQL 2008 R2 can be downloaded from here.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://go.microsoft.com/fwlink/?LinkID=188400&amp;amp;clcid=0x409" target="_blank"&gt;X86 package&lt;/a&gt;.&lt;br /&gt;
&lt;a href="http://go.microsoft.com/fwlink/?LinkID=188401&amp;amp;clcid=0x409" target="_blank"&gt;X64 package&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://go.microsoft.com/fwlink/?LinkID=188402&amp;amp;clcid=0x409" target="_blank"&gt;IA64 package&lt;/a&gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In case you have a SQL 2012 server and have received&amp;nbsp;a Power Pivot sheet which want to use the SQLNCLI10 provider, you can change the data provider to use to data provider for SQL 2012: SQLNCLI11&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Press the Existing connection button in the Power Pivot Window&lt;/li&gt;
&lt;li&gt;Select the PowerPivot Data Connection&lt;/li&gt;
&lt;li&gt;Press Edit&lt;/li&gt;
&lt;li&gt;Specify the SQL server name&lt;/li&gt;
&lt;li&gt;Specify the Database name&lt;/li&gt;
&lt;li&gt;Press the advanced&lt;/li&gt;
&lt;li&gt;Select Provider: &amp;nbsp;SQL Server Native Client 11.0&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
In case you can't selected the SQL Server Native Client 11.0. The provider is not installed on your client. The SQLNCLI11 provider for SQL 2012 can be downloaded from here:&lt;br /&gt;
&lt;a href="http://go.microsoft.com/fwlink/?LinkID=239647&amp;amp;clcid=0x409" target="_blank"&gt;X86 package&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://go.microsoft.com/fwlink/?LinkID=239648&amp;amp;clcid=0x409" target="_blank"&gt;X64 package&lt;/a&gt;&lt;br /&gt;
 &lt;br /&gt;
After installation it should be possible to configure your datasource, to be able to update your Excel Power Pivot sheet with all data.&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/V2erVwJSyfY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/7086204400153568374/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=7086204400153568374" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/7086204400153568374?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/7086204400153568374?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/V2erVwJSyfY/the-sqlncli10-provider-is-not.html" title="The sqlncli10 provider is not registered on the local machine. Failed to connect to the server." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-ZUAcaXdA6Qo/UWWEJG_LD_I/AAAAAAAABRM/f9OuILNZlSA/s72-c/failedSQLNCLI10.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2013/04/the-sqlncli10-provider-is-not.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8CSXo7cSp7ImA9WhBWEUs.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-6861427332694790877</id><published>2013-04-05T15:34:00.001+02:00</published><updated>2013-04-05T15:34:28.409+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-04-05T15:34:28.409+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="sql" /><category scheme="http://www.blogger.com/atom/ns#" term="index" /><category scheme="http://www.blogger.com/atom/ns#" term="create" /><category scheme="http://www.blogger.com/atom/ns#" term="TSQL" /><category scheme="http://www.blogger.com/atom/ns#" term="modify" /><category scheme="http://www.blogger.com/atom/ns#" term="date" /><title>Tsql script to see creation anf modification time of all indexes in database.</title><content type="html">Next script will show the modification date of all indexes in the selected database.&lt;br /&gt;
&lt;br /&gt;
Select s.name, t.name, t.create_date, t.modify_date,i.name, c.name&lt;br /&gt;From sys.tables t&lt;br /&gt;inner join sys.schemas s on t.schema_id = s.schema_id&lt;br /&gt;inner join sys.indexes i on i.object_id = t.object_id&lt;br /&gt;inner join sys.index_columns ic on ic.object_id = t.object_id&lt;br /&gt;inner join sys.columns c on c.object_id = t.object_id and&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ic.column_id = c.column_id&lt;br /&gt;Where i.index_id &amp;gt; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;and i.type in (1, 2) -- clustered &amp;amp; nonclustered only&lt;br /&gt;and i.is_primary_key = 0 -- do not include PK indexes&lt;br /&gt;and i.is_unique_constraint = 0 -- do not include UQ&lt;br /&gt;and i.is_disabled = 0&lt;br /&gt;and i.is_hypothetical = 0&lt;br /&gt;and ic.key_ordinal &amp;gt; 0&lt;br /&gt;Order by 4 desc&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/_S9SLXmhI2c" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/6861427332694790877/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=6861427332694790877" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/6861427332694790877?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/6861427332694790877?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/_S9SLXmhI2c/tsql-script-to-see-creation-anf.html" title="Tsql script to see creation anf modification time of all indexes in database." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2013/04/tsql-script-to-see-creation-anf.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A04DSHg7fyp7ImA9WhBRE00.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-5437536307238859056</id><published>2013-02-28T15:42:00.000+01:00</published><updated>2013-03-03T12:26:19.607+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-03-03T12:26:19.607+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Business Intelligence" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="Power Pivot for Excel" /><category scheme="http://www.blogger.com/atom/ns#" term="Office 2013" /><category scheme="http://www.blogger.com/atom/ns#" term="tips" /><category scheme="http://www.blogger.com/atom/ns#" term="memory" /><category scheme="http://www.blogger.com/atom/ns#" term="PowerPivot" /><category scheme="http://www.blogger.com/atom/ns#" term="optimize" /><category scheme="http://www.blogger.com/atom/ns#" term="office 2010" /><category scheme="http://www.blogger.com/atom/ns#" term="performance" /><category scheme="http://www.blogger.com/atom/ns#" term="BISM" /><category scheme="http://www.blogger.com/atom/ns#" term="bi" /><category scheme="http://www.blogger.com/atom/ns#" term="sql 2012" /><title>Performance tips for your Power Pivot sheet</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-iCPXD4TTcEU/US9xs2fEA5I/AAAAAAAABPU/tU25Mxz9xSc/s1600/powerpivot.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://4.bp.blogspot.com/-iCPXD4TTcEU/US9xs2fEA5I/AAAAAAAABPU/tU25Mxz9xSc/s200/powerpivot.png" width="186" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Power Pivot is a really good personal Business Intelligence tool with a&amp;nbsp;great performance. However, for every tool there are tips to optimize&amp;nbsp;the performance.&amp;nbsp;In Power Pivot you need to define the BISM. (Business Intelligence Semantic model), please take next tips into consideration during the design of your BISM model:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Use views to import data in Power Pivot. The view will contain the business logic of how the&amp;nbsp;data is stored in your database. If changes are made to your business logic, you only need to change the views.&amp;nbsp;The Power Pivot sheet will still work.&lt;/li&gt;
&lt;li&gt;Use logical columns names in the views. For instance [Account code] in stead of debnr. Everybody should understand what kind of content is stored in each column.&lt;/li&gt;
&lt;li&gt;Import only columns you really need. Avoid SELECT * FROM MyView1 As described in my previous blog post: &lt;a href="http://www.keepitsimpleandfast.com/2013/02/memory-management-in-power-pivot-column.html" target="_blank"&gt;Memory management in Power Pivot&lt;/a&gt;, all data is kept in memory. Every column which is not used will use memory which can not be used for other purposes.&lt;/li&gt;
&lt;li&gt;Import columns which are useful for analytics purposes. For instance for customer data: Account code, Country, State. Columns like street name are not so useful. As described &lt;a href="http://www.keepitsimpleandfast.com/2013/02/memory-management-in-power-pivot-column.html" target="_blank"&gt;here&lt;/a&gt;, it will create a lot of distinct values in your dictionary for this column. This will have a negative impact on performance.&lt;/li&gt;
&lt;li&gt;Import DateTime columns in 2 separate columns. One Date column and one Time column. If time portion is not useful for your analytics do not import it at all.&lt;/li&gt;
&lt;li&gt;Import master data in separate tabs. For instance all item attributes in one tab and use the item key in all transactional tabs. Link the item key from the transactional tab to the item key of the Item master tab.&lt;/li&gt;
&lt;li&gt;Reduce the number of rows to import. If you analyse on month level, group all data in the view to the level you want. For instance group by Date, Item, Amount. This will save a lot of rows to import. Of course, this is not possible sometimes because you do not want to loose the granularity of analysis.&lt;/li&gt;
&lt;li&gt;Reduce the number of rows to import by selecting only the subset you are going the analyze. For instance your database contains financial transaction as of financial year 2008. If you need to&amp;nbsp;analyze&amp;nbsp;of the current and previous year, import only the last&amp;nbsp;2 years.&lt;/li&gt;
&lt;li&gt;Optimize column data types. A column with few distinct values will be lighter than a column with a high number of distinct values. This is important also for measures, which are considered also possible quantitative attributes. If the measure you are storing is a float and is the result of a calculation,&amp;nbsp;consider reducing the number of digits to be imported. This will reduce the size of the dictionary, and possibly also the number of distinct values.&lt;/li&gt;
&lt;li&gt;Avoid high-cardinality columns. Columns with unique ID's like invoice numbers are&amp;nbsp;very expensive. Sometimes you can skip this columns and use the COUNTROWS function instead of the DISTINCTCOUNT.&lt;/li&gt;
&lt;li&gt;Use measures instead of calculated columns if possible. Calculated columns are stored as an imported column. This does not apply to&amp;nbsp;calculated measures. A calculated measure is calculated at query time. &lt;/li&gt;
&lt;li&gt;In case you need to store a measure in a calculated column, consider to reduce the number of digits of the calculation.&lt;/li&gt;
&lt;li&gt;Normalizing data doesn’t have a big effect on the size of the resulting database. However, it might have a strong impact on both processing time and memory required to process data. The key is to find a right balance. A Star schema is in most situation the right balance.&lt;/li&gt;
&lt;/ul&gt;
Enjoy it, to make your Power Pivot sheets even more powerful.&lt;br /&gt;
&lt;br /&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/ebjv24tddRs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/5437536307238859056/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=5437536307238859056" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/5437536307238859056?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/5437536307238859056?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/ebjv24tddRs/performance-tips-for-your-power-pivot.html" title="Performance tips for your Power Pivot sheet" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-iCPXD4TTcEU/US9xs2fEA5I/AAAAAAAABPU/tU25Mxz9xSc/s72-c/powerpivot.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2013/02/performance-tips-for-your-power-pivot.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkYDQn49eyp7ImA9WhBSGUs.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-3173801230071525781</id><published>2013-02-27T13:29:00.000+01:00</published><updated>2013-02-27T13:29:33.063+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-02-27T13:29:33.063+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="performance" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="Vertipaq" /><category scheme="http://www.blogger.com/atom/ns#" term="tips" /><category scheme="http://www.blogger.com/atom/ns#" term="sql 2012" /><category scheme="http://www.blogger.com/atom/ns#" term="xVelocity" /><title>Memory management in Power Pivot: Column oriented databases.</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-YTmlcqhGVb4/US36Q4wjQFI/AAAAAAAABOQ/7cmttwU53HA/s1600/PowerPivot_RevenueDashboard.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="243" src="http://2.bp.blogspot.com/-YTmlcqhGVb4/US36Q4wjQFI/AAAAAAAABOQ/7cmttwU53HA/s320/PowerPivot_RevenueDashboard.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Power Pivot is a perfect personal Business Intelligence tool. It is simple to use and the performance of the Power Pivot engine is really great. To better understand this engine, so you can even better make use of it, I will explain how this engine is working.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Row oriented versus column oriented databases.&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
All traditional relational databases, including SQL Server, are row oriented databases. They store data&amp;nbsp;in tables row by row. The row of a table&amp;nbsp;is the main unit of&amp;nbsp;storage.&amp;nbsp;Indexes are used to point to all columns of a certain row. It depends on the definition of the index which records belongs to this index.&lt;br /&gt;
&lt;br /&gt;
A column-oriented database, like Power Pivot, uses a different approach.&amp;nbsp;Every column is&amp;nbsp;considered as a separate entity. Data is stored for every column in a separate way. I will explain this with an example.&lt;br /&gt;
&lt;o:p&gt;

&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;

&lt;/o:p&gt;&lt;br /&gt;
&lt;table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;"&gt;
 &lt;tbody&gt;
&lt;tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;"&gt;
  &lt;td style="background-color: transparent; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 59.4pt;" valign="top" width="79"&gt;&lt;strong&gt;ID&lt;o:p&gt;&lt;/o:p&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;
  &lt;/strong&gt;&lt;/td&gt;&lt;strong&gt;
  &lt;/strong&gt;&lt;td style="background-color: transparent; border-color: windowtext windowtext windowtext rgb(0, 0, 0); border-style: solid solid solid none; border-width: 1pt 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 81pt;" valign="top" width="108"&gt;&lt;strong&gt;
  &lt;/strong&gt;&lt;strong&gt;Car&lt;o:p&gt;&lt;/o:p&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;
  &lt;/strong&gt;&lt;/td&gt;&lt;strong&gt;
  &lt;/strong&gt;&lt;td style="background-color: transparent; border-color: windowtext windowtext windowtext rgb(0, 0, 0); border-style: solid solid solid none; border-width: 1pt 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 1.25in;" valign="top" width="120"&gt;&lt;strong&gt;
  &lt;/strong&gt;&lt;strong&gt;Engine&lt;o:p&gt;&lt;/o:p&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;
  &lt;/strong&gt;&lt;/td&gt;&lt;strong&gt;
  &lt;/strong&gt;&lt;td style="background-color: transparent; border-color: windowtext windowtext windowtext rgb(0, 0, 0); border-style: solid solid solid none; border-width: 1pt 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 81pt;" valign="top" width="108"&gt;&lt;strong&gt;
  &lt;/strong&gt;&lt;strong&gt;Color&lt;o:p&gt;&lt;/o:p&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;
  &lt;/strong&gt;&lt;/td&gt;&lt;strong&gt;
 &lt;/strong&gt;&lt;/tr&gt;
&lt;strong&gt;
 &lt;/strong&gt;
&lt;tr style="mso-yfti-irow: 1;"&gt;&lt;strong&gt;
  &lt;/strong&gt;&lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext; border-style: none solid solid; border-width: 0px 1pt 1pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 59.4pt;" valign="top" width="79"&gt;&lt;strong&gt;
  &lt;/strong&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 81pt;" valign="top" width="108"&gt;Audi A4&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 1.25in;" valign="top" width="120"&gt;Petrol&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 81pt;" valign="top" width="108"&gt;Silver&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 2;"&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext; border-style: none solid solid; border-width: 0px 1pt 1pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 59.4pt;" valign="top" width="79"&gt;2&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 81pt;" valign="top" width="108"&gt;Audi A4&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 1.25in;" valign="top" width="120"&gt;Gazole&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 81pt;" valign="top" width="108"&gt;Red&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 3;"&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext; border-style: none solid solid; border-width: 0px 1pt 1pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 59.4pt;" valign="top" width="79"&gt;3&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 81pt;" valign="top" width="108"&gt;Audi A4&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 1.25in;" valign="top" width="120"&gt;Gazole&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 81pt;" valign="top" width="108"&gt;Blue&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 4;"&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext; border-style: none solid solid; border-width: 0px 1pt 1pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 59.4pt;" valign="top" width="79"&gt;4&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 81pt;" valign="top" width="108"&gt;BMW&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 1.25in;" valign="top" width="120"&gt;Petrol&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 81pt;" valign="top" width="108"&gt;Silver&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 5;"&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext; border-style: none solid solid; border-width: 0px 1pt 1pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 59.4pt;" valign="top" width="79"&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 81pt;" valign="top" width="108"&gt;BMW&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 1.25in;" valign="top" width="120"&gt;Gazole&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 81pt;" valign="top" width="108"&gt;Silver&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 6;"&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext; border-style: none solid solid; border-width: 0px 1pt 1pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 59.4pt;" valign="top" width="79"&gt;6&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 81pt;" valign="top" width="108"&gt;BMW&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 1.25in;" valign="top" width="120"&gt;Gazole&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 81pt;" valign="top" width="108"&gt;Red&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 7; mso-yfti-lastrow: yes;"&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext; border-style: none solid solid; border-width: 0px 1pt 1pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 59.4pt;" valign="top" width="79"&gt;7&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 81pt;" valign="top" width="108"&gt;Mercedes&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 1.25in;" valign="top" width="120"&gt;Gazole&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 81pt;" valign="top" width="108"&gt;Blue&lt;o:p&gt;&lt;/o:p&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;Every column will have it's own sorted dictionary with all distinct values and a bitmap index references the actual values of each item in the column by using a zero-based index to the dictionary.&amp;nbsp;Next table will show the dictionary values&amp;nbsp;and index values.&lt;/span&gt;&lt;br /&gt;
&lt;span style="mso-spacerun: yes;"&gt;&lt;/span&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;"&gt;
 &lt;tbody&gt;
&lt;tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;"&gt;
  &lt;td style="background-color: transparent; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 160.35pt;" valign="top" width="214"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;
&lt;span style="font-family: Calibri;"&gt;Column&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: windowtext windowtext windowtext rgb(0, 0, 0); border-style: solid solid solid none; border-width: 1pt 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 160.35pt;" valign="top" width="214"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;
&lt;span style="font-family: Calibri;"&gt;Dictionary&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: windowtext windowtext windowtext rgb(0, 0, 0); border-style: solid solid solid none; border-width: 1pt 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 160.4pt;" valign="top" width="214"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;
&lt;span style="font-family: Calibri;"&gt;Values&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 1;"&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext; border-style: none solid solid; border-width: 0px 1pt 1pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 160.35pt;" valign="top" width="214"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;
&lt;span style="font-family: Calibri;"&gt;ID&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 160.35pt;" valign="top" width="214"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;
&lt;span style="font-family: Calibri;"&gt;32,23,10,43,57,65,71&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 160.4pt;" valign="top" width="214"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;
&lt;span style="font-family: Calibri;"&gt;2,1,0,3,4,5,6&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 2;"&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext; border-style: none solid solid; border-width: 0px 1pt 1pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 160.35pt;" valign="top" width="214"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;
&lt;span style="font-family: Calibri;"&gt;Car&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 160.35pt;" valign="top" width="214"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;
&lt;span style="font-family: Calibri;"&gt;Audi,BMW,Mercedes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 160.4pt;" valign="top" width="214"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;
&lt;span style="font-family: Calibri;"&gt;0,0,0,1,1,1,2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 3;"&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext; border-style: none solid solid; border-width: 0px 1pt 1pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 160.35pt;" valign="top" width="214"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;
&lt;span style="font-family: Calibri;"&gt;Engine&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 160.35pt;" valign="top" width="214"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;
&lt;span style="font-family: Calibri;"&gt;Petrol, Gazole&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 160.4pt;" valign="top" width="214"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;
&lt;span style="font-family: Calibri;"&gt;0,1,1,0,1,1,1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 4; mso-yfti-lastrow: yes;"&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext; border-style: none solid solid; border-width: 0px 1pt 1pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 160.35pt;" valign="top" width="214"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;
&lt;span style="font-family: Calibri;"&gt;Color&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 160.35pt;" valign="top" width="214"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;
&lt;span style="font-family: Calibri;"&gt;Silver, Red, Blue&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="background-color: transparent; border-color: rgb(0, 0, 0) windowtext windowtext rgb(0, 0, 0); border-style: none solid solid none; border-width: 0px 1pt 1pt 0px; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 160.4pt;" valign="top" width="214"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin: 0in 0in 0pt;"&gt;
&lt;span style="font-family: Calibri;"&gt;0,1,2,0,0,1,2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
As you can see, the dictionary can be the most expansive part of the index. Especially if a high number of distinct values exists in a column. The lower the number of distinct values in a column the smaller the size of dictionary for this column. This will make the value bitmap index more efficient.&lt;br /&gt;
&lt;br /&gt;
The xVelocity engine, which is implemented on Power Pivot, is an in-memory database. This means that it has been designed and optimized assuming that the whole database is loaded in memory. Data is compressed in memory and dynamically uncompressed during each query. Because all data is kept in memory it is essential to be critical which data to import in your Power Pivot sheet. For instance customer data can be useful like, country, state. However street name is not efficient. Every customer will have a unique address which will result in a big dictionary without a low number of distinct values. It will have a high number of distinct values. &lt;br /&gt;
&lt;br /&gt;
Enjoy the power of Power Pivot.&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/oTYldWw26sg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/3173801230071525781/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=3173801230071525781" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/3173801230071525781?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/3173801230071525781?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/oTYldWw26sg/memory-management-in-power-pivot-column.html" title="Memory management in Power Pivot: Column oriented databases." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-YTmlcqhGVb4/US36Q4wjQFI/AAAAAAAABOQ/7cmttwU53HA/s72-c/PowerPivot_RevenueDashboard.PNG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2013/02/memory-management-in-power-pivot-column.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYNQ305eip7ImA9WhBSGEw.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-4542954445164313073</id><published>2013-02-25T18:09:00.000+01:00</published><updated>2013-02-25T18:09:52.322+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-02-25T18:09:52.322+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="sql2012" /><category scheme="http://www.blogger.com/atom/ns#" term="TSQL" /><category scheme="http://www.blogger.com/atom/ns#" term="output" /><category scheme="http://www.blogger.com/atom/ns#" term="generate" /><category scheme="http://www.blogger.com/atom/ns#" term="file" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008" /><category scheme="http://www.blogger.com/atom/ns#" term="XML" /><title>How to create XML with a TSQL query?</title><content type="html">&lt;div align="LEFT"&gt;
In this blog post I will describe how you can generate an XML file using TSQL statements. For instance for data migrations, you need to export data from your SQL database which can be imported via XML in another system. &lt;/div&gt;
&lt;br /&gt;
The solution is really simple. Add ''FOR XML" to your SELECT query.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Example 1:&lt;/strong&gt; &lt;br /&gt;
SELECT res_id, sur_name, first_name&lt;br /&gt;
FROM Humres &lt;br /&gt;
WHERE Res_id &amp;gt; 0 &lt;br /&gt;
FOR XML PATH ('Resource')&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-bFgnEBEId1k/USuNO74fUcI/AAAAAAAABKI/TZRK9POrFZ4/s1600/TSQL-XML1.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="101" src="http://2.bp.blogspot.com/-bFgnEBEId1k/USuNO74fUcI/AAAAAAAABKI/TZRK9POrFZ4/s400/TSQL-XML1.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
The „FOR XML‟ always needs to be completed with the „AUTO‟ or „PATH‟ command:&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;When using „AUTO‟ command every column in the SELECT query will be handled as an attribute in a single element per records.&lt;/li&gt;
&lt;li&gt;When including the „PATH(&amp;lt; path name &amp;gt;)‟ command the XML path can be set. Every records starts with its own parent element having the label as defined in the „PATH‟ command. Every column in the SELECT query will be handled as child element.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
In this example the „PATH‟ command is used since this allows better control.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;strong&gt;Example 2:&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
The next step would be to include custom column names to be used in the XML elements (rather than using „res_id‟, „sur_name‟, etc.) and include the resource number as an attribute in the „Resource‟ element.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
SELECT res_id AS &lt;a href="mailto:'@number'"&gt;'@number'&lt;/a&gt;, &lt;br /&gt;&amp;nbsp;RTRIM(sur_name) AS 'LastName', &lt;br /&gt;&amp;nbsp;RTRIM(first_name) AS 'FirstName'&lt;br /&gt;FROM Humres &lt;br /&gt;WHERE Res_id &amp;gt; 0 &lt;br /&gt;FOR XML PATH ('Resource')&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-88qOk_U6Ejo/USuRbCEjaRI/AAAAAAAABLE/QzczXRJh9Ck/s1600/TSQL-XML2.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="148" src="http://1.bp.blogspot.com/-88qOk_U6Ejo/USuRbCEjaRI/AAAAAAAABLE/QzczXRJh9Ck/s320/TSQL-XML2.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
Explanation:&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Use a „@‟ in the column name results in an attribute&lt;/li&gt;
&lt;li&gt;Including the RTRIM command trims the value (removing the extra spaces at the end of the value).&lt;/li&gt;
&lt;li&gt;In many cases XML is case sensitive. Therefore make sure to use the correct attribute and element names.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;strong&gt;Example 3:&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
A final step in creating a basic XML file would be to include the root element. A root element can be included by simply adding the command „ROOT(&amp;lt; root name &amp;gt;)‟ to the XML command in the SQL query.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
SELECT res_id AS &lt;a href="mailto:'@number'"&gt;'@number'&lt;/a&gt;, &lt;br /&gt;&amp;nbsp;RTRIM(sur_name) AS 'LastName', &lt;br /&gt;&amp;nbsp;RTRIM(first_name) AS 'FirstName'&lt;br /&gt;FROM Humres &lt;br /&gt;WHERE Res_id &amp;gt; 0 &lt;br /&gt;FOR XML PATH ('Resource'), ROOT('Resources')&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;a href="http://3.bp.blogspot.com/-XiQGY3Htv2E/USuSzPWCwNI/AAAAAAAABLM/Tx5sQJWZwf4/s1600/TSQL-XML3.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="163" src="http://3.bp.blogspot.com/-XiQGY3Htv2E/USuSzPWCwNI/AAAAAAAABLM/Tx5sQJWZwf4/s320/TSQL-XML3.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
Please note:&lt;br /&gt;Sometimes a&amp;nbsp;second root element is needed.&amp;nbsp;For instance in Exact &amp;nbsp;(the &lt;eexact&gt; element). Since the XML formatting of SQL queries only allows one root element, this can only be handled by using sub queries (or adding the root element manually to the output file). The use of sub queries will be explained in the following paragraph.&lt;/eexact&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;strong&gt;Example 4&lt;/strong&gt;:&amp;nbsp;Creating child-elements&lt;br /&gt;There are two ways of generating child-elements as part of your parent element (which is defined in the „PATH‟ command and applies to every record).&lt;/div&gt;
&lt;div&gt;
&lt;strong&gt;Example 4.1&lt;/strong&gt; Child elements with 1:1 relationship&lt;br /&gt;The first way can only be used in case there is a 1:1 relationship between the parent element (in our example the resource records) and the child element (in the example below the title record). In this case the child-element can be generated by including the element name in the column names (in the SELECT section):&lt;/div&gt;
&lt;div&gt;
﻿&lt;/div&gt;
&lt;div&gt;
SELECT&lt;br /&gt;h.res_id as &lt;a href="mailto:'@number'"&gt;'@number'&lt;/a&gt;,&lt;br /&gt;RTRIM(h.sur_name) as 'LastName',&lt;br /&gt;RTRIM(h.first_name) as 'FirstName',&lt;br /&gt;RTRIM(p.predcode) as &lt;a href="mailto:'Title/@code'"&gt;'Title/@code'&lt;/a&gt;,&lt;br /&gt;p.aan_oms as 'Title/Description',&lt;br /&gt;p.aanhef as 'Title/Salutation'&lt;br /&gt;FROM humres h&lt;br /&gt;LEFT JOIN pred p ON h.predcode = p.predcode&lt;br /&gt;WHERE res_id &amp;gt; 0&lt;br /&gt;FOR XML PATH('Resource'), ROOT('Resources')&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;a href="http://3.bp.blogspot.com/-Adn-UUL05kg/USuUrs-AFLI/AAAAAAAABMI/4YJeVkZO6Kg/s1600/TSQL-XML4.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="161" src="http://3.bp.blogspot.com/-Adn-UUL05kg/USuUrs-AFLI/AAAAAAAABMI/4YJeVkZO6Kg/s320/TSQL-XML4.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
Explanation:&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;A LEFT JOIN on table „pred‟ has been included to get the prefix data.&lt;/li&gt;
&lt;li&gt;Correlation names „h‟ and „p‟ have been included to easily refer to the correct tables (in this case „humres‟ and „pred‟).&lt;/li&gt;
&lt;li&gt;By including a forward slash (“/”) in the custom column names, a child element can be generated. The child element name needs to be defined on the left side of the forward slash.&lt;/li&gt;
&lt;li&gt;Multiple forward slashed can be used in the column names to use deeper child element levels.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;strong&gt;Example 4.2&lt;/strong&gt; Child elements with 1:N relationship&lt;br /&gt;In case a 1:N relationship exist, such as one customer having multiple contacts, the child elements should be generated based on a sub query which gets all matching records. In our example, using the resources table, the resource is the parent element and the roles are the child elements. The sub query should get all roles linked to the resource and generate the corresponding child elements.&lt;br /&gt;First create the sub query with a XML mark-up to get all roles:&lt;/div&gt;
&lt;div&gt;
SELECT&lt;br /&gt;r.RoleID as &lt;a href="mailto:'@code'"&gt;'@code'&lt;/a&gt;,&lt;br /&gt;r.RoleLevel as &lt;a href="mailto:'@level'"&gt;'@level'&lt;/a&gt;,&lt;br /&gt;rd.Description as 'Description'&lt;br /&gt;FROM humres h2&lt;br /&gt;LEFT JOIN HRRoles r ON h2.res_id = r.EmpID&lt;br /&gt;LEFT JOIN HRRoleDefs rd ON r.RoleID = rd.ID&lt;br /&gt;FOR XML PATH('Role'), ROOT('Roles')&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;a href="http://3.bp.blogspot.com/-f4hneg85TEk/USuXe2Wf0ZI/AAAAAAAABNE/iCegERLyEPc/s1600/TSQL-XML5.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="105" src="http://3.bp.blogspot.com/-f4hneg85TEk/USuXe2Wf0ZI/AAAAAAAABNE/iCegERLyEPc/s320/TSQL-XML5.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;a href="http://3.bp.blogspot.com/-f4hneg85TEk/USuXe2Wf0ZI/AAAAAAAABNE/iCegERLyEPc/s1600/TSQL-XML5.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;div style="text-align: left;"&gt;
&amp;nbsp;&lt;/div&gt;
&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
Explanation:&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;The query gets all resources (humres), linked to roles (hrroles) and the role details (hrroledefs).&lt;/li&gt;
&lt;li&gt;The correlation name for humres is set to h2 since this query will become a sub query in which “h” already exists.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Next, this query needs to be part of the main query. This can be done by including it in the SELECT section of our main query and by making sure the sub query returns only the roles per specific resource.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
SELECT&lt;br /&gt;h.res_id as &lt;a href="mailto:'@number'"&gt;'@number'&lt;/a&gt;,&lt;br /&gt;RTRIM(h.sur_name) as 'LastName',&lt;br /&gt;RTRIM(h.first_name) as 'FirstName',&lt;br /&gt;RTRIM(p.predcode) as &lt;a href="mailto:'Title/@code'"&gt;'Title/@code'&lt;/a&gt;,&lt;br /&gt;p.aan_oms as 'Title/Description',&lt;br /&gt;p.aanhef as 'Title/Salutation',&lt;br /&gt;(&lt;br /&gt;SELECT&lt;br /&gt;r.RoleID as &lt;a href="mailto:'@code'"&gt;'@code'&lt;/a&gt;,&lt;br /&gt;r.RoleLevel as &lt;a href="mailto:'@level'"&gt;'@level'&lt;/a&gt;,&lt;br /&gt;rd.Description as 'Description'&lt;br /&gt;FROM humres h2&lt;br /&gt;LEFT JOIN HRRoles r ON h2.res_id = r.EmpID&lt;br /&gt;LEFT JOIN HRRoleDefs rd ON r.RoleID = rd.ID&lt;br /&gt;WHERE h2.res_id = h.res_id&lt;br /&gt;FOR XML PATH('Role'), ROOT('Roles'), TYPE&lt;br /&gt;)&lt;br /&gt;FROM humres h&lt;br /&gt;LEFT JOIN pred p ON h.predcode = p.predcode&lt;br /&gt;WHERE res_id &amp;gt; 0&lt;br /&gt;FOR XML PATH('Resource'), ROOT('Resources')&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;a href="http://1.bp.blogspot.com/-fU1WWGXV6mU/USuX_aF6b0I/AAAAAAAABNM/LVXIrq9srIU/s1600/TSQL-XML6.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="154" src="http://1.bp.blogspot.com/-fU1WWGXV6mU/USuX_aF6b0I/AAAAAAAABNM/LVXIrq9srIU/s320/TSQL-XML6.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;a href="http://1.bp.blogspot.com/-fU1WWGXV6mU/USuX_aF6b0I/AAAAAAAABNM/LVXIrq9srIU/s1600/TSQL-XML6.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;div style="text-align: left;"&gt;
&amp;nbsp;&lt;/div&gt;
&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
Explanation:&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;In the WHERE section of the sub query the filter „h2.res_id = h.res_id‟ has been added to make sure only the roles per user are taken.&lt;/li&gt;
&lt;li&gt;In the FOR XML section the command „TYPE‟ has been added. If left out, the query result of the sub query will be alphanumeric (varchar) instead of XML. This means, with the „TYPE‟, the sub query result will be printed as a text/string.&lt;/li&gt;
&lt;li&gt;Note that in this case it is “legal” to have multiple records and fields coming from a sub query. In standard (non-XML) SELECT queries having a sub query in the SELECT should only result in one record and field.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Example 5. XML file format&lt;/div&gt;
&lt;div&gt;
When running a SELECT query with XML commands, the XML output is in „Unicode (UTF-8)‟ coding by default:&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;a href="http://4.bp.blogspot.com/-s4mZ-ZqFX7Q/USuY8BbabcI/AAAAAAAABNU/00Uu0pmnlOw/s1600/TSQL-XML7.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="80" src="http://4.bp.blogspot.com/-s4mZ-ZqFX7Q/USuY8BbabcI/AAAAAAAABNU/00Uu0pmnlOw/s320/TSQL-XML7.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;a href="http://4.bp.blogspot.com/-s4mZ-ZqFX7Q/USuY8BbabcI/AAAAAAAABNU/00Uu0pmnlOw/s1600/TSQL-XML7.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;div style="text-align: left;"&gt;
&amp;nbsp;&lt;/div&gt;
&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
When saving the output file, the file format will be using this encoding. Therefore, make sure to select the correct encoding type supported by the target application. (One of) the encoding type supported by Exact is „Western European (Windows)‟.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
Enjoy it to create your own XML files via TSQL.&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/Sh8PIpee9ew" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/4542954445164313073/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=4542954445164313073" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/4542954445164313073?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/4542954445164313073?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/Sh8PIpee9ew/how-to-create-xml-with-tsql-query.html" title="How to create XML with a TSQL query?" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-bFgnEBEId1k/USuNO74fUcI/AAAAAAAABKI/TZRK9POrFZ4/s72-c/TSQL-XML1.PNG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2013/02/how-to-create-xml-with-tsql-query.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0UNQnc7cCp7ImA9WhNbGE0.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-1813705574936322014</id><published>2013-01-21T21:41:00.000+01:00</published><updated>2013-01-21T21:48:13.908+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-01-21T21:48:13.908+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="user experience" /><category scheme="http://www.blogger.com/atom/ns#" term="cockpit" /><category scheme="http://www.blogger.com/atom/ns#" term="Business Intelligence" /><category scheme="http://www.blogger.com/atom/ns#" term="design tips" /><category scheme="http://www.blogger.com/atom/ns#" term="charts" /><category scheme="http://www.blogger.com/atom/ns#" term="bi" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS" /><category scheme="http://www.blogger.com/atom/ns#" term="figures" /><category scheme="http://www.blogger.com/atom/ns#" term="design rules" /><category scheme="http://www.blogger.com/atom/ns#" term="dashboard" /><title>Design tips for My favorite dashboard.</title><content type="html">Dashboards are very popular way to display data. Other popular names are (performance) cockpits. Sometimes I see dashboards for which I think, which vision is used to build such a bad dashboard. If you start building a dashboard without a vision it will end up in a dashboard which maybe looks nice as a first impression, but is useless on a daily basis. In this&amp;nbsp;blog post&amp;nbsp;I will describe my vision how you should build a useful&amp;nbsp;dashboard. First of all I will start with 2 examples of a dashboard. Both will show the same information. The only difference is the presentation of the data. Examples are the best way to explain.&lt;br /&gt;
Let's start with a dashboard in which a lot of improvements can be made:&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-en-QVoqkxp8/UP2WG9vVPRI/AAAAAAAABHM/Jh49mTtG4U8/s1600/Sales+Dashboard+Wrong.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://3.bp.blogspot.com/-en-QVoqkxp8/UP2WG9vVPRI/AAAAAAAABHM/Jh49mTtG4U8/s400/Sales+Dashboard+Wrong.PNG" width="338" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
Now the same information in presented in a better way:&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-E1ZCMdkE8aY/UP2WNszovkI/AAAAAAAABHU/O6buW4YqFNg/s1600/Sales+Dashboard+Better.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://3.bp.blogspot.com/-E1ZCMdkE8aY/UP2WNszovkI/AAAAAAAABHU/O6buW4YqFNg/s400/Sales+Dashboard+Better.PNG" width="342" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
I will comment on the dashboard which can be improved. In general one rule can be applied:&amp;nbsp;&lt;span style="text-align: center;"&gt;&lt;span style="color: red;"&gt;Keep in mind. Less is better.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;span style="font-size: x-large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-6A_wMnEcmeg/UP2pUAz5R0I/AAAAAAAABJM/ZOYKZJhicOg/s1600/Sales+Dashboard+Wrong2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/-6A_wMnEcmeg/UP2pUAz5R0I/AAAAAAAABJM/ZOYKZJhicOg/s400/Sales+Dashboard+Wrong2.PNG" width="343" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style="font-size: x-large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Report title in big font and printed Bold. Goal of the dashboard is to show attention to the figures not to the title.&lt;/li&gt;
&lt;li&gt;Gray background in the report. This is visual fluff. The gray color has no function. Keep in mind. Less is better.&lt;/li&gt;
&lt;li&gt;Axe values. A lot of zero's is expensive space and is difficult to read. It will make the bar chart it self smaller. We read with our brains. Is the axis value 200.000 or 2 million?&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Red color of the bar chart. Is something wrong? Colors have a function. Red is a color to grab attention that something is wrong (STOP). In this example nothing is wrong. Revenue is better than previous year.&lt;/li&gt;
&lt;li&gt;3D graph. A dashboard is not a painting. The dashboard is used in a business environment. Not in a gallery. Always use 2D graphs. They are easier to read and understand. For example: What is the value for period 2 of previous year?&lt;/li&gt;
&lt;li&gt;Aqua color with gradient style center.&amp;nbsp;This is visual fluff.&amp;nbsp;Keep in mind. Less is better.&lt;/li&gt;
&lt;li&gt;Legend takes a lot of valuable space which result in a smaller bar chart. It's not the legend but the chart which need to most space.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Numbers should not be center-justified in the columns. Right-justified is easier to compare when scanning up and down a column.&lt;/li&gt;
&lt;li&gt;Use&amp;nbsp;grid lines&amp;nbsp;carefully. Keep in mind. Less is better.&lt;/li&gt;
&lt;li&gt;Matrix header in bigger font, printed bold on a colored background. One way of visualization is enough to&amp;nbsp;emphasize difference between the lines. Using a list level for other lines will show difference between header and&amp;nbsp;sub-lines. Keep in mind. Less is better.&lt;/li&gt;
&lt;li&gt;Underline the header. This is useless.&amp;nbsp;Keep in mind. Less is better.&lt;/li&gt;
&lt;li&gt;Repeating currency symbol. One currency symbol is enough. Is will save value space in every column.&lt;/li&gt;
&lt;li&gt;Hyperlink to other report is printed in the same font color. Use a other color for hyperlinks, so the user can see that a hyperlink to another report is available.&lt;/li&gt;
&lt;li&gt;Remove the border of the bar chart.&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
Some more remarks to take into account during the design of your dashboard.&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;A dashboard is used on a daily basis. Display only data which needs your attention, so you can take action to improve. Report the KPI's which needs improvement. The dashboard need to help you to achieve your goal. Data content which will not change overtime is use less on a daily used dashboard.&lt;/li&gt;
&lt;li&gt;We do not see with our eyes, we see with our brains. Content on the dashboard should be clear to understand.&amp;nbsp;If people need to think about what they see, you need to change the visualization of your information.&lt;/li&gt;
&lt;li&gt;A dashboard should fit on one screen. Avoid scrolling bars. With scrolling bars, it can happen that something that needs your attention (RED) is outside your screen.&lt;/li&gt;
&lt;li&gt;Do not use shadows. It is visual fluff with no meaning.&lt;/li&gt;
&lt;li&gt;Do not use logo's and pictures. It is wasting your valuable space. If needed make it&amp;nbsp;small&amp;nbsp;and place it somewhere out of the way.&lt;/li&gt;
&lt;li&gt;What do you want to show or compare? Based on this&amp;nbsp;select&amp;nbsp;the&amp;nbsp;best visualization&amp;nbsp;for it. See : &lt;a href="http://www.keepitsimpleandfast.com/2012/07/which-visualizations-should-i-use-in-my.html"&gt;http://www.keepitsimpleandfast.com/2012/07/which-visualizations-should-i-use-in-my.html&lt;/a&gt;&amp;nbsp;For example using a pie chart to compare 2 values can be&amp;nbsp;useful&amp;nbsp; However it can take a lot of&amp;nbsp;useful&amp;nbsp;space. Do not use is to compare multiple values especially if you do not know how many values you need to compare. A bar chart is better in this situation.&lt;/li&gt;
&lt;li&gt;Display&amp;nbsp;consolidated information, summaries or exceptions. Do not display details. Details&amp;nbsp;are used in slice and dice reports to explain the consolidated information, summaries or exceptions.&lt;/li&gt;
&lt;li&gt;Put data which is relevant to each other, close together.&lt;/li&gt;
&lt;li&gt;Use a gray color for your fonts instead of black.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Enjoy it to build dashboards to deliver a good user experience for your users.&amp;nbsp;&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/wtPx564dQus" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/1813705574936322014/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=1813705574936322014" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/1813705574936322014?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/1813705574936322014?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/wtPx564dQus/design-tips-for-my-favorite-dashboard.html" title="Design tips for My favorite dashboard." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-en-QVoqkxp8/UP2WG9vVPRI/AAAAAAAABHM/Jh49mTtG4U8/s72-c/Sales+Dashboard+Wrong.PNG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2013/01/design-tips-for-my-favorite-dashboard.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkAGSHo7eip7ImA9WhNbEk4.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-2756540518858849241</id><published>2013-01-14T19:50:00.000+01:00</published><updated>2013-01-15T08:25:29.402+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-01-15T08:25:29.402+01:00</app:edited><title>Display last refresh time in Power Pivot</title><content type="html">With Power Pivot, you can start analyzing your data off-line. After importing the data you do not need a database connection anymore. A lot of people want to know the date of the last time that the Power Pivot data is refreshed. You can do this in the following way:&lt;br /&gt;
Add a tab (LastDataRefreshTime) to the Power Pivot window and use next query:&lt;br /&gt;
&lt;br /&gt;
SELECT GETDATE() AS LastDataRefreshTime&lt;br /&gt;
&lt;br /&gt;
After adding the tab to the Power Pivot Window, one record&amp;nbsp;is added in this sheet.&amp;nbsp;This record can be used in you Power Pivot Sheets.&lt;br /&gt;
&lt;br /&gt;
Select the tab in your Excel sheet on which you want to add this LastDataRefreshTime. &lt;br /&gt;
Add a Pivot table and select LastDataRefreshTime from the PowerPivot Field List.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-A97DpEt9z_U/UPAmE7eSbKI/AAAAAAAABGI/e0ELW2g2W7o/s1600/PowerPivot_LastRefreshDate.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="118" src="http://2.bp.blogspot.com/-A97DpEt9z_U/UPAmE7eSbKI/AAAAAAAABGI/e0ELW2g2W7o/s400/PowerPivot_LastRefreshDate.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
By default the measure is added as a SUM. Change this to MAX.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-1de9pJTFlkk/UPAmc2HdOCI/AAAAAAAABGQ/ltLpU7m0JhE/s1600/PowerPivot_LastRefreshDate2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="182" src="http://2.bp.blogspot.com/-1de9pJTFlkk/UPAmc2HdOCI/AAAAAAAABGQ/ltLpU7m0JhE/s320/PowerPivot_LastRefreshDate2.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
The last data refresh time will now be displayed in your sheet.&lt;br /&gt;
Enjoy the Power of Power Pivot.&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/R5Wg8SqTrQw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/2756540518858849241/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=2756540518858849241" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/2756540518858849241?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/2756540518858849241?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/R5Wg8SqTrQw/display-last-refresh-time-in-power-pivot.html" title="Display last refresh time in Power Pivot" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-A97DpEt9z_U/UPAmE7eSbKI/AAAAAAAABGI/e0ELW2g2W7o/s72-c/PowerPivot_LastRefreshDate.PNG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2013/01/display-last-refresh-time-in-power-pivot.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEAQXkyfCp7ImA9WhNUGUw.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-2994055430536252018</id><published>2013-01-11T15:30:00.002+01:00</published><updated>2013-01-11T15:30:40.794+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-01-11T15:30:40.794+01:00</app:edited><title>Exception from HRESULT: 0x800A03EC during starting Power View in Office 2013</title><content type="html">In Office 2013 you can enable Power Pivot and Power View. After opening a Power Pivot sheet you can start using Power View. Power View&amp;nbsp;can be found in the Insert Ribbon of Office 2013.&lt;br /&gt;
&lt;br /&gt;
After pressing the Power View icon&amp;nbsp;next error can occur: &lt;br /&gt;
Exception from HRESULT: 0x800A03EC&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-nsvN5ymSbFo/UPAhVICV0pI/AAAAAAAABFE/tOZWfuFmy3Y/s1600/PowerPivotUpgrade2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="254" src="http://2.bp.blogspot.com/-nsvN5ymSbFo/UPAhVICV0pI/AAAAAAAABFE/tOZWfuFmy3Y/s320/PowerPivotUpgrade2.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
This error can occur in next situation:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;You have created a Power Pivot sheet with Power Pivot version 11.1.3000 in Office 2010.&lt;/li&gt;
&lt;li&gt;You opened this Power Pivot sheet in Office 2013.&lt;/li&gt;
&lt;li&gt;You press the Power View button in the Insert Ribbon of Office 2013.&lt;/li&gt;
&lt;/ul&gt;
Solution: Upgrade your Power Pivot datamodel&amp;nbsp;to datamodel of PowerPivot for Excel 201. To do this follow next steps:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Open the Power Pivot sheet Version (11.1.3000) in Office 2013.&lt;/li&gt;
&lt;li&gt;Select the Power Pivot in the Ribbon.&lt;/li&gt;
&lt;li&gt;Press the Manage Data Model button in the&amp;nbsp; Power Pivot Ribbon.&lt;/li&gt;
&lt;li&gt;You will get next message:&amp;nbsp; This workbook has a Power Pivot data model created using a previous version of the PowerPivot add-in. You'll need to upgrade this data model with PowerPivot for Excel 2013.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-kcbq_tLtkzU/UPAhcWSoXJI/AAAAAAAABFM/bqnso0msKUQ/s1600/PowerPivotUpgrade1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="88" src="http://4.bp.blogspot.com/-kcbq_tLtkzU/UPAhcWSoXJI/AAAAAAAABFM/bqnso0msKUQ/s640/PowerPivotUpgrade1.PNG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Press OK&lt;/li&gt;
&lt;li&gt;Start the upgrades of your Power Pivot model. &lt;/li&gt;
&lt;li&gt;After upgrading successfully, you can press the Power View button to start using Power View.&lt;/li&gt;
&lt;/ul&gt;
Enjoy the Power of Power View.&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/dVaqJtqhjH0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/2994055430536252018/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=2994055430536252018" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/2994055430536252018?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/2994055430536252018?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/dVaqJtqhjH0/exception-from-hresult-0x800a03ec.html" title="Exception from HRESULT: 0x800A03EC during starting Power View in Office 2013" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-nsvN5ymSbFo/UPAhVICV0pI/AAAAAAAABFE/tOZWfuFmy3Y/s72-c/PowerPivotUpgrade2.PNG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2013/01/exception-from-hresult-0x800a03ec.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEUDQ3w8fSp7ImA9WhNUGU8.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-2140625572941658263</id><published>2012-12-13T18:26:00.001+01:00</published><updated>2013-01-11T17:37:52.275+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-01-11T17:37:52.275+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="support" /><category scheme="http://www.blogger.com/atom/ns#" term="reporting services" /><category scheme="http://www.blogger.com/atom/ns#" term="iPad" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2012 SP1" /><category scheme="http://www.blogger.com/atom/ns#" term="sql 2012" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server" /><category scheme="http://www.blogger.com/atom/ns#" term="iphone" /><category scheme="http://www.blogger.com/atom/ns#" term="apple" /><title>SSRS reports on the IPad or IPhone has been improved since SQL 2012 SP1</title><content type="html">Almost 2 years ago I wrote a &lt;a href="http://www.keepitsimpleandfast.com/2011/02/viewing-reporting-service-reports-ssrs.html" target="_blank"&gt;blogpost&lt;/a&gt; about SQL Server Reporting Service (SSRS) Reports&amp;nbsp;on the IPad or IPhone. I was the first time you could display SSRS reports on the IPad. Unfortunatly not everything was rendered in a correct way. In&amp;nbsp;SQL Server 2012 SP1 this has been improved.&lt;br /&gt;
&lt;br /&gt;
Here is an example of a report in SQL 2008 R2&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-CSs-13lz8hI/UMoICFfBecI/AAAAAAAABDY/p8uqY_5bON4/s1600/IpadSSRS2008R2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="335" src="http://3.bp.blogspot.com/-CSs-13lz8hI/UMoICFfBecI/AAAAAAAABDY/p8uqY_5bON4/s400/IpadSSRS2008R2.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;﻿&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&amp;nbsp;Here is an example of the same report in SQL 2012 SP1&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-5-zob4t25IM/UMoIxkE4C2I/AAAAAAAABDg/1tTeI2M2RW8/s1600/IpadSSRS2012.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="333" src="http://3.bp.blogspot.com/-5-zob4t25IM/UMoIxkE4C2I/AAAAAAAABDg/1tTeI2M2RW8/s400/IpadSSRS2012.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;As you can see, the strange Blue Question marks are gone.&lt;br /&gt;
&lt;br /&gt;
Starting with SQL 2012 Service Pack 1 (SP1), Reporting Services supports viewing and basic interactivity with reports on Apple iOS devices like IPad en Iphone, with the Apple Safari browser. &lt;br /&gt;
Viewing reports in Report Manager (&lt;a href="http://myserver/reportserver"&gt;http://myserver/reportserver&lt;/a&gt;) is not suppported. You need to start the reports from the report server via &lt;a href="http://myserver.reports/"&gt;http://myserver.reports&lt;/a&gt;. Here you can browse to the report and tape the report name to open the report. After opening the report yiu can see that the Export to PDF and TIFF file is supported. More information about the support for Apple iOS devices on SSRS can be found &lt;a href="http://msdn.microsoft.com/en-us/library/jj659023.aspx" target="_blank"&gt;here&lt;/a&gt;. &lt;br /&gt;
For a video of using SSRS on your Ipad please see:&lt;br /&gt;
&lt;br /&gt;
&lt;script src="http://technet.microsoft.com/en-us/videoembed/jj873792" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/3LrNfy-VM8w" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/2140625572941658263/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=2140625572941658263" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/2140625572941658263?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/2140625572941658263?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/3LrNfy-VM8w/ssrs-reports-on-ipad-or-iphone-has-been.html" title="SSRS reports on the IPad or IPhone has been improved since SQL 2012 SP1" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-CSs-13lz8hI/UMoICFfBecI/AAAAAAAABDY/p8uqY_5bON4/s72-c/IpadSSRS2008R2.PNG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2012/12/ssrs-reports-on-ipad-or-iphone-has-been.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYCSHs4eCp7ImA9WhNXFUg.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-7221841273116445201</id><published>2012-12-03T17:46:00.000+01:00</published><updated>2012-12-03T17:46:09.530+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-12-03T17:46:09.530+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Power Pivot for Excel" /><category scheme="http://www.blogger.com/atom/ns#" term="grey" /><category scheme="http://www.blogger.com/atom/ns#" term="Excel" /><category scheme="http://www.blogger.com/atom/ns#" term="selectable" /><category scheme="http://www.blogger.com/atom/ns#" term="PowerPivot" /><category scheme="http://www.blogger.com/atom/ns#" term="PowerPivot Field List" /><category scheme="http://www.blogger.com/atom/ns#" term="grayed" /><title>PowerPivot fieldlist is grey and not selectable</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-9eE6jv9nJYs/ULzV5YQMFHI/AAAAAAAABCI/s9o13rhM6sg/s1600/PowerPivot_GrayedFieldlist.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="95" src="http://2.bp.blogspot.com/-9eE6jv9nJYs/ULzV5YQMFHI/AAAAAAAABCI/s9o13rhM6sg/s400/PowerPivot_GrayedFieldlist.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Sometimes my PowerPivot field list is grey and can't be selected. It can happen when you are busy in an&amp;nbsp;existing PowerPivot sheet. It looks like a bug because a restart of Excel solved my situation.&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Save your Power Pivot Sheet&lt;/li&gt;
&lt;li&gt;Close all other Excel sheets&lt;/li&gt;
&lt;li&gt;Close Excel&lt;/li&gt;
&lt;li&gt;Check in task manager if Excel.exe is not running&lt;/li&gt;
&lt;li&gt;If Excel.exe is still running, kill this task&lt;/li&gt;
&lt;li&gt;Start Excel&lt;/li&gt;
&lt;li&gt;Open your Power Pivot sheet&lt;/li&gt;
&lt;li&gt;Click on a graph and you should be able to select the Field list.&lt;/li&gt;
&lt;/ul&gt;
Unfortunatly, is is not clear when and how this happens. I'm using Power Pivot version 11.0.3000.0&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/n1PbHoQg-2k" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/7221841273116445201/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=7221841273116445201" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/7221841273116445201?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/7221841273116445201?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/n1PbHoQg-2k/powerpivot-fieldlist-is-grey-and-not.html" title="PowerPivot fieldlist is grey and not selectable" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-9eE6jv9nJYs/ULzV5YQMFHI/AAAAAAAABCI/s9o13rhM6sg/s72-c/PowerPivot_GrayedFieldlist.PNG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2012/12/powerpivot-fieldlist-is-grey-and-not.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkQGQH08eSp7ImA9WhNQFE8.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-5118106009806878452</id><published>2012-11-20T15:02:00.000+01:00</published><updated>2012-11-20T15:05:21.371+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-11-20T15:05:21.371+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Power Pivot for Excel" /><category scheme="http://www.blogger.com/atom/ns#" term="pivotTable" /><category scheme="http://www.blogger.com/atom/ns#" term="error" /><category scheme="http://www.blogger.com/atom/ns#" term="fit" /><category scheme="http://www.blogger.com/atom/ns#" term="PowerPivot" /><title>Power Pivot: The PivotTable report will not fit on sheet.</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-PAPFw46RV2o/UKuMRY1ICqI/AAAAAAAAA_U/XQAupVIqAMQ/s1600/Pivottable+report+will+not+fit+on+the+sheet.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="106" src="http://1.bp.blogspot.com/-PAPFw46RV2o/UKuMRY1ICqI/AAAAAAAAA_U/XQAupVIqAMQ/s400/Pivottable+report+will+not+fit+on+the+sheet.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
During the refresh of data in an Excel Power Pivot next error can occur: &lt;br /&gt;
&lt;br /&gt;
The PivotTable report will not fit on the sheet. Do you want to show as much as possible?&lt;br /&gt;
&lt;br /&gt;
In the past I created&amp;nbsp;an Excel Power Pivot file with&amp;nbsp;multiple sheets. On every sheet one or more pivots or pivot charts are defined. Big question for me: On which sheet does this error occur? Current error message is to general. It does not tell on which sheet the error occurs. After a while I found the root cause of this problem. In the past I&amp;nbsp;made a Pivot chart on some data. The datasheet of this Power Pivot Chart was hidden. Later on I deleted the sheet with the Pivot Chart. The datasheet is not automatically deleted. In this situation the datasheet was still availabel as hidden sheet. I unhide the sheet. When I looked to the data, it contains a big amount of columns.&amp;nbsp; (Over 256 columns). This sheet with more than 256 column is the root cause of this error. Because the initial Pivot chart sheet was already deleled, I deleted the datasheet. After deleting the datasheet, I was able to refresh all data in my Power Pivot sheet.&lt;br /&gt;
&lt;br /&gt;
Solution: check all datasheets in your Power Pivot sheet for pivots with more than 256 columns.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/wnNfZTI6BL8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/5118106009806878452/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=5118106009806878452" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/5118106009806878452?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/5118106009806878452?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/wnNfZTI6BL8/power-pivot-pivottable-report-will-not.html" title="Power Pivot: The PivotTable report will not fit on sheet." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-PAPFw46RV2o/UKuMRY1ICqI/AAAAAAAAA_U/XQAupVIqAMQ/s72-c/Pivottable+report+will+not+fit+on+the+sheet.PNG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2012/11/power-pivot-pivottable-report-will-not.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMFRHozfip7ImA9WhNTFU0.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-8943070733491852367</id><published>2012-10-17T21:50:00.000+02:00</published><updated>2012-10-17T21:50:15.486+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-10-17T21:50:15.486+02:00</app:edited><title>The alternative for Zipping your SQL backups. Save download and restore time.</title><content type="html">&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-lDzzHb6Z8Gk/UH8G9Qi6hBI/AAAAAAAAA58/rKbcew2jwDI/s1600/Compress-Images.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" nea="true" src="http://2.bp.blogspot.com/-lDzzHb6Z8Gk/UH8G9Qi6hBI/AAAAAAAAA58/rKbcew2jwDI/s320/Compress-Images.jpg" width="255" /&gt;&lt;/a&gt;&lt;/div&gt;
Sometimes you need a SQL database backup to analyze. To minimize the download time people compress the SQL database backup with&amp;nbsp;tools like WINZIP, WINRAR, 7ZIP, ARJ etc...... This is nice but there is a more efficient way.&amp;nbsp;First of all, I will explain the download and restore process of&amp;nbsp;a WINZip backup. &lt;br /&gt;
You need to uncompress the database backup file before you can start the restore process it self. Example: you receive a SQL database backup of 50 Gb which is compressed to 5 GB. To restore this database, you need much more diskspace: &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;5 Gb for the zip file&lt;/li&gt;
&lt;li&gt;50 Gb for the backup file&lt;/li&gt;
&lt;li&gt;50 Gb for the restored database. (assume their is no empty space in the database)&lt;/li&gt;
&lt;/ul&gt;
In total 105 Gb of diskspace is needed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The more efficient way. Use the Backup compression feature. Backup time is much faster because less disk IO is needed to write the backup file. A compressed backup file can be restored without a seperate uncompress proces. This will save a lot of disk space.&amp;nbsp;In the previous example 50 Gb because you do not need to uncompress the WINZIP file. You will receive a 5Gb database which you can&amp;nbsp;directly restore to the 50 GB database file(s).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-lRuiTdZq7jU/UH8HN6pHQ9I/AAAAAAAAA6E/2RMNEo-XDEs/s1600/SQLCompressBackup.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="361" nea="true" src="http://3.bp.blogspot.com/-lRuiTdZq7jU/UH8HN6pHQ9I/AAAAAAAAA6E/2RMNEo-XDEs/s400/SQLCompressBackup.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
In the option tab of the Backup database window you will find at the buttom the Set backup compression option. By default it is set to Use the default server setting. You can change this to Compress backup.&lt;br /&gt;
&lt;br /&gt;
On server level you can change the default compression setting to compressed. Retrieve the server properties of the SQL server. Select&amp;nbsp;the&amp;nbsp;Database Settings property. Check&amp;nbsp;the Compress backup checkbox. &lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-y3OSYSkq-Nk/UH8IWoeirCI/AAAAAAAAA6M/IffHBlqu3rM/s1600/SQL+Compress+serversetting.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="277" nea="true" src="http://4.bp.blogspot.com/-y3OSYSkq-Nk/UH8IWoeirCI/AAAAAAAAA6M/IffHBlqu3rM/s400/SQL+Compress+serversetting.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
As of now every SQL backup will be compressed.&lt;br /&gt;
&lt;br /&gt;
By default, compression significantly increases CPU usage, and the additional CPU consumed by the compression process might adversely impact concurrent operations. Backup compression was introduced in SQL Server 2008 Enterprise. Beginning in SQL Server 2008 R2, backup compression is supported by SQL Server 2008 R2 Standard and all higher editions. Every edition of SQL Server 2008 and later can restore a compressed backup. &lt;br /&gt;
&lt;br /&gt;
More information can be found &lt;a href="http://www.keepitsimpleandfast.com/2010/04/backup-compression-in-sql-server-2008.html" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/UKH--RCQnmM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/8943070733491852367/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=8943070733491852367" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/8943070733491852367?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/8943070733491852367?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/UKH--RCQnmM/the-alternative-for-zipping-your-sql.html" title="The alternative for Zipping your SQL backups. Save download and restore time." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-lDzzHb6Z8Gk/UH8G9Qi6hBI/AAAAAAAAA58/rKbcew2jwDI/s72-c/Compress-Images.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2012/10/the-alternative-for-zipping-your-sql.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUMSHc-cSp7ImA9WhNTEkQ.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-1631557319973154519</id><published>2012-10-15T11:28:00.000+02:00</published><updated>2012-10-15T11:28:09.959+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-10-15T11:28:09.959+02:00</app:edited><title>SQl 2008 R2 Setup fails: ExecuteStandardTimingsWorkflow</title><content type="html">I tried to install SQL 2008 R2 Enterprise Edition X64 on my laptop which has a brand new image of Windows 7. All Windows updates are installed. I started the setup of SQl 2008 R2 from the root of my installation DVD. I run the setup with the option 'Run as Administrator'. During the Setup Support Files, the setup progress hangs on: ExecuteStandardTimingsWorkflow. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-Le1BYjd7aRE/UHvVAeOEJSI/AAAAAAAAA3I/WX8tabmfzUs/s1600/SQL1008R2setupfail1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="228" nea="true" src="http://3.bp.blogspot.com/-Le1BYjd7aRE/UHvVAeOEJSI/AAAAAAAAA3I/WX8tabmfzUs/s320/SQL1008R2setupfail1.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
After a while next error while occur: Error writing to file: X86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4027_xww_e69378d0.cat Verify that you have access to that directory.&lt;br /&gt;
&lt;br /&gt;
Big question: Which directory?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-siqr97J0Cz8/UHvVujBkMDI/AAAAAAAAA3Q/JFLsOTeg6QI/s1600/SQL1008R2setupfail2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="97" nea="true" src="http://4.bp.blogspot.com/-siqr97J0Cz8/UHvVujBkMDI/AAAAAAAAA3Q/JFLsOTeg6QI/s320/SQL1008R2setupfail2.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Solution: Your installation DVD is corrupt. Take&amp;nbsp;another installation DVD to complete succesfully the&amp;nbsp;setup of SQL Server 2008 R2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/S1pjr_DmX3c" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/1631557319973154519/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=1631557319973154519" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/1631557319973154519?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/1631557319973154519?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/S1pjr_DmX3c/sql-2008-r2-setup-fails.html" title="SQl 2008 R2 Setup fails: ExecuteStandardTimingsWorkflow" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-Le1BYjd7aRE/UHvVAeOEJSI/AAAAAAAAA3I/WX8tabmfzUs/s72-c/SQL1008R2setupfail1.PNG" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2012/10/sql-2008-r2-setup-fails.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkAHQHg-fSp7ImA9WhJbEk4.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-6279152087981895968</id><published>2012-09-21T16:45:00.001+02:00</published><updated>2012-09-21T16:45:31.655+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-09-21T16:45:31.655+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="time dimension" /><category scheme="http://www.blogger.com/atom/ns#" term="PowerPivot" /><category scheme="http://www.blogger.com/atom/ns#" term="script" /><title>Script to generate a time dimension table to use in Power Pivot.</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-TZOJFZvJK4U/UFx8hG7uKUI/AAAAAAAAA1o/GD2vAITc6vk/s1600/Clock..jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://1.bp.blogspot.com/-TZOJFZvJK4U/UFx8hG7uKUI/AAAAAAAAA1o/GD2vAITc6vk/s200/Clock..jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In SQL Server 2012 Power Pivot a new feature is introduced. You can Mark as Date Table. This will enable you to leverage date filtering in Excel. For instance, you can see the revenue totals grouped by different date groupings. For instance per week number, per month, week day number etc. To use this feature you need to have a Time Dimension table.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Create a time dimension table.&amp;nbsp; (See later in this blog how to do)&lt;/li&gt;
&lt;li&gt;Mark this table as Date table. &lt;/li&gt;
&lt;li&gt;Link from your Revenue table the column invoicedate to the key of the Time Dimension table.&lt;/li&gt;
&lt;/ul&gt;
Now you are ready to use this feature.&lt;br /&gt;
&lt;br /&gt;
To create a Time dimension table you can a script (GlobeBI_DimTime.SQL)&amp;nbsp;which can be downloaded from&lt;a href="https://skydrive.live.com/?cid=c5068f78fa13e055&amp;amp;id=C5068F78FA13E055%211982" target="_blank"&gt; here&lt;/a&gt;. At the end of the script you can specify the start date and end date of the Time dimension entries.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INSERT INTO &lt;span style="color: black;"&gt;Dimtime&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;br /&gt;&lt;span style="font-family: inherit;"&gt;
SELECT &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;*&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;FROM&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; dbo&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;F_TABLE_DATE&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'20000101'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'20201231'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
In the script Date entries are created from 1 Januari 2000 up to 31 December 2020.&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/lpbGQh6hW1U" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/6279152087981895968/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=6279152087981895968" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/6279152087981895968?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/6279152087981895968?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/lpbGQh6hW1U/script-to-generate-time-dimension-table.html" title="Script to generate a time dimension table to use in Power Pivot." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-TZOJFZvJK4U/UFx8hG7uKUI/AAAAAAAAA1o/GD2vAITc6vk/s72-c/Clock..jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2012/09/script-to-generate-time-dimension-table.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04GRXgyeCp7ImA9WhJXFEw.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-1880891593237200931</id><published>2012-08-08T09:45:00.000+02:00</published><updated>2012-08-08T09:45:24.690+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-08-08T09:45:24.690+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="sql" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="dynamic data source" /><category scheme="http://www.blogger.com/atom/ns#" term="multiple databases" /><category scheme="http://www.blogger.com/atom/ns#" term="datasource" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS" /><category scheme="http://www.blogger.com/atom/ns#" term="change datasource" /><title>How to use Dynamic data sources in your SSRS report.</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-J1MyjaNqn4k/UCIXoGMyY7I/AAAAAAAAA00/fqiF-YZ3cS8/s1600/IMG_9737.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="213" src="http://1.bp.blogspot.com/-J1MyjaNqn4k/UCIXoGMyY7I/AAAAAAAAA00/fqiF-YZ3cS8/s320/IMG_9737.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
You can have situations in which your report should be executed on multiple databases. The user should be able to select the desired database on which the report should run.&amp;nbsp;In this blog post I will explain how you can do this.&lt;br /&gt;
To be able to select to different database you need to make use of a&amp;nbsp;dynamic data source. A data source makes use of a connection string. It is possible to pass the connection string of a data source as an expression. By using an expression, you can make use of parameter values to pass the servername and database name to the connection string. There is only one restriction of a dynamic data source. The data source should be embedded within the report.&amp;nbsp;It can not&amp;nbsp;be implemented with a shared data source. In this blogpost I will use a second database in which I retrieve the available SQL server\databases on which my reports should be executed.&lt;br /&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Open your report&lt;/li&gt;
&lt;li&gt;Add 2 report parameters &lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;ServerName&lt;/li&gt;
&lt;li&gt;DatabaseName&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Add datasource named: DynamicDataSource. Use the a 'hard coded' connection string. For instance: 
&amp;nbsp;Data Source=MySQLServer1;Initial Catalog=MyDatabase1.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-ySh41Ig3vIs/UCISUE2b9lI/AAAAAAAAA0U/oUheEiPa8e8/s1600/SSRSDynamicDatasource2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-ySh41Ig3vIs/UCISUE2b9lI/AAAAAAAAA0U/oUheEiPa8e8/s1600/SSRSDynamicDatasource2.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Add&amp;nbsp;datasource to the database with all SQL Server\databases. In my example named: Synergy&lt;/li&gt;
&lt;li&gt;Add a embedded dataset to retrieve SQL Server and Database information.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-iMtRqlJndLc/UCIR47Gi7JI/AAAAAAAAA0M/s0eFNclKBLI/s1600/SSRSDynamicDatasource1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="250" src="http://3.bp.blogspot.com/-iMtRqlJndLc/UCIR47Gi7JI/AAAAAAAAA0M/s0eFNclKBLI/s320/SSRSDynamicDatasource1.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Configure the available values for the report parameters: ServerName and DatabaseName.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-yXFk3n1wU88/UCIS0FbzubI/AAAAAAAAA0c/eeC2KYQHlAE/s1600/SSRSDynamicDatasource3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="232" src="http://4.bp.blogspot.com/-yXFk3n1wU88/UCIS0FbzubI/AAAAAAAAA0c/eeC2KYQHlAE/s320/SSRSDynamicDatasource3.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Add all&amp;nbsp;datasets and report items to your report. &lt;/li&gt;
&lt;li&gt;Test your report using the 'hard coded' connection string. &lt;/li&gt;
&lt;li&gt;If everything works fine, change the 'hard coded' connection string&amp;nbsp;with next expression&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;=&lt;/span&gt;&lt;span style="color: #a31515; font-size: x-small;"&gt;&lt;span style="color: #a31515; font-size: x-small;"&gt;"data source="&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &amp;amp; Parameters!ServerName.Value &amp;amp; &lt;/span&gt;&lt;span style="color: #a31515; font-size: x-small;"&gt;&lt;span style="color: #a31515; font-size: x-small;"&gt;";initial catalog="&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &amp;amp; Parameters!DatabaseName.Value&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;/span&gt;

&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-K8bTuDZqp58/UCIUxYxjm7I/AAAAAAAAA0k/oNyW1vmvMTc/s1600/SSRSDynamicDatasource4.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="202" src="http://3.bp.blogspot.com/-K8bTuDZqp58/UCIUxYxjm7I/AAAAAAAAA0k/oNyW1vmvMTc/s400/SSRSDynamicDatasource4.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Run the report and select&amp;nbsp;a value for the report parameters ServerName and DatabaseName&amp;nbsp;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-CUzf8f4k1sA/UCIWkBtX57I/AAAAAAAAA0s/udGOUGkzHGY/s1600/SSRSDynamicDatasource5.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="80" src="http://2.bp.blogspot.com/-CUzf8f4k1sA/UCIWkBtX57I/AAAAAAAAA0s/udGOUGkzHGY/s400/SSRSDynamicDatasource5.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Enjoy it.&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/zD50Yy_nkYY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/1880891593237200931/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=1880891593237200931" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/1880891593237200931?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/1880891593237200931?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/zD50Yy_nkYY/how-to-use-dynamic-data-sources-in-your.html" title="How to use Dynamic data sources in your SSRS report." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-J1MyjaNqn4k/UCIXoGMyY7I/AAAAAAAAA00/fqiF-YZ3cS8/s72-c/IMG_9737.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2012/08/how-to-use-dynamic-data-sources-in-your.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0MCQ385fip7ImA9WhJXE04.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-62627639921864943</id><published>2012-08-07T11:24:00.000+02:00</published><updated>2012-08-07T11:24:22.126+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-08-07T11:24:22.126+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="CICDDDP.SYS" /><category scheme="http://www.blogger.com/atom/ns#" term="cisco" /><category scheme="http://www.blogger.com/atom/ns#" term="Windows 7" /><category scheme="http://www.blogger.com/atom/ns#" term="X64" /><category scheme="http://www.blogger.com/atom/ns#" term="blue screen" /><category scheme="http://www.blogger.com/atom/ns#" term="bsod" /><category scheme="http://www.blogger.com/atom/ns#" term="driver" /><title>Bluescreen caused by CIPCDDDP.SYS after rebooting Windows 7 Enterprise X64</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-MKMI4JdS8Go/UCDecwgCWxI/AAAAAAAAAzc/7bqb86OeDhU/s1600/CiscoIPCOmmunicator.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-MKMI4JdS8Go/UCDecwgCWxI/AAAAAAAAAzc/7bqb86OeDhU/s1600/CiscoIPCOmmunicator.png" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
After rebooting my laptop which runs Windows 7 Enterprise edition (64 bits) I got blue screens (BSOD) caused by driver CIPCDDDP.SYS. I could only boot in safe mode. On another computer I found that the CIPCDDDP.SYS driver is part of the Cisco IP Communicator V7. In Safe mode it was not possible to unistall this driver. This driver is loaded when network drivers are loaded. To avoid this process &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;I undocked my laptop&lt;/li&gt;
&lt;li&gt;Disabled my wireless network using the wireless network swith on my Dell Latitude E6410. &lt;/li&gt;
&lt;li&gt;Now I was able to boot without a bluescreen.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;After booting I enabled the wireless network card. &lt;/li&gt;
&lt;li&gt;Update my Cisco IP Communicator client to version 8.6.2.&lt;/li&gt;
&lt;/ul&gt;
After booting I did not get a BSOD but after&amp;nbsp;a while my laptop did not respond to any keyboard input. Therefor I disabled again my wireless network. After booting successfully, I enabled my wireless network card and started Cisco IP Communicator 8.6.2. successfully and was able to make a phone call.&lt;br /&gt;
&lt;br /&gt;
So everything is working again after 90 minutes. I hope this workaround will also help for you if you experience this Blue Screen of Death (BSOD).&lt;br /&gt;
&lt;br /&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/eongfRu32N8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/62627639921864943/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=62627639921864943" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/62627639921864943?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/62627639921864943?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/eongfRu32N8/bluescreen-caused-by-cipcdddpsys-after.html" title="Bluescreen caused by CIPCDDDP.SYS after rebooting Windows 7 Enterprise X64" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-MKMI4JdS8Go/UCDecwgCWxI/AAAAAAAAAzc/7bqb86OeDhU/s72-c/CiscoIPCOmmunicator.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2012/08/bluescreen-caused-by-cipcdddpsys-after.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cFQXkzfip7ImA9WhJXE08.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-1157545531340023879</id><published>2012-08-07T09:36:00.000+02:00</published><updated>2012-08-07T09:36:50.786+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-08-07T09:36:50.786+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="download" /><category scheme="http://www.blogger.com/atom/ns#" term="SP2" /><category scheme="http://www.blogger.com/atom/ns#" term="Service pack" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server" /><category scheme="http://www.blogger.com/atom/ns#" term="microsoft" /><category scheme="http://www.blogger.com/atom/ns#" term="auto update statistics" /><title>Microsoft® SQL Server® 2008 R2 Service Pack 2 available for download</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-EI6szkP5mzs/UCDE-DdssVI/AAAAAAAAAys/RDChb0hWsng/s1600/IMG_9520.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="213" src="http://4.bp.blogspot.com/-EI6szkP5mzs/UCDE-DdssVI/AAAAAAAAAys/RDChb0hWsng/s320/IMG_9520.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Service Pack 2 for SQL Server 2008 R2 is available for &lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=30437" target="_blank"&gt;download&lt;/a&gt;, it includes product improvements based on requests from the SQL Server community and hotfix solutions provided in SQL Server 2008 R2 SP1 Cumulative Updates 1 to 5. A few highlights are as follows:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Reporting Services Charts Maybe Zoomed &amp;amp; Cropped &lt;/b&gt;Customers using Reporting Services on Windows 7 may sometime find charts are zoomed in and cropped. To work around the issue some customers set ImageConsolidation to false.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Collapsing Cells or Rows, If Hidden Render Incorrectly &lt;/b&gt;Some customers who have hidden rows in their Reporting Services reports may have noticed rendering issues when cells or rows are collapsed. When writing a hidden row, the Style attribute is opened to write a height attribute. If the attribute is empty and the width should not be zero.&lt;/li&gt;
&lt;/ul&gt;
You can download&amp;nbsp;SQL Server 2008 R2 Service Pack 2&amp;nbsp;from &lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=30437" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;
Succes with upgrading your SQL Server with this Service Pack.&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/_m70Zu53cIs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/1157545531340023879/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=1157545531340023879" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/1157545531340023879?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/1157545531340023879?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/_m70Zu53cIs/microsoft-sql-server-2008-r2-service.html" title="Microsoft® SQL Server® 2008 R2 Service Pack 2 available for download" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-EI6szkP5mzs/UCDE-DdssVI/AAAAAAAAAys/RDChb0hWsng/s72-c/IMG_9520.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2012/08/microsoft-sql-server-2008-r2-service.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0UFRHczeCp7ImA9WhNbEUQ.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-8280680093209517003</id><published>2012-07-05T15:19:00.000+02:00</published><updated>2013-01-14T21:26:55.980+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-01-14T21:26:55.980+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="rendering reports" /><category scheme="http://www.blogger.com/atom/ns#" term="stacked" /><category scheme="http://www.blogger.com/atom/ns#" term="bar chart" /><category scheme="http://www.blogger.com/atom/ns#" term="histogram" /><category scheme="http://www.blogger.com/atom/ns#" term="visualization" /><category scheme="http://www.blogger.com/atom/ns#" term="pie" /><category scheme="http://www.blogger.com/atom/ns#" term="chart type" /><category scheme="http://www.blogger.com/atom/ns#" term="sql 2012" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS" /><category scheme="http://www.blogger.com/atom/ns#" term="line graph" /><title>Which visualizations should I use in my dashboard or cockpits ?</title><content type="html">With SSRS you can build very nice reports. You can make use of a lot of different report&amp;nbsp;types like:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Table&lt;/li&gt;
&lt;li&gt;Tablix&lt;/li&gt;
&lt;li&gt;Chart&lt;/li&gt;
&lt;li&gt;Gauge&lt;/li&gt;
&lt;li&gt;Map&lt;/li&gt;
&lt;li&gt;Data Bar&lt;/li&gt;
&lt;li&gt;Sparkline&lt;/li&gt;
&lt;li&gt;Indicator&lt;/li&gt;
&lt;/ul&gt;
Every report type has it's own purpose. To make your reports a success, the report should directly tell you what you need to know. One aspects of this, is to apply &lt;a href="http://www.keepitsimpleandfast.com/2011/06/dashboard-design-rules-dos-and-donts.html" target="_blank"&gt;the dashboard design rules&lt;/a&gt; to your reports. &lt;br /&gt;
Another aspects is to choose the best report type. I will use a tree stucture you can use to select the best report type.&amp;nbsp; For your report you should answer yourself some questions about the report:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-size: large;"&gt;Comparison&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Among Items&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Two variables per Item: Variable width column chart&lt;/li&gt;
&lt;li&gt;One variable per Item&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Many categories: Table&lt;/li&gt;
&lt;li&gt;Few categories&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Many Items: Bar Chart&lt;/li&gt;
&lt;li&gt;Few Items: Column Chart&lt;/li&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;li&gt;Over Time&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Many Periods&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Cyclical data: Polar Chart&lt;/li&gt;
&lt;li&gt;Non Cyclical data: Line Chart&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;Few Periods&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Single or Few categories: Column Chart&lt;/li&gt;
&lt;li&gt;Many categories: Line Chart&lt;/li&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;li&gt;&lt;span style="font-size: large;"&gt;Relationship&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Two variables: Scatter chart&lt;/li&gt;
&lt;li&gt;Three variables: Bubble chart&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;&lt;span style="font-size: large;"&gt;Distribution&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Single variable&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Few Data Points: Column Histogram&lt;/li&gt;
&lt;li&gt;Many Data Points: Line Histogram&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;Two variable: Scatter Chart&lt;/li&gt;
&lt;li&gt;Three variable: 3D Area Chart&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;&lt;span style="font-size: large;"&gt;Composition&lt;/span&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Changing over time&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Few Periods&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Only relative difference matters: Stacked 100% Column Chart&lt;/li&gt;
&lt;li&gt;Relative and Absolute difference matters: Stacked Column Chart&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;Many Periods&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Only relative Difference matters:&amp;nbsp;Stacked 100% Line Chart&lt;/li&gt;
&lt;li&gt;Relative and Absolute difference matters: Stacked Line Chart&lt;/li&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;li&gt;Static&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Single Share of Total: Pie Chart&lt;/li&gt;
&lt;li&gt;Accumulation to total: Waterfall Chart&lt;/li&gt;
&lt;li&gt;Components of Components: Stacked 100% Column Chart with Sub components.&lt;/li&gt;
&lt;/ol&gt;
&lt;/ol&gt;
&lt;/ol&gt;
A nice picture of this tree structure can be found on : &lt;a href="http://extremepresentation.typepad.com/photos/uncategorized/choosing_a_good_chart.jpg"&gt;http://extremepresentation.typepad.com/photos/uncategorized/choosing_a_good_chart.jpg&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-2VF_T2T2RTs/T_WP-1AS2uI/AAAAAAAAAyE/ifYxaLuuGTg/s1600/Choosingagoodchart.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="307" src="http://3.bp.blogspot.com/-2VF_T2T2RTs/T_WP-1AS2uI/AAAAAAAAAyE/ifYxaLuuGTg/s400/Choosingagoodchart.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the picture to enlarge.&lt;br /&gt;
&lt;br /&gt;
Some&amp;nbsp;observations:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Pie Charts are ONLY used to show Simple Share of Total.&lt;/li&gt;
&lt;li&gt;Over Time Difference between few periods (Column&amp;nbsp;charts) &amp;nbsp;and many periods (Line Charts).&lt;/li&gt;
&lt;li&gt;3D is ONLY&amp;nbsp;used to display distribution&amp;nbsp;of 3&amp;nbsp;variables.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Few variables (Column Histogram) versus Many variables (Line Histogram)&lt;/li&gt;
&lt;/ul&gt;
Select the report type which is the best to show your data,&amp;nbsp;therefor do NOT select a report type because it looks nice. If you want to have something which is nice, please buy a painting.&lt;br /&gt;
&lt;br /&gt;
Enjoy using this tree structure, to select the best report type for you report.&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/OU97KMTOrjg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/8280680093209517003/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=8280680093209517003" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/8280680093209517003?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/8280680093209517003?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/OU97KMTOrjg/which-visualizations-should-i-use-in-my.html" title="Which visualizations should I use in my dashboard or cockpits ?" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-2VF_T2T2RTs/T_WP-1AS2uI/AAAAAAAAAyE/ifYxaLuuGTg/s72-c/Choosingagoodchart.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2012/07/which-visualizations-should-i-use-in-my.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0UDSXw4eyp7ImA9WhNbEUQ.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-2047748143510580218</id><published>2012-07-04T11:27:00.001+02:00</published><updated>2013-01-14T21:27:58.233+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-01-14T21:27:58.233+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PDF" /><category scheme="http://www.blogger.com/atom/ns#" term="iBooks" /><category scheme="http://www.blogger.com/atom/ns#" term="iPad" /><category scheme="http://www.blogger.com/atom/ns#" term="copy" /><category scheme="http://www.blogger.com/atom/ns#" term="ebook" /><category scheme="http://www.blogger.com/atom/ns#" term="upload" /><title>How to upload a big PDF to your IPad</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-pHIs2BP5B2I/T_QMOe4t6hI/AAAAAAAAAxc/cF7YLebXmI4/s1600/IpadPDF.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-pHIs2BP5B2I/T_QMOe4t6hI/AAAAAAAAAxc/cF7YLebXmI4/s1600/IpadPDF.png" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Today I received a new book to read. In the&amp;nbsp;book, a DVD was included with&amp;nbsp;a PDF version of the&amp;nbsp;book. I really like this because now i'm able to read the book on my IPad. In past I send an email to myself and opened this email on my IPad. This gives me the opportunity to open the PDF with IBooks. However, the PDF of this&amp;nbsp;new book is 25 Mb. This is too big to attach to my email, so I have to look to another way get the PDF on my IPad. &lt;br /&gt;
&lt;br /&gt;
How to do this?&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Upload the PDF file to your Skydrive account.(&lt;a href="https://skydrive.live.com/"&gt;https://skydrive.live.com/&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Install the Skydrive app on your Ipad\Iphone. (&lt;a href="http://itunes.apple.com/us/app/skydrive/id477537958?mt=8"&gt;http://itunes.apple.com/us/app/skydrive/id477537958?mt=8&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Open the Skydrive app and login with you skydrive credentials.&lt;/li&gt;
&lt;li&gt;Open the PDF.&lt;/li&gt;
&lt;li&gt;Click on&amp;nbsp;the reply icon in the left bottom.&lt;/li&gt;
&lt;li&gt;Select Open in other app.&lt;/li&gt;
&lt;li&gt;Accept warning that it can take a while to open files bigger than 2 Mb.&lt;/li&gt;
&lt;li&gt;Select IBooks&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
That's all you need to do. Happy reading on your IPad.&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/B9SrrRyH63Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/2047748143510580218/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=2047748143510580218" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/2047748143510580218?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/2047748143510580218?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/B9SrrRyH63Q/how-to-upload-big-pdf-to-your-ipad.html" title="How to upload a big PDF to your IPad" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-pHIs2BP5B2I/T_QMOe4t6hI/AAAAAAAAAxc/cF7YLebXmI4/s72-c/IpadPDF.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2012/07/how-to-upload-big-pdf-to-your-ipad.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYFRXg8fyp7ImA9WhVbGEU.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-2235690939828034161</id><published>2012-06-05T09:41:00.000+02:00</published><updated>2012-06-05T09:41:54.677+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-06-05T09:41:54.677+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="throttling" /><category scheme="http://www.blogger.com/atom/ns#" term="database connection" /><category scheme="http://www.blogger.com/atom/ns#" term="connection termination" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL Azure" /><category scheme="http://www.blogger.com/atom/ns#" term="kill" /><category scheme="http://www.blogger.com/atom/ns#" term="connection" /><category scheme="http://www.blogger.com/atom/ns#" term="drop" /><title>SQL Azure connection termination causes.</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-S98ijmeIJ_E/T820RN2hRzI/AAAAAAAAAw0/o-lT7P3ftKk/s1600/Connection.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-S98ijmeIJ_E/T820RN2hRzI/AAAAAAAAAw0/o-lT7P3ftKk/s1600/Connection.png" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Microsoft SQL Azure&amp;nbsp;database is a clud based relational database service that's hosted and maintained by Microsoft. Multiple databases from different customers are hosted on the same server.&amp;nbsp;To garantuee performance for all these different customers, the SQL server should not come in an overload state.&amp;nbsp;SQL Azure has the ability to monitor and rebalance active and online user databases. To achieve this, SQL Azure continuously gathers and analyze database usage statistics and will terminate connections when necessary. Throttling is a mechanism used by SQL Azure to prevent machines from becoming overloaded and unresponsive. Throttling can be divided in:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Soft throttling. This applies to the database consuming the most resources on the box. Soft throttling happens when a physical machine seems to be on the way of beig overloaded, unless its workload is reduced.&lt;/li&gt;
&lt;li&gt;Hard throttling. This is the final stage of throttling. It happens when the machine is critically impacted due to overload. It terminates existing operations and prevents new ones until the metric returns below expected thershold.&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
This blog will summarize all connection terminations which can happen:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Worker threads.&lt;/strong&gt; When soft throttling limit for worker threads on a machine is exceeded, the database with the highest requests per second is throttled. Existing connections to that database are terminated and new connections to the database are denied, until number of workers drops below soft limit&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Database size.&lt;/strong&gt; When the database space allocatted to user db is full, the user gets a db full error.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Physical database space.&lt;/strong&gt; When total database size on a machine exceeds 90% of total space available on machine, all databases become read-only. Load balancer ensures the situation is resolved by balancing databases across machines.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Log bytes used.&lt;/strong&gt; SQL Azure supports transactions generating log of up to 2 GB in size.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Transaction log length.&lt;/strong&gt; Uncommitted transactions can block the truncation of log files. To prevent this, the distance from the oldest active transaction log sequence number (LSN) to the tail of the log (current LSN) cannot exceed 20% of the size of the log file. When violated, the offending transaction is terminated and rolled back so that the log can be truncated. &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Transaction Lock Count.&lt;/strong&gt; Sessions consuming greater than one million locks are terminated.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Blocking System tasks.&lt;/strong&gt; Transactions request locks on resources like rows, pages, or tables, on which the transaction is dependent and then free the locks when they no longer have a dependency on the locked resources. Due to these locks, some transactions might block resources required by system sessions. If a transaction locks a resource required by an underlying system operation for more than 20 seconds, it is terminated. In addition, any transaction that runs for more than 24 hours is terminated.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tempdb usage.&lt;/strong&gt; When a session uses more than 5 GB of tempdb space, the session is terminated. &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Memory use.&lt;/strong&gt; When there are sessions waiting on memory for 20 seconds or more, sessions consuming greater than 16 MB for more than 20 seconds are terminated in the descending order of time the resource has been held, so that the oldest session is terminated first. Termination of sessions stops as soon as the required memory becomes available. &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Too many requests.&lt;/strong&gt; If number of concurrent requests made to a database exceed 400, all transactions that have been running for 1 minute or more are terminated.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Idle connections.&lt;/strong&gt; Connections to SQL Azure database that are idle for 30 minutes or longer will be terminated. &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Denial of service.&lt;/strong&gt; When there are a high number of login failures from a particular source internet protocol (IP) address, SQL Azure will block the connections from that IP address for a period of time. The connection is terminated and no error is returned. &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Fail over issues.&lt;/strong&gt; SQL Azure is flexible to cope with any variations in usage and load. The service replicates multiple redundant copies of data to multiple physical servers to maintain data availability and business continuity. In case of a hardware failure, SQL Azure provides automatic failover to optimize availability for your application. Currently, some failover actions may result in an abrupt termination of a session.&lt;/li&gt;
&lt;/ul&gt;
More details about all these termination causes and returned error messages can be found &lt;a href="http://social.technet.microsoft.com/wiki/contents/articles/1541.sql-azure-connection-management-en-us.aspx#Reasons" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/XLdCimFVmG8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/2235690939828034161/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=2235690939828034161" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/2235690939828034161?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/2235690939828034161?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/XLdCimFVmG8/sql-azure-connection-termination-causes.html" title="SQL Azure connection termination causes." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-S98ijmeIJ_E/T820RN2hRzI/AAAAAAAAAw0/o-lT7P3ftKk/s72-c/Connection.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2012/06/sql-azure-connection-termination-causes.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkUHRX05eCp7ImA9WhVUE04.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-6750488393723991350</id><published>2012-05-18T11:43:00.000+02:00</published><updated>2012-05-18T11:43:54.320+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-05-18T11:43:54.320+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="sql2012" /><category scheme="http://www.blogger.com/atom/ns#" term="timeline" /><category scheme="http://www.blogger.com/atom/ns#" term="sql 2012" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS" /><title>How to create a timeline in a SSRS report.</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-_Hsl0CcaoPY/T7YW32S13fI/AAAAAAAAAwo/TRDixHCZEfY/s1600/SSRSTimeline5.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="253" src="http://4.bp.blogspot.com/-_Hsl0CcaoPY/T7YW32S13fI/AAAAAAAAAwo/TRDixHCZEfY/s400/SSRSTimeline5.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Timeline reports can be very usefull to display what is happening during a specific time period. For instance, you have a server on which a lot of background tasks are running. In the beginning, you know which jobs are running at which moment. However, when the number of jobs are increasing, you&amp;nbsp;will lose the overview. Especially when the execution times of the background jobs&amp;nbsp;are taking longer after a while. A timeline report will help you&amp;nbsp;to visualize&amp;nbsp;all running background jobs. In SQL Server Reporting Services (SSRS) their is not a standard reporting item to make a timeline. However, there is a way to do this with the current report items. In this blogpost, I will explain how you can make a timeline report. I will use the example to display which backgroundjobs are running on which moment.&lt;br /&gt;
&lt;br /&gt;
First of all we need to have a dataset which the execution times and durations of the backgroundjobs.&lt;br /&gt;
I have table named: Activitylog. In this table the starttime of the background job is registered including the execution time (duration). &lt;br /&gt;
&lt;br /&gt;
SELECT StartTime, APP, Duration FROM ActivityLog&lt;br /&gt;
&lt;br /&gt;
The report will have 4 filters to specify a date range. This date range is divided in a date and hour of thedate on which the backgroundjobs have been executed. (@MeasureDateStart, @MeasureDateEnd, @MeasureHourStart, @MeasureHourEnd)&lt;br /&gt;
&lt;br /&gt;
This will results in a dataset which calculates the EndTime of the backgroundjob based on the StartTime and duration of the backgroundjob. It will use the parameters: @MeasureDateStart, @MeasureDateEnd, @MeasureHourStart, @MeasureHourEnd to select the data you need. All backgroundjobs will be displayed which have a start time and or end time within the selected time period.&lt;br /&gt;
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-family: inherit; font-size: x-small;"&gt;&lt;span style="font-family: inherit; font-size: small;"&gt;SELECT &lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;AL&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;App&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; AL&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;StartTime&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;&lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;DATEADD&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;ms&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; AL&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;Duration&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; AL&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;StartTime&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt;&lt;/span&gt; EndTime&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; AL&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;Duration&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="font-family: inherit;"&gt;FROM&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt; ActivityLog &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt;&lt;/span&gt; AL &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;
&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="font-family: inherit;"&gt;WHERE &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;AL&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;StartTime &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;gt;=&lt;/span&gt;&lt;/span&gt; @MeasureDateStart&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;AND&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&lt;br /&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;DATEPART&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;hh&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; AL&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;StartTime&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;gt;=&lt;/span&gt;&lt;/span&gt; @MeasureHourStart&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;AND&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;DATEADD&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;dd&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; 0&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;DATEDIFF&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;dd&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; 0&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;DATEADD&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;ms&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; AL&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;Duration&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; AL&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;StartTime&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)))&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;lt;=&lt;/span&gt;&lt;/span&gt; @MeasureDateEnd&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;AND &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;DATEPART&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;hh&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; AL&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;StartTime&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;lt;=&lt;/span&gt;&lt;/span&gt; @MeasureHourEnd&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dataset is ready for use.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Start Business Intelligence Development Studio(BIDS) and create a new report with a datasource to the database and define&amp;nbsp;the dataset. &lt;/li&gt;
&lt;li&gt;All&amp;nbsp;defined parameters in the dataset will be added automatically to the report.&lt;/li&gt;
&lt;li&gt;Add the report item Chart and select the Range Bar.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-TI1Dz462bQI/T7YQ8sXhjBI/AAAAAAAAAwE/oVp5RiD0BMA/s1600/SSRSTimeline1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="255" src="http://2.bp.blogspot.com/-TI1Dz462bQI/T7YQ8sXhjBI/AAAAAAAAAwE/oVp5RiD0BMA/s320/SSRSTimeline1.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Define the chart, Values:&amp;nbsp;Startime ;Series Groups: App ;Category Groups Details.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-HV3LNhWUF38/T7YR_QT3jVI/AAAAAAAAAwM/-hiojuYmloQ/s1600/SSRSTimeline2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/-HV3LNhWUF38/T7YR_QT3jVI/AAAAAAAAAwM/-hiojuYmloQ/s320/SSRSTimeline2.JPG" width="181" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Configure the StartTime by opening the series properties. &lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-MmNyJh6wkw0/T7YS2HXRe5I/AAAAAAAAAwU/JdqHN2rWtus/s1600/SSRSTimeline3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="229" src="http://2.bp.blogspot.com/-MmNyJh6wkw0/T7YS2HXRe5I/AAAAAAAAAwU/JdqHN2rWtus/s320/SSRSTimeline3.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;if desired you can configure the tooltip to show additional information.&lt;/li&gt;
&lt;li&gt;Configure the horizontal Axis to display the hours by opening the&amp;nbsp;properties&amp;nbsp;and select custom format: hh&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-q8TZhPduYKM/T7YUFZGT--I/AAAAAAAAAwc/FG5aKU0huFo/s1600/SSRSTimeline4.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://1.bp.blogspot.com/-q8TZhPduYKM/T7YUFZGT--I/AAAAAAAAAwc/FG5aKU0huFo/s320/SSRSTimeline4.JPG" width="320" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Your report is ready for use and should look like the first picture in this blogpost.&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/n-2j-zaNJVs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/6750488393723991350/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=6750488393723991350" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/6750488393723991350?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/6750488393723991350?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/n-2j-zaNJVs/how-to-create-timeline-in-ssrs-report.html" title="How to create a timeline in a SSRS report." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-_Hsl0CcaoPY/T7YW32S13fI/AAAAAAAAAwo/TRDixHCZEfY/s72-c/SSRSTimeline5.JPG" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2012/05/how-to-create-timeline-in-ssrs-report.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEUCRH46fip7ImA9WhVVFEo.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-7644227764359347803</id><published>2012-05-08T13:24:00.000+02:00</published><updated>2012-05-08T13:24:25.016+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-05-08T13:24:25.016+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="update report" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="auto refresh" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS" /><title>Auto refresh of SSRS reports.</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-jQOdRBumEB4/T6kArP7EtNI/AAAAAAAAAvw/vshwxQqxdK8/s1600/IMG_9885.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="213" src="http://1.bp.blogspot.com/-jQOdRBumEB4/T6kArP7EtNI/AAAAAAAAAvw/vshwxQqxdK8/s320/IMG_9885.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
In some situations you want to use a SSRS report to monitor activity on your solution which requires some action of people. For instance your internal helpdesk has made an overview of the number of logged errors in the last 10 minutes.&amp;nbsp;This overview will help the helpdesk in their daily operation. In SSRS you can configure your report to refresh automatically. Of course you should be very carefully in implementing this feature. It can result in a lot of recurring datbase activity which can have a big impact on the overall performance of your solution. &lt;br /&gt;
&lt;br /&gt;
&lt;span name="subject"&gt;To configure auto refresh of your report, open the property windows of your&amp;nbsp;Report. In the Other section you will find a property AutoRefresh. Sets its&amp;nbsp;value to 60 and the report will auto-refresh every 60 seconds.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-zkOhvYfcnaI/T6kCC14OpaI/AAAAAAAAAv4/3sZORvx3FMg/s1600/SSRS_Autorefresh.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-zkOhvYfcnaI/T6kCC14OpaI/AAAAAAAAAv4/3sZORvx3FMg/s1600/SSRS_Autorefresh.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Picture: Milford Sound, New Zealand Dec 2011.&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/JQM-LCxXztk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/7644227764359347803/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=7644227764359347803" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/7644227764359347803?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/7644227764359347803?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/JQM-LCxXztk/auto-refresh-of-ssrs-reports.html" title="Auto refresh of SSRS reports." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-jQOdRBumEB4/T6kArP7EtNI/AAAAAAAAAvw/vshwxQqxdK8/s72-c/IMG_9885.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2012/05/auto-refresh-of-ssrs-reports.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEQFQ3w6eyp7ImA9WhVWEkg.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-4791327578150717719</id><published>2012-04-24T10:31:00.000+02:00</published><updated>2012-04-24T10:31:52.213+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-24T10:31:52.213+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="rendering reports" /><category scheme="http://www.blogger.com/atom/ns#" term="drill down" /><category scheme="http://www.blogger.com/atom/ns#" term="drilldown" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS" /><category scheme="http://www.blogger.com/atom/ns#" term="drill through" /><title>The difference between drill down and drill through reports.</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-Ieucm_pzgZs/T5ZjqUEaNRI/AAAAAAAAAvo/t-_EJ7VHuQo/s1600/drilldown.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://4.bp.blogspot.com/-Ieucm_pzgZs/T5ZjqUEaNRI/AAAAAAAAAvo/t-_EJ7VHuQo/s320/drilldown.JPG" width="213" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
During the design of reports and dashboards I have seen that a lot of people do not know the difference between drill down and drill through reports. In most situations people uses the term: Drill down for both situations. However, there is a difference between these reports.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Drill through reports:&lt;/strong&gt; &lt;br /&gt;
A drill through report allows you to go from summary to detail. For instance: You have a financial application in which you can show the balance and profit and loss for a specific time frame. Every general ledger displays the total amount of all transactions for this specific period. By clicking (Drill through) on one of the general ledgers you will see the underlying transactions for this specific period. &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Drill down reports:&lt;/strong&gt;&lt;br /&gt;
A drill down reports allows you to look to the data in different levels. For instance, a report displays information on Country level if we drill down&amp;nbsp;the report displays information on&amp;nbsp;state level. Next drill down will display information on city level. So Countries contains States, States contains Cities. So we can view all levels through drill down. &lt;br /&gt;
Another examples is Year contains Months, Months contains Weeks, Weeks contains Days, Days contains Hours, Hours contains Minutes. &lt;br /&gt;
&lt;br /&gt;
Picture: My drill down from the Kawarau Bridge, New Zealand Dec 2011&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/NGsugdmR28k" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/4791327578150717719/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=4791327578150717719" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/4791327578150717719?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/4791327578150717719?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/NGsugdmR28k/difference-between-drill-down-and-drill.html" title="The difference between drill down and drill through reports." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-Ieucm_pzgZs/T5ZjqUEaNRI/AAAAAAAAAvo/t-_EJ7VHuQo/s72-c/drilldown.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2012/04/difference-between-drill-down-and-drill.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0IERXs4eCp7ImA9WhVXGE8.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-5306534644085230505</id><published>2012-04-19T10:51:00.000+02:00</published><updated>2012-04-19T10:51:44.530+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-19T10:51:44.530+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="sql 2012" /><category scheme="http://www.blogger.com/atom/ns#" term="parameter" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS" /><category scheme="http://www.blogger.com/atom/ns#" term="multi-value" /><title>How to display a multi value parameter in a text box in SSRS.</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-qpkSCJFiORo/T4_QFFtGnuI/AAAAAAAAAvI/HqJgn0jSOxU/s1600/IMG_9799.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="213" src="http://1.bp.blogspot.com/-qpkSCJFiORo/T4_QFFtGnuI/AAAAAAAAAvI/HqJgn0jSOxU/s320/IMG_9799.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
In my previous blog I described how you can &lt;a href="http://www.keepitsimpleandfast.com/2012/04/passing-multi-value-parameter-to-drill.html" target="_blank"&gt;pass a multi-value parameter to another SSRS report via drill through&lt;/a&gt;. After doing this, sometimes you want to show the used multi-value parameters in a text box. The solution for this is very simple. This can be achieved by using the JOIN function. I will explain with an example @Hostname as multi-value parameter.&lt;br /&gt;
Open the text box and define next expression:&lt;br /&gt;
&lt;br /&gt;
=&lt;span style="color: #a31515;"&gt;&lt;span style="color: #a31515;"&gt;"My own text: "&lt;/span&gt;&lt;/span&gt; + Join(Parameters!Hostname.Label,&lt;span style="color: #a31515;"&gt;&lt;span style="color: #a31515;"&gt;", "&lt;/span&gt;&lt;/span&gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other blog post about multi-value parameters: &lt;a href="http://www.keepitsimpleandfast.com/2012/03/how-to-pass-null-value-to-multi-value.html" target="_blank"&gt;How to pass NULL value to a multi-value parameter in SSRS?&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Picture: Milford Sound, New Zealand&amp;nbsp;Dec 2011.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;/span&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/cQm6hD6hVLU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/5306534644085230505/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=5306534644085230505" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/5306534644085230505?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/5306534644085230505?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/cQm6hD6hVLU/how-to-display-multi-value-parameter-in.html" title="How to display a multi value parameter in a text box in SSRS." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-qpkSCJFiORo/T4_QFFtGnuI/AAAAAAAAAvI/HqJgn0jSOxU/s72-c/IMG_9799.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2012/04/how-to-display-multi-value-parameter-in.html</feedburner:origLink></entry></feed>
