<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' 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'><id>tag:blogger.com,1999:blog-7867858430165148488</id><updated>2025-09-25T08:07:02.087-07:00</updated><category term="SharePoint 2010"/><category term="Fitler values"/><category term="PerformancePoint"/><category term="SSIS"/><category term="ambari"/><category term="hadoop"/><category term="hdp 2.1.2"/><category term=".Net"/><category term="1.6.1"/><category term="1.7.0"/><category term="500 values"/><category term="ATS"/><category term="AdventureWorksDWDenali_Data.mdf"/><category term="Analysis Services"/><category term="Analysis Services 2008 R2"/><category term="Analytical Report"/><category term="App Timeline Server"/><category term="Band by stated score"/><category term="Branding"/><category term="C#"/><category term="CRM 4.0"/><category term="Calculations"/><category term="Change Logo"/><category term="Clear Cache"/><category term="Cold cache"/><category term="Content Organizer Rule"/><category term="Content Organizer rule manager"/><category term="DESC"/><category term="Dashboard Deisgner"/><category term="DataFormWebPart; xsl:if"/><category term="DefaultMember"/><category term="Error 5120"/><category term="Execute SQL Task"/><category term="HDP 2.1"/><category term="Hortonworks"/><category term="IN (parameter)"/><category term="Intergration services"/><category term="MDX"/><category term="MDX Case"/><category term="MOSS"/><category term="MS Access 2007"/><category term="Measures"/><category term="Multi-Value parameters"/><category term="OLE DB Connction"/><category term="ORDER"/><category term="PPS"/><category term="PerformancePoint Server"/><category term="PerformancePoint Services"/><category term="Persist"/><category term="PreFilter"/><category term="R"/><category term="RHadoop"/><category term="RHive"/><category term="RStudio"/><category term="Reporting Services"/><category term="Reverse"/><category term="SLQ Server 2008 R2"/><category term="SQL"/><category term="SQL 2012"/><category term="SQL Server"/><category term="SQL Server 2012"/><category term="SSAS"/><category term="SSRS"/><category term="SharePoint"/><category term="UserName"/><category term="Visual Studio 2008"/><category term="Where Clause"/><category term="Where clause IN variable"/><category term="Windows 7"/><category term="XSL"/><category term="XSLT"/><category term="XsltListViewWebPart"/><category term="add disk"/><category term="add storage"/><category term="bulk create rules"/><category term="call stored procedure through analysis services"/><category term="change datanode disks"/><category term="configurable Thresholds"/><category term="content organizer rule creator"/><category term="data node"/><category term="datanode"/><category term="default"/><category term="delimited string"/><category term="downgrade ambari"/><category term="find edition"/><category term="find level"/><category term="find version"/><category term="hdp"/><category term="hierarchy"/><category term="installation steps"/><category term="location"/><category term="log files"/><category term="mount"/><category term="parameters"/><category term="pass parameter"/><category term="pasword protected"/><category term="path"/><category term="querystring; SharePoint Designer; XSLT; DataViewWebPart"/><category term="rmr2"/><category term="script"/><category term="wont start"/><category term="xsl:stylesheet"/><category term="yarn-yarn-timelineserver.pid"/><title type='text'>Daily IT Solutions</title><subtitle type='html'>Daily problems and solutions for Hadoop, SharePoint, WSS, SSIS, SSAS, SSRS, SQL Server, ASP.NET, PerformancePoint etc.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-1702239010576796557</id><published>2015-03-13T13:36:00.001-07:00</published><updated>2015-03-13T13:37:18.346-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="1.6.1"/><category scheme="http://www.blogger.com/atom/ns#" term="1.7.0"/><category scheme="http://www.blogger.com/atom/ns#" term="ambari"/><category scheme="http://www.blogger.com/atom/ns#" term="App Timeline Server"/><category scheme="http://www.blogger.com/atom/ns#" term="ATS"/><category scheme="http://www.blogger.com/atom/ns#" term="downgrade ambari"/><category scheme="http://www.blogger.com/atom/ns#" term="hdp 2.1.2"/><category scheme="http://www.blogger.com/atom/ns#" term="wont start"/><category scheme="http://www.blogger.com/atom/ns#" term="yarn-yarn-timelineserver.pid"/><title type='text'>App Timeline Server not starting Or Downgrade Ambari</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;This can also be used as a downgrade guide from Ambari 1.7.0 to 1.6.1.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;If using HDP 2.1.2 with Ambari 1.7.0 your App Timeline Server does not start, you come to the right place.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Symptoms: running the ATS from Ambari throws:&lt;/span&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Fail: Execution of ‘ls /var/run/hadoop-yarn/yarn/yarn-yarn-timelineserver.pid &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 &amp;amp;&amp;amp; ps cat /var/run/hadoop-yarn/yarn/yarn-yarn-timelineserver.pid` &amp;gt;/dev/null 2&amp;gt;&amp;amp;1′ returned 1.&lt;/span&gt;&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;All services work fine. I have set the recommended configuration for HDP 2.1.2&lt;/span&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;yarn.timeline-service.store-class = org.apache.hadoop.yarn.server.applicationhistoryservice.timeline.LeveldbTimelineStore&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;The History Server is running fine.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #fbfbfb; box-sizing: border-box; color: #333333; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Not the ideal solution but it worked for me. Since this is kind of related to Ambari versions I reverted back to 1.6.1, steps:&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;1. Stopped and removed ambari server and all agents&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;2. Deleted repo and any directories for ambari&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;3. Downloaded and installed ambari 1.6.1&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;4. Re-configured/installed cluster, as HDP version remained the same&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;5. Formatted namenode and hbase&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;6. Change the config:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;yarn.timeline-service.store-class = org.apache.hadoop.yarn.server.applicationhistoryservice.timeline.LeveldbTimelineStore&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;7. Start ATS, failed, checked logs for historyserver, error:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Permission denied on /hadoop/yarn/timeline/leveldb.timeline-store.ldb/LOCK&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;8. Deleted the leveldb-timeline-store.ldb&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;9. Restarted ATS, worked fine!&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #fbfbfb; box-sizing: border-box; color: #333333; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #fbfbfb; box-sizing: border-box; color: #333333; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Usually I never got this issue for other cluster installs using HDP 2.2 and Ambari 1.7.0.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/1702239010576796557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2015/03/app-timeline-server-not-starting-or.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/1702239010576796557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/1702239010576796557'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2015/03/app-timeline-server-not-starting-or.html' title='App Timeline Server not starting Or Downgrade Ambari'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-1042512831388955144</id><published>2015-03-13T13:27:00.001-07:00</published><updated>2015-03-13T13:27:22.203-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="add disk"/><category scheme="http://www.blogger.com/atom/ns#" term="add storage"/><category scheme="http://www.blogger.com/atom/ns#" term="ambari"/><category scheme="http://www.blogger.com/atom/ns#" term="change datanode disks"/><category scheme="http://www.blogger.com/atom/ns#" term="data node"/><category scheme="http://www.blogger.com/atom/ns#" term="datanode"/><category scheme="http://www.blogger.com/atom/ns#" term="hadoop"/><category scheme="http://www.blogger.com/atom/ns#" term="hdp"/><category scheme="http://www.blogger.com/atom/ns#" term="hdp 2.1.2"/><category scheme="http://www.blogger.com/atom/ns#" term="mount"/><title type='text'>Changing Storage in Hadoop</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
After I installed a HDP 2.1.2 cluster, I noticed that all the nodes were not using the drive partition planned for storage. The Linux boxes had OS partition and data data partition. Assigned during OS install one set to OS and other for data storage.&lt;br /&gt;
&lt;br /&gt;
Somehow the data storage was not available on cluster installation most probably since it was not mounted. Following are the steps performed to change HDFS storage location, along with any drive configuration needed.&lt;br /&gt;
&lt;br /&gt;
First format and optimized the partition or drive.&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
mkfs -t ext4 -m 1 -O dir_index,extent,sparse_super /dev/sdb&lt;/blockquote&gt;
&lt;br /&gt;
Create a mount directory&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
mkdir -p /disk/sdb1&lt;/blockquote&gt;
&lt;br /&gt;
Mount with optimized settings&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
mount -noatime -nodiratime /dev/sdb /disk/sdb1&lt;/blockquote&gt;
&lt;br /&gt;
Append to fstab file so that the partition is mounted on boot (very critical)&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
echo &quot;/dev/sdb /disk/sdb1 ext4 defaults,noatime,nodiratime 1 2&quot; &amp;gt;&amp;gt; /etc/fstab&lt;/blockquote&gt;
&lt;br /&gt;
Add folder for hdfs data&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
mkdir -p /disk/sdb1/data&lt;/blockquote&gt;
&lt;br /&gt;
Location to store Namenode data&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
mkdir -p /disk/sdb1/hdfs/namenode&lt;/blockquote&gt;
&lt;br /&gt;
Location to store Secondary Namenode&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
mkdir -p /disk/sdb1/hdfs/namesecondary&lt;/blockquote&gt;
&lt;br /&gt;
Set these in hdfs-site.xml or through Ambari&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
dfs.namenode.name.dir = /disk/sdb1/hdfs/namenode&lt;br /&gt;dfs.namenode.name.dir = /disk/sdb1/hdfs/namesecondary&lt;br /&gt;dfs.datanode.data.dir = /disk/sdb1/data&lt;/blockquote&gt;
&lt;br /&gt;
Set permissions&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
sudo chown -R hdfs:hadoop /disk/sdb1/data&lt;/blockquote&gt;
&lt;br /&gt;
Format namenode&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
hadoop namenode -format&lt;/blockquote&gt;
&lt;br /&gt;
Start namenode through ambari or CLI&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
hadoop namenode start&lt;/blockquote&gt;
&lt;br /&gt;
Start all nodes and services. The new drive should be listed.&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
http://www.slideshare.net/leonsp/best-practices-for-deploying-hadoop-biginsights-in-the-cloud&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/1042512831388955144/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2015/03/changing-storage-in-hadoop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/1042512831388955144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/1042512831388955144'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2015/03/changing-storage-in-hadoop.html' title='Changing Storage in Hadoop'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-8815571500596527932</id><published>2014-12-11T09:21:00.002-08:00</published><updated>2014-12-11T09:21:51.918-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hadoop"/><category scheme="http://www.blogger.com/atom/ns#" term="HDP 2.1"/><category scheme="http://www.blogger.com/atom/ns#" term="Hortonworks"/><category scheme="http://www.blogger.com/atom/ns#" term="R"/><category scheme="http://www.blogger.com/atom/ns#" term="RHadoop"/><category scheme="http://www.blogger.com/atom/ns#" term="RHive"/><category scheme="http://www.blogger.com/atom/ns#" term="rmr2"/><category scheme="http://www.blogger.com/atom/ns#" term="RStudio"/><title type='text'>RStudio setup on Hortonworks Hadoop 2.1 Cluster</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Here is a complete set of steps I performed to set up R and RStudio on a small cluster.&lt;br /&gt;
&lt;br /&gt;
Installing R and Rstudio&lt;br /&gt;
-- R should be installed on the node which have Hive server&lt;br /&gt;
-- RStudio can be installed anywhere. (I installed on edge node)&lt;br /&gt;
&lt;br /&gt;
sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm&lt;br /&gt;
sudo yum -y install git wget R&lt;br /&gt;
ls /etc/default&lt;br /&gt;
sudo ln -s /etc/default/hadoop /etc/profile.d/hadoop.sh&lt;br /&gt;
cat /etc/profile.d/hadoop.sh | sed &#39;s/export //g&#39; &amp;gt; ~/.Renviron&lt;br /&gt;
&lt;br /&gt;
Check latest version of RStudio @&lt;br /&gt;
http://www.rstudio.com/products/rstudio/download-server/&lt;br /&gt;
(It should have installation steps, follow those)&lt;br /&gt;
Listing them here for completion with current release version)&lt;br /&gt;
$ sudo yum install openssl098e # Required only for RedHat/CentOS 6 and 7&lt;br /&gt;
$ wget http://download2.rstudio.org/rstudio-server-0.98.1091-x86_64.rpm&lt;br /&gt;
$ sudo yum install --nogpgcheck rstudio-server-0.98.1091-x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
Create a new system user and set password&lt;br /&gt;
sudo useradd rstudio&lt;br /&gt;
sudo passwd rstudio&lt;br /&gt;
&amp;gt;&amp;gt; hadoop&lt;br /&gt;
&lt;br /&gt;
Login to RStudio at http://hostname:8787&lt;br /&gt;
&lt;br /&gt;
Install required packages either from&lt;br /&gt;
In RStudio &amp;gt;&amp;gt; Tool &amp;gt;&amp;gt; Install packages&lt;br /&gt;
OR&lt;br /&gt;
install.packages( c(&#39;RJSONIO&#39;, &#39;itertools&#39;, &#39;digest&#39;, &#39;Rcpp&#39;, &#39;functional&#39;, &#39;plyr&#39;, &#39;stringr&#39;), repos=&#39;http://cran.revolutionanalytics.com&#39;)&lt;br /&gt;
install.packages( c(&#39;bitops&#39;, &#39;reshape2&#39;), repos=&#39;http://cran.revolutionanalytics.com&#39;)&lt;br /&gt;
install.packages( c(&#39;RHive&#39;), repos=&#39;http://cran.revolutionanalytics.com&#39;)&lt;br /&gt;
&lt;br /&gt;
Download latest rmr2 package from:&lt;br /&gt;
https://github.com/RevolutionAnalytics/RHadoop/wiki/Downloads&lt;br /&gt;
Winscp tar.gz file and install through Rstudio&lt;br /&gt;
&lt;br /&gt;
### Need to run every time RStudio is initialized or restarted&lt;br /&gt;
Set environment variables in RStudio&lt;br /&gt;
Sys.setenv(HADOOP_HOME=&quot;your hadoop installation directory here e.g. /usr/lib/hadoop&quot;)&lt;br /&gt;
Sys.setenv(HIVE_HOME=&quot;your hive installation directory here e.g.&amp;nbsp;/usr/lib/hive&quot;)&lt;br /&gt;
XX Sys.setenv(HADOOP_CONF_DIR=&quot;/etc/hadoop/conf/&quot;) do not execute!&lt;br /&gt;
&lt;br /&gt;
Sys.setenv(&quot;RHIVE_FS_HOME&quot;=&quot;your RHive installation directory here e.g.&amp;nbsp;/home/rhive&quot;)&lt;br /&gt;
This needs to be local directory on the node with hive installed, create one if doesnt exist. The user created (rstudio) have chown -R rights on this local directory.&lt;br /&gt;
If not this is the error:&lt;br /&gt;
Error: java.io.IOException: Mkdirs failed to create file:/home/rhive/lib/2.0-0.2&lt;br /&gt;
&lt;br /&gt;
library(RHive)&lt;br /&gt;
rhive.init()&lt;br /&gt;
rhive.connect(host=&quot;IP ADDRESS/Hostname&quot;, port=10000, hiveServer2=TRUE)&lt;br /&gt;
&lt;br /&gt;
If error&lt;br /&gt;
Error: java.sql.SQLException: Error while processing statement: file:///rhive/lib/2.0-0.2/rhive_udf.jar does not exist.&lt;br /&gt;
check if the jar file is in the said directory and rstudio user has permission on it.&lt;br /&gt;
&lt;br /&gt;
Hope it helps.&lt;br /&gt;
&lt;br /&gt;
Cheers!&lt;br /&gt;
&lt;br /&gt;
References and Thanks:&lt;br /&gt;
&lt;a href=&quot;http://jsolderitsch.wordpress.com/hortonworks-sandbox-r-and-rstudio-install/&quot;&gt;http://jsolderitsch.wordpress.com/hortonworks-sandbox-r-and-rstudio-install/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/8815571500596527932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2014/12/rstudio-setup-on-hortonworks-hadoop-21.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/8815571500596527932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/8815571500596527932'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2014/12/rstudio-setup-on-hortonworks-hadoop-21.html' title='RStudio setup on Hortonworks Hadoop 2.1 Cluster'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-5672553930797398104</id><published>2013-12-09T08:35:00.003-08:00</published><updated>2013-12-09T08:35:33.683-08:00</updated><title type='text'>Excel + SQL Server Linked Server Troubleshooting</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Following is a great article to troubleshoot errors thrown by OLEDB when connecting an Excel file from OPENROWSET query:&lt;/span&gt;&lt;br /&gt;
&lt;h3 class=&quot;post-name&quot; style=&quot;background-color: white; color: #333333; margin: 7px 0px 18px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif; font-size: small;&quot;&gt;&lt;a href=&quot;http://blogs.msdn.com/b/spike/archive/2008/07/23/ole-db-provider-microsoft-jet-oledb-4-0-for-linked-server-null-returned-message-unspecified-error.aspx&quot;&gt;OLE DB provider &quot;MICROSOFT.JET.OLEDB.4.0&quot; for linked server &quot;(null)&quot; returned message &quot;Unspecified error&quot;.&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Gives step by step resolution to multiple errors like:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: red; font-family: &#39;Courier New&#39;; font-size: 11px; line-height: 18.15625px;&quot;&gt;- Cannot initialize the data source object of OLE DB provider &quot;MICROSOFT.JET.OLEDB.4.0&quot; for linked server &quot;(null)&quot;.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: red; font-family: &#39;Courier New&#39;; font-size: 11px; line-height: 18.15625px;&quot;&gt;- Cannot get the column information from OLE DB provider &quot;MICROSOFT.JET.OLEDB.4.0&quot; for linked server &quot;(null)&quot;.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: red; font-family: &#39;Courier New&#39;; font-size: 11px; line-height: 18.15625px;&quot;&gt;-&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-family: &#39;Courier New&#39;; font-size: 8pt; line-height: 18.15625px;&quot;&gt;SQL Server blocked access to STATEMENT &#39;OpenRowset/OpenDatasource&#39; of component &#39;Ad Hoc Distributed Queries&#39; because this component is turned off as part&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18.15625px; margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Courier New&#39;; font-size: 8pt;&quot;&gt;of the security configuration for this server. A system administrator can enable the use of &#39;Ad Hoc Distributed Queries&#39; by using sp_configure.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #333333; font-family: Arial; font-size: 12px; line-height: 18.15625px; margin: 0cm 0cm 0pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &#39;Courier New&#39;; font-size: 8pt;&quot;&gt;For more information about enabling &#39;Ad Hoc Distributed Queries&#39;, see &quot;Surface Area Configuration&quot; in SQL Server Books Online.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: red; font-family: &#39;Courier New&#39;; font-size: 11px; line-height: 18.15625px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;On client deployments my recurring issue was setting my access to temp folders for service accounts.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/5672553930797398104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2013/12/excel-sql-server-linked-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/5672553930797398104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/5672553930797398104'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2013/12/excel-sql-server-linked-server.html' title='Excel + SQL Server Linked Server Troubleshooting'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-1753352237278386683</id><published>2013-11-26T10:50:00.001-08:00</published><updated>2013-11-26T10:51:25.433-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="delimited string"/><category scheme="http://www.blogger.com/atom/ns#" term="hierarchy"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>Build Hierarchy From Delimited String</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;In this post we create a parent child hierarchy (n level) from a delimited string like [Parent_Child_LeafChild].&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;What we are looking for is taking a n length string like &quot;Stage1_Stage2_Stage3&quot; and moving it into a table to build this:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Stage1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;--Stage2&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;----Stage3&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt;DECLARE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt; &lt;span style=&quot;color: teal;&quot;&gt;@separator_position&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;INT&lt;/span&gt;
&lt;span style=&quot;color: green;&quot;&gt;-- This is used to locate each separator character&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt;DECLARE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt; &lt;span style=&quot;color: teal;&quot;&gt;@array_value&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;VARCHAR&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;1000&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;-- this holds each array value as it is returned&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt;DECLARE&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt; &lt;span style=&quot;color: teal;&quot;&gt;@separator&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;char&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;1&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;--Used in WHERE clause&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt;declare&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt; &lt;span style=&quot;color: teal;&quot;&gt;@StageLevel&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;255&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;&#39;Stage1_Stage2_Stage3&#39;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt;declare&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt; &lt;span style=&quot;color: teal;&quot;&gt;@holder&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;varchar&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;255&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;@stagelevel&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt;SET&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt; &lt;span style=&quot;color: teal;&quot;&gt;@separator&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;&#39;_&#39;&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;--Separator A.K.A.
Delimiter&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt;SET&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt; &lt;span style=&quot;color: teal;&quot;&gt;@StageLevel&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;@StageLevel&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;@separator&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;--append &#39;,&#39; at
the end&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: green; font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt;-- select
PATINDEX(&#39;%[&#39; + @separator + &#39;]%&#39;, @StageLevel)&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt;Declare&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt; &lt;span style=&quot;color: teal;&quot;&gt;@Level&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt;Declare&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt; &lt;span style=&quot;color: teal;&quot;&gt;@ParentId&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;WHILE&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;PATINDEX&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&#39;%[&#39;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;@separator&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;&#39;]%&#39;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;@StageLevel&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&amp;gt;&lt;/span&gt; 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;span style=&quot;color: blue;&quot;&gt;BEGIN&lt;/span&gt; &lt;span style=&quot;color: green;&quot;&gt;-- patindex
matches the a pattern against a string&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&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;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;@separator_position&lt;/span&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;PATINDEX&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&#39;%[&#39;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;@separator&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;&#39;]%&#39;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;@StageLevel&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&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;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;@array_value&lt;/span&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;LEFT(&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;@StageLevel&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;@separator_position&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;-&lt;/span&gt;
1&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;@level&lt;/span&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;@level&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;+&lt;/span&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;span style=&quot;color: green;&quot;&gt;--select @array_value, @level&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;span style=&quot;color: blue;&quot;&gt;IF&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;@level&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt;1 &lt;span style=&quot;color: green;&quot;&gt;--This is parent node&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;span style=&quot;color: blue;&quot;&gt;Begin&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;span style=&quot;color: blue;&quot;&gt;insert&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;into&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;Hierarchy&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;StageLevelName&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;StageLevel&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;span style=&quot;color: blue;&quot;&gt;values &lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;@array_value&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;@Level&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;span style=&quot;color: blue;&quot;&gt;END&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;span style=&quot;color: blue;&quot;&gt;ELSE&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;span style=&quot;color: blue;&quot;&gt;BEGIN&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;span style=&quot;color: blue;&quot;&gt;insert&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;into&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;Hierarchy&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;StageLevelName&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: teal;&quot;&gt;StageLevel&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: teal;&quot;&gt;ParentID&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;span style=&quot;color: blue;&quot;&gt;values &lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: teal;&quot;&gt;@array_value&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;@Level&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;@ParentId&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;span style=&quot;color: blue;&quot;&gt;END&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;span style=&quot;color: blue;&quot;&gt;set&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;@ParentId&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;@@IDENTITY&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;span style=&quot;color: blue;&quot;&gt;select&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;@ParentId&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;span style=&quot;color: green;&quot;&gt;--Moving to end of array&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;span style=&quot;color: blue;&quot;&gt;SELECT&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;@StageLevel&lt;/span&gt;
&lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: magenta;&quot;&gt;STUFF&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;(&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;@StageLevel&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; 1&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: teal;&quot;&gt;@separator_position&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;&#39;&#39;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;span style=&quot;color: blue;&quot;&gt;END&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt; mso-fareast-language: EN-CA;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;The end result will be a table with each row as a recursive hierarchy. Plus it has level information for depth.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/1753352237278386683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2013/11/build-hierarchy-from-delimited-string.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/1753352237278386683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/1753352237278386683'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2013/11/build-hierarchy-from-delimited-string.html' title='Build Hierarchy From Delimited String'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-597718596222872103</id><published>2013-10-16T08:06:00.000-07:00</published><updated>2013-10-16T08:06:43.828-07:00</updated><title type='text'>Moving Closer To MCSA: SQL Server 2012</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2WmF-Wor9hURw8yp2_886Cq3kC-5i-wI70_CYYFrlF0k8qv2OzIXpFRgfHWXABYTqG9WLNARsgIaqT7CwSH5oRXbZyv9K3GJQjeCvupE2RWaTy6OR2J-aIdYSygaN9tW9Gs-mInYQm7tb/s1600/70-457.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;226&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2WmF-Wor9hURw8yp2_886Cq3kC-5i-wI70_CYYFrlF0k8qv2OzIXpFRgfHWXABYTqG9WLNARsgIaqT7CwSH5oRXbZyv9K3GJQjeCvupE2RWaTy6OR2J-aIdYSygaN9tW9Gs-mInYQm7tb/s320/70-457.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Last week I passed:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Exam 457&amp;nbsp;&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;Transition your MCTS on SQL Server 2008 to MCSA: SQL Server 2012 -Part 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;line-height: 20px;&quot;&gt;Which will help me to qualify for Microsoft Certified Solutions Associate for SQL Server 2012. Now am preparing for 458 (Part 2).&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;line-height: 20px;&quot;&gt;The exam was moderately hard and I had doubts about couple of questions. Anyways getting through the course material helped me a lot in knowing SQL Server 2012.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;line-height: 20px;&quot;&gt;Cheers!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/597718596222872103/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2013/10/moving-closer-to-mcsa-sql-server-2012.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/597718596222872103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/597718596222872103'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2013/10/moving-closer-to-mcsa-sql-server-2012.html' title='Moving Closer To MCSA: SQL Server 2012'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2WmF-Wor9hURw8yp2_886Cq3kC-5i-wI70_CYYFrlF0k8qv2OzIXpFRgfHWXABYTqG9WLNARsgIaqT7CwSH5oRXbZyv9K3GJQjeCvupE2RWaTy6OR2J-aIdYSygaN9tW9Gs-mInYQm7tb/s72-c/70-457.PNG" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-3214443349578644004</id><published>2012-06-20T09:42:00.001-07:00</published><updated>2012-06-20T09:44:18.252-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bulk create rules"/><category scheme="http://www.blogger.com/atom/ns#" term="Content Organizer Rule"/><category scheme="http://www.blogger.com/atom/ns#" term="content organizer rule creator"/><category scheme="http://www.blogger.com/atom/ns#" term="Content Organizer rule manager"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><title type='text'>Content Organizer Rule Manager for SharePoint 2010</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;I am proud to release the beta version of Content Organizer Rule Manager (codename CORMa) for SharePoint 2010 today.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Background:&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Working on a SharePoint 2010 enterprise project we had tons of content types on differest site. Creating and tracking content organizer rules from SharePoint interface was tedious going back and forth between pages. There is no option in SharePoint Designer to manager content organizer rules. Lastly there was a need to bulk create rules as some of our libraries had multiple content types associated.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIzTWSM65Wwo3rAsO-iRmRLoB_Sxlk7Smcqiadly51iAvScLjVqBIx8U4uwwc_W5Lvg75xnd5DrMYwZ_ckaKAayYFbwtU5mrzCnyEY6FkU0z_jYFm56aKdW-zIc5pE1uKVD0qfe-wq9622/s1600/CORMa.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; cssfloat: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;233&quot; rca=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIzTWSM65Wwo3rAsO-iRmRLoB_Sxlk7Smcqiadly51iAvScLjVqBIx8U4uwwc_W5Lvg75xnd5DrMYwZ_ckaKAayYFbwtU5mrzCnyEY6FkU0z_jYFm56aKdW-zIc5pE1uKVD0qfe-wq9622/s320/CORMa.png&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;CORMa to the rescue! &lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;List and create content organizer rules in bulk. &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Delete rules.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Works for all field types inlcuing Taxonomy fields.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Export all site content types with associated lists to text file.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Check inherent SharePoint rules for rule creation.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Download, test and give feedback...&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
&lt;a href=&quot;http://corma.codeplex.com/&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;http://corma.codeplex.com/&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
&lt;a href=&quot;http://gallery.technet.microsoft.com/Content-Organizer-Rule-aa98ffab&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;http://gallery.technet.microsoft.com/Content-Organizer-Rule-aa98ffab&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/3214443349578644004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2012/06/content-organizer-rule-manager-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/3214443349578644004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/3214443349578644004'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2012/06/content-organizer-rule-manager-for.html' title='Content Organizer Rule Manager for SharePoint 2010'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIzTWSM65Wwo3rAsO-iRmRLoB_Sxlk7Smcqiadly51iAvScLjVqBIx8U4uwwc_W5Lvg75xnd5DrMYwZ_ckaKAayYFbwtU5mrzCnyEY6FkU0z_jYFm56aKdW-zIc5pE1uKVD0qfe-wq9622/s72-c/CORMa.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-8806334763762828608</id><published>2012-06-19T09:23:00.000-07:00</published><updated>2012-06-19T09:38:00.038-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="XSL"/><category scheme="http://www.blogger.com/atom/ns#" term="xsl:stylesheet"/><category scheme="http://www.blogger.com/atom/ns#" term="XSLT"/><category scheme="http://www.blogger.com/atom/ns#" term="XsltListViewWebPart"/><title type='text'>XSL Link for SharePoint 2010 Web Parts</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;When using a lot of Links list in SharePoint 2010&amp;nbsp;the view can be quite &#39;boring&#39;. To add some spice I have created an XSL style sheet&amp;nbsp;and applied to&amp;nbsp;List webpart&amp;nbsp;through web&amp;nbsp;part properties. Easy and fast:&lt;/span&gt;&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Get the XSL style sheet.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Modify (if required)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Upload to Style Library &amp;gt; XSL Style Sheets&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Edit web part and under Miscellaneous &amp;gt; XSL Link paste the path.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Set Appearance &amp;gt; Chrome Type&amp;nbsp;to &#39;Border Only&#39;. Apply and save.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&amp;nbsp;Style classes are embedded in the XSL file which you may move on to your CSS files.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;This would work on any list which is created on &#39;Link&#39; list. I have added some logic to get list name (title)&amp;nbsp;using XSL functions as it is pretty hard to do so. Let me know if someone knows an easier way, I can get the title in SharePoint Designer but on actual page it disappears. I think the View node is not available when XSL renders on page.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt; &lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;, sans-serif;&quot;&gt;Again, this XSL is targeted towards Links list in SharePoint 2010 but can be extended/reused for other libraries as well. Just change [@Columns] as per your CAML.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&amp;lt;xsl:stylesheet version=&quot;1.0&quot; &lt;br /&gt;
&amp;nbsp; xmlns:xsl=&lt;a href=&quot;http://www.w3.org/1999/XSL/Transform&quot;&gt;http://www.w3.org/1999/XSL/Transform&lt;/a&gt; &lt;br /&gt;
&amp;nbsp; xmlns:msxsl=&quot;urn:schemas-microsoft-com:xslt&quot; &lt;br /&gt;
&amp;nbsp; exclude-result-prefixes=&quot;msxsl&quot; &lt;br /&gt;
&amp;nbsp; xmlns:ddwrt2=&quot;urn:frontpage:internal&quot;&amp;gt; &lt;br /&gt;
&amp;lt;xsl:output method=&#39;html&#39; indent=&#39;yes&#39;/&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;xsl:template match=&#39;dsQueryResponse&#39; xmlns:ddwrt=&quot;http://schemas.microsoft.com/WebParts/v2/DataView/runtime&quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;style&amp;gt; &lt;br /&gt;
&amp;nbsp; .QLinksHeader{ &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; PADDING-BOTTOM: 2px; PADDING-LEFT: 2px; PADDING-RIGHT: 2px;&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; DISPLAY: block; MARGIN-BOTTOM: 2px; BACKGROUND: #0d5995; COLOR: white; &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; FONT-SIZE: 14px; PADDING-TOP: 2px } &lt;br /&gt;
&amp;nbsp; #QLinks { &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; PADDING-BOTTOM: 0px; LIST-STYLE-TYPE: none; MARGIN: 0px; &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; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px; } &lt;br /&gt;
&amp;nbsp; #QLinks LI { &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; BACKGROUND-IMAGE: url(/_layouts/images/icongo.gif); PADDING-LEFT: 2em; &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; BACKGROUND-REPEAT: no-repeat; MARGIN-LEFT: 8px; FONT-SIZE: 12px; &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; PADDING-BOTTOM: 5px } &lt;br /&gt;
&amp;nbsp; #QLinks LI a:hover{ text-decoration:underline; } &lt;br /&gt;
&amp;lt;/style&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;lt;div cellpadding=&quot;10&quot; cellspacing=&quot;0&quot; border=&quot;1&quot; &amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;SPAN class=&quot;QLinksHeader&quot;&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:value-of select=&quot; substring-before(substring-after(/dsQueryResponse/Rows/Row/@FileRef,&#39;Lists/&#39;),&#39;/&#39;)&quot; &amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:value-of&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/SPAN&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ul id=&quot;QLinks&quot;&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:apply-templates select=&#39;Rows/Row&#39;/&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ul&amp;gt; &lt;br /&gt;
&amp;nbsp; &amp;lt;/div&amp;gt; &lt;br /&gt;
&amp;lt;/xsl:template&amp;gt; &amp;lt;xsl:template match=&#39;Row&#39;&amp;gt; &lt;br /&gt;
&amp;nbsp; &amp;lt;li&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a href=&quot;{@URL}&quot;&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:value-of select=&quot;@URL.desc&quot; &amp;gt;&amp;lt;/xsl:value-of&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/a&amp;gt; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/li&amp;gt; &lt;br /&gt;
&amp;lt;/xsl:template&amp;gt; &lt;br /&gt;
&amp;lt;/xsl:stylesheet&amp;gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/8806334763762828608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2012/06/xsl-link-for-sharepoint-2010-web-parts.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/8806334763762828608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/8806334763762828608'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2012/06/xsl-link-for-sharepoint-2010-web-parts.html' title='XSL Link for SharePoint 2010 Web Parts'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-1715257072633071973</id><published>2011-12-02T09:02:00.001-08:00</published><updated>2011-12-02T09:17:57.377-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="installation steps"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server 2012"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows 7"/><title type='text'>Installing SQL Server 2012 RC0 on Windows 7</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: transparent;&quot;&gt;&lt;div style=&quot;background-color: transparent;&quot;&gt;&lt;span id=&quot;internal-source-marker_0.689332191599533&quot; style=&quot;background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;SQL Server 2012 RC0, formerly known as “Denali”, is available to download. Got my copy and started installing on a copy on Windows 7 virtual box. The installation was smooth.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Here are the steps:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: transparent;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 15px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;table style=&quot;border-bottom-style: none; border-collapse: collapse; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; width: 624px;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;*&quot;&gt;&lt;/col&gt;&lt;col width=&quot;*&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;img height=&quot;215px;&quot; src=&quot;https://lh4.googleusercontent.com/PtkU4ftNyYV8QdkXzI4jMQVlJvl8Pf3fcep6blTMnZwl7Wb0egpzmX6przJgWMG5kZpLOjLBVPjgqu2LndWaKkNv6YlPbsPt7BoAAhV5RWT-zPQKbUU&quot; width=&quot;287px;&quot; /&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;img height=&quot;220px;&quot; src=&quot;https://lh4.googleusercontent.com/3a_AqB4u_cfWKuAGusYBgGmeJ3vwvYNSJu_LnchsxfC6_Srve0pbm30BRNa48927jFHNCXcWRVUEkEasftLbcukn1-Yr4UNfUQp2gHBkkWvwfIc6sDE&quot; width=&quot;292px;&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;After extracting the download file, double click the setup.exe. Select the first option under installation to install a stand alone version.&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Some checks, no issues.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;img height=&quot;220px;&quot; src=&quot;https://lh6.googleusercontent.com/sNO-Fh9uBU8CLs5LdAS0AvECCdeiBLlv49U8o5uuwLbXvwA9g-OwJ01VLo0FBOBvOxuhjFO4lmfGy6yDwO6--pcSZJjMJBWtcH8OQVg6UBWN2Lxa3FY&quot; width=&quot;294px;&quot; /&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;img height=&quot;222px;&quot; src=&quot;https://lh6.googleusercontent.com/JLi702hhO9oSvp0z5O6QF4P_N5dZODXJ-H5JOZ6S9KxfABuVWZnNOSPAko9tvq918_aHoJAuTkZgVy7YHRYQlCot2KcGSUgbtjfMM4esyjNH27dtMI0&quot; width=&quot;296px;&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Choose what type of edition you want to get.&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Some more checks.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;img height=&quot;219px;&quot; src=&quot;https://lh4.googleusercontent.com/GXDqCrkHdRQ5hrjRylTkODBsKKqgJpHuw7xWAe8JXEA0wVh6Bz2Jg9LTQYv_W1LB6BRl8QiNlFOfgxt420VlWVCdbf_zHwKroQEIiU7h6G7Oy8oY-Mw&quot; width=&quot;292px;&quot; /&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;img height=&quot;221px;&quot; src=&quot;https://lh4.googleusercontent.com/VXkwRdzgbhU-VJ3wv8bX_R8c1GJQQGrSS4dfNS1gd0BYYMwtqwXsxYXYp-GzA7pGUoG1QXWSOnBd0n1YWfUyAxu0NBSXMxtj7oXo5j5hVu2LbLf-8ac&quot; width=&quot;295px;&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Standard feature installation.&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Select the components.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;img height=&quot;221px;&quot; src=&quot;https://lh4.googleusercontent.com/ib6SLeF4xrvFpgAaGnGFEksIIfa5msZZurSU7cM8UortrgbDWIfuUYLrjF8dQOVhwdhvNY4s7O6pV_IIcVs8NvzkmmFlk9xSeU80bec1_SMkEtv99JU&quot; width=&quot;295px;&quot; /&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;img height=&quot;219px;&quot; src=&quot;https://lh6.googleusercontent.com/Lx22_36JUhUygS_uYImfWGoeFnqft0H33nve0Wn8KXbke45msEoi7xgTUYa2D1bLXrZW9p73yTYGd4p3lar7Hqsn-xq9GiXmZfo1Hq5bZjb_zwmK3X4&quot; width=&quot;292px;&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Wondering where is BIDS; it’s been named to SQL Server Data Tools.&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Setup the instance id.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;img height=&quot;221px;&quot; src=&quot;https://lh6.googleusercontent.com/p1oAC6PGkHSB5VxSMWPInroxV6-DLi-RutpNQrjlazCI5gOPy0-h0E0evJs6i-jmq-JTv0OROfKDocXPqf7sTefApYyUi94hzWEi0xrGpuWTPazonSk&quot; width=&quot;295px;&quot; /&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;img height=&quot;219px;&quot; src=&quot;https://lh4.googleusercontent.com/J18BWWpno_yDZPcLUFHT82g8F079vfjRVlR0oNaBE9f1kG03a755GlK8CblLxuySzrDIubOB8-jYX7_mKK9x-qzo0SLPg9uTwbcMvp-hRROGJky6_BQ&quot; width=&quot;292px;&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Configure roles to be used.&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Analysis services configurations.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;img height=&quot;222px;&quot; src=&quot;https://lh6.googleusercontent.com/8IOZuhpbYdnMs5huQesWxXH5Mvcflcs6COiHpUHzlj-alqgKnEkxv-IITHP1FlA3Iqn2ngipdiXX4NjRlsRlUrxZ4c_oYoST2Dyn20GuAmuGssQaslI&quot; width=&quot;296px;&quot; /&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom-color: rgb(170, 170, 170); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(170, 170, 170); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(170, 170, 170); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(170, 170, 170); border-top-style: dotted; border-top-width: 1px; padding-bottom: 7px; padding-left: 7px; padding-right: 7px; padding-top: 7px; vertical-align: top;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Reporting Services settings.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 15px; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Hit ‘Next’, rest of the steps are linear and at the end you have a successful SQL Server 2012.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: transparent;&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: transparent;&quot;&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/1715257072633071973/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2011/12/installing-sql-server-2012-rc0-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/1715257072633071973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/1715257072633071973'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2011/12/installing-sql-server-2012-rc0-on.html' title='Installing SQL Server 2012 RC0 on Windows 7'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh4.googleusercontent.com/PtkU4ftNyYV8QdkXzI4jMQVlJvl8Pf3fcep6blTMnZwl7Wb0egpzmX6przJgWMG5kZpLOjLBVPjgqu2LndWaKkNv6YlPbsPt7BoAAhV5RWT-zPQKbUU=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-3248946743773746202</id><published>2011-12-01T14:03:00.000-08:00</published><updated>2011-12-01T14:03:58.344-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AdventureWorksDWDenali_Data.mdf"/><category scheme="http://www.blogger.com/atom/ns#" term="Error 5120"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2012"/><title type='text'>AdventureWorks and SQL Server 2012 RC0 and Access Denied</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;While attaching AdventureWorksDWDenali_Data.mdf to SQL Server 2012 RC0 if you get this error:&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Unable to open the physical file &quot;C:\Data\&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;AdventureWorksDWDenali_Data.mdf&quot;. Operating system error 5: &quot;5(Access is denied.)&quot;.&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEBKn3CiGyGvQNNzad2HfaTxoxxQADv3iy6TQbxqfG7-hfMrt6m_Zn2kixxV6PGijXoYCTaE-sqPtXjFjdnkBldALIRULHGXFQmQMg9SMa4zT6ViGG42au3oTGeEgbScwx0-ncaFY9PvCR/s1600/error+fix.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;215&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEBKn3CiGyGvQNNzad2HfaTxoxxQADv3iy6TQbxqfG7-hfMrt6m_Zn2kixxV6PGijXoYCTaE-sqPtXjFjdnkBldALIRULHGXFQmQMg9SMa4zT6ViGG42au3oTGeEgbScwx0-ncaFY9PvCR/s320/error+fix.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;To fix Right Click --&amp;gt; Properties --&amp;gt; Security&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Give Full Control access to the account you would be using.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;Attach to database again.&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/3248946743773746202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2011/12/adventureworks-and-sql-server-2012-rc0.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/3248946743773746202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/3248946743773746202'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2011/12/adventureworks-and-sql-server-2012-rc0.html' title='AdventureWorks and SQL Server 2012 RC0 and Access Denied'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEBKn3CiGyGvQNNzad2HfaTxoxxQADv3iy6TQbxqfG7-hfMrt6m_Zn2kixxV6PGijXoYCTaE-sqPtXjFjdnkBldALIRULHGXFQmQMg9SMa4zT6ViGG42au3oTGeEgbScwx0-ncaFY9PvCR/s72-c/error+fix.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-120875888357288471</id><published>2011-11-21T07:42:00.000-08:00</published><updated>2011-11-21T07:49:39.531-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="find edition"/><category scheme="http://www.blogger.com/atom/ns#" term="find level"/><category scheme="http://www.blogger.com/atom/ns#" term="find version"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Server"/><title type='text'>Find out SQL Server Edition</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Here is a query to find out what version and edition of SQL Sever you are using:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #cccccc;&quot;&gt;SELECT&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;SERVERPROPERTY(&#39;edition&#39;) as Edition,&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;SERVERPROPERTY(&#39;productversion&#39;) ProdVersion,&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;SERVERPROPERTY(&#39;productlevel&#39;) as Lvl&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/120875888357288471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2011/11/find-out-sql-server-edition.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/120875888357288471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/120875888357288471'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2011/11/find-out-sql-server-edition.html' title='Find out SQL Server Edition'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-7116857925516546955</id><published>2011-08-29T11:37:00.000-07:00</published><updated>2011-09-01T12:52:06.364-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Analysis Services 2008 R2"/><category scheme="http://www.blogger.com/atom/ns#" term="Clear Cache"/><category scheme="http://www.blogger.com/atom/ns#" term="Cold cache"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><title type='text'>Clear Analysis Services Cache</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;background-color: transparent;&quot;&gt;&lt;div dir=&quot;ltr&quot; id=&quot;internal-source-marker_0.6573647034820169&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;To test execution time of calculated measures from cold cache instead of warm cache run this query on Analysis Services MDX query editor:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: &#39;Courier New&#39;; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;batch xmlns=&quot;http://schemas.microsoft.com/analysisservices/2003/engine&quot;&gt;&lt;/batch&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: transparent;&quot;&gt;&lt;div dir=&quot;ltr&quot; id=&quot;internal-source-marker_0.6573647034820169&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: &#39;Courier New&#39;; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;Batch xmlns=&quot;http://schemas.microsoft.com/analysisservices/2003/engine&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: &#39;Courier New&#39;; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;lt;ClearCache&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: &#39;Courier New&#39;; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;lt;Object&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: &#39;Courier New&#39;; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;lt;DatabaseID&amp;gt;NameOfCube&amp;lt;/DatabaseID&amp;gt; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: &#39;Courier New&#39;; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;lt;/Object&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: &#39;Courier New&#39;; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;lt;/ClearCache&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: &#39;Courier New&#39;; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;/Batch&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/7116857925516546955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2011/08/to-test-execution-time-of-calculated.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/7116857925516546955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/7116857925516546955'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2011/08/to-test-execution-time-of-calculated.html' title='Clear Analysis Services Cache'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-4023286783526432772</id><published>2011-08-29T11:32:00.000-07:00</published><updated>2011-08-29T11:32:38.905-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".Net"/><category scheme="http://www.blogger.com/atom/ns#" term="Analysis Services"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="call stored procedure through analysis services"/><category scheme="http://www.blogger.com/atom/ns#" term="DefaultMember"/><category scheme="http://www.blogger.com/atom/ns#" term="SLQ Server 2008 R2"/><category scheme="http://www.blogger.com/atom/ns#" term="UserName"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2008"/><title type='text'>Analysis Services Default Member Through Stored Procedure</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;background-color: transparent;&quot;&gt;&lt;div dir=&quot;ltr&quot; id=&quot;internal-source-marker_0.6038876357488334&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Today, I had to dynamically assign default member value to an analysis services dimension. Scenario: Each user (AD login) has a preferred or default value assigned on time basis. So depending on which date data is sliced it always comes up with the value default of the current user.&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; id=&quot;internal-source-marker_0.6038876357488334&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For this we would need to create a mapping table in Relational database with date, user and default value.&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Create a basic User Stored Procedure (&lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;uspGetUserDefaultValue&lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;) which takes username (AD Login) as a parameter, selects on the mapping table based on username passed and returns a single value.&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Now we create a solution in Visual Studio 2008. This can be of class project template. We would be creating a custom DLL and register with SQL Server Analysis Services solution. Where SSAS solution would use function calls exposed by custom DLL. I created the project as part of my SSAS solution for better manageability.&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;We would need to add:&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Microsoft.AnalysisServices&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Microsoft.AnalysisServices.AdomdClient&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Verdana; font-size: 13px; white-space: pre-wrap;&quot;&gt;as reference to our custom dll project. These can be of version 10 (SQL 2008) or version 9 (SQL 2005). Works fine with either, seamlessly interchangeable.&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Now we create/rename our namespace and class to like&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Project/Assembly: &lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;AnalysisServicesCustomLibrary&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Namespace: &lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;CustomMethodCollection&lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Class: &lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;CustomMethods&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;or whatever you like.&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Create a public static function like:&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;public static string GetUserDefaultValue(string userName)&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt; text-indent: 31.5pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;OleDbConnection connection;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;try&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;connectionString =&quot;provider=sqloledb;server=&lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;yourservername&gt;&lt;/yourservername&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;;database=&lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;yourdatabasename&gt;&lt;/yourdatabasename&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;;trusted_connection=yes&quot;;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;connection= new OleDbConnection(connectionString);&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;connection.Open();&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;OleDbCommand command= new OleDbCommand(&quot;uspGetUserDefaultValue&quot;, connection);&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;command.CommandTimeout = 0;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;command.CommandType = CommandType.StoredProcedure;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;command.Parameters.Add(new OleDbParameter(&quot;@UserLogin&quot;, OleDbType.VarChar, 50));&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;command.Parameters[0].Value = userName;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;DataTable dataTable = new DataTable(&quot;DefaultValue&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;OleDbDataAdapter dataAdapter= new OleDbDataAdapter(command);&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;dataAdapter.Fill(dataTable);&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;connection.Close();&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (dataTable.Rows.Count == 0)&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return &quot;empty&quot;;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;string defaultValue = dataTable.Rows[0][0].ToString();&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;return &quot;[Dimension].[Dimension Attribute].&amp;amp;[&quot; + defaultValue + &quot;]&quot;;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;catch (Exception ex)&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;errorMessage = &quot;Some error: &quot; + ex.Source + &quot; Message: &quot; + ex.Message;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;throw new Exception(errorMessage, ex);&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: small; white-space: normal;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;The &lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; part is critical since here we would be formatting the return value into a MemberUniqueName for the associated dimension attribute. Else is basic stuff, feel free to add better exception handling etc.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: small; white-space: normal;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Do a quick test to see if you are getting the desired output from Stored Procedure and Class Function.&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Now we move to Analysis Services solution. First step is to add reference to &lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;AnalysisServicesCustomLibrary &lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;project under &lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Assemblies&lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; folder.&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Next move to the dimension where you would like to have a default value. Go to properties of the attribute that would have the default value. Under &lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;DefaultMember&lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; enter:&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;STRTOMEMBER( AnalysisServicesCustomLibrary.CustomMethodCollection.CustomMethods.GetUserDefaultValue(UserName))&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Here UserName is an Analysis Services keyword to get current logged in user’s account.&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;STRTOMEMBER&lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; converts the string passed by custom library’s function in a member.&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Build/Deploy/Process cube. Run a query or browse the cube and you should have the default value against logged in user.&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Verdana; font-size: 13px; font-weight: bold; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Verdana; font-size: 13px; font-weight: bold; white-space: pre-wrap;&quot;&gt;DEBUG&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;To debug your code, move to your custom library project. Go to Debug--&amp;gt;Attach to Process and select &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 10pt; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Msmdsrv.exe&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; process. Add a breakpoint and try querying the dimension using the function.&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;References:&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-left: 4.5pt; margin-right: 4.5pt; margin-top: 0pt;&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms174763.aspx&quot;&gt;&lt;span style=&quot;background-color: white; color: #000099; font-family: Verdana; font-size: 10pt; font-style: normal; font-variant: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Debugging Stored Procedures&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/4023286783526432772/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2011/08/analysis-services-default-member.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/4023286783526432772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/4023286783526432772'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2011/08/analysis-services-default-member.html' title='Analysis Services Default Member Through Stored Procedure'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-2303573158175922135</id><published>2011-01-28T04:33:00.000-08:00</published><updated>2011-01-28T04:33:44.695-08:00</updated><title type='text'>From Date To Date in PerformancePoint Analytical Chart</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Today, we add From Date and To Date parameters to Performance Point Server Dashboard Designer’s Analytical Reports. Many times this is a requirement to allow users to select a starting and ending date to view charts/reports. This gives dynamic behavior to time range as compared to using pre-defined date attributes like Month, Week etc.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Start with creating a Report and select Analytical Chart. Add your required Dimensions and Measures including Time dimension.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Once done, move to the Query tab of the report it should be something like below depending on what artifacts you drop :&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4SfgYTGQdwIEc32Qnfm9G0yQqlvqLC2hX7uygWsDANcYYSaMGm09uE5eNjlcIG1zaCC6_UmmPi213zclyn6RrWJR72flcWsp_4phzO5_4gtq185X5Bh_LYKY7s_Cjui1pzaf_h2vqWgbi/s1600/QueryEd.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;215&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4SfgYTGQdwIEc32Qnfm9G0yQqlvqLC2hX7uygWsDANcYYSaMGm09uE5eNjlcIG1zaCC6_UmmPi213zclyn6RrWJR72flcWsp_4phzO5_4gtq185X5Bh_LYKY7s_Cjui1pzaf_h2vqWgbi/s320/QueryEd.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;For demo I am using Time dimension on Bottom Axis and Total Time Decimal on Series. You are free to move time to any other axis. No worries, same process would apply.&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;From the bottom of the page add parameter from the Parameters section. Name them what you like, for purpose I use FromDate and ToDate. Give default values, these can be any valid dates.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA4deE4d-HhVD3dbVTcuKtAwHh5ryXia0BCtQoxKkKJ5aMsfODj-tpwI6xsBRt6WWuBF5aag4E5erYlpT8F5qgVZcO7Wxh_aWnp_iEcIATJvVSCJqy80i5pwhMaDOBaKf5lJSaEvpiNHyO/s1600/AddParam.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;131&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA4deE4d-HhVD3dbVTcuKtAwHh5ryXia0BCtQoxKkKJ5aMsfODj-tpwI6xsBRt6WWuBF5aag4E5erYlpT8F5qgVZcO7Wxh_aWnp_iEcIATJvVSCJqy80i5pwhMaDOBaKf5lJSaEvpiNHyO/s320/AddParam.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;With every parameter you add you would find a value added to your query canvas like &lt;fromdate&gt;&amp;lt;&lt;fromdate&gt;&amp;gt; and &lt;todate&gt;&amp;lt;&lt;todate&gt;&amp;gt;. For now it does not matter where they are just add parameters.&lt;/todate&gt;&lt;/todate&gt;&lt;/fromdate&gt;&lt;/fromdate&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Move to your query and where ever your time dimension is used replace that with:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;HIERARCHIZE ( {&amp;lt;&lt;fromdate&gt;&amp;gt;:&amp;lt;&lt;todate&gt;&amp;gt;&lt;fromdate&gt;&lt;todate&gt;} )&lt;/todate&gt;&lt;/fromdate&gt;&lt;/todate&gt;&lt;/fromdate&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Your final query would be like:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC_QPSexX9ERN5aRQsd2Lg6K_TFdh3ZHDhqO2slj51KVLiL3bgvStnugwc7x5VS2FaH8FcqsP-BQiS7z45gNUU7kADJI9azt8XB6mlqdW-zzSMAcC7AaetC1hyphenhyphenZVXff9hv4tCDvh6Z7jS6/s1600/QueryUpdate.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;199&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC_QPSexX9ERN5aRQsd2Lg6K_TFdh3ZHDhqO2slj51KVLiL3bgvStnugwc7x5VS2FaH8FcqsP-BQiS7z45gNUU7kADJI9azt8XB6mlqdW-zzSMAcC7AaetC1hyphenhyphenZVXff9hv4tCDvh6Z7jS6/s320/QueryUpdate.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Save/Publish your report.&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;In your dashboard section add filters from Filters tab. I am using Time Intelligence Calendar filters but any type of filter can be used.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQaj8bdILQlVxXIPxmWcuK3UR81-EZM5MxdRvtXZ5J5JG4VtfmfuSW1Ejum4dSqdTPceIFuFlr_aib2BIGqa65avtKUhyphenhyphenwNsi1UyaITbo6btFZ8umZSfC3JhcFrhYggG2dlNXAQzHve-DZ/s1600/Filters.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;70&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQaj8bdILQlVxXIPxmWcuK3UR81-EZM5MxdRvtXZ5J5JG4VtfmfuSW1Ejum4dSqdTPceIFuFlr_aib2BIGqa65avtKUhyphenhyphenwNsi1UyaITbo6btFZ8umZSfC3JhcFrhYggG2dlNXAQzHve-DZ/s320/Filters.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;If you opt to use any other type of filter remember to set your values in Report query respectively.&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Now we have our filters and report. We add them to the dashboard page like so:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_habpAd6co7Gpff34P597-yiS12bIdDRphUETHsZyZm-8J2YThV0UD346jg9AH6s-STPDhK4zeU6gh5Py2bjsvZMQthKCc0_36olARw3PAeP0ES6RAvUIQ4kFhHFHpam_uE5ZwPJO1RBr/s1600/Dash.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;136&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_habpAd6co7Gpff34P597-yiS12bIdDRphUETHsZyZm-8J2YThV0UD346jg9AH6s-STPDhK4zeU6gh5Py2bjsvZMQthKCc0_36olARw3PAeP0ES6RAvUIQ4kFhHFHpam_uE5ZwPJO1RBr/s320/Dash.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Now we start linking filters and report. First link FromDate filter like so:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRQjz6Aook9B0uC8PnFwddXYEIrHYqh3LxHcqLL0gET8iXs_PFeSNxsRuGiBfAIgW73kbiQ-NWXmWfqz92rzIkC2JRZXmY8pCsush9VS1nWLaV7V8Mn2YY9OoLv3_0HawjfaueHQLMgKIB/s1600/FromDate.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRQjz6Aook9B0uC8PnFwddXYEIrHYqh3LxHcqLL0gET8iXs_PFeSNxsRuGiBfAIgW73kbiQ-NWXmWfqz92rzIkC2JRZXmY8pCsush9VS1nWLaV7V8Mn2YY9OoLv3_0HawjfaueHQLMgKIB/s320/FromDate.png&quot; width=&quot;312&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;In source value select your data source, here TestFromTo is my data source. Next press Filter Link Formula and type in Day. This defines what level of a hierarchy we would be referencing. Remember to setup Time properties in your data source.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Similarly we link ToDate filter like:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcSPX3CW8a6SR-O78HLkXBzszisp0Q5iJxIo_Gg2xkQgBjnfKKcdj1SycQt0LZZ6ZxYw87Od2LXUwsaI-kw6bP5A8VE3a6VM6cqVeEIEQ6fgQWAOLbU5hfVVRT8yay64pysQozsyOSABpa/s1600/ToDate.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;238&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcSPX3CW8a6SR-O78HLkXBzszisp0Q5iJxIo_Gg2xkQgBjnfKKcdj1SycQt0LZZ6ZxYw87Od2LXUwsaI-kw6bP5A8VE3a6VM6cqVeEIEQ6fgQWAOLbU5hfVVRT8yay64pysQozsyOSABpa/s320/ToDate.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;All done. Save/Publish and Preview.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-w7cgTRGmWtwlfKI5HqADpXc8RCsZ_EyNOy4PpB432loyIZdbmfp6sY2fbUJImlaNCFd523ier574rVeb9F6K-_vVQhvKA6LaBjYgP6PpuYSQEt3gNlC9TnY9CotSUghMV-JT9SEcROEd/s1600/InitialDash.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-w7cgTRGmWtwlfKI5HqADpXc8RCsZ_EyNOy4PpB432loyIZdbmfp6sY2fbUJImlaNCFd523ier574rVeb9F6K-_vVQhvKA6LaBjYgP6PpuYSQEt3gNlC9TnY9CotSUghMV-JT9SEcROEd/s320/InitialDash.png&quot; width=&quot;302&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Here dates selected in 14&lt;sup&gt;th&lt;/sup&gt; September, 2009 and the report displays data for that day. Now changing the ToDate to 18&lt;sup&gt;th&lt;/sup&gt; September, 2009 would show:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiIOVSL94g95p7TP0rkb8khuwOd7J5Ls7MYt8JKz_I7769sQdVqKrz47wiu6XzbwUtpByyr8MZsDLmlTyEHWS63_RQ9Du6TbYp-e0olcn6GK79bLJEgiEYAfIiB0KH7icHoIyUPoz-1fpZ/s1600/FinalDash.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiIOVSL94g95p7TP0rkb8khuwOd7J5Ls7MYt8JKz_I7769sQdVqKrz47wiu6XzbwUtpByyr8MZsDLmlTyEHWS63_RQ9Du6TbYp-e0olcn6GK79bLJEgiEYAfIiB0KH7icHoIyUPoz-1fpZ/s320/FinalDash.png&quot; width=&quot;307&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;And we have From Date and To Date filters working on an Analytical Report.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgau5HiDp6HmxpdMkRhiVuYlbhRGi6FsNgDfbbAFAsIRFaihfq1E7EhqkrAnNNhyxKYLFCMzFoc5Z5QLzSXeNweA1b9WBsSyMDaHaAtBIfxuJefIozXue2QC7mVx7G4YAPqayocyKiMOJyT/s1600/downside.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;106&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgau5HiDp6HmxpdMkRhiVuYlbhRGi6FsNgDfbbAFAsIRFaihfq1E7EhqkrAnNNhyxKYLFCMzFoc5Z5QLzSXeNweA1b9WBsSyMDaHaAtBIfxuJefIozXue2QC7mVx7G4YAPqayocyKiMOJyT/s320/downside.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;This is very intuitive way of showing data to end users. A lot of stakeholders ask for this feature especially for Trend Charts/Reports.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Downside to this implementation is that we lose the right click contextual features of analytics like drill downs, decomposition tree etc.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/2303573158175922135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2011/01/from-date-to-date-in-performancepoint.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/2303573158175922135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/2303573158175922135'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2011/01/from-date-to-date-in-performancepoint.html' title='From Date To Date in PerformancePoint Analytical Chart'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4SfgYTGQdwIEc32Qnfm9G0yQqlvqLC2hX7uygWsDANcYYSaMGm09uE5eNjlcIG1zaCC6_UmmPi213zclyn6RrWJR72flcWsp_4phzO5_4gtq185X5Bh_LYKY7s_Cjui1pzaf_h2vqWgbi/s72-c/QueryEd.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-6891486990124060859</id><published>2010-10-06T08:53:00.000-07:00</published><updated>2010-12-30T23:09:00.783-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="500 values"/><category scheme="http://www.blogger.com/atom/ns#" term="DESC"/><category scheme="http://www.blogger.com/atom/ns#" term="Fitler values"/><category scheme="http://www.blogger.com/atom/ns#" term="MDX"/><category scheme="http://www.blogger.com/atom/ns#" term="ORDER"/><category scheme="http://www.blogger.com/atom/ns#" term="PerformancePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Reverse"/><title type='text'>MDX Date dimension in Descending Order</title><content type='html'>&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Scenario: &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;The client is refusing to make the change to the filters to allow more than 500 entries due to concern that the performance will be degraded for all of their performancepoint dashboards.&amp;nbsp; Would it be possible to change the date filters so that the most recent dates appear first in the list?&amp;nbsp; This would cause the older items to be truncated rather than the most recent.&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;select &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;[Measures].[Some Units] on 0,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;ORDER (&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;nonempty(&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;[time].[year-quarter-month-week-date].members,[Measures].[Some Units])&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;,[time].[&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;year-quarter-month-week-date&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;].CurrentMember.MemberValue , desc) on 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;from [MyCube]&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;This would retain the hierarchies and sort the date filters with most recent date first. So that the past values would be automatically filtered out (more than 500 ones).&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;No need to change the web.config!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;The date dimension is SSAS business intelligence time dimension (auto generated).&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Reference:&lt;/span&gt;&lt;br /&gt;
&lt;h3 class=&quot;post-name&quot; style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; font-weight: normal;&quot;&gt;&lt;a href=&quot;http://blogs.msdn.com/b/performancepoint/archive/2008/01/17/changing-the-limit-on-the-number-of-items-returned-in-a-filter.aspx&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Changing the limit on the number of items returned in a filter&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; &lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/6891486990124060859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2010/10/mdx-date-dimension-in-descending-order.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/6891486990124060859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/6891486990124060859'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2010/10/mdx-date-dimension-in-descending-order.html' title='MDX Date dimension in Descending Order'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-1835477100236230700</id><published>2010-05-20T02:02:00.000-07:00</published><updated>2011-11-23T09:57:57.449-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Analytical Report"/><category scheme="http://www.blogger.com/atom/ns#" term="Dashboard Deisgner"/><category scheme="http://www.blogger.com/atom/ns#" term="pass parameter"/><category scheme="http://www.blogger.com/atom/ns#" term="PerformancePoint Services"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><title type='text'>Pass Parameter to Analytical Report PPS 2010</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Questions: Can we pass a parameter value to an analytical report in our new SharePoint 2010&#39;s PerformancePoint Services environment? For example passing a numeric factor to report and calculate a new measure based on user input.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdBQwTTEOMXQc-U7fwqxxRIvlaGqRLH1qhCdODOHH2aQNzjq9-0PzWI6orVrgNSYl_lb3WD18U2oEiZq3-sTSUTGh9b_GOADGRc-PWtpxOg9-oOr0G10Rbj-KXJcv6wj-KJtnxR0wkgmuT/&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;104&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdBQwTTEOMXQc-U7fwqxxRIvlaGqRLH1qhCdODOHH2aQNzjq9-0PzWI6orVrgNSYl_lb3WD18U2oEiZq3-sTSUTGh9b_GOADGRc-PWtpxOg9-oOr0G10Rbj-KXJcv6wj-KJtnxR0wkgmuT/&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;Answer: Yes. I would assume that you have already a working environment of SharePoint 2010 along with PerformancePoint Services. We begin by opening the PerformancePoint Dashboard Designer.&lt;br /&gt;
&lt;br /&gt;
Right click &#39;Data Connections&#39; or from &#39;Create&#39; ribbon select &#39;Data Source&#39;. Configure to your already deployed cube.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSKUQ90lKdwzjm7BPjMXwKF1uNs7Fuck4cGMy3l_r6VEdn1QLDGLvzh7ELmhE5_3fWvQCeAf-XRuLQ53H3On2-ad2gE-jyBKjBv3rA8IrELCwLLLYF2NUKTXCON-WegbP8TMVwkNXdadT9/&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;101&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSKUQ90lKdwzjm7BPjMXwKF1uNs7Fuck4cGMy3l_r6VEdn1QLDGLvzh7ELmhE5_3fWvQCeAf-XRuLQ53H3On2-ad2gE-jyBKjBv3rA8IrELCwLLLYF2NUKTXCON-WegbP8TMVwkNXdadT9/&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2giJH3bvsDXBe7Br7dcKt03a9Xufj5vu-skKeb7N_q6RTICvLBvRHnGe-Y9pKGWC7klRpyinz9GqC1-84v3u4gx4gdgwWzAbaGyCKM6s06CSB8ldRAM9ADpuVl8mqy1i1wd0tkOva284T/s1600/reportAddparts.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;131&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2giJH3bvsDXBe7Br7dcKt03a9Xufj5vu-skKeb7N_q6RTICvLBvRHnGe-Y9pKGWC7klRpyinz9GqC1-84v3u4gx4gdgwWzAbaGyCKM6s06CSB8ldRAM9ADpuVl8mqy1i1wd0tkOva284T/s200/reportAddparts.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;Right click on &#39;PerformancePoint Content&#39; select &#39;New -&amp;gt; Report&#39; or from &#39;Create&#39; ribbon select &#39;Other Reports&#39;. From the dialog box select &#39;Analytical Chart&#39;. Press OK.&lt;br /&gt;
&lt;br /&gt;
Name your report as desired I name it &#39;Factorize Me&#39;.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
For the sake of simplicity I would add one time dimension to the bottom axis and numeric value to series. This numeric values is upon which we are going to apply the factor. In my case it is &#39;Sales Amount&#39;.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEa-IXas4v3aHTChj7O_N_D8DiuZW-grHTfKFL2tOqsR92xaxNO4EtejcENFAdtyfpD9Uh1HT5uO7NPekwdlshTZl_vVthyphenhyphenneQJK7yGDfey6apkEZu6Ua_ukXoHU60B3eKAHnedu6t1lII/&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;252&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEa-IXas4v3aHTChj7O_N_D8DiuZW-grHTfKFL2tOqsR92xaxNO4EtejcENFAdtyfpD9Uh1HT5uO7NPekwdlshTZl_vVthyphenhyphenneQJK7yGDfey6apkEZu6Ua_ukXoHU60B3eKAHnedu6t1lII/&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjt04Iur0NDrMnlGrfRU0nuSZI5nLFavYpzP0XjZm7fF8f2pCe96wcTbzlvLt-2R4izzP6Xw0htT2R3YoD1HUbWmMBRw6GhCzDKf1tjnqksAEGYb7CXI9UvVbXt_ghvY3NExXKt97FcMXlG/s1600/designView.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjt04Iur0NDrMnlGrfRU0nuSZI5nLFavYpzP0XjZm7fF8f2pCe96wcTbzlvLt-2R4izzP6Xw0htT2R3YoD1HUbWmMBRw6GhCzDKf1tjnqksAEGYb7CXI9UvVbXt_ghvY3NExXKt97FcMXlG/s320/designView.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;I am using a Banking analysis services cube provided by Microsoft but this method can be used for any measure.&lt;br /&gt;
One more thing I would like to mention is regarding the use of sales amount as this tutorial would allow user to apply factor on sales for what ifs. Like what if I increase sales by 10% we can enter 1.1 and we have a projected sale of 10%. One can see a good utilization of this.&lt;br /&gt;
&lt;br /&gt;
Back to the designing. Once we added the our dimensions we move to the &#39;Query&#39; part of the report since we need to add a parameter.&lt;br /&gt;
Here is the query created by PerformancePoint Services:&lt;br /&gt;
SELECT&lt;br /&gt;
HIERARCHIZE( { [Tr Date].[YearToMonth].[Calendar Year].&amp;amp;[2009].&amp;amp;[Q 1].&amp;amp;[March], [Tr Date].[YearToMonth].[Calendar Year].&amp;amp;[2009].&amp;amp;[Q 2].&amp;amp;[April], [Tr Date].[YearToMonth].[Calendar Year].&amp;amp;[2009].&amp;amp;[Q 2].&amp;amp;[May] } )&lt;br /&gt;
ON COLUMNS,&lt;br /&gt;
&lt;br /&gt;
{ [Measures].[Sales Amount]}&lt;br /&gt;
ON ROWS&lt;br /&gt;
&lt;br /&gt;
FROM [Bank DW]&lt;br /&gt;
&lt;br /&gt;
We would be editing it and adding a parameter. First add the required  measure something like &#39;Target&#39;.&lt;br /&gt;
WITH MEMBER [Measures].[Target] as  ([Measures].[Sales Amount] * &amp;lt;&lt;factor&gt;&amp;gt; )&lt;br /&gt;
here  &amp;lt;&lt;factor&gt;&amp;gt; is our parameter and would be automatically added  to parameters section below. One thing to note is that I am using  measure sales amount to make the change visible but we can use any other  measure here.&lt;factor&gt;&lt;factor&gt; &lt;br /&gt;
Finally we use this new Target measure on ROWS along with sales amount measure. Here is the final query:&lt;br /&gt;
WITH MEMBER [Measures].[Target] as ([Measures].[Sales Amount] * &amp;lt;&lt;factor&gt;&amp;gt; )&lt;br /&gt;
&lt;br /&gt;
SELECT&lt;br /&gt;
HIERARCHIZE( { [Tr Date].[YearToMonth].[Calendar Year].&amp;amp;[2009].&amp;amp;[Q 1].&amp;amp;[March], [Tr Date].[YearToMonth].[Calendar Year].&amp;amp;[2009].&amp;amp;[Q 2].&amp;amp;[April], [Tr Date].[YearToMonth].[Calendar Year].&amp;amp;[2009].&amp;amp;[Q 2].&amp;amp;[May] } )&lt;br /&gt;
ON COLUMNS,&lt;br /&gt;
&lt;br /&gt;
{ [Measures].[Sales Amount], [Measures].[Target] }&lt;br /&gt;
ON ROWS&lt;br /&gt;
&lt;br /&gt;
FROM [Bank DW]&lt;br /&gt;
&lt;br /&gt;
Assign a default value to our parameter &amp;lt;&lt;factor&gt;&amp;gt; and switch to design pane where you would be seeing 2 measures now (Sales Amount and Target).&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg044FjAPQX4Xq1lu4yuN9WxyPE8ySZli10TmtdUV3ohwL2CsByYoIlMx8ys1JPBAjHmGfiNSb_xgD_qAM2xLAqU9zuaAj2nkd2YGX3-qX5eTmyWpghelGkkVLwm3CBymjNt58p94R9LXYm/&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;244&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg044FjAPQX4Xq1lu4yuN9WxyPE8ySZli10TmtdUV3ohwL2CsByYoIlMx8ys1JPBAjHmGfiNSb_xgD_qAM2xLAqU9zuaAj2nkd2YGX3-qX5eTmyWpghelGkkVLwm3CBymjNt58p94R9LXYm/&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;br /&gt;
Next create dashboard add the report. Right click the dashboard and select &#39;Deploy to SharePoint...&#39;.&amp;nbsp;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;br /&gt;
&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;Wait for the SharePoint page to load and you can see the report.&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2OOuKsQw65CZJs7yhc8tQZJrsIGSYiy3n8k7zSJ_mgrQDyjOrNLi2-ldbIlsldeH6raPi7JsAZsIMq5fePFiO44va4uXJYP4-0TPTdCZKf9Hwpv4iUn9qBULbEGLQl16gUX97LP_U5xyh/s1600/sp.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;215&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2OOuKsQw65CZJs7yhc8tQZJrsIGSYiy3n8k7zSJ_mgrQDyjOrNLi2-ldbIlsldeH6raPi7JsAZsIMq5fePFiO44va4uXJYP4-0TPTdCZKf9Hwpv4iUn9qBULbEGLQl16gUX97LP_U5xyh/s320/sp.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&amp;nbsp;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;br /&gt;
&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;Time to add an input field where use can enter a value to be used by our report. So select &#39;Edit Page&#39; from top. Click on &#39;Add Web Part&#39; on which ever zone you would like the input box to appear. This would open the web part gallery. From &#39;Categories&#39; select &#39;Filters&#39; and from there select &#39;Text Filter&#39;. Press &#39;Add&#39; button.&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;br /&gt;
&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&amp;nbsp;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;br /&gt;
&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;Rename web part to your liking.&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;br /&gt;
&lt;/factor&gt;&lt;/factor&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ-lPzbMbaxA8UhDvM9xxTN_pVXPAFyOT-UQd-GVjXb6y0H5Uh2_E4GdhfUZI9iMO4GhjnIZuVVqoQGrntz-4E7dyEebGwfJAUzs7FN-Zdj5RVFqz8MR0Zc749VM0ZPW5H_zg36LxzvtUO/&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;81&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ-lPzbMbaxA8UhDvM9xxTN_pVXPAFyOT-UQd-GVjXb6y0H5Uh2_E4GdhfUZI9iMO4GhjnIZuVVqoQGrntz-4E7dyEebGwfJAUzs7FN-Zdj5RVFqz8MR0Zc749VM0ZPW5H_zg36LxzvtUO/&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;From web part setting select &#39;Connections&#39; &amp;gt;&amp;gt; &#39;Send Filter Values To&#39; &amp;gt;&amp;gt; &#39;Factorize Me&#39; (this is the name of our analytical report). On the configure connection dialog box just check if the correct parameter is selected and press &#39;Finish&#39;.&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;br /&gt;
&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;br /&gt;
&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYiei85bUBEfUQkuXQHrk04uVuG-24XiS8PnI1AAJF0cZkwYt1SAKsKNROVosChHJuMv3HJw4vq2HaSSjCPTNrf3hmReThO2Gyp3r-eFRj84tDIDzDB6khFl2mOi1yA2VGWUUHMmH56v4m/&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;164&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYiei85bUBEfUQkuXQHrk04uVuG-24XiS8PnI1AAJF0cZkwYt1SAKsKNROVosChHJuMv3HJw4vq2HaSSjCPTNrf3hmReThO2Gyp3r-eFRj84tDIDzDB6khFl2mOi1yA2VGWUUHMmH56v4m/&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;That is it, we are done. Enter a value and see the Target value change. (if the values does not change try edit/save SharePoint page again)&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;br /&gt;
&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;Cool feature to SharePoint 2010 to be able to connect web parts to PerformancePoint content.&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXDAGncWuOAsRkBes5Hiq_NXpzh_CyZay0z-JSBJ6gGFW6FsZrhr-IxXWisgC7iZDc-ddTBffkk-GGFq6NzVm8cYr2ol5yRuzScOdGkc6kkbQm2Lh8n7Uk6w7GlhdCYTn2c_0ht-lsPMPK/&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXDAGncWuOAsRkBes5Hiq_NXpzh_CyZay0z-JSBJ6gGFW6FsZrhr-IxXWisgC7iZDc-ddTBffkk-GGFq6NzVm8cYr2ol5yRuzScOdGkc6kkbQm2Lh8n7Uk6w7GlhdCYTn2c_0ht-lsPMPK/&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;313&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXDAGncWuOAsRkBes5Hiq_NXpzh_CyZay0z-JSBJ6gGFW6FsZrhr-IxXWisgC7iZDc-ddTBffkk-GGFq6NzVm8cYr2ol5yRuzScOdGkc6kkbQm2Lh8n7Uk6w7GlhdCYTn2c_0ht-lsPMPK/&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;One downside to this is that when we use custom MDX in reports the inherent analytic features are disabled like drill downs, pivot, (the new very useful) adding measure on the go etc.&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;br /&gt;
&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;External Links:&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;br /&gt;
&lt;a href=&quot;http://blogs.msdn.com/performancepoint/archive/2007/06/15/mdx-in-dashboards-scorecards-and-views.aspx&quot;&gt;MDX in Dashboards, Scorecards, and Views?&lt;/a&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;factor&gt;&lt;br /&gt;
&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/factor&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/1835477100236230700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2010/05/pass-parameter-to-analytical-report-pps.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/1835477100236230700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/1835477100236230700'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2010/05/pass-parameter-to-analytical-report-pps.html' title='Pass Parameter to Analytical Report PPS 2010'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdBQwTTEOMXQc-U7fwqxxRIvlaGqRLH1qhCdODOHH2aQNzjq9-0PzWI6orVrgNSYl_lb3WD18U2oEiZq3-sTSUTGh9b_GOADGRc-PWtpxOg9-oOr0G10Rbj-KXJcv6wj-KJtnxR0wkgmuT/s72-c" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-8685917659233085618</id><published>2010-05-12T23:34:00.001-07:00</published><updated>2010-05-12T23:39:40.241-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="location"/><category scheme="http://www.blogger.com/atom/ns#" term="log files"/><category scheme="http://www.blogger.com/atom/ns#" term="path"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><title type='text'>SharePoint 2010 location of log files</title><content type='html'>If anyone is wondering  what is the location of SharePoint 2010 log files. Copy the line below  and paste it in run:&lt;br /&gt;
%programfiles%\Common Files\Microsoft  Shared\Web Server Extensions\14\LOGS&lt;br /&gt;
&lt;br /&gt;
SharePoint 2007 had &#39;12&#39; folder and SharePoint 2010 has &#39;14&#39;... hmm where did &#39;13&#39;  go??? Superstitious I presume since most building don&#39;t have 13th floors  :D&lt;br&gt;</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/8685917659233085618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2010/05/sharepoint-2010-location-of-log-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/8685917659233085618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/8685917659233085618'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2010/05/sharepoint-2010-location-of-log-files.html' title='SharePoint 2010 location of log files'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-6129397757837407515</id><published>2010-05-03T01:52:00.000-07:00</published><updated>2010-05-03T01:56:03.310-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="default"/><category scheme="http://www.blogger.com/atom/ns#" term="Fitler values"/><category scheme="http://www.blogger.com/atom/ns#" term="PerformancePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Persist"/><title type='text'>PerformancePoint and Default Fitler Values</title><content type='html'>&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgltAfAKy-5TxHdp0vxfeu6LDUCWDvaOr4e2idqVWtvU2xDadbsKTQVvcukWra6SjJEnTjQHXxH4RIKkv8ROyiiPYZ_blWIxUYcqq84_XVDYMXaSbXvfmWS7C8TaYZTmWb7lVaTmXx1UIS_/s1600/PPS.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgltAfAKy-5TxHdp0vxfeu6LDUCWDvaOr4e2idqVWtvU2xDadbsKTQVvcukWra6SjJEnTjQHXxH4RIKkv8ROyiiPYZ_blWIxUYcqq84_XVDYMXaSbXvfmWS7C8TaYZTmWb7lVaTmXx1UIS_/s400/PPS.jpg&quot; width=&quot;342&quot; /&gt;&lt;/a&gt;Default behavior of PerformancePoint filters is to persist the values selected before, so that when dashboard reopens the filter values are set to those used previously. But what if we need to change that THEN the following article is what is needed:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://blogs.msdn.com/performancepoint/archive/2008/02/12/always-display-default-filter-selection-in-dashboards.aspx&quot;&gt;http://blogs.msdn.com/performancepoint/archive/2008/02/12/always-display-default-filter-selection-in-dashboards.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
(Image taken for the above article)</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/6129397757837407515/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2010/05/performancepoint-and-default-fitler.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/6129397757837407515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/6129397757837407515'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2010/05/performancepoint-and-default-fitler.html' title='PerformancePoint and Default Fitler Values'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgltAfAKy-5TxHdp0vxfeu6LDUCWDvaOr4e2idqVWtvU2xDadbsKTQVvcukWra6SjJEnTjQHXxH4RIKkv8ROyiiPYZ_blWIxUYcqq84_XVDYMXaSbXvfmWS7C8TaYZTmWb7lVaTmXx1UIS_/s72-c/PPS.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-5714383331895426868</id><published>2010-04-26T04:56:00.000-07:00</published><updated>2010-05-03T02:03:17.401-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataFormWebPart; xsl:if"/><category scheme="http://www.blogger.com/atom/ns#" term="querystring; SharePoint Designer; XSLT; DataViewWebPart"/><title type='text'>XSL Conditional Format based on QueryString using SharePoint Designer</title><content type='html'>Today I had to add a success message on &lt;b&gt;ContactUs &lt;/b&gt;page built on &lt;b&gt;MOSS &lt;/b&gt;website using SharePoint Designer.&lt;br /&gt;
I had already built a ContactUs form, built by using &lt;b&gt;DataFormWebPart&lt;/b&gt; A.K.A &lt;b&gt;DataViewWebPart&lt;/b&gt;, where a user can enter some information and submit using only out of the box components using &lt;b&gt;SharePoint Designer&lt;/b&gt; (which I will cover in this blog sometimes later).&lt;br /&gt;
Problem was, information was submitted successfully but no message was displayed to end user. So following is how I accomplished it.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvKgCfqSB_8jMRzJbnTKzCe1eZqIJLS56u1g9n4gLPSYlji-vFRePCUougQPMCSHHN0Pxrtdrb15XnQFPs4MpyqC6gIAPg2FG_wOAmQ2DskEU_1iVfjSzK8Q_BEV8fuF-xb7Pcerc-_A9J/s1600/xsl.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvKgCfqSB_8jMRzJbnTKzCe1eZqIJLS56u1g9n4gLPSYlji-vFRePCUougQPMCSHHN0Pxrtdrb15XnQFPs4MpyqC6gIAPg2FG_wOAmQ2DskEU_1iVfjSzK8Q_BEV8fuF-xb7Pcerc-_A9J/s320/xsl.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;First add a parameter in &#39;&lt;b&gt;Common Data View Tasks&lt;/b&gt;&#39; as shown in the  screen shot.&lt;br /&gt;
Press &#39;&lt;b&gt;New Parameter&lt;/b&gt;&#39; and select &#39;&lt;b&gt;Parameter Source&lt;/b&gt;&#39; as Query String, assign a name like in this case &#39;s&#39; and a default value.&lt;br /&gt;
&lt;br /&gt;
This would declare a xsl parameter in our DataView web part like:&lt;br /&gt;
&amp;lt;xsl:param name=&quot;Success&quot;&amp;gt;0&amp;lt;/xsl:param&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next is to redirect the same page with a querystring value which would indicate success.For that &#39;&lt;b&gt;Submit&lt;/b&gt;&#39; button is changed to send querystring &quot;&lt;i&gt;?s=1&lt;/i&gt;&quot; on submit.&lt;br /&gt;
To do that:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2cTO3mEQRSDYw_TCHPjB7aNTk6Z_NlYP7JHNqIupBqy8XX_B42IEeoYBWvlgTQTW_OiQSapOzWTazGhgm02csWf0pcqqP4dY9u9GkUT7qD9KIPorRLSUN_fgUYmTIgqi7szkAPTmXnpd7/s1600/formaction.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2cTO3mEQRSDYw_TCHPjB7aNTk6Z_NlYP7JHNqIupBqy8XX_B42IEeoYBWvlgTQTW_OiQSapOzWTazGhgm02csWf0pcqqP4dY9u9GkUT7qD9KIPorRLSUN_fgUYmTIgqi7szkAPTmXnpd7/s320/formaction.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;Right click &#39;Submit&#39; button, choose &#39;&lt;b&gt;Form Actions...&lt;/b&gt;&#39;. In &#39;&lt;b&gt;Navigate to page&lt;/b&gt;&#39; append the querystring.&lt;br /&gt;
Press Ok.&lt;br /&gt;
&lt;br /&gt;
Finally in the XSL we use this value of query string Success as:&lt;br /&gt;
If page submitted using the Submit button&lt;br /&gt;
&amp;lt;xsl:if test=&quot;$Success = 1&quot; &amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;table&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;Thank you for your request&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/xsl:if&amp;gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYKpAu_Q2SKUBmGjXilrXRPOCynH0ZhLFkPrkNJfHEOnIGGEjac2M8Vr5OIejZ2qfNrA6guQoY3GHWUjyc-YaOZ4Gyf2nsWABmuSV9rABhQPM3Bb65sq2yMcNn-a5FLa1HOngQroQ1f1Zf/s1600/contact.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYKpAu_Q2SKUBmGjXilrXRPOCynH0ZhLFkPrkNJfHEOnIGGEjac2M8Vr5OIejZ2qfNrA6guQoY3GHWUjyc-YaOZ4Gyf2nsWABmuSV9rABhQPM3Bb65sq2yMcNn-a5FLa1HOngQroQ1f1Zf/s320/contact.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Else any other value we show the table containing the contact us form.&lt;br /&gt;
&amp;lt;xsl:if test=&quot;$Success != 1&quot; &amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;table border=&quot;0&quot; width=&quot;80%&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:call-template name=&quot;dvt_1.body&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:with-param name=&quot;Rows&quot; select=&quot;$Rows&quot;/&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:call-template&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/xsl:if&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3_CPTObleVRbCGmy8QNg3IxiC0p_Xnvy0sTzfPIWFY24FcsqnQV63LFibG3kNkZk7UR4_XcVicVhKGrjcqUOlrjJRzUXiYUsCmlL9Q1wYA8-mUWMRvLAwRj0NLshBsL89B_6QdM_Ji4-t/s1600/suc.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3_CPTObleVRbCGmy8QNg3IxiC0p_Xnvy0sTzfPIWFY24FcsqnQV63LFibG3kNkZk7UR4_XcVicVhKGrjcqUOlrjJRzUXiYUsCmlL9Q1wYA8-mUWMRvLAwRj0NLshBsL89B_6QdM_Ji4-t/s320/suc.jpg&quot; /&gt;&lt;/a&gt;Other possibilities can be to show an Alert which can be done by using the following code in side the conditional xsl:&lt;br /&gt;
&amp;lt;xsl:text disable-output-escaping=&quot;yes&quot;&amp;gt;&lt;br /&gt;
&amp;lt;!--[CDATA[&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
&amp;nbsp; alert(&quot;Thank you&quot;)&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
]]--&amp;gt;&amp;lt;/xsl:text&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Good Day to all. &lt;br /&gt;
External Links:&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.evolt.org/node/27855&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Embed HTML in XML &amp;amp; Retrieve it with XSL&lt;/span&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/5714383331895426868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2010/04/xsl-conditional-format-based-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/5714383331895426868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/5714383331895426868'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2010/04/xsl-conditional-format-based-on.html' title='XSL Conditional Format based on QueryString using SharePoint Designer'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvKgCfqSB_8jMRzJbnTKzCe1eZqIJLS56u1g9n4gLPSYlji-vFRePCUougQPMCSHHN0Pxrtdrb15XnQFPs4MpyqC6gIAPg2FG_wOAmQ2DskEU_1iVfjSzK8Q_BEV8fuF-xb7Pcerc-_A9J/s72-c/xsl.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-4282481943019212312</id><published>2010-03-31T08:53:00.003-07:00</published><updated>2010-03-31T08:55:03.589-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Band by stated score"/><category scheme="http://www.blogger.com/atom/ns#" term="configurable Thresholds"/><category scheme="http://www.blogger.com/atom/ns#" term="MDX Case"/><category scheme="http://www.blogger.com/atom/ns#" term="PerformancePoint Server"/><category scheme="http://www.blogger.com/atom/ns#" term="PPS"/><title type='text'>KPI Threshold Values From Table</title><content type='html'>Today i had a requirement to make Thresholds configurable in  PerformancePoint&#39;s KPIs. In PerformancePoint we can make Target value to  be stored in a separate table and use it. But in my case I was mostly  working with percentages where target values is always 100% but the  performance indicators are variable. As some &amp;gt;80% is green  sometimes &amp;gt;70% is green.&lt;br /&gt;
Client needed to store these  thresholds values in an independent table perhaps accomplishing 2  things:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Access cube via excel and use these values&lt;/li&gt;
&lt;li&gt;Change in thresholds did not effect PPS KPIs.&lt;/li&gt;
&lt;/ol&gt;As of yet I have not found a way to configure thresholds to be  pulled from other source. There is an option in &quot;Band by Stated score  (advanced)&quot; but it still uses a single value.&lt;br /&gt;
&lt;br /&gt;
So  following is the methodology to overcome this limitation:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;First  I created 2 simple tables in my data mart. One table for source  systems. Other for target values for Green and Yellow along with  reference to source systems table.&lt;/li&gt;
&lt;li&gt;In my cube I used these 2 tables in an unrelated measure group.  Source systems table being used as a dimension. Target value table used a  fact table with a measure group.&lt;/li&gt;
&lt;/ol&gt;These were all the backend changes required.&lt;br /&gt;
Now we move  to PerformancePoint server&#39;s Dashboard Designer.&lt;br /&gt;
&lt;br /&gt;
For  each KPI in the Actual row use the following CASE expression:&lt;br /&gt;
&lt;blockquote&gt;&lt;div style=&quot;background-color: #cccccc; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;CASE&lt;/span&gt;  &lt;/div&gt;&lt;div style=&quot;background-color: #cccccc; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;when&lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;background-color: #cccccc; color: black;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;[Measures].[My  Value]  &amp;gt;= ([Measure].[Green - Fact Target Values], [Dim  Source].&amp;amp;[System XYZ])&lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;background-color: #cccccc; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Then  1&lt;/span&gt;  &lt;/div&gt;&lt;div style=&quot;background-color: #cccccc; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;when&lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;background-color: #cccccc; color: black;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;[Measures].[My  Value]  &amp;gt;= ([Measure].[Yellow - Fact Target Values], [Dim   Source].&amp;amp;[System XYZ])&lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;background-color: #cccccc; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;then  0&lt;/span&gt;  &lt;/div&gt;&lt;div style=&quot;background-color: #cccccc; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;when&lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;background-color: #cccccc; color: black;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;[Measures].[My  Value]  &amp;lt; ([Measure].[Yellow - Fact Target Values], [Dim   Source].&amp;amp;[System XYZ])&lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;background-color: #cccccc; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;then  -1&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; END&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;WHERE&lt;br /&gt;
[Measure].[My  Value] = Factual value upon which all measure are based.&lt;br /&gt;
[Measure].[Green  - Fact Target Value] = Threshold value for Green indicator to be shown  like 90 etc.&lt;br /&gt;
[Measure].[Yellow - Fact Target Value] = Threshold  value for Green indicator to be shown like 80 etc.&lt;br /&gt;
([Measure].[Yellow  - Fact Target Value], [Dim Source].&amp;amp;[System XYZ]) = Returns  values for a particular system since I had multiple source systems.&lt;br /&gt;
&lt;br /&gt;
In  the Target value use [Measure].[My Value] in &#39;Data Mappings&#39; and  &#39;Source Data&#39; in &#39;Calculations&#39; to show values on dashboard.&lt;br /&gt;
&lt;br /&gt;
For  Thresholds use &#39;Increasing is Better&#39; scoring pattern and &#39;Band by  numeric value of Actual&#39; banding method. Lastly for indicator values set  1 for Green, 0 for Yellow and -1 for Red.&lt;br /&gt;
&lt;br /&gt;
That is all  you need and no more adjusting Thresholds in Dashboard designer. Just  modify values in the database table and you would be fine. Oh and yes  you would be required to process your cube every time threshold values  change.&lt;br /&gt;
&lt;br /&gt;
Environment: SQL Server 2005, Performance Point  Server 2007 SP2&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Alternate Approach&lt;/u&gt;&lt;br /&gt;
Use  SQL Server Analysis Services KPI do accomplish the same since it  provides much simpler and easier way to use external goal values.&lt;br /&gt;
&lt;br /&gt;
External  Links:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;color: #1f497d;&quot;&gt;&lt;a href=&quot;http://blogs.msdn.com/performancepoint/archive/2008/01/09/band-by-stated-score.aspx&quot;&gt;http://blogs.msdn.com/performancepoint/archive/2008/01/09/band-by-stated-score.aspx&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #1f497d;&quot;&gt;MS Press Microsoft SQL Server 2005 Analysis  Services Step By Step &lt;i&gt;Chapter 8 page 213&lt;/i&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/4282481943019212312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2010/03/kpi-threshold-values-from-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/4282481943019212312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/4282481943019212312'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2010/03/kpi-threshold-values-from-table.html' title='KPI Threshold Values From Table'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-4726165678510816856</id><published>2010-02-11T00:18:00.000-08:00</published><updated>2010-02-11T00:19:53.151-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS Access 2007"/><category scheme="http://www.blogger.com/atom/ns#" term="OLE DB Connction"/><category scheme="http://www.blogger.com/atom/ns#" term="pasword protected"/><category scheme="http://www.blogger.com/atom/ns#" term="SSIS"/><title type='text'>Password Protected Access DB and SSIS</title><content type='html'>Today I shall show you how to import data using SSIS from MS Access 2007 which is password protected. Creating a connection using Access provider and now specifying password would give error:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzgi3tFaDs5r_QkfmHoMkwUCfHJTnAIE2iPMXFEALlxyquWSDT69SrFXTAM4Nirli3PEu7bwgyddj35y2OBPaphKkbWkRJEBuDH5sP9nLlVVOFyBetZ67lhlbm3Fj3eYW8utw9JqPIbAyd/s1600-h/Error.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;270&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzgi3tFaDs5r_QkfmHoMkwUCfHJTnAIE2iPMXFEALlxyquWSDT69SrFXTAM4Nirli3PEu7bwgyddj35y2OBPaphKkbWkRJEBuDH5sP9nLlVVOFyBetZ67lhlbm3Fj3eYW8utw9JqPIbAyd/s320/Error.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
To remove this error double click your new connection in the Connection Managers.&lt;br /&gt;
&lt;br /&gt;
Move to the &#39;All&#39; tab.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enter the password against the propery &quot;&lt;b&gt;Jet OLEDB:Database Password&lt;/b&gt;&quot;.&lt;br /&gt;
&lt;br /&gt;
And Test Connection. Success.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIZ7UOaQEuGCrCi47JTrHHuYADDnMBJD7ptYxjbQ2HdYUw26DS-cWoTx8djXclA-6cj3hbEaS5EO1zEWCLFf8HTr6LAGKI8bH0lXzn8e5ANItWg62MiAt7Ov6izOZ4P39Zj2bGo-HmFxi8/s1600-h/Success.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;278&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIZ7UOaQEuGCrCi47JTrHHuYADDnMBJD7ptYxjbQ2HdYUw26DS-cWoTx8djXclA-6cj3hbEaS5EO1zEWCLFf8HTr6LAGKI8bH0lXzn8e5ANItWg62MiAt7Ov6izOZ4P39Zj2bGo-HmFxi8/s320/Success.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/4726165678510816856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2010/02/password-protected-access-and-ssis.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/4726165678510816856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/4726165678510816856'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2010/02/password-protected-access-and-ssis.html' title='Password Protected Access DB and SSIS'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzgi3tFaDs5r_QkfmHoMkwUCfHJTnAIE2iPMXFEALlxyquWSDT69SrFXTAM4Nirli3PEu7bwgyddj35y2OBPaphKkbWkRJEBuDH5sP9nLlVVOFyBetZ67lhlbm3Fj3eYW8utw9JqPIbAyd/s72-c/Error.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-4590926986733079894</id><published>2009-12-04T06:45:00.000-08:00</published><updated>2009-12-04T06:46:26.462-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Calculations"/><category scheme="http://www.blogger.com/atom/ns#" term="Measures"/><category scheme="http://www.blogger.com/atom/ns#" term="SSAS"/><category scheme="http://www.blogger.com/atom/ns#" term="Where Clause"/><title type='text'>Where Clause and SSAS Calculations</title><content type='html'>&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Today I had to change business rule in our SQL Server Analysis Services 2005 solution. It would be hard to explain the scenario so I use an example.&lt;br /&gt;
Scenario: A class contains boys and girls. We need to calculate the passing percentage of students that are boys.&lt;br /&gt;
&lt;br /&gt;
Previously the rule was to get passing percentage of boys.&lt;br /&gt;
Total number of boys that pass / Total number of students in class&lt;br /&gt;
Correct rule should have been:&lt;br /&gt;
Total number of boys that pass / Total number of boys&lt;br /&gt;
Yeah, I know this can be done in a giffy in SQL Server but Analysis services is a totally different ball game.&lt;br /&gt;
&lt;br /&gt;
Constraint was that we had no dimension for gender like boys, girls. Instead two columns in fact table (yup, not good implementation) boys and girls with value 0,1.&lt;br /&gt;
To work around our constraint we created&amp;nbsp; Named Query in cube which returned all the dimensions along with every record where boys = 1.&lt;br /&gt;
Finally we had to filter measure based upon result dimension (P meaning Pass). So in Calculations tab of cube created a calculation as:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;Round(([Measures].[Vw Get All Boys Count], [Result Dim].[Result].&amp;amp;[P])&amp;nbsp; / [Measures].[Vw Get All Boys Count] * 100,0) &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
And got the result we were expecting.&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/4590926986733079894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2009/12/where-clause-and-ssas-calculations.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/4590926986733079894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/4590926986733079894'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2009/12/where-clause-and-ssas-calculations.html' title='Where Clause and SSAS Calculations'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-951816063286179833</id><published>2009-12-03T06:59:00.000-08:00</published><updated>2009-12-03T07:00:32.233-08:00</updated><title type='text'>Alerts on SharePoint List</title><content type='html'>Today I had to troubleshoot a SharePoint environment where alerts were not working.&lt;br /&gt;
Firstly this environment was not configured to send mail. So I started by installing IIS&#39;s SMTP client component. Configured the relay server.&lt;br /&gt;
Then configured the &#39;Outgoing E-Mail Settings&#39; in Central Administrator.&lt;br /&gt;
Added an alert on a custom list.&lt;br /&gt;
And upon adding a new item nothing happens... hmm... googled around... eliminated the fail points since this environment was working with anonymous access. And then got it working by:&lt;br /&gt;
Disable alerts on the site &lt;br /&gt;
&lt;div style=&quot;background-color: #eeeeee;&quot;&gt;&lt;span style=&quot;font-family: &#39;Verdana&#39;,&#39;sans-serif&#39;; font-size: 10pt;&quot;&gt;stsadm.exe -o setproperty -pn alerts-enabled -pv &quot;false&quot; -url &lt;/span&gt;&lt;a href=&quot;http://problemsite/&quot; mce_href=&quot;http://problemsite/&quot;&gt;&lt;span style=&quot;font-family: &#39;Verdana&#39;,&#39;sans-serif&#39;; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;http://problemsite&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;Enable alerts on the site &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;background-color: #eeeeee;&quot;&gt;&lt;span style=&quot;font-family: &#39;Verdana&#39;,&#39;sans-serif&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;stsadm.exe -o setproperty -pn alerts-enabled -pv &quot;true&quot; -url &lt;/span&gt;&lt;a href=&quot;http://problemsite/&quot; mce_href=&quot;http://problemsite/&quot;&gt;&lt;span style=&quot;font-family: &#39;Verdana&#39;,&#39;sans-serif&#39;; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;http://problemsite&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;Added a new item in the custom list and it working like a charm. Also works when an anonymous user adds a list item.&lt;br /&gt;
&lt;br /&gt;
External Links:&lt;br /&gt;
1. &lt;a href=&quot;http://blogs.technet.com/harikumh/archive/2008/05/25/troubleshooting-alerts.aspx&quot;&gt;Troubleshooting Alerts&lt;/a&gt;&lt;br /&gt;
2. &lt;a href=&quot;http://technet.microsoft.com/en-us/library/cc263462.aspx&quot;&gt;Configure outgoing e-mail settings&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/951816063286179833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2009/12/alerts-on-sharepoint-list.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/951816063286179833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/951816063286179833'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2009/12/alerts-on-sharepoint-list.html' title='Alerts on SharePoint List'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-2042521275087742447</id><published>2009-11-05T23:26:00.000-08:00</published><updated>2009-11-05T23:27:50.255-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Execute SQL Task"/><category scheme="http://www.blogger.com/atom/ns#" term="Intergration services"/><category scheme="http://www.blogger.com/atom/ns#" term="parameters"/><category scheme="http://www.blogger.com/atom/ns#" term="SSIS"/><title type='text'>OLE DB Parameterized SQL Command in Execute SQL Task</title><content type='html'>&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;There are very good articles on the internet explaining how to use different parameters in &#39;Execute SQL Task&#39; control of SSIS.&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;I needed to use the same parameter twice in my query so this is what i did:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEoT6Uv27lgcwy6JIC9flEXzVtGteItgnjakXvTCYZLjPVErEDQ_59eviPn9qEFJrjVZyYoWESt91wRF4ngIJBbzg-tQOIvA8cXwO2J7_zgN5qvdNbnwY2bRijqzBoCVWZDL3QnJdifrzP/s1600-h/sqlexetask.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEoT6Uv27lgcwy6JIC9flEXzVtGteItgnjakXvTCYZLjPVErEDQ_59eviPn9qEFJrjVZyYoWESt91wRF4ngIJBbzg-tQOIvA8cXwO2J7_zgN5qvdNbnwY2bRijqzBoCVWZDL3QnJdifrzP/s320/sqlexetask.JPG&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;Since SSIS treats every other &#39;?&#39; used in SQL statement as a new parameter index I used the same variable twice. And the &#39;where&#39; clause used is like: &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;pre style=&quot;background-color: #cccccc; color: black;&quot;&gt;WHERE (? = GetDate() OR CreatedDate &amp;gt; ? )&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Reads where fromdate is equal to today or created date is greater than fromdate.&lt;br /&gt;
&lt;br /&gt;
External Links&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;1. &lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://decipherinfosys.wordpress.com/2008/03/26/running-parameterized-sql-commands-using-the-execute-sql-task-i/&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to Running Parameterized SQL Commands Using the Execute SQL Task – I&quot;&gt;Running Parameterized SQL Commands Using the Execute SQL Task –&amp;nbsp;I&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;2. &lt;a href=&quot;http://go2.wordpress.com/?id=725X1342&amp;amp;site=decipherinfosys.wordpress.com&amp;amp;url=http%3A%2F%2Fmsdn2.microsoft.com%2Fen-us%2Flibrary%2Fms141003.aspx&quot;&gt;Execute SQL Task on MSDN&lt;/a&gt; &lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/2042521275087742447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2009/11/ole-db-parameterized-sql-command-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/2042521275087742447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/2042521275087742447'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2009/11/ole-db-parameterized-sql-command-in.html' title='OLE DB Parameterized SQL Command in Execute SQL Task'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEoT6Uv27lgcwy6JIC9flEXzVtGteItgnjakXvTCYZLjPVErEDQ_59eviPn9qEFJrjVZyYoWESt91wRF4ngIJBbzg-tQOIvA8cXwO2J7_zgN5qvdNbnwY2bRijqzBoCVWZDL3QnJdifrzP/s72-c/sqlexetask.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7867858430165148488.post-2991662231644557583</id><published>2009-10-23T07:08:00.000-07:00</published><updated>2009-10-23T08:07:17.614-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="IN (parameter)"/><category scheme="http://www.blogger.com/atom/ns#" term="Multi-Value parameters"/><category scheme="http://www.blogger.com/atom/ns#" term="SSRS"/><category scheme="http://www.blogger.com/atom/ns#" term="Where clause IN variable"/><title type='text'>Multi-Value Parameters, Stored Procedures and IN operator</title><content type='html'>&lt;p&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Today, I was adding parameters to my Reporting Services report and made a very common mistake when using multi-value parameters. My assumption:&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;background-color: #eeeeee; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;SELECT * FROM [SomeTable] WHERE ID IN ( @multiValueParameter ) 
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;No wonder it didn&#39;t work since this is interpreted as:&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;background-color: #eeeeee; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;SELECT &lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; color: black;&quot;&gt;* &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;FROM [SomeTable] WHERE &lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; color: black;&quot;&gt; ID IN ( &#39;1,2,3,4&#39; )&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;i&gt;instead&lt;/i&gt; of&lt;br /&gt;
&lt;div style=&quot;background-color: #eeeeee; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;SELECT &lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; color: black;&quot;&gt;* &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;FROM [SomeTable] WHERE &lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; color: black;&quot;&gt; ID IN ( &#39;1&#39;,&#39;2&#39;,&#39;3&#39;,&#39;4&#39; )&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;I recalled I had done this before in some other project and after a visit to the archive I found it.    &lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Following is the solution (You will find same logic elsewhere but with use of a Split function to return table whereas I create a table in my procedure in other words skip creating a function):&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;background-color: #eeeeee; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;pre&gt;&lt;span style=&quot;background-color: #eeeeee; color: black;&quot;&gt;DECLARE @separator_position INT -- This is used to locate each separator character
DECLARE @array_value VARCHAR(1000)-- this holds each array value as it is returned
DECLARE @TableOfArrayItems TABLE (Item NVARCHAR(100) collate database_default )&amp;nbsp; DECLARE @separator char(1) --Used in WHERE clause
BEGIN
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET @separator =&#39;,&#39; --Separator A.K.A. Delimiter
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET @MultiValueFromRS = @MultiValueFromRS + @separator --append &#39;,&#39; at the end
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHILE PATINDEX(&#39;%&#39; + @separator + &#39;%&#39;, @OpportunityLevel) &amp;lt;&amp;gt; 0
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BEGIN -- patindex matches the a pattern against a string
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  SELECT @separator_position = PATINDEX(&#39;%&#39; + @separator + &#39;%&#39;,@MultiValueFromRS)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  SELECT @array_value = LEFT(@MultiValueFromRS, @separator_position - 1)  
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  INSERT INTO @TableOfArrayItems(Item) VALUES(@array_value)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  --Moving to end of array
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  SELECT @MultiValueFromRS = STUFF( @MultiValueFromRS, 1, @separator_position, &#39;&#39;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END 
END    
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;And now you can use @TableOfArrayItems anywhere in you query/stored procedure like:&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;background-color: #eeeeee; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;SELECT * FROM [SomeTable] WHERE&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; color: black;&quot;&gt; ID IN ( SELECT ID FROM @&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; color: black;&quot;&gt;TableOfArrayItems&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; color: black;&quot;&gt;)         
&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;And success!&lt;p&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;External References:          &lt;br /&gt;
&lt;/div&gt;&lt;ol style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;li&gt;&lt;a href=&quot;http://www.sommarskog.se/dynamic_sql.html#List&quot;&gt;The curse and blessing of dynamic SQL&lt;/a&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://bisqlserver.blogspot.com/2007/02/using-multi-value-parameters-in-stored.html&quot;&gt;Using Multi-Value Parameters in Stored Procedures&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://munishbansal.wordpress.com/2008/12/29/passing-multi-value-parameter-in-stored-procedure-ssrs-report/&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Passing multi-value parameter in stored procedure (SSRS&amp;nbsp;report)&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;h2 style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; font-weight: normal;&quot;&gt;&lt;/h2&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dailyitsolutions.blogspot.com/feeds/2991662231644557583/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dailyitsolutions.blogspot.com/2009/10/multi-value-parameters-stored.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/2991662231644557583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7867858430165148488/posts/default/2991662231644557583'/><link rel='alternate' type='text/html' href='http://dailyitsolutions.blogspot.com/2009/10/multi-value-parameters-stored.html' title='Multi-Value Parameters, Stored Procedures and IN operator'/><author><name>Umair Khan</name><uri>http://www.blogger.com/profile/05206643132277024296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>