<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Himanshu Gupta</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/himanshu1/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/himanshu1/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:21:23 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Emergence of Big Data 2.0</title>
      <link>https://docs.microsoft.com/archive/blogs/himanshu1/emergence-of-big-data-2-0</link>
      <pubDate>Thu, 30 Jan 2014 10:29:00 GMT</pubDate>
      <dc:creator><![CDATA[himanshhu.Gupta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/himanshu1/2014/01/30/emergence-of-big-data-2-0/</guid>
      <description><![CDATA[In last five years or so we have seen emergence of a whole new way to analyses data. Latest Gartner...]]></description>
      <content:encoded><![CDATA[<p>In last five years or so we have seen emergence of a whole new way to analyses data. Latest Gartner report indicates that 85% of data generated in an enterprise today is of new data types, those that we aren't used to storing in traditional data warehouse systems. We have almost traversed half of the hype curve. We have seen the peak of excitement, seen the trough of illusion and we seem to be now traversing the slope of enlightenment!! It will take about two more years before we enter the plateau of stabilization.</p>
<p>The next generation of Big Data will focus on yet another set of challenges. Challenges of near real-time analytics, data quality and packaged analytical solutions (both predictive and descriptive) for business processes like CRM, Sales and Distribution, Marketing, etc.</p>
<p><strong>1. Speed</strong></p>
<p>Data is growing at an exponential rate, and the ability to analyze it faster is more important than ever.&nbsp; Microsoft StreamInsight has been there for quite some time now. <br />Almost every big data vendor is coming out with product offerings, like in-memory processing to process data faster. Hadoop also launched its new release, Hadoop 2.0 / YARN, which can process data in near real-time. Another big data technology gaining traction is Apache Spark, which can run 100 times faster than Hadoop.</p>
<p><strong>2. Data Quality</strong></p>
<p>Data quality has never been as important as it is now with data growing at an exponential rate. The speed at which decisions are made has already reached a point where the human brain can&rsquo;t keep up. This means that based on defined rules, data is cleansed and processed and decisions are made, all without any human intervention. In such environments, a single stream of bad data can act as a virus and result in incorrect decisions or heavy financial loss. A good example is the world of algorithmic trading, where trades are placed every few milliseconds by analyzing stock market trends using algorithms versus a human.</p>
<p>Data quality has become a key part of service level agreements (SLAs) in evolving digital enterprises. Bad quality data can result in blacklisting the data provider/supplier or severe financial penalties. B2B environments are the early adopters as they rely heavily on the quality of data to ensure smooth business operations. Some enterprises are moving in the direction of deploying real-time alerts for data quality issues. The alerts can be sent to the designated person based on the issue and can also suggest recommendations on how to fix the issue.</p>
<p>Machine learning is another technique that is being used to improve data quality. It has made it easier to conduct pattern analysis to identify new data quality issues. Machine learning systems can be deployed in a closed loop environment where the data quality rules are refined as new quality issues are identified via pattern analysis and other techniques.</p>
<p><strong>3. Big Data Applications</strong></p>
<p>Big data has created so much excitement that everyone wants to use it, but the technical challenges prevent greater adoption. Applications help overcome this challenge by making it easy for everyone to benefit from big data. Over the next few years we will see thousands of specialized applications launched for various industry verticals to solve big data challenges. In the near future, even a small business will be able to benefit from analyzing big data without requiring special infrastructure or hiring data scientists.</p>
<p>These applications will correlate customer data from multiple channels to have a better understanding of customers and hence will make more money for businesses by targeting the right customers with the right products. And, hopefully, some of these applications will make our lives better by having personalized applications for health care, diet / food, entertainment, etc.</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Working with compressed files in HDInsight</title>
      <link>https://docs.microsoft.com/archive/blogs/himanshu1/working-with-compressed-files-in-hdinsight</link>
      <pubDate>Fri, 24 Jan 2014 06:02:00 GMT</pubDate>
      <dc:creator><![CDATA[himanshhu.Gupta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/himanshu1/2014/01/24/working-with-compressed-files-in-hdinsight/</guid>
      <description><![CDATA[Ability to work with compressed data in a data-warehouse is well understood. It becomes even more...]]></description>
      <content:encoded><![CDATA[<p>Ability to work with compressed data in a data-warehouse is well understood. It becomes even more pronounced when warehouse size runs in hundreds of terabytes and petabytes. Hodaap provides a way to interact with compressed files natively. Tools like Hive and Pig can read these compressed files and process them, thereby reducing storage requirements to a great extent.</p>
<p>In this post, I am going to describe how easily a hive query can be executed against a compressed data file. All screen shots are from my HDInsight cluster.</p>
<p>I am also using the new Windows Azure Powershell tool to interact with my HDInsight cluster. This is pretty straight forward and simple to interact.</p>
<p>(1) I first used the following commands to connect to my HDInsight cluster</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="623">
<p><span style="color: #3366ff;"># Provide Windows Azure subscription name, and the Azure Storage</span><br /><span style="color: #3366ff;">&nbsp; account and container that is used for the default HDInsight file system.</span></p>
<p><span style="color: #3366ff;">$subscriptionName = "Windows Azure MSDN - Visual Studio</span><br /><span style="color: #3366ff;">&nbsp; Ultimate"</span></p>
<p><span style="color: #3366ff;">$storageAccountName = "mydemocluster"</span></p>
<p><span style="color: #3366ff;">$containerName = "sample"</span></p>
<p>&nbsp;</p>
<p><span style="color: #3366ff;"># Provide HDInsight cluster name Where you want to run the Hive job</span></p>
<p><span style="color: #3366ff;">$clusterName = "mydemocluster"</span></p>
<p><span style="color: #3366ff;">Add-AzureAccount</span></p>
<p><span style="color: #3366ff;">Select-AzureSubscription -SubscriptionName $subscriptionName</span></p>
<p><span style="color: #3366ff;">Use-AzureHDInsightCluster $clusterName</span></p>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/2376.Fig1.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/2376.Fig1.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/2376.Fig1.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/2376.Fig1.JPG" alt="" border="0" /></a></p>
<p>Although I have used "Add-AzureAccount" to authenticate myself on the interactive console. The same can also be scripted using certificates.</p>
<p>(2) Next, I created a sample table by invoking Hive for the PowerShell</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="623">
<p><span style="color: #3366ff;">$queryString = "CREATE EXTERNAL TABLE Sample_Data</span><br /><span style="color: #3366ff;">&nbsp; (Exchange STRING,Stock&nbsp;&nbsp;&nbsp;</span><br /><span style="color: #3366ff;">&nbsp; STRING,Date&nbsp;&nbsp;&nbsp;&nbsp; STRING,</span><br /><span style="color: #3366ff;">&nbsp; High&nbsp;&nbsp;&nbsp;&nbsp; STRING,Low&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STRING,Open&nbsp;&nbsp;&nbsp;&nbsp; STRING,Close&nbsp;&nbsp;&nbsp; STRING,Field1&nbsp;&nbsp; STRING,Field2&nbsp;&nbsp; STRING) ROW FORMAT DELIMITED FIELDS</span><br /><span style="color: #3366ff;">&nbsp; TERMINATED BY ',' STORED AS TEXTFILE LOCATION '/Data/HiveExternal';"</span></p>
<p><span style="color: #3366ff;">Invoke-Hive -Query $queryString</span></p>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/7585.Fig2.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/7585.Fig2.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/7585.Fig2.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/7585.Fig2.JPG" alt="" border="0" /></a></p>
<p>Notice that I have created an external table in hive as I am not doing any aggregation in this example.</p>
<p>(3) Now I will move compressed file in this location so that I can run hive query on this data. I am using Cloud Explorer to move file. Cloud Explorer also has a free version and presents a windows explorer like interface to interact with azure blob storage.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8032.Fig3.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8032.Fig3.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8032.Fig3.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8032.Fig3.JPG" alt="" border="0" /></a></p>
<p>SampleZipFile.zip contains a bunch of CSV files all compressed together. The files are copied to the same location where the external hive table is point to.</p>
<p>(4) Now that data is in there, I can simple query this data using hive query. Hive will automatically run map/reduce jobs on the data nodes which hold a chunk of this compressed file!!</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="623">
<p><span style="color: #3366ff;">$queryString = "select count(*) from sample_data;"</span></p>
<p><span style="color: #3366ff;">Invoke-Hive -Query $queryString</span></p>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/7026.Fig4.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/7026.Fig4.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/7026.Fig4.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/7026.Fig4.JPG" alt="" border="0" /></a></p>
<p>That's it !!!</p>]]></content:encoded>
    </item>
    <item>
      <title>Analyze semi-structured data using HDInsight</title>
      <link>https://docs.microsoft.com/archive/blogs/himanshu1/analyze-semi-structured-data-using-hdinsight</link>
      <pubDate>Thu, 23 Jan 2014 13:32:17 GMT</pubDate>
      <dc:creator><![CDATA[himanshhu.Gupta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/himanshu1/2014/01/23/analyze-semi-structured-data-using-hdinsight/</guid>
      <description><![CDATA[&nbsp;
Why should you care?

Recent Gartner reports suggest that 85% of the modern data is...]]></description>
      <content:encoded><![CDATA[<p>&nbsp;</p>
<p><span style="font-size: large;">Why should you care?</span></p>
<p><span style="font-size: large;"></span></p>
<p>Recent Gartner reports suggest that 85% of the modern data is generated in new data types &ndash; those that were traditionally not stored in data warehouses. By 2015, organizations integrating high-value, diverse, new information types and sources into a coherent information management infrastructure will outperform their industry peers financially by more than 20%. Organizations today are ramping up their IT infrastructure and skills to take on this challenge. Big Data COE are getting formed to design, architect and implement such solutions.</p>
<p><br />Just to illustrate why it makes sense, it will be exciting to know how organizations today can analyze huge pile of emails sitting in their exchange servers to find out how teams collaborate with each other, if at all they are!! You would agree that most projects in an organizations fail due to improper or lack of communication. And there are numerous examples &ndash; sentiment analysis for marketing purposes, political campaigns, etc.; click-stream analysis for digital marketing, customer behavior, personalized advertising, targeted surveys, etc Opportunities are endless for organizations to innovate.</p>
<p>&nbsp;</p>
<p>Following example shows how IT communities are connected in different parts of the country. Communities which are closely connected have better collaboration. This is some manner influences how skilled the resources are. Most recruitment companies today are doing such analysis.</p>
<p>&nbsp;</p>
<p>&nbsp;The data shown below is extracted from a social networking site called GitHub (a social network site for open code).&nbsp; The network graph shows that Bangalore is much better connected than Delhi/NCR or Pune.&nbsp;&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/3301.Fig11.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/3301.Fig11.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/3301.Fig11.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/3301.Fig11.JPG" alt="" border="0" /></a></p>
<p>Also, Bangalore and Singapore are somewhat similar and have pretty closely knit IT community.</p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/5773.Fig22.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/5773.Fig22.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/5773.Fig22.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/5773.Fig22.JPG" alt="" border="0" /></a>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="font-size: large;">How to you build these?</span></p>
<p><span style="font-size: large;"></span></p>
<p>HDInsight is Microsoft&rsquo;s implementation of Hadoop on cloud. A 100% apache Hadoop service that you can spin-off in just a few minutes. HDInsight offers enterprise-class security, scalability and manageability. Thanks to a dedicated Secure Node, HDInsight helps you secure your Hadoop cluster. You can also take full advantage of the elastic scalability of Windows Azure. In addition, HDInsight simplifies manageability of your Hadoop cluster through extensive support for PowerShell scripting.</p>
<p>Analysis is seldom done in isolation. It is usually, and almost always, done in conjunction with structured data. How do you combine the two together without transporting neither the results nor the raw data? Microsoft Power Query and PolyBase are innovative and next generation BI tools that allow organizations mesh-up semi-structured, unstructured and structured datasets into a single unified data model. Power Query can directly connect to Hadoop distributed file system (HDFS) running on=premise or on Azure (HDInsight). PolyBase in its v1 avatar, can connect to HDFS running on premise. This truly redefines Business Analytics in the modern data warehouse.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Understanding Memory configuration in BI Semantic model</title>
      <link>https://docs.microsoft.com/archive/blogs/himanshu1/understanding-memory-configuration-in-bi-semantic-model</link>
      <pubDate>Mon, 15 Apr 2013 21:20:00 GMT</pubDate>
      <dc:creator><![CDATA[himanshhu.Gupta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/himanshu1/2013/04/15/understanding-memory-configuration-in-bi-semantic-model/</guid>
      <description><![CDATA[Memory is by far the most critical resource for tabular model. Being able to monitor how much memory...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: small;"><span style="font-family: Calibri;">Memory is by far the most critical resource for tabular model. Being able to monitor how much memory is being used and being able to configure it optimally is important in ensuring predictable performance.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">First and foremost, let us understand how memory is used by SSAS.</span></span></p>
<ul>
<li><span style="font-size: small;"><span style="font-family: Calibri;"><strong><span style="color: #3366ff;">Processing</span>:</strong> During processing, SSAS needs memory to load data and create dictionaries and related data structures before it flushes them to disk. In addition, if the database being processed already contains some data, it must hold the previous version of the database until the transaction commits and the new database is ready for query.</span></span></li>
<li><span style="font-size: small;"><span style="font-family: Calibri;"><strong><span style="color: #3366ff;">Querying</span>:</strong> During a query, SSAS sometimes need memory to hold temporary data structures that are needed to resolve the query.</span></span></li>
</ul>
<p><span style="font-size: small;"><span style="font-family: Calibri;">SSAS configuration file msndsrv.ini stores memory settings for Tabular model. The easiest way to view and change these setting is by opening Analysis Services properties page inside SSMS.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Following screen shows the default values of these memory settings.</span></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/1526.Memory%20Configuration.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/1526.Memory-Configuration.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/1526.Memory%20Configuration.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/1526.Memory-Configuration.png" alt="" border="0" /></a></span></p>
<p>&nbsp;</p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><span style="color: #3366ff;"><strong>VertipaqPagingPolicy</strong></span>: This is a Boolean property with 0 and 1 as possible values. In mode 0, all xVelocity data is locked into memory, whereas in mode 1, xVelocity in-memory engine pages data to disk if the system is running out of memory. More specifically, in mode 1, only hash dictionaries are locked in memory; data pages can be flushed to disk which enables xVelocity to use more memory than is available. Must keep in mind that paging has detrimental effect on performance. Default value of this property is, mode 1.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><strong><span style="color: #3366ff;">HardMemoryLimit</span>: </strong>This is the maximum memory that SSAS can ever allocate. If SSAS exceeds the hard memory limit, the system aggressively kills active sessions. With <em>VertipaqPagingPolicy</em> in mode 0, it is also the limit for the maximum working set of the process. If <em>HardMemoryLimit</em> is set to 0, it will use a default value mid-way between <em>HighMemoryLimit</em> and total physical memory. </span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><strong><span style="color: #3366ff;">TotalMemoryLimit</span>:</strong> If memory usage exceeds the <em>TotalMemoryLimit</em>, memory manager evicts all cached data that is not currently in use. <em>TotalMemoryLimit</em> should always be less than <em>HardMemoryLimit</em>. The default value 80% of physical memory or the virtual address space, whichever is less.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><strong><span style="color: #3366ff;">LowMemoryLimit</span>:</strong> &nbsp;This is the point at which the system starts to clear caches out of memory. As memory usage increases above the <em>LowMemoryLimit</em>, SSAS becomes more aggressive about cycling cached data until it hits the total memory limit, at which point it evicts everything that is not pinned.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><strong><span style="color: #3366ff;">VertipaqMemoryLimit</span>:</strong> If you choose mode 0, the <em>VertipaqMemoryLimit</em> defines the total amount of memory xVelocity is allowed to lock in the working set. In mode 1, it defines a limit for the physical memory that is used by xVelocity, allowing paging for the remaining memory above this limit.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">If you want to reduce memory for an instance of SSAS, it makes sense to set <em>VertipaqMemoryLimit</em> to a value that is lower than <em>LowMemoryLimit</em>.</span></span></p>
<p>&nbsp;</p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">No memory cleaning happens below the <em>LowMemoryLimit</em>, and the aggressiveness increases as soon as the usage approaches <em>TotalMemoryLimit</em>. Above <em>TotalMemoryLimit, </em>SSAS gets committed to cleaning memory, even if panic mode starts only after <em>HardMemoryLimit</em>.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">All limit values are expressed as numbers. If their value is less than 100, it is interpreted as percentage of the total server memory. If it has value greater than 100, it is interpreted as the number of bytes to allocate.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Let us use an example to illustrate this. Say memory limits for a particular SSAS tabular instance are configured as under:</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(a)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">TotalMemoryLimit = 120 GB</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(b)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">LowMemoryLimit = 110 GB</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(c)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">VertipaqMemoryLimit = 100 GB</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">At some stage, assume that xVelocity data structures are using 210 GB and the process&lsquo;s total memory usage is 215 GB. These usage counter are way above the <em>TotalMemoryLimit</em>, however, because <em>VertipaPagingPolicy</em> is set to 1, memory eviction in this case will not happen. </span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">This is because, </span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Total xVelocity memory pinned = &nbsp;<em>VertipaqMemoryLimit</em> = 100 GB. Remaining 110 Gb will be paged to disk. Memory used by other SSAS processes = 215 GB &ndash; 210 Gb = 5 GB. Therefore, total memory used by SSAS which is pinned = 100 GB + 5 GB = 105 GB. Since this is below <em>LowMemoryLimit</em>, no memory eviction will happen.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Get Started with Microsoft Data Explorer - Preview</title>
      <link>https://docs.microsoft.com/archive/blogs/himanshu1/get-started-with-microsoft-data-explorer-preview</link>
      <pubDate>Mon, 11 Mar 2013 04:27:00 GMT</pubDate>
      <dc:creator><![CDATA[himanshhu.Gupta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/himanshu1/2013/03/11/get-started-with-microsoft-data-explorer-preview/</guid>
      <description><![CDATA[What is Data Explorer?
Data Explorer is an Excel plug-in that helps users discover data and convert...]]></description>
      <content:encoded><![CDATA[<h1><span style="color: #2e74b5; font-family: Calibri Light;">What is Data Explorer?</span></h1>
<p><span style="font-family: Calibri; font-size: small;">Data Explorer is an Excel plug-in that helps users discover data and convert it into a shape or form that they need. Data Explorer is only available as a preview at this point and works with Excel 2010 SP1 or Excel 2013.&nbsp; You can download the Data Explorer preview from </span><a href="http://www.microsoft.com/en-us/download/details.aspx?id=36803"><span style="color: #0563c1; font-family: Calibri; font-size: small;">http://www.microsoft.com/en-us/download/details.aspx?id=36803</span></a><span style="font-size: small;"><span style="font-family: Calibri;"> The plug-in is available for both 32-bit and 64-bit version of Excel.</span></span></p>
<h1><span style="color: #2e74b5; font-family: Calibri Light;">Why do we need it?</span></h1>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Data Explorer provides a simple and easy to use interface for data analysts and data scientist to:</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><strong>Explore data from any source</strong> &ndash; Data Explore provides connectivity to a wide variety of data sources such as databases, file, SharePoint Lists, Web, Facebook, OData Feed, Windows Azure Marketplace, SQL Azure database, Hadoop HDFS and many more.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><strong>Convert data in the shape and form required for analysis</strong> &ndash; by performing basic ETL and aggregation operations themselves using a simple interface. Operations such as group by, split, join, union, calculated column, lookups, data type conversion and many more.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><strong>Combine data from multiple sources</strong> &ndash; to create a data model for analysis</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><strong>Improves self-service BI</strong> &ndash; by loading Data Explorer model to BI tools like PowerPivot and Power View.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Data Explorer will greatly reduce the time it takes for data to get prepared before it Is loaded into data warehouse and becomes ready for analysis.</span></span></p>
<h1><span style="color: #2e74b5; font-family: Calibri Light;">Lets Get Started !!</span></h1>
<p><span style="font-family: Calibri; font-size: small;">A complete documentation of Data Explorer his published ere </span><a href="http://office.microsoft.com/en-us/excel-help/start-page-HA104003813.aspx"><span style="color: #0563c1; font-family: Calibri; font-size: small;">http://office.microsoft.com/en-us/excel-help/start-page-HA104003813.aspx</span></a></p>
<p><span style="font-family: Calibri; font-size: small;">In my example here, I will take SQL Saturday event list as my base data that is published on the SQL Saturday web site </span><a href="http://www.sqlsaturday.com/events.aspx"><span style="color: #0563c1; font-family: Calibri; font-size: small;">http://www.sqlsaturday.com/events.aspx</span></a></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Let us break our data preparation in following smaller tasks</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(1)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Get the list of events from SQL Saturday web site</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(2)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Convert this data into the form we need for analysis</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(3)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Use Windows Azure Marketplace (free) services for lookup of additional data</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(4)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Load this query in data model</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(5)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Analyse this model using Power View</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<h2><span style="color: #2e74b5; font-family: Calibri Light; font-size: large;">Task 1: Get the list of events from SQL Saturday web site</span></h2>
<p>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span><span style="font-family: Calibri; font-size: small;">1)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Open Excel and select Data Explorer in the top ribbon. This will open up the Data Explorer menu bar.</span></span></p>
<p>&nbsp;</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/7752.1.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/7752.1.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/7752.1.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/7752.1.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">2)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Select &ldquo;From Web&rdquo; under Get External Data</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">3)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-family: Calibri; font-size: small;">Enter URL for getting SQL Saturday event list, </span><a href="http://www.sqlsaturday.com/events.aspx"><span style="color: #0563c1; font-family: Calibri; font-size: small;">http://www.sqlsaturday.com/events.aspx</span></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/3566.2.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/3566.2.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/3566.2.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/3566.2.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">4)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Click Apply and you will now get a list of data tables in the left pane. Both Table0 and Table1 essentially have same data with Table0 having only one additional &ldquo;Null&rdquo; column. We will select Table1 for this example.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">5)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Click on Table1 and you will now be able to see the event data. Exploring data from a web site in excel has never been so simple before!!</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/3326.3.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/3326.3.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/3326.3.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/3326.3.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">6)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Click &ldquo;Done&rdquo; and the data will be loaded in a new worksheet.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/5504.4.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/5504.4.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/5504.4.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/5504.4.JPG" alt="" border="0" /></a></span></p>
<p>&nbsp;<span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<h2><span style="color: #2e74b5; font-family: Calibri Light; font-size: large;">Task 2: Convert this data into the form we need for analysis</span></h2>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">1)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Click &ldquo;Filter &amp; Shape&rdquo; to open Edit Query window once again. We will now perform some basic transformation operations</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">2)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Hide &ldquo;Column1&rdquo; by doing right-click and selecting &ldquo;Hide&rdquo; option.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/7077.5.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/7077.5.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/7077.5.jpg" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/7077.5.jpg" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">3)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Now we will split &ldquo;Column3&rdquo; to extract event ID and event name.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">4)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Right click &ldquo;Column3&rdquo; and select &ldquo;Split Column by Delimiter &ldquo;.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/7411.6.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/7411.6.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/7411.6.jpg" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/7411.6.jpg" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">5)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Under &ldquo;Select or Enter Delimiter&rdquo; select custom and enter delimiter character as &ldquo;#&rdquo;. </span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/3113.7.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/3113.7.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/3113.7.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/3113.7.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">6)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">On clicking &ldquo;Apply&rdquo;, column 3 will be split into column 3.1 and 3.2</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/4774.8.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/4774.8.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/4774.8.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/4774.8.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">7)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Follow steps (4), (5) and (6) to split column 3.2 to get event ID and event name using &ldquo;-&ldquo; as delimiter. </span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8103.9.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8103.9.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8103.9.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8103.9.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">You can also write Data Explorer formula for doing this operation,</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="color: #3366ff;"><em><span style="font-size: small;"><span style="font-family: Calibri;">= Table.SplitColumn(SplitColumnDelimiter,"Column3.2",Splitter.SplitTextByDelimiter("-"),{"Column3.2.1", "Column3.2.2"})</span></span></em></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Notice that column 3.2.1 and column 3.2.2 are created representing &ldquo;Event ID&rdquo; and &ldquo;Event Name&rdquo; respectively.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">8)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Hide column 3.1 by doing right-click -&gt; Hide or by entering following Data Explorer formula </span></span></p>
<p><span style="color: #3366ff; font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="color: #3366ff; font-size: small;"><span style="font-family: Calibri;"><em>= Table.RemoveColumns(SplitColumnDelimiter1,{"Column3.1"})</em></span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/1072.10.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/1072.10.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/1072.10.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/1072.10.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">9)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Rename all columns by doing right-click on each column -&gt; Rename, or double-clicking the column header, or using following formula</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="color: #3366ff;"><em><span style="font-size: small;"><span style="font-family: Calibri;">= Table.RenameColumns(HiddenColumns1,{{"Column2", "Event Date"},{"Column3.2.1", "Event ID"},{"Column3.2.2", "Event Name"},{"Column4", "Event Location"}})</span></span></em></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/7080.11.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/7080.11.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/7080.11.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/7080.11.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">10)</span>&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Convert column data type using right click -&gt; Change Type -&gt; Date (or target data type) as shown below.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/5023.12.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/5023.12.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/5023.12.jpg" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/5023.12.jpg" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Or using following formula</span></span></p>
<p><span style="color: #3366ff; font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="color: #3366ff;"><em><span style="font-size: small;"><span style="font-family: Calibri;">= Table.TransformColumns(RenamedColumns,{{"Event Date", Date.FromText},{"Event ID", Number.FromText}})</span></span></em></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/0434.13.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/0434.13.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/0434.13.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/0434.13.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">11)</span>&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Click &ldquo;Done&rdquo; and you have your shaped-up data in excel now.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/0028.14.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/0028.14.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/0028.14.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/0028.14.JPG" alt="" border="0" /></a></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<h2><span style="color: #2e74b5; font-family: Calibri Light; font-size: medium;">Task 3: Use Windows Azure Marketplace (free) services for lookup of additional data</span></h2>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span><span style="font-size: small;"><span style="font-family: Calibri;">So far we have been able to get SQL Saturday data in excel and shaped it by extracting event IDs and event names. A look at, &ldquo;Event Location&rdquo; column reveals that the location data is pretty much a free text. We need to extract city, state and country information out of this free text in order to do some meaningful analysis.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">I am going to use the free data quality service available on Windows Azure Marketplace to achieve this task. This service gives me pretty good results.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">1)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Subscribe to Windows Azure Marketplace &ldquo;Melissa DataAddress Check&rdquo; service using your Microsoft account.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/6457.15.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/6457.15.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/6457.15.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/6457.15.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">2)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Click &ldquo;Filter &amp; Shape&rdquo; to open Edit Query window once again. We will now a new query step called &ldquo;AddressLookup&rdquo; for dynamically invoking &lt;alesis Address Check service for &ldquo;Event Location&rdquo;</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">3)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Click on formula bar and enter following formula for invoking this service as OData Feed.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="color: #3366ff;"><em><span style="font-size: small;"><span style="font-family: Calibri;">= OData.Feed("https://api.datamarket.azure.com/MelissaData/AddressCheck/v1/"){0}[Data]</span></span></em></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/2335.16.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/2335.16.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/2335.16.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/2335.16.JPG" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">4)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Click on &ldquo;Edit Credentials&rdquo; to enter credentials for accessing this service. I am using fast key for this demo.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/5314.17.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/5314.17.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/5314.17.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/5314.17.JPG" alt="" border="0" /></a></p>
<p>&nbsp;<span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">5)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">If authentication is successful, you will receive an &ldquo;Invoke&rdquo; page as shown below.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/2350.18.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/2350.18.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/2350.18.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/2350.18.JPG" alt="" border="0" /></a>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">6)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Rename the above step to &ldquo;AddressLookup&rdquo; byright-clicking &ldquo;Custom1&rdquo; in right pane</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8712.19.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8712.19.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8712.19.jpg" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8712.19.jpg" alt="" border="0" /></a></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/5516.20.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/5516.20.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/5516.20.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/5516.20.JPG" alt="" border="0" /></a></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">7)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">We will now invoke this step dynamically for each row and place the results in a new column, called &ldquo;Address&rdquo;</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">8)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Click on formula bar and enter the following Lookup formula</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="color: #3366ff;"><em><span style="font-size: small;"><span style="font-family: Calibri;">= Table.AddColumn(RenamedColumns,"Address",each AddressLookup([Event Location],1,0))</span></span></em></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">You are likely to receive a warning as shown below.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/7268.21.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/7268.21.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/7268.21.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/7268.21.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">The reason for this warning is that Data Explorer tries to optimize performance of this look-up using xVelocity, and it finds this feature &ldquo;Fast Combine&rdquo; disabled by default.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">9)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Click &ldquo;Done&rdquo; to close query editor.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">10)</span>&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Select &ldquo;Fast Combine&rdquo; menu option inside &ldquo;Options&rdquo; group.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/6758.22.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/6758.22.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/6758.22.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/6758.22.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">11)</span>&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Click &ldquo;Enable&rdquo;</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/3162.23.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/3162.23.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/3162.23.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/3162.23.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">12)</span>&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">And open query editor again. You will now see your new column &ldquo;Address&rdquo; populated in the query window. For each row in the list, Windows Azure Address service is invoked and the results are received using OData Feeds!! All of this is done using a simple formula and the results are available with you in excel. This is awesome!!</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/1007.24.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/1007.24.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/1007.24.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/1007.24.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">13)</span>&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">But you would notice that instead of seeing actual data, you see &ldquo;Table&rdquo; in Address column. What is that?This simply means that a temporary table has been created containing the data received from OData Feed.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">14)</span>&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Click on the small icon next to column header</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/2287.25.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/2287.25.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/2287.25.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/2287.25.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">15)</span>&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">This will show you a list of columns. You can choose which columns you want to view in your model from this window.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/3718.26.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/3718.26.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/3718.26.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/3718.26.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">16)</span>&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Data Explorer will now import the selected columns in the data model. After you click &ldquo;Done&rdquo;, you will be able to see this data in your excel worksheet.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/4011.27.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/4011.27.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/4011.27.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/4011.27.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">In a couple of clicks, we have extracted zip codes, city, state, country, latitude, longitude and other details from a free text using excel!! Isn&rsquo;t this cool!!</span></span></p>
<h2><span style="color: #2e74b5; font-family: Calibri Light; font-size: medium;">Task 4: Load this Query in Data Model</span></h2>
<p><span style="font-size: small;"><span style="font-family: Calibri;">You are now ready to load this query in data model (data-warehouse) and make final settings to make this ready for analysis.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">1)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">On the worksheet, click on &ldquo;Show Query Settings&rdquo; so that you can see the query setting pane on the right</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">2)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Click &ldquo;Load to data Model&rdquo; hyperlink </span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8080.28.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8080.28.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8080.28.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8080.28.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">3)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">The query is now loaded as a PowerPivot data model. </span></span></p>
<p><span style="font-family: Calibri; font-size: small;">4)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Select PowerPivot from top menu bar and click &ldquo;Manage&rdquo; in data model group as shown below</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8004.29.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8004.29.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8004.29.jpg" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8004.29.jpg" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">5)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">You will find your model appearing in the PowerPivot wndow.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/1665.30.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/1665.30.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/1665.30.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/1665.30.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">6)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Select &ldquo;Address.Confidence&rdquo;, &ldquo;Address.Latitude&rdquo;, &ldquo;Address.Longitude&rdquo; and &ldquo;Address.ZipCode&rdquo; columns and set data type to &ldquo;Decimal Number&rdquo;.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/4174.31.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/4174.31.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/4174.31.jpg" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/4174.31.jpg" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">7)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Select Address.Latitude and set data category to &ldquo;Latitude&rdquo;. Repeat the same for Address.Longitude</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8306.32.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8306.32.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8306.32.jpg" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8306.32.jpg" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">8)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Add filter criteria to Address.Confidence. Select only those rows which have confidence value greater than 0. The filtered list will lokk like this</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/3716.33.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/3716.33.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/3716.33.jpg" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/3716.33.jpg" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">9)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">The model is now ready to be analysed. Select PivotTable and create a new PivotTable form PowerPivot window</span></span></p>
<p>&nbsp;</p>
<h2><span style="color: #2e74b5; font-family: Calibri Light; font-size: medium;">Task 5: Analyse Model using Power View</span></h2>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">We can now view this data in Power View for Excel and create rich visualizations and analyse this data.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">1)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Click Insert from the top menu and select Power View.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/4237.34.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/4237.34.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/4237.34.jpg" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/4237.34.jpg" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">2)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Select following data points from the model:</span></span></p>
<ol>
<li><span style="font-family: Calibri; font-size: small;">a.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Address.Latitude</span></span></li>
<li><span style="font-family: Calibri; font-size: small;">b.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Address.Longitude</span></span></li>
<li><span style="font-family: Calibri; font-size: small;">c.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Event Date</span></span></li>
<li><span style="font-family: Calibri; font-size: small;">d.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Event Name</span></span></li>
<li><span style="font-family: Calibri; font-size: small;">e.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Event ID</span></span></li>
</ol>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Change view type from table to Map. You will now see this data represented on the map of US.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/5315.35.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/5315.35.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/5315.35.jpg" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/5315.35.jpg" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Integrate Power View with SharePoint using web parts</title>
      <link>https://docs.microsoft.com/archive/blogs/himanshu1/integrate-power-view-with-sharepoint-using-web-parts</link>
      <pubDate>Mon, 04 Mar 2013 03:46:00 GMT</pubDate>
      <dc:creator><![CDATA[himanshhu.Gupta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/himanshu1/2013/03/04/integrate-power-view-with-sharepoint-using-web-parts/</guid>
      <description><![CDATA[SharePoint is one of the most widely used collaboration platform and its importance as an integrated...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: small;"><span style="font-family: Calibri;">SharePoint is one of the most widely used collaboration platform and its importance as an integrated business intelligence platform cannot be undermined.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Microsoft BI platform has a comprehensive set of data exploration and reporting tools that truly democratizes the concept of business intelligence in an organization. While these gives you insights at different level, SharePoint allows getting these together and create a mesh-up of these incredible visualizations using web parts.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Web Parts are server-side controls that run inside the context of site pages. SharePoint provides a number of web parts out-of-the-box and also allows developers to create custom web parts. Web parts are editable and configurable by users.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Power View reports can be integrated as web parts on a SharePoint site page using of the two methods:</span></span></p>
<p><span style="color: #3366ff; font-size: large;"><strong><span style="font-family: Calibri;">Using Page Viewer Web Part</span></strong></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Page Viewer is a generic web part that you can use to display a Web page using a hyperlink. This method is pretty straight forward and you can follow these steps to enable it:</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">1)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Create a new Page or open an existing one in edit mode </span></span></p>
<p><span style="font-family: Calibri; font-size: small;">2)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Select &ldquo;Insert&rdquo; from the top menu and click &ldquo;Web Part&rdquo; in parts group</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8360.Power%20View%20with%20Web%20Parts%20Figure%201.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8360.Power-View-with-Web-Parts-Figure-1.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8360.Power%20View%20with%20Web%20Parts%20Figure%201.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8360.Power-View-with-Web-Parts-Figure-1.JPG" alt="" width="483" height="129" border="0" /></a></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">3)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">You will now see a list of categories on left side and associated web parts on the right of it.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">4)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Select &ldquo;Media and Content&rdquo; under category and &ldquo;Page Viewer&rdquo; under parts</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">5)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Click &ldquo;Add&rdquo;</span></span></p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/2577.Power%20View%20with%20Web%20Parts%20Figure%202.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/2577.Power-View-with-Web-Parts-Figure-2.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/2577.Power%20View%20with%20Web%20Parts%20Figure%202.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/2577.Power-View-with-Web-Parts-Figure-2.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span><span style="font-family: Calibri; font-size: small;">6)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Page Viewer web part will now be added to the page.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">7)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Click &ldquo;Open the tool pane&rdquo; to start editing the web part</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8712.Power%20View%20with%20Web%20Parts%20Figure%203.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8712.Power-View-with-Web-Parts-Figure-3.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8712.Power%20View%20with%20Web%20Parts%20Figure%203.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8712.Power-View-with-Web-Parts-Figure-3.JPG" alt="" border="0" /></a></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">8)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">In the URL text box, paste the Power View report URL. The one I am using for this example looks like this,</span></span></p>
<p><a href="http://sql2012sp1/_layouts/15/ReportServer/AdHocReportDesigner.aspx?RelativeReportUrl=%2fPowerPivot%2520Gallery%2fAuto%2520Sales%2520Sample%2520Report.rdlx&amp;ViewMode=Presentation&amp;ReportSection=ReportSection&amp;True&amp;Fit=True&amp;PreviewBar=False"><span style="color: #0563c1; font-family: Calibri; font-size: small;">http://sql2012sp1/_layouts/15/ReportServer/AdHocReportDesigner.aspx?RelativeReportUrl=%2fPowerPivot%2520Gallery%2fAuto%2520Sales%2520Sample%2520Report.rdlx&amp;ViewMode=Presentation&amp;ReportSection=ReportSection&amp;True&amp;Fit=True&amp;PreviewBar=False</span></a></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Notice the values and options used in query string:</span></span></p>
<ul>
<li><span style="font-size: small;">&middot;</span>&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size: small;"><span style="font-family: Calibri;"><span style="color: #3366ff;"><strong>RelativeReportUrl</strong></span>: Refers to the relative path of the power view report. For example, %2fPowerPivot%2520Gallery%2fAuto%2520Sales%2520Sample%2520Report.rdlx</span></span></li>
<li><span style="font-size: small;">&middot;</span>&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size: small;"><span style="font-family: Calibri;"><span style="color: #3366ff;"><strong>ViewMode</strong></span>: Can be set to either Presentation or Edit</span></span></li>
<li><span style="font-size: small;">&middot;</span>&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size: small;"><span style="font-family: Calibri;"><span style="color: #3366ff;"><strong>ReportSection</strong></span>: Refers to a view within the RDLX. Each view in your Power View report has a reportsection identifier. The default view is named as &ldquo;ReportSection&rdquo; and any new view that you add is named as &ldquo;ReportSection2&rdquo; and so on. This option only determines which view to show as default. Users will still have options to navigate to other views by using the navigation controls.</span></span></li>
<li><span style="font-size: small;">&middot;</span>&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size: small;"><span style="font-family: Calibri;"><span style="color: #3366ff;"><strong>Fit</strong></span>: Allows Power View report to automatically resize itself to fit within the web part frame</span></span></li>
<li><span style="font-size: small;">&middot;</span>&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-size: small;"><span style="font-family: Calibri;"><strong><span style="color: #3366ff;">PreviewBar</span>:</strong> Allows you to show or hide the preview toolbar on top. While presenting Power View report on a dashboard page, it is a good idea to hide toolbar, unless you want users to edit the report as well.</span></span></li>
</ul>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">9)</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Set other web part parameters such as height, width, layout, etc and</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">10)</span>&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Click &ldquo;Ok&rdquo; and you will now be able to see your Power View report as a web part. A sample SharePoint web page with Power View report as a web part is shown below.</span></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/3288.Power%20View%20with%20Web%20Parts%20Figure%204.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/3288.Power-View-with-Web-Parts-Figure-4.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/3288.Power%20View%20with%20Web%20Parts%20Figure%204.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/3288.Power-View-with-Web-Parts-Figure-4.JPG" alt="" border="0" /></a></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><strong><span style="text-decoration: underline;">Limitations</span></strong> &ndash; Page Viewer web part can only be used in a browser that supports the HTML &lt;IFRAME&gt; element..</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="color: #3366ff; font-size: large;"><strong><span style="font-family: Calibri;">Using Silverlight Web Part</span></strong></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">In this approach, we will use a generic Silverlight web part to host our Power View report. This web part allows users to deploy Silverlight application on SharePoint without the need to create a custom web part for every new application. The Silverlight web part provides an option for user to specify a comma separated string to specify the initialization parameters.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(1)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Create a new Page or open an existing one in edit mode </span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(2)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Select &ldquo;Insert&rdquo; from the top menu and click &ldquo;Web Part&rdquo; in parts group</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/6406.Power%20View%20with%20Web%20Parts%20Figure%201.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/6406.Power-View-with-Web-Parts-Figure-1.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/6406.Power%20View%20with%20Web%20Parts%20Figure%201.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/6406.Power-View-with-Web-Parts-Figure-1.JPG" alt="" width="439" height="99" border="0" /></a></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">(3)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">You will now see a list of categories on left side and associated web parts on the right of it.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(4)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Select &ldquo;Media and Content&rdquo; under category and &ldquo;Silverlight Web Part&rdquo; under parts</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(5)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Click &ldquo;Add&rdquo;</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/5635.Power%20View%20with%20Web%20Parts%20Figure%205.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/5635.Power-View-with-Web-Parts-Figure-5.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/5635.Power%20View%20with%20Web%20Parts%20Figure%205.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/5635.Power-View-with-Web-Parts-Figure-5.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">(6)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">You will now be prompted to enter Silverlight application package. If your power view content type is enables and Reporting Services service application is running, Silverlight application package can be invoked from the following URL</span></span></p>
<p><span style="color: #3366ff;"><em><span style="font-size: small;"><span style="font-family: Calibri;">/_layouts/ReportServer/ClientBin/Microsoft.Reporting.AdHoc.Shell.Bootstrapper.xap</span></span></em></span></p>
<p><span style="font-family: Calibri; font-size: small;">(7)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Enter this URL and click &ldquo;Ok&rdquo;</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/3162.Power%20View%20with%20Web%20Parts%20Figure%206.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/3162.Power-View-with-Web-Parts-Figure-6.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/3162.Power%20View%20with%20Web%20Parts%20Figure%206.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/3162.Power-View-with-Web-Parts-Figure-6.JPG" alt="" border="0" /></a></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">(8)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">A Silverlight web part will now be added to your page.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(9)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Select &ldquo;Edit Web Part Settings&rdquo; from the web part drop down</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(10)</span> <span style="font-size: small;"><span style="font-family: Calibri;">Edit pane will appear on the right side as shown below</span></span></p>
<p>&nbsp;</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/0652.Power%20View%20with%20Web%20Parts%20Figure%207.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/0652.Power-View-with-Web-Parts-Figure-7.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/0652.Power%20View%20with%20Web%20Parts%20Figure%207.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/0652.Power-View-with-Web-Parts-Figure-7.JPG" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">(11)</span> <span style="font-size: small;"><span style="font-family: Calibri;">Set appearance and layout parameters</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(12)</span> <span style="font-size: small;"><span style="font-family: Calibri;">Expand &ldquo;Other Settings&rdquo; to enter custom initialization parameters</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/7840.Power%20View%20with%20Web%20Parts%20Figure%208.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/7840.Power-View-with-Web-Parts-Figure-8.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/7840.Power%20View%20with%20Web%20Parts%20Figure%208.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/7840.Power-View-with-Web-Parts-Figure-8.JPG" alt="" border="0" /></a></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span><span style="font-family: Calibri; font-size: small;">(13)</span> <span style="font-size: small;"><span style="font-family: Calibri;">Initialization parameters for Silverlight web part has to be provided in the following format</span></span></p>
<p><span style="color: #3366ff;"><em><span style="font-size: small;"><span style="font-family: Calibri;">ItemPath=http://&lt;YourServername&gt;/&lt;YourSite&gt;/YourReport.rdlx,ReportServerUri=http://&lt;YourServername&gt;/_vti_bin/reportserver/,ViewMode=Presentation,PreviewBar=False,Fit=True</span></span></em></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">The one I am using for this set up is,</span></span></p>
<p><span style="color: #3366ff;"><em><span style="font-size: small;"><span style="font-family: Calibri;">ItemPath=http://sql2012sp1/_layouts/15/ReportServer/AdHocReportDesigner.aspx?RelativeReportUrl=%2fPowerPivot%2520Gallery%2fAuto%2520Sales%2520Sample%2520Report.rdlx,ReportServerUri=http://sql2012sp1/,ViewMode=Presentation,PreviewBar=False,Fit=True</span></span></em></span></p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/5086.Power%20View%20with%20Web%20Parts%20Figure%209.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/5086.Power-View-with-Web-Parts-Figure-9.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/5086.Power%20View%20with%20Web%20Parts%20Figure%209.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/5086.Power-View-with-Web-Parts-Figure-9.JPG" alt="" width="253" height="292" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">11)</span>&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Click &ldquo;Ok&rdquo; and you will now be able to see your Power View report as a web part. A sample SharePoint web page with Power View report as a web part is shown below.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/5047.Power%20View%20with%20Web%20Parts%20Figure%204.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/5047.Power-View-with-Web-Parts-Figure-4.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/5047.Power%20View%20with%20Web%20Parts%20Figure%204.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/5047.Power-View-with-Web-Parts-Figure-4.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Implementing Dynamic Security in Tabular Models</title>
      <link>https://docs.microsoft.com/archive/blogs/himanshu1/implementing-dynamic-security-in-tabular-models</link>
      <pubDate>Fri, 01 Mar 2013 11:06:00 GMT</pubDate>
      <dc:creator><![CDATA[himanshhu.Gupta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/himanshu1/2013/03/01/implementing-dynamic-security-in-tabular-models/</guid>
      <description><![CDATA[Before I discuss various options available for implementing dynamic security in tabular models, let...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: small;"><span style="font-family: Calibri;">Before I discuss various options available for implementing dynamic security in tabular models, let me first pause for a moment and elaborate what I mean by the word <em>dynamic security</em>.</span></span></p>
<p><strong><span style="font-size: small;"><span style="font-family: Calibri;">What is Dynamic Security?</span></span></strong></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">In my view, dynamic security is a technique that enable a single role to apply different permissions for different users based on a business condition. For example, while User A and User B are assigned a role called <em>ReportReader, </em>User A should only see data for North America whereas User B should see data only for Asia.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">This type of security is a common requirement in any enterprise BI implementation.&nbsp; It is a handy technique where you would otherwise be forced to create and maintain a large number of roles.</span></span></p>
<p><strong><span style="font-size: small;"><span style="font-family: Calibri;">DAX Functions for Dynamic Security</span></span></strong></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">DAX provides two very useful functions for implementing dynamic security:</span></span></p>
<ul>
<li><span style="font-size: small;">&middot;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">USERNAME: returns name of windows user connected to the tabular model</span></span></li>
<li><span style="font-size: small;">&middot;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">CUSTOMDATA: returns string value passed to <em>CustomData</em> property of connection string</span></span></li>
</ul>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Let us see how these work using a sample code, I open SSMS and connect to tabular SSAS model. I am setting CustomData property to &ldquo;Hello World&rdquo; in the connection string.</span></span></p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/1057.Figure%201.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/1057.Figure-1.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/1057.Figure%201.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/1057.Figure-1.JPG" alt="" width="414" height="484" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">In SSMS, I can now open MDX query editor and write this evaluate expression to read these values</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">EVALUATE </span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">ROWS (</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &ldquo;Windows User: &ldquo;, USERNAME(),</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &ldquo;Custom Data: &ldquo;, CUSTOMDATA()</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">)</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/6403.Figure%202.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/6403.Figure-2.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/6403.Figure%202.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/6403.Figure-2.JPG" alt="" width="283" height="95" border="0" /></a></p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/7870.Figure%203.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/7870.Figure-3.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/7870.Figure%203.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/7870.Figure-3.JPG" alt="" width="287" height="72" border="0" /></a></p>
<p>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span><span style="font-size: small;"><span style="font-family: Calibri;">Important thing to note here is that these functions can return different values for different users, which means that same row filter in a role can return different results for different users.</span></span></p>
<p><strong><span style="font-size: small;"><span style="font-family: Calibri;">Implementing Dynamic Security using CUSTOMDATA</span></span></strong></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">The <em>CSTOMDATA</em> function is useful for dynamic security when a front-end application handles authentication of users but must push the job of applying data security back to Analysis Services. For instance, an internet facing reporting tool might not want to rely on Windows authentication and instead have its own system for authenticating end users. It would then open a connection to Analysis Services (as a single Windows user) for each query that was run, but each time it opens a connection, it would pass a different value through the Customdata connection property to indicate the end user for whom the query was run. Analysis Services can then use this value as part of row filter expression.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">CUSTOMDATA is not suitable for dynamic security when end user connects to tabular model directly because in that case, an end user might be able to change this property in whatever client tool he or she is using.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">To demonstrate the use of CUSTOMDATA, I will use following code</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(1)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">First I will create a new role called <em>CustomDataRole</em> by selecting menu item Model -&gt; Role. Click &ldquo;New&rdquo; to create a new role and name it <em>CustomDataRole</em></span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(2)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Enter filter expression for Geography table</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">= IF (CUSTOMDATA() = &ldquo;&rdquo;, FALSE(), Geography[Country Region Name] = CUSTOMDATA())</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/4477.Figure%204.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/4477.Figure-4.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/4477.Figure%204.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/4477.Figure-4.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">(3)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Now open SSMS and set CustomData parameter to a value such as &ldquo;Canada&rdquo;</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/0876.Figure%205.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/0876.Figure-5.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/0876.Figure%205.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/0876.Figure-5.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Open a new query window and test this out. You will now see data only for [Country Region Name] = &ldquo;Canada&rdquo;</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/4606.Figure%206.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/4606.Figure-6.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/4606.Figure%206.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/4606.Figure-6.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><strong><span style="font-size: small;"><span style="font-family: Calibri;">Implementing Dynamic Security using USERNAME</span></span></strong></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">The <em>USERNAME</em> function is used to implement dynamic security where end users connect to a tabular model directly, with Windows credentials. Because one user is likely to need access to many rows on a table, and one row on a table is likely to be accessible by more than one user, a permission table approach is usually necessary when this flavour of dynamic security is used.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">To illustrate this, </span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(1)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">I will use a <em>UserPermission</em> dimension</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8468.Figure%207.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8468.Figure-7.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8468.Figure%207.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8468.Figure-7.JPG" alt="" width="279" height="136" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">(2)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Next I will create a new role called UserNameDataRole with &ldquo;Read&rdquo; permission and add above three users to it</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/6471.Figure%208.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/6471.Figure-8.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/6471.Figure%208.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/6471.Figure-8.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">(3)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Now I will add row filter expression for Geography dimension as follows</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">= CONTAINS (</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UserPermissions, UserPermissions[userid], USERNAME(),</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UserPermissions[country], Geography[Country Region Name]</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(4)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Open SSMS and set following parameters</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Roles= UserNameDataRole; EffectiveUserName=contoso\Adam</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8625.Figure%209.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8625.Figure-9.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8625.Figure%209.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8625.Figure-9.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">(5)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Now run DAX query, </span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">EVALUATE Geography </span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">You will see that only rows for &ldquo;Country Region Name&rdquo; as &ldquo;United Sates&rdquo; will appear.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/1884.Figure%2010.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/1884.Figure-10.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/1884.Figure%2010.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/1884.Figure-10.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">We can now check the same for contoso\Scot</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/6371.Figure%2011.JPG" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/6371.Figure-11.JPG"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/6371.Figure%2011.JPG" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/6371.Figure-11.JPG" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<span style="font-size: small;"><span style="font-family: Calibri;">In the next blog post I will discuss kerberos and double-hop scenarios.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Power and Simplicity of Time Intelligence in DAX</title>
      <link>https://docs.microsoft.com/archive/blogs/himanshu1/power-and-simplicity-of-time-intelligence-in-dax</link>
      <pubDate>Mon, 25 Feb 2013 08:21:08 GMT</pubDate>
      <dc:creator><![CDATA[himanshhu.Gupta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/himanshu1/2013/02/25/power-and-simplicity-of-time-intelligence-in-dax/</guid>
      <description><![CDATA[Almost all data analysis have to deal with dates/time. DAX offers a number of functions that...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: small;"><span style="font-family: Calibri;">Almost all data analysis have to deal with dates/time. DAX offers a number of functions that simulate many calculations on dates, but using right function in the right way requires some explanation.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Defining a separate date table is a common practice in any star schema and this is a suggested technique for any tabular model. Thus, whenever you have a date column that you want to analyse, you should create a relationship with a date table. If you have multiple date columns in a table, you can create multiple inactive relationships to the Date table plus a single active one.</span></span></p>
<h2><strong><span style="font-size: medium;"><span style="color: #2e74b5;"><span style="font-family: Calibri Light;">Creating a Date table</span></span></span></strong></h2>
<p><span style="font-size: small;"><span style="font-family: Calibri;">An obvious question will be that what is the best way to create a Date table? Well, you have atleast three options:</span></span></p>
<ul>
<li><span style="font-size: small;">&middot;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Generate Dates in a SQL Query or View</span></span></li>
<li><span style="font-size: small;">&middot;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Generate Date table in MS Excel and import it in your tabular model</span></span></li>
<li><span style="font-size: small;">&middot;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Import a Date table from DateStream on Windows Azure Marketplace</span></span></li>
</ul>
<p><strong><span style="text-decoration: underline;"><span style="font-size: small;"><span style="font-family: Calibri;">Generate Dates in a SQL Query or View</span></span></span></strong></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">While there are many ways to create this, I normally use this script</span></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8461.Code.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8461.Code.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/8461.Code.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/8461.Code.png" alt="" width="322" height="698" border="0" /></a></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Good thing about this script is that, it has Date_ID column which is <em>int</em>, making it possible to relate it to date columns in any format.</span></span></p>
<p><strong><span style="text-decoration: underline;"><span style="font-size: small;"><span style="font-family: Calibri;">Generate Date table in MS Excel and import it in your tabular model</span></span></span></strong></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">You can create a column containing dates and then add other columns like day, month, year, etc using Excel formulas that produce these values.</span></span></p>
<p><strong><span style="text-decoration: underline;"><span style="font-size: small;"><span style="font-family: Calibri;">Import a Date table from DateStream on Windows Azure Marketplace</span></span></span></strong></p>
<p><span style="font-family: Calibri; font-size: small;">Datastream is a free data source available on Windows Azure marketplace whose source code and documentation is available on </span><a href="http://datastream.codeplex.com/"><span style="color: #0563c1; font-family: Calibri; font-size: small;">http://datastream.codeplex.com</span></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<h2><strong><span style="font-size: medium;"><span style="color: #2e74b5;"><span style="font-family: Calibri Light;">Setting Metadata for Date table</span></span></span></strong></h2>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Many DAX functions that operate over dates requires a Date table having a <em>Date Type</em> column. In order to mark a table as Date table,</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(1)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Open your tabular model in SQL Server Data Tools</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(2)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Select your Date table</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">(3)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Right-Click and select &ldquo;Mark as date Table&rdquo;</span></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/7510.Window.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/7510.Window.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/7510.Window.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/7510.Window.png" alt="" width="176" height="146" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">(4)</span>&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Select the <em>Date Type</em> column and click &ldquo;Ok&rdquo;</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<h2><strong><span style="font-size: medium;"><span style="color: #2e74b5;"><span style="font-family: Calibri Light;">Year-to-Date, Quarter-to-Date and Month-to-Date functions</span></span></span></strong></h2>
<p><span style="font-size: small;"><span style="font-family: Calibri;">These calculations are pretty common during analysis and are very similar in nature. While Month-to-Date function is used for analysing data at the day level, quarter-to-date and year-to-date functions are used for analysing data at the month level.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">One way to achieve this, is to use CALCULATE and DATESYTD functions. </span></span></p>
<p><span style="color: #008000;"><em><span style="font-size: small;"><span style="font-family: Calibri;">[YTD Sales] := CALCULATE([Internet Total Sales], DATESYTD(&lsquo;Date&rsquo;[Date])</span></span></em></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">DATESYTD is a built-in time intelligence function that returns a list of all dates from the beginning of the year until the last date included in the current filter context. This list is passed as an argument to the CALCULATE function to set the filter for the Internet Total Sales calculation.</span></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/5672.Pivot.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/5672.Pivot.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/32/5672.Pivot.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-32/5672.Pivot.png" alt="" width="366" height="326" border="0" /></a></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Since this patter is very common, DAX offers a dedicated function that simplifies this syntax!!</span></span></p>
<p><span style="color: #008000;"><em><span style="font-size: small;"><span style="font-family: Calibri;">[YTD Sales] := TOTALYTD ([Internet Total Sales], &lsquo;Date&rsquo;[Date])</span></span></em></span></p>
<p><span style="color: #008000;"><em><span style="font-size: small;"><span style="font-family: Calibri;">[QTD Sales] := TOTALQTD ([Internet Total Sales], &lsquo;Date&rsquo;[Date])</span></span></em></span></p>
<p><span style="color: #008000;"><em><span style="font-size: small;"><span style="font-family: Calibri;">[MTD Sales] := TOTALMTD ([Internet Total Sales], &lsquo;Date&rsquo;[Date])</span></span></em></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<h2><strong><span style="font-size: medium;"><span style="color: #2e74b5;"><span style="font-family: Calibri Light;">Period from Prior Year</span></span></span></strong></h2>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Users and analysts usually need to get values from a period of the prior year. This is useful for making comparisons of trends during a period last year to the same period this year. Thus is the DAX function <em>SAMEPERIODLASTYEAR</em> that returns a set of dates shifted one year back in time. This is a specialized version of the more generic <em>DATEADD</em> function. </span></span></p>
<p><span style="color: #008000;"><em><span style="font-size: small;"><span style="font-family: Calibri;">[Last Year Sales] := CALCULATE ([Internet Total Sales], SAMEPERIODLASTYEAR (&lsquo;Date&rsquo;[date]))</span></span></em></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Sometime you may want to look at a measure for the previous year, usually to compare it with the year-to-date total. To do that, you can use another specialized function:</span></span></p>
<p><span style="color: #008000;"><em><span style="font-size: small;"><span style="font-family: Calibri;">[Last Year Sales] := CALCULATE ([Internet Total Sales], PARALLELPERIOD (&lsquo;Date&rsquo;[date], -1, Year))</span></span></em></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>]]></content:encoded>
    </item>
    <item>
      <title>SQL Server 2012 Data Quality Services</title>
      <link>https://docs.microsoft.com/archive/blogs/himanshu1/sql-server-2012-data-quality-services</link>
      <pubDate>Sun, 24 Feb 2013 08:24:24 GMT</pubDate>
      <dc:creator><![CDATA[himanshhu.Gupta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/himanshu1/2013/02/24/sql-server-2012-data-quality-services/</guid>
      <description><![CDATA[Microsoft&reg; SQL Server&reg; 2012 Data Quality Services (DQS) is a new offering as part of SQL...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: small;"><span style="font-family: Calibri;">Microsoft&reg; SQL Server&reg; 2012 Data Quality Services (DQS) is a new offering as part of SQL Server 2012 allowing customers to cleanse, de-duplicate, standardize, and enrich their data to deliver trusted information for business intelligence, data-warehouse, and transaction processing workloads.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">It is a user-driven, computer-assisted solution to identify incorrect or incomplete data and modify, remove, or enrich that data to resolve data quality issues.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">You can integrate DQS as a component of SQL Server Integration Services (SSIS) and into Master Data Services (MDS) work-flows. The SSIS data cleansing transformation applies rules that have already been configured in DQS to a data flow. This allows users to send data from a SSIS work-flow to cleanse before sending to the target destination.</span></span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/10/39/65/77/Data%20Quality%20Services.docx" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-39-65-77/Data-Quality-Services.docx">Data Quality Services.docx</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Building Windows Azure Reporting Services Application</title>
      <link>https://docs.microsoft.com/archive/blogs/himanshu1/building-windows-azure-reporting-services-application</link>
      <pubDate>Sun, 24 Feb 2013 08:17:03 GMT</pubDate>
      <dc:creator><![CDATA[himanshhu.Gupta]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/himanshu1/2013/02/24/building-windows-azure-reporting-services-application/</guid>
      <description><![CDATA[Windows Azure SQL Reporting is a cloud-based reporting service for the Windows Azure Platform built...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: small;"><span style="font-family: Calibri;">Windows Azure SQL Reporting is a cloud-based reporting service for the Windows Azure Platform built on SQL Server Reporting Services. SQL Reporting provides many benefits, such as </span></span></p>
<ul>
<li><span style="font-size: small;">&middot;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Rapid provisioning</span></span></li>
<li><span style="font-size: small;">&middot;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Cost-effective scalability and High availability</span></span></li>
<li><span style="font-size: small;">&middot;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Reduced management overhead</span></span></li>
<li><span style="font-size: small;">&middot;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Secure access for viewing and managing reports. </span></span></li>
</ul>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Windows Azure Reporting offers the following capabilities:</span></span></p>
<ul>
<li><span style="font-size: small;">&middot;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Host operational reports based on report data from existing Windows Azure SQL Database. Operational reports are report definition language (RDL) reports.</span></span></li>
<li><span style="font-size: small;">&middot;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">Embed the Visual Studio Report Viewer AJAX control in on-premise Web applications or cloud-based Windows Azure applications to add rich reporting to custom applications. The Report Viewer control points to reports hosted on report servers.</span></span></li>
</ul>
<p>&nbsp;</p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">The document provides a step-by-step guide on how you can migrate your existing SSRS reports and ASP.Net application to Windows Azure.</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"></span></span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/10/39/65/76/Building%20Windows%20Azure%20Reporting%20Application.docx" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-39-65-76/Building-Windows-Azure-Reporting-Application.docx">Building Windows Azure Reporting Application.docx</a></p>]]></content:encoded>
    </item>
  </channel>
</rss>