<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><!--Generated by Squarespace V5 Site Server v5.13.158 (http://www.squarespace.com) on Wed, 22 May 2013 00:36:54 GMT--><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>SQLChick - Microsoft BI Blog (Melissa Coates)</title><link>http://www.sqlchick.com/entries/</link><description>Data Analysis &amp; Visualization with Microsoft Business Intelligence tools</description><lastBuildDate>Wed, 22 May 2013 00:10:39 +0000</lastBuildDate><copyright /><language>en-US</language><generator>Squarespace V5 Site Server v5.13.158 (http://www.squarespace.com)</generator><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SqlChick-MelissaCoates" /><feedburner:info uri="sqlchick-melissacoates" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><title>Resolving Error Connecting Report Builder to a PowerPivot Data Source</title><category>Reporting Services</category><category>SQLServerPedia Syndication</category><category>SharePoint</category><dc:creator>Melissa Coates</dc:creator><pubDate>Wed, 22 May 2013 00:08:41 +0000</pubDate><link>http://feedproxy.google.com/~r/SqlChick-MelissaCoates/~3/UjNx0p0BqeE/resolving-error-connecting-report-builder-to-a-powerpivot-da.html</link><guid isPermaLink="false">656900:7653852:33739797</guid><description>&lt;p&gt;Recently I saw the following error while working with Report Builder in SharePoint 2013:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;ldquo;An error occurred while connecting to the data source.&amp;nbsp; Only the text-based query designer will be available.&amp;nbsp; The selected data extension DAX is not installed or cannot be loaded.&amp;nbsp; Verify that the selected data extension is installed on the client for local reports and on the report server for published reports.&amp;rdquo;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-69427710f655_10AFF-?fileId=22741218"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-69427710f655_10AFF-?fileId=22741219" border="0" alt="image" width="635" height="191" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Huh?&amp;nbsp; I had tested the connection when I set it up, and knew it worked.&amp;nbsp; But no dice when using it for Report Builder.&amp;nbsp; Interestingly, my report executed but had empty results.&lt;/p&gt;
&lt;p&gt;It turns out I had a connection with the wrong data source type.&amp;nbsp; Below is info re: setting up a connection in SharePoint for use with Report Builder.&lt;/p&gt;
&lt;h2&gt;Creating a Data Source for Report Builder Reports in SharePoint 2013&lt;/h2&gt;
&lt;p&gt;The first thing we need is a Report Data Source (RSDS) created so we can point to it (as a shared data source) when we create the report in Report Builder.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The data connection can reside in a Data Connections library (if you prefer to centralize), or within the same library as the reports are stored (if you prefer to keep reports &amp;amp; data connections together).&amp;nbsp; For simplicity, the library shown below contains both reports and a data connection which is sales-specific.&lt;/p&gt;
&lt;p&gt;Under Files on the ribbon, click the down arrow for New Document and choose Report Data Source.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-69427710f655_10AFF-?fileId=22741220"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-69427710f655_10AFF-?fileId=22741221" border="0" alt="image" width="276" height="434" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Sidenote&lt;/em&gt;&lt;/strong&gt;:&amp;nbsp; If you don&amp;rsquo;t see Report Data Source under the New Document menu, you&amp;rsquo;ll need to add the content type to the library first.&amp;nbsp; That&amp;rsquo;s a two-step process within the Library Settings&amp;hellip;first, within the Advanced Settings, set &amp;ldquo;Allow Management of Content Types&amp;rdquo; to Yes&amp;hellip;then back under General Settings choose &amp;ldquo;Add from existing content types&amp;rdquo; and select the various options that are related to BI data connections and/or reports (depending on what you need this library).&lt;/p&gt;
&lt;p&gt;Set the various Data Source Properties.&amp;nbsp; Make sure to use the &amp;ldquo;Microsoft SQL Server Analysis Services&amp;rdquo; data source type, as shown here:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-69427710f655_10AFF-?fileId=22741222"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="SNAGHTML77c93dc" src="http://www.sqlchick.com/resource/Windows-Live-Writer-69427710f655_10AFF-?fileId=22741223" border="0" alt="SNAGHTML77c93dc" width="840" height="669" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the above screen shot, note the structure of the connection string.&amp;nbsp; For a bit more information about creating connections, see my blog entry titled &amp;ldquo;&lt;a href="http://www.sqlchick.com/entries/2012/9/14/comparison-of-direct-url-bism-and-rsds-data-connections-for.html" target="_blank"&gt;Comparison of Direct URL, BISM, and RSDS Data Connections for a Power View Report&lt;/a&gt;.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;The problem related to my original error was that within this RSDS connection, I had a data source configured with a type of &amp;ldquo;Microsoft BI Semantic Model for Power View&amp;rdquo; which &amp;ndash; as the name implies &amp;ndash; will work for Power View but not for Report Builder.&amp;nbsp; Problem solved when the type was changed to SSAS.&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s what the Report Data Source looks like when it&amp;rsquo;s been added to the document library:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-69427710f655_10AFF-?fileId=22741224"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-69427710f655_10AFF-?fileId=22741225" border="0" alt="image" width="836" height="482" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Binding the RSDS Connection to a Report Builder report in SharePoint 2013&lt;/h2&gt;
&lt;p&gt;To associate the Report Data Connection it to a Report Builder report, click the ellipses next to an existing report name, then the ellipses one more time, then select Manage Data Sources.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-69427710f655_10AFF-?fileId=22741226"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-69427710f655_10AFF-?fileId=22741227" border="0" alt="image" width="826" height="651" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Click the link on the name of your data source.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-69427710f655_10AFF-?fileId=22741228"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-69427710f655_10AFF-?fileId=22741229" border="0" alt="image" width="653" height="176" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ensure the &amp;ldquo;Shared data source&amp;rdquo; radio button is selected, and paste in the URL to the Report Data Source created previously.&amp;nbsp; Note this will have an RSDS file extension.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-69427710f655_10AFF-?fileId=22741230"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-69427710f655_10AFF-?fileId=22741231" border="0" alt="image" width="825" height="279" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=UjNx0p0BqeE:M7uwSosqIZo:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=UjNx0p0BqeE:M7uwSosqIZo:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?i=UjNx0p0BqeE:M7uwSosqIZo:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=UjNx0p0BqeE:M7uwSosqIZo:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlChick-MelissaCoates/~4/UjNx0p0BqeE" height="1" width="1"/&gt;</description><wfw:commentRss>http://www.sqlchick.com/entries/rss-comments-entry-33739797.xml</wfw:commentRss><feedburner:origLink>http://www.sqlchick.com/entries/2013/5/21/resolving-error-connecting-report-builder-to-a-powerpivot-da.html</feedburner:origLink></item><item><title>Tips for Getting Around Charlotte at PASS Summit</title><category>SQL Community</category><category>SQLServerPedia Syndication</category><dc:creator>Melissa Coates</dc:creator><pubDate>Sun, 28 Apr 2013 20:16:10 +0000</pubDate><link>http://feedproxy.google.com/~r/SqlChick-MelissaCoates/~3/Ek3iZiz5GSM/tips-for-getting-around-charlotte-at-pass-summit.html</link><guid isPermaLink="false">656900:7653852:33512820</guid><description>&lt;p&gt;&lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-3cac7b298fd1_C235-?fileId=22562235"&gt;&lt;img style="background-image: none; float: right; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-3cac7b298fd1_C235-?fileId=22562236" border="0" alt="image" width="439" height="170" align="right" /&gt;&lt;/a&gt;Headed to Charlotte for the &lt;a href="http://www.sqlpass.org/summit/2013/" target="_blank"&gt;PASS Summit in October&lt;/a&gt;?&amp;nbsp; We locals are super excited to have over 4,000 pros arrive in Charlotte!&amp;nbsp; In addition to the Summit being held October 16-18, the &lt;a href="http://charbigroup.com/" target="_blank"&gt;Charlotte BI Group&lt;/a&gt; is hosting its &lt;a href="http://www.sqlsaturday.com/237/eventhome.aspx" target="_blank"&gt;2nd annual SQL Saturday on October 19th&lt;/a&gt;.&amp;nbsp; Below is some information about Charlotte to get you started.&lt;/p&gt;
&lt;h2&gt;The Lay of the Land&lt;/h2&gt;
&lt;p&gt;Charlotte is considered a &amp;ldquo;hub and spoke&amp;rdquo; city, meaning the downtown area is in the middle &amp;amp; several major roads run outwards from the center &amp;ndash; although it&amp;rsquo;s not actually called downtown; it&amp;rsquo;s usually referred to as Uptown, or sometimes Center City.&amp;nbsp; The convention center where the Summit will be held is in Uptown.&amp;nbsp; I&amp;rsquo;ve lived in Charlotte just over 3 years now, and I still find that Charlotte can be a bit tough to get around - it&amp;rsquo;s not a grid layout and street names change a lot (and I mean a lot!).&amp;nbsp; Here&amp;rsquo;s a high level map of the Charlotte area:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-3cac7b298fd1_C235-?fileId=22562240"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-3cac7b298fd1_C235-?fileId=22562251" border="0" alt="image" width="572" height="576" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Charlotte isn&amp;rsquo;t a huge metropolis, which I actually quite like. &amp;nbsp;Population of Charlotte is just over 750,000 (with just over 2.2 million if you count the entire metro area). &amp;nbsp;There&amp;rsquo;s not too many suburbs; most of the region is referred to as Charlotte.&amp;nbsp; We are known as the &amp;ldquo;Queen City&amp;rdquo; after the British Queen Charlotte Sophia. &amp;nbsp;Although Charlotte isn't immensely large, we are large enough to have an NFL team (the Carolina Panthers) and an NBA team (the Charlotte Bobcats). &amp;nbsp;And, of course, Charlotte is well known for its Nascar presence (I even admit to having been to a race...once).&lt;/p&gt;
&lt;h2&gt;Getting from the Airport to Uptown&lt;/h2&gt;
&lt;p&gt;&lt;a href="http://charmeck.org/city/charlotte/Airport/Pages/default.aspx" target="_blank"&gt;Charlotte Douglas International Airport&lt;/a&gt; (CLT) is a great little airport.&amp;nbsp; Personally I&amp;rsquo;ve always gotten in and out of there very quickly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Driving Directions:&lt;/em&gt;&lt;/strong&gt;&amp;nbsp; From the airport to the Convention Center in Uptown is about &lt;a href="http://binged.it/ZVVLTw" target="_blank"&gt;7 miles&lt;/a&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Taxi:&lt;/em&gt;&lt;/strong&gt;&amp;nbsp; A taxi should be about $25 from the airport to Uptown (Center City).&amp;nbsp; Ground Transportation at the airport is just outside of Baggage Claim.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Airport Sprinter Bus:&lt;/em&gt;&lt;/strong&gt;&amp;nbsp; If you are game for saving a few bucks, you could hop onto a &lt;a href="http://charmeck.org/city/charlotte/cats/Bus/ridingcats/Pages/sprinter.aspx" target="_blank"&gt;CATS hybrid-electric Sprinter Bus&lt;/a&gt; and get to Uptown for $2 (this will be like a regular city bus because the light rail doesn&amp;rsquo;t run to the airport yet).&amp;nbsp; The Sprinter Bus runs every 20-30 minutes.&amp;nbsp; If your hotel is in Uptown, hopefully one of the stops along Trade Street will be fairly near your hotel.&amp;nbsp; You can transfer to the Lynx light rail at the CTC if needed.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-3cac7b298fd1_C235-?fileId=22562256"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-3cac7b298fd1_C235-?fileId=22562257" border="0" alt="image" width="845" height="403" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Fun Stuff To Do Near Uptown&lt;/h2&gt;
&lt;p&gt;&lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-3cac7b298fd1_C235-?fileId=22562260"&gt;&lt;img style="background-image: none; float: left; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-3cac7b298fd1_C235-?fileId=22562264" border="0" alt="image" width="240" height="222" align="left" /&gt;&lt;/a&gt;&lt;strong&gt;&lt;em&gt;The Green&lt;/em&gt;&lt;/strong&gt;.&amp;nbsp; A small park that I just adore walking through when I&amp;rsquo;m in Uptown.&amp;nbsp; It&amp;rsquo;s a couple of blocks away from the Convention Center near 1st Street between Tryon and College.&amp;nbsp; There&amp;rsquo;s different artwork, a lot of it with literary references (I look smarter in the pic just by being there don't ya think?).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;NC Music Factory&lt;/em&gt;&lt;/strong&gt;.&amp;nbsp; The &lt;a href="http://ncmusicfactory.com/" target="_blank"&gt;NC Music Factory&lt;/a&gt; is a hip &amp;amp; cool place in Uptown which has bars, restaurants, comedy, and music.&amp;nbsp; It&amp;rsquo;s in Uptown just off 12th Street (hint:&amp;nbsp; take a cab over there rather than walking since it&amp;rsquo;s on the fringes of Uptown).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;EpiCentre&lt;/em&gt;&lt;/strong&gt;.&amp;nbsp; The &lt;a href="http://epicentrenc.com/" target="_blank"&gt;EpiCentre&lt;/a&gt;, located in Uptown at College and Trade, has bars, restaurants, shops, a movie theater and a bowling alley.&amp;nbsp; Definitely a fun place.&amp;nbsp; This is also where you can find Whiskey River (the restaurant owned by Dale Earnhardt, Jr.)&lt;/p&gt;
&lt;p&gt;There&amp;rsquo;s also a few trendy little neighborhoods just outside of Uptown if you have some time to explore:&amp;nbsp; Noda, Dilworth, and Plaza-Midwood.&amp;nbsp; They each have their share of eclectic dining, arts, and nightlife.&lt;/p&gt;
&lt;p&gt;For other attractions in Charlotte, check out the &lt;a href="http://www.charlottesgotalot.com/attractions-tours-listings" target="_blank"&gt;Charlotte&amp;rsquo;s Got A Lot&lt;/a&gt; site.&lt;/p&gt;
&lt;h2&gt;Links with Helpful Information&lt;/h2&gt;
&lt;p&gt;PASS Summit 2013 &amp;ndash; &lt;a href="http://www.sqlpass.org/summit/2013/Travel.aspx" target="_blank"&gt;Travel and Accommodations&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Convention &amp;amp; Visitors Bureau &amp;ndash; &lt;a href="http://www.charlottesgotalot.com/" target="_blank"&gt;Charlotte&amp;rsquo;s Got A Lot&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Charlotte Center City Partners &amp;ndash; &lt;a href="http://www.charlottecentercity.org/transportation/maps/" target="_blank"&gt;Maps&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Charlotte&amp;rsquo;s Got A Lot - &lt;a href="http://www.charlottesgotalot.com/sites/charlottesgotalot.com/master/files/Center-City-map.pdf" target="_blank"&gt;Map of Center City&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Charlotte Convention Center &amp;ndash; &lt;a href="http://www.charlotteconventionctr.com/default.asp?conventioncenter=220" target="_blank"&gt;Directions and Parking&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Charlotte Douglas International Airport &amp;ndash; &lt;a href="http://charmeck.org/city/charlotte/Airport/GroundTransportation/Pages/default.aspx" target="_blank"&gt;Ground Transportation&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Charlotte Area Transit System (CATS) &amp;ndash; &lt;a href="http://charmeck.org/city/charlotte/cats/Bus/routes/Pages/default.aspx" target="_blank"&gt;Routes &amp;amp; Schedules&lt;/a&gt; (Choose &amp;ldquo;5 &amp;ndash; Airport&amp;rdquo; from the drop-down menu)&lt;/p&gt;
&lt;p&gt;Lynx Charlotte - &lt;a href="http://www.lynxcharlotte.com/" target="_blank"&gt;Lynx Light Rail&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=Ek3iZiz5GSM:yqx8c0KAx0w:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=Ek3iZiz5GSM:yqx8c0KAx0w:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?i=Ek3iZiz5GSM:yqx8c0KAx0w:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=Ek3iZiz5GSM:yqx8c0KAx0w:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlChick-MelissaCoates/~4/Ek3iZiz5GSM" height="1" width="1"/&gt;</description><wfw:commentRss>http://www.sqlchick.com/entries/rss-comments-entry-33512820.xml</wfw:commentRss><feedburner:origLink>http://www.sqlchick.com/entries/2013/4/28/tips-for-getting-around-charlotte-at-pass-summit.html</feedburner:origLink></item><item><title>Refreshing an SSRS Snapshot Using T-SQL</title><category>Reporting Services</category><category>SQLServerPedia Syndication</category><dc:creator>Melissa Coates</dc:creator><pubDate>Sun, 21 Apr 2013 00:20:11 +0000</pubDate><link>http://feedproxy.google.com/~r/SqlChick-MelissaCoates/~3/kqkoikJWXSc/refreshing-an-ssrs-snapshot-using-t-sql.html</link><guid isPermaLink="false">656900:7653852:33416787</guid><description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;Overview: &lt;/em&gt;&lt;/strong&gt; Quick tip about using T-SQL in an Agent Job to refresh a SQL Server Reporting Services snapshot report, rather than a schedule.&lt;/p&gt;
&lt;p&gt;SSRS has the capability to schedule the refresh of report snapshots via a report-specific schedule or a shared schedule.&amp;nbsp; However, what if you don&amp;rsquo;t have a specific time you want the refresh to run?&amp;nbsp; Alternatively, what if you want the snapshot to be refreshed after an event occurs, such as ETL completion?&lt;/p&gt;
&lt;p&gt;The first step is finding the ReportID (aka ItemID) assigned to the report by ReportServer.&amp;nbsp; The following query will return several pieces of information, including ReportID (aka ItemID):&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;SELECT    &lt;br /&gt;&amp;nbsp; NameOfReport = Cat.Name    &lt;br /&gt;&amp;nbsp; ,Cat.Path    &lt;br /&gt;&amp;nbsp; ,ReportID = Cat.ItemID    &lt;br /&gt;&amp;nbsp; ,NameOfAgentJob = Sched.ScheduleID    &lt;br /&gt;&amp;nbsp; ,LastExecutionTime = Cat.ExecutionTime&lt;/p&gt;
&lt;p&gt;FROM ReportServer.dbo.Catalog Cat WITH(NOLOCK)&lt;/p&gt;
&lt;p&gt;LEFT JOIN ReportServer.dbo.ReportSchedule Sched WITH(NOLOCK)   &lt;br /&gt;&amp;nbsp; ON Cat.ItemID = Sched.ReportID&lt;/p&gt;
&lt;p&gt;WHERE Cat.Name = '&amp;lt;InsertReportNameHere&amp;gt;'&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Populating-a-Report-Snapshot-After-ETL-C_115AD-?fileId=22504301"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Populating-a-Report-Snapshot-After-ETL-C_115AD-?fileId=22504302" border="0" alt="image" width="819" height="259" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Now that you have the ID for the specific snapshot report you need to get refreshed, insert that ID for the EventData parameter in the following T-SQL statement:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;exec [ReportServer].dbo.AddEvent @EventType='ReportExecutionUpdateSchedule', @EventData='&amp;lt;InsertReportIDHere&amp;gt;'&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Using this technique, you could add one or more T-SQL step(s) to kick off the refresh of subscriptions after ETL completes (or whatever other event you wish to trigger the refresh).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Populating-a-Report-Snapshot-After-ETL-C_115AD-?fileId=22504304"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Populating-a-Report-Snapshot-After-ETL-C_115AD-?fileId=22504305" border="0" alt="image" width="828" height="400" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you are controlling refreshes via an Agent job step, you probably also want to make sure the report-specific schedule is set to &amp;ldquo;Once&amp;rdquo; or turn it off completely.&amp;nbsp; If you leave the schedule active (such as the &amp;ldquo;Once&amp;rdquo; option shown below), you will still have an Agent Job present that is associated to this schedule (same as how subscriptions are handled).&amp;nbsp; The name of this Agent job can be found by referring to the Sched.ScheduleID field in the query above.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Populating-a-Report-Snapshot-After-ETL-C_115AD-?fileId=22504306"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Populating-a-Report-Snapshot-After-ETL-C_115AD-?fileId=22504307" border="0" alt="image" width="820" height="565" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=kqkoikJWXSc:8RZmRZRwNmQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=kqkoikJWXSc:8RZmRZRwNmQ:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?i=kqkoikJWXSc:8RZmRZRwNmQ:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=kqkoikJWXSc:8RZmRZRwNmQ:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlChick-MelissaCoates/~4/kqkoikJWXSc" height="1" width="1"/&gt;</description><wfw:commentRss>http://www.sqlchick.com/entries/rss-comments-entry-33416787.xml</wfw:commentRss><feedburner:origLink>http://www.sqlchick.com/entries/2013/4/20/refreshing-an-ssrs-snapshot-using-t-sql.html</feedburner:origLink></item><item><title>SSRS Report Execution Snapshot vs. a Report History Snapshot</title><category>Reporting Services</category><category>SQLServerPedia Syndication</category><dc:creator>Melissa Coates</dc:creator><pubDate>Wed, 17 Apr 2013 00:59:36 +0000</pubDate><link>http://feedproxy.google.com/~r/SqlChick-MelissaCoates/~3/trkqhXxB_HA/ssrs-report-execution-snapshot-vs-a-report-history-snapshot.html</link><guid isPermaLink="false">656900:7653852:33395760</guid><description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;Overview:&lt;/em&gt;&lt;/strong&gt;&amp;nbsp; An introduction to using snapshots in SQL Server Reporting Services, including an explanation of the differences between a &amp;ldquo;Report Execution Snapshot&amp;rdquo; and a &amp;ldquo;Report History Snapshot.&amp;rdquo;&lt;/p&gt;
&lt;h2&gt;Intro to the Ways Users Can Run Reports in Reporting Services&lt;/h2&gt;
&lt;p&gt;1.&amp;nbsp; &lt;strong&gt;On Demand.&lt;/strong&gt;&amp;nbsp; Most reports typically are executed on demand &amp;ndash; i.e., the query in the dataset runs and the report is displayed at the time the report is requested by the user.&amp;nbsp; This is the default in &amp;ldquo;Processing Options&amp;rdquo; within Report Manager (accessed via the &amp;ldquo;Manage&amp;rdquo; menu option).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Difference-Between-a-Report-Execution-Sn_10D43-?fileId=22475516"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Difference-Between-a-Report-Execution-Sn_10D43-?fileId=22475517" border="0" alt="image" width="620" height="309" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp; &lt;strong&gt;Cached Reports.&lt;/strong&gt;&amp;nbsp; If you have a long-running query that cannot be tuned further, one option you might look into is caching.&amp;nbsp; With this method, the first user that executes the report will wait for the report to render.&amp;nbsp; Subsequent users, until the cache expires in minutes or on a schedule, will view the cached report.&amp;nbsp; Getting the benefit of caching depends on the subsequent users having the same security and same parameter choices that the first user had.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Difference-Between-a-Report-Execution-Sn_10D43-?fileId=22475519"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Difference-Between-a-Report-Execution-Sn_10D43-?fileId=22475520" border="0" alt="image" width="624" height="426" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp; &lt;strong&gt;Snapshots&lt;/strong&gt;.&amp;nbsp; If you have a long-running query, or perhaps a dataset you don&amp;rsquo;t want users accessing at any &amp;amp; all times of the day, then a snapshot might be a great option.&amp;nbsp; A snapshot can be thought of as a pre-executed report, usually run on a schedule.&amp;nbsp; The rest of this blog entry focuses on using snapshots.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Difference-Between-a-Report-Execution-Sn_10D43-?fileId=22475522"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Difference-Between-a-Report-Execution-Sn_10D43-?fileId=22475523" border="0" alt="image" width="633" height="434" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Prerequisites for Using a Snapshot in Reporting Services&lt;/h2&gt;
&lt;p&gt;There&amp;rsquo;s a couple of requirements in order to use a snapshot.&amp;nbsp; If you are familiar with subscriptions in SSRS, these will sound familiar.&lt;/p&gt;
&lt;p&gt;a.&amp;nbsp; &lt;strong&gt;Stored credentials for the data source&lt;/strong&gt;.&amp;nbsp; Windows authentication is not acceptable when a report is scheduled.&amp;nbsp; If you aren&amp;rsquo;t using a data source with the ID and Password stored (so that data level security is a non-issue when it runs), you&amp;rsquo;ll get the message &amp;ldquo;Credentials used to run this report are not stored.&amp;rdquo;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Difference-Between-a-Report-Execution-Sn_10D43-?fileId=22475525"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Difference-Between-a-Report-Execution-Sn_10D43-?fileId=22475526" border="0" alt="image" width="625" height="302" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Tip:&lt;/em&gt;&lt;/strong&gt;&amp;nbsp; Create a separate shared data source that has a name such as &amp;ldquo;MCGardenCenterDW_StoredCreds&amp;rdquo; so you know at a glance it&amp;rsquo;s using a specific ID and Password as opposed to Windows Authentication (assuming Windows auth is your default).&amp;nbsp; You may even put these any data sources with stored credentials into their own folder with limited permissions.&lt;/p&gt;
&lt;p&gt;b.&amp;nbsp; &lt;strong&gt;Defaults for all Parameters.&lt;/strong&gt;&amp;nbsp; Another prerequisite for using snapshots is that all parameters need a default value defined.&amp;nbsp; This makes sense as there&amp;rsquo;s no user interaction when a snapshot is being populated at, for instance, 4am.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Difference-Between-a-Report-Execution-Sn_10D43-?fileId=22475527"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Difference-Between-a-Report-Execution-Sn_10D43-?fileId=22475528" border="0" alt="image" width="836" height="307" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Tip:&lt;/em&gt;&lt;/strong&gt;&amp;nbsp; Sometimes you might have to be a bit clever in order to ensure all parameters have a default.&amp;nbsp; For instance, if the default is always &amp;ldquo;current fiscal period&amp;rdquo; that continually changes, you can make this happen with an intermediary hidden parameter &amp;ndash; it might just take a bit of extra time to think up a good solution.&lt;/p&gt;
&lt;h2&gt;Scheduling a Snapshot&lt;/h2&gt;
&lt;p&gt;As you are perusing the options when you &amp;ldquo;Manage&amp;rdquo; a report, you will notice there&amp;rsquo;s two different schedules associated to snapshots.&amp;nbsp; First, there&amp;rsquo;s the scheduling options on the &amp;ldquo;&lt;strong&gt;Processing Options&lt;/strong&gt;&amp;rdquo; page:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Difference-Between-a-Report-Execution-Sn_10D43-?fileId=22475529"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Difference-Between-a-Report-Execution-Sn_10D43-?fileId=22475530" border="0" alt="image" width="634" height="469" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Secondly, there&amp;rsquo;s scheduling options on the &amp;ldquo;&lt;strong&gt;Snapshot Options&lt;/strong&gt;&amp;rdquo; page:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Difference-Between-a-Report-Execution-Sn_10D43-?fileId=22475531"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Difference-Between-a-Report-Execution-Sn_10D43-?fileId=22475532" border="0" alt="image" width="647" height="363" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Initially you might say &amp;ldquo;huh?&amp;rdquo; or wonder which should be set.&amp;nbsp; The key here is that there&amp;rsquo;s really two kinds of snapshots&amp;hellip;&lt;/p&gt;
&lt;h2&gt;Two Different Types of Snapshots in Reporting Services&lt;/h2&gt;
&lt;p&gt;On the Processing Options page, you would schedule a &amp;ldquo;&lt;strong&gt;&lt;em&gt;Report Execution&lt;/em&gt;&lt;/strong&gt;&amp;rdquo; snapshot.&amp;nbsp; The primary purpose for a Report Execution snapshot is usually to improve performance by reducing report rendering time, or to ensure queries are passed to the source database at very specific times.&lt;/p&gt;
&lt;p&gt;Conversely, on the Snapshot Options page, you are setting up a &amp;ldquo;&lt;strong&gt;&lt;em&gt;Report History&lt;/em&gt;&lt;/strong&gt;&amp;rdquo; snapshot.&amp;nbsp; The primary purpose for a Report History snapshot is to keep a copy of the report at a specific point in time.&lt;/p&gt;
&lt;p&gt;So, basically you want to make sure you set the schedule associated to the purpose you&amp;rsquo;re trying to accomplish.&amp;nbsp; Usually it&amp;rsquo;s just one or the other, but it could be both depending on the requirements.&amp;nbsp; &lt;a href="http://msdn.microsoft.com/en-us/library/ms178821.aspx" target="_blank"&gt;Microsoft explains it like this&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&amp;ldquo;Snapshots that are generated as a result of report execution settings have the same characteristics as report history snapshots. The difference is that there is only one report execution snapshot and potentially many report history snapshots. Report history snapshots are accessed from the History page of the report, which stores many instances of a report as it existed at different points in time. In contrast, users access report execution snapshots from folders the same way that they access live reports. In the case of report execution snapshots, no visual cue exists to indicate to users that the report is a snapshot.&amp;rdquo;&lt;/p&gt;
&lt;h2&gt;Avoiding the &amp;ldquo;Selected Report is Not Ready for Viewing&amp;rdquo; Error&lt;/h2&gt;
&lt;p&gt;Let&amp;rsquo;s say on the Processing Options page you checked the radio button to &amp;ldquo;render this report from a report snapshot.&amp;rdquo;&amp;nbsp; Then you scheduled it on the Snapshot Options page.&amp;nbsp; Sounds reasonable, right?&amp;nbsp; You can even view the report within the Report History just fine.&amp;nbsp; However, you click on the report name (i.e., the normal way to run a report) you get a message:&amp;nbsp; &lt;strong&gt;&lt;em&gt;The selected report is not ready for viewing. The report is still being rendered or a report snapshot is not available.&amp;rdquo;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Difference-Between-a-Report-Execution-Sn_10D43-?fileId=22475533"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Difference-Between-a-Report-Execution-Sn_10D43-?fileId=22475534" border="0" alt="image" width="853" height="174" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Why the message?&amp;nbsp; And where&amp;rsquo;s the report?&amp;nbsp; What happened is with the setup just described, a Report History snapshot now exists but no Report Execution snapshots exists.&amp;nbsp; So, SSRS has no report to render given this circumstance.&amp;nbsp; To resolve, it does depend on what you are trying to accomplish, but you probably want to schedule it on the Processing Options page instead.&amp;nbsp; (Alternatively, if the data rarely changes you could control when it&amp;rsquo;s created by using the Apply button option.&amp;nbsp; The Apply button is also useful for generating the first snapshot for testing.)&lt;/p&gt;
&lt;h2&gt;Viewing Report Execution Snapshots within Report History&lt;/h2&gt;
&lt;p&gt;There&amp;rsquo;s one more really important thing to be aware of.&amp;nbsp; Let&amp;rsquo;s say you schedule your Report Execution snapshot within the Processing Options.&amp;nbsp; The report runs fine, but you don&amp;rsquo;t see it within Report History.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By default the option to &amp;ldquo;Store all report snapshots in history&amp;rdquo; is not checked.&amp;nbsp; If you want to see a Report Execution snapshot within history, you&amp;rsquo;ll want to check the box to do so within Snapshot Options.&amp;nbsp; If you&amp;rsquo;re only using Report Execution snapshots for this report, you&amp;rsquo;ll probably want to store them in the history.&amp;nbsp; However, if you happen to be using both Report Execution and Report History snapshots for the same report, you might want to leave it unchecked so they don&amp;rsquo;t get mixed up &amp;ndash; i.e., if you are doing both, then the schedules will differ for a reason.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Difference-Between-a-Report-Execution-Sn_10D43-?fileId=22475535"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Difference-Between-a-Report-Execution-Sn_10D43-?fileId=22475537" border="0" alt="image" width="782" height="419" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Letting the User Know When the Data was Refreshed&lt;/h2&gt;
&lt;p&gt;Since a snapshot will render data at a particular point in time, it&amp;rsquo;s very kind to the end users of the report to display the &amp;ldquo;data as of&amp;rdquo; data in the report header (or footer, however you have it standardized).&amp;nbsp; To ensure it displays when the snapshot was created, you&amp;rsquo;ll want to use the &lt;strong&gt;ExecutionTime&lt;/strong&gt; global field (as opposed to Now() or Today() type of functions).&amp;nbsp; For example:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =FormatDateTime(Globals!ExecutionTime, DateFormat.ShortDate)&lt;/p&gt;
&lt;h2&gt;Finding More Information&lt;/h2&gt;
&lt;p&gt;MSDN &amp;ndash; &lt;a href="http://msdn.microsoft.com/en-us/library/ms159241.aspx" target="_blank"&gt;Set Report Processing Properties&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;MSDN &amp;ndash; &lt;a href="http://msdn.microsoft.com/en-us/library/ms178821.aspx" target="_blank"&gt;Processing Options Properties Page (Report Manager)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=trkqhXxB_HA:RpwMBL5Q6a0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=trkqhXxB_HA:RpwMBL5Q6a0:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?i=trkqhXxB_HA:RpwMBL5Q6a0:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=trkqhXxB_HA:RpwMBL5Q6a0:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlChick-MelissaCoates/~4/trkqhXxB_HA" height="1" width="1"/&gt;</description><wfw:commentRss>http://www.sqlchick.com/entries/rss-comments-entry-33395760.xml</wfw:commentRss><feedburner:origLink>http://www.sqlchick.com/entries/2013/4/16/ssrs-report-execution-snapshot-vs-a-report-history-snapshot.html</feedburner:origLink></item><item><title>Connectivity Requirements of Power View in Excel 2013</title><category>Excel</category><category>Power View</category><category>SQLServerPedia Syndication</category><dc:creator>Melissa Coates</dc:creator><pubDate>Mon, 08 Apr 2013 00:22:17 +0000</pubDate><link>http://feedproxy.google.com/~r/SqlChick-MelissaCoates/~3/IZSTcsQLwhU/connectivity-requirements-of-power-view-in-excel-2013.html</link><guid isPermaLink="false">656900:7653852:33264945</guid><description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;Overview:&lt;/em&gt;&lt;/strong&gt;&amp;nbsp; Quick tip about using Power View in Excel 2013 re: how data refreshes are handled, as well as requirements for data connectivity and Internet connectivity.&lt;/p&gt;
&lt;h2&gt;Power View Refresh Behavior Upon Opening the Excel File&lt;/h2&gt;
&lt;p&gt;Recently I had an &amp;ldquo;aha&amp;rdquo; moment when I realized Power View acts differently than a PivotTable when you open a previously saved Excel 2013 file.&amp;nbsp; When you open an Excel file that has previously been saved, a PivotTable will render its last saved state (if the external data connection is *not* set to &amp;ldquo;Refresh data when opening the file&amp;rdquo;).&amp;nbsp; I usually explain to new self-service users that this behavior of a PivotTable can be a bit of a security hole if an Excel file is emailed to someone who doesn&amp;rsquo;t have formal security to see the data &amp;ndash; the recipient can see the data last saved in the PivotTable but they couldn&amp;rsquo;t refresh it unless they have permission to do so (if the external data connection is *not* set to &amp;ldquo;Refresh data when opening the file&amp;rdquo;).&lt;/p&gt;
&lt;p&gt;However&amp;hellip;Power View does not behave the same way.&amp;nbsp; When you open a previously saved Excel file, it immediately wants to refresh the Power View sheet when you click on it.&amp;nbsp; As far as I&amp;rsquo;m aware, Power View cannot render its last saved state, nor can it render a snapshot as of a point in time.&lt;/p&gt;
&lt;p&gt;For example, the following screen shot displays a Power View sheet where the external Tabular model data source is unavailable. &amp;nbsp;The Power View message says &lt;strong&gt;&lt;em&gt;&amp;ldquo;Sorry, something went wrong while loading the model for the item or data source &amp;lsquo;DataSourceName&amp;rsquo;. Verify that the connection information is correct and that you have permissions to access the data source.&amp;rdquo;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Connectivity-Requirements-of-Power-View-_1177F-?fileId=22390471"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Connectivity-Requirements-of-Power-View-_1177F-?fileId=22390472" border="0" alt="image" width="904" height="508" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This behavior tells us we need to have connectivity to our external data source in order to view the Power View report.&lt;/p&gt;
&lt;h2&gt;Online Connectivity Requirements for using Power View&lt;/h2&gt;
&lt;p&gt;From what I&amp;rsquo;ve learned so far, there are the following online requirements for Power View reporting in Excel:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Access to External Data Sources (i.e., if accessing an external Tabular model instead of an embedded PowerPivot model).&amp;nbsp; This might mean a worker has to VPN into their office if using an Excel file while at home, for instance.&lt;/li&gt;
&lt;li&gt;Internet Connectivity if using Maps (Power View integrates with with Bing Maps).&lt;/li&gt;
&lt;li&gt;Internet Connectivity if using Image URLs (as opposed to binary images embedded in the data model).&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Noticed anything else along these lines?&amp;nbsp; Please leave me a comment and I&amp;rsquo;d be happy to add it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=IZSTcsQLwhU:P29jhLGKlSk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=IZSTcsQLwhU:P29jhLGKlSk:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?i=IZSTcsQLwhU:P29jhLGKlSk:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=IZSTcsQLwhU:P29jhLGKlSk:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlChick-MelissaCoates/~4/IZSTcsQLwhU" height="1" width="1"/&gt;</description><wfw:commentRss>http://www.sqlchick.com/entries/rss-comments-entry-33264945.xml</wfw:commentRss><feedburner:origLink>http://www.sqlchick.com/entries/2013/4/7/connectivity-requirements-of-power-view-in-excel-2013.html</feedburner:origLink></item><item><title>Me? A SQL Server MVP? That’s What They Tell Me!</title><category>Career</category><category>SQLServerPedia Syndication</category><dc:creator>Melissa Coates</dc:creator><pubDate>Sun, 07 Apr 2013 00:53:39 +0000</pubDate><link>http://feedproxy.google.com/~r/SqlChick-MelissaCoates/~3/k29q8YzIEbI/me-a-sql-server-mvp-thats-what-they-tell-me.html</link><guid isPermaLink="false">656900:7653852:33262770</guid><description>&lt;p&gt;&lt;img style="background-image: none; float: right; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Me-A-SQL-Server-MVP-Thats-What-They-Tell_EF08-?fileId=22384494" border="0" alt="image" width="418" height="315" align="right" /&gt;I am delighted to announce that Microsoft has granted me (me?!?) the MVP Award.&amp;nbsp; The official description of this award:&amp;nbsp; &amp;ldquo;&lt;strong&gt;&lt;em&gt;Microsoft Most Valuable Professionals are exceptional technical community leaders worldwide who actively share their high quality real world expertise with others&lt;/em&gt;&lt;/strong&gt;.&amp;rdquo;&amp;nbsp; The Microsoft MVP public site is at:&amp;nbsp; &lt;a href="http://mvp.microsoft.com" target="_blank"&gt;http://mvp.microsoft.com&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As the week has progressed since the announcement, finding the words to express my feelings about it is becoming harder rather than easier &amp;ndash; there are so many people in the community doing great things! Not sure how I made the cut, but I&amp;rsquo;m looking forward to learning from all the other MVPs and Microsoft folks I&amp;rsquo;ll be exposed to, and continuing to contribute BI content to the community.&lt;/p&gt;
&lt;p&gt;Many times I&amp;rsquo;ve said the Microsoft user community is very different from others. The extent to which information is freely shared is astounding. We should all greatly appreciate the ability to fire up our search engine and find advice which saves us time and teaches us something. So many people invest time and effort to make that happen. &amp;nbsp;There are blogs, user groups, books, SQL Saturdays, webinars, Twitter, forums &amp;ndash; with many great friendships made along the way.&lt;/p&gt;
&lt;p&gt;This week I&amp;rsquo;ve been thinking a lot about how much our work lives depend on being fearless. What I mean by that &amp;ndash; technology changes all the time, business methods vary, best practices evolve, we change, and the people around us change and grow. Many times we find ourselves doing something unfamiliar. The more experience I gain, the less I fear the unknown and the more confidence I have that we as a team can &amp;ldquo;figure it out.&amp;rdquo; The sheer volume of information that&amp;rsquo;s available to us in the Microsoft community to improve our skills makes &amp;ldquo;figuring it out&amp;rdquo; faster, easier, and with less risk for poor decisions.&lt;/p&gt;
&lt;p&gt;&lt;img style="background-image: none; float: left; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Me-A-SQL-Server-MVP-Thats-What-They-Tell_EF08-?fileId=22384495" border="0" alt="image" width="272" height="452" align="left" /&gt;Now I don&amp;rsquo;t want to pull a Sally Field moment here, but there&amp;rsquo;s a few people I want to call out. A heartfelt thanks goes to &lt;a href="http://www.rafael-salas.com/" target="_blank"&gt;Rafael Salas&lt;/a&gt; who submitted an MVP nomination on my behalf.&amp;nbsp; &lt;a href="http://www.msbicentral.com/blogs/waynesnyder.aspx" target="_blank"&gt;Wayne Snyder&lt;/a&gt; was instrumental in giving me the confidence to start blogging.&amp;nbsp; My good friends &lt;a href="http://javierguillen.wordpress.com/" target="_blank"&gt;Javier Guill&amp;eacute;n&lt;/a&gt; and &lt;a href="http://www.sqljason.com/" target="_blank"&gt;Jason Thomas&lt;/a&gt; &amp;ndash; these guys are always willing to review a draft, exchange ideas, or just go for a beer &amp;ndash; they make me smarter by association.&amp;nbsp; My employer, Intellinet, has been extremely good to me - the level of support and encouragement I&amp;rsquo;ve received from &lt;a href="http://www.linkedin.com/profile/view?id=10704629&amp;amp;authType=name&amp;amp;authToken=hB2e&amp;amp;goback=" target="_blank"&gt;Leo Furlong&lt;/a&gt; and everyone at Intellinet has been amazing.&amp;nbsp; Finally, my husband Bob is my rock.&amp;nbsp; That says it all.&lt;/p&gt;
&lt;p&gt;Today I received a really nice plaque and certificate. &amp;nbsp;See the little 2013 disc on the left side of the MVP plaque?&amp;nbsp; If an MVP award is renewed the following year, the recipient receives another disc to slide onto the plaque.&amp;nbsp; Cool, huh?&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s to a great rest of 2013!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=k29q8YzIEbI:kgKG8yIwnVc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=k29q8YzIEbI:kgKG8yIwnVc:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?i=k29q8YzIEbI:kgKG8yIwnVc:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=k29q8YzIEbI:kgKG8yIwnVc:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlChick-MelissaCoates/~4/k29q8YzIEbI" height="1" width="1"/&gt;</description><wfw:commentRss>http://www.sqlchick.com/entries/rss-comments-entry-33262770.xml</wfw:commentRss><feedburner:origLink>http://www.sqlchick.com/entries/2013/4/6/me-a-sql-server-mvp-thats-what-they-tell-me.html</feedburner:origLink></item><item><title>Creating a Power View Report in Excel 2013 Which Uses an External Data Connection</title><category>Power View</category><category>SQLServerPedia Syndication</category><dc:creator>Melissa Coates</dc:creator><pubDate>Sun, 31 Mar 2013 00:59:02 +0000</pubDate><link>http://feedproxy.google.com/~r/SqlChick-MelissaCoates/~3/z4tvDUBj3MQ/creating-a-power-view-report-in-excel-2013-which-uses-an-ext.html</link><guid isPermaLink="false">656900:7653852:33174700</guid><description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;Overview:&lt;/em&gt;&lt;/strong&gt;&amp;nbsp; Quick tip about how to insert a Power View worksheet in Excel 2013 that points to an external data connection (as opposed to an internal PowerPivot model).&amp;nbsp; Also includes a tidbit at the end about why the behavior of data connections makes Power View unable to be used for snapshot reporting.&lt;/p&gt;
&lt;h2&gt;What Doesn&amp;rsquo;t Work With an External Data Connection&lt;/h2&gt;
&lt;p&gt;You&amp;rsquo;ve probably noticed on Excel&amp;rsquo;s Insert menu a choice for Power View.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Creating-a-Power-View-Report-in-Excel-20_11C79-?fileId=22323968"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Creating-a-Power-View-Report-in-Excel-20_11C79-?fileId=22323969" border="0" alt="image" width="793" height="122" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Insert menu works beautifully when a PowerPivot model is embedded within the same Excel workbook that is open.&amp;nbsp; However, if an embedded PowerPivot model is not available, instead you get a message:&amp;nbsp; &lt;strong&gt;&lt;em&gt;&amp;ldquo;Power View needs data to work with.&amp;rdquo;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Creating-a-Power-View-Report-in-Excel-20_11C79-?fileId=22323970"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Creating-a-Power-View-Report-in-Excel-20_11C79-?fileId=22323971" border="0" alt="image" width="244" height="178" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So, let&amp;rsquo;s investigate a different technique in order to make an external connection to an Analysis Services Tabular model.&lt;/p&gt;
&lt;h2&gt;Connecting to an External Data Source&lt;/h2&gt;
&lt;p&gt;&lt;em&gt;If your connection already exists, choose it in Existing Connections and skip to Step 4.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp; On the Data menu, choose From Other Sources &amp;gt; From Analysis Services.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Creating-a-Power-View-Report-in-Excel-20_11C79-?fileId=22323972"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Creating-a-Power-View-Report-in-Excel-20_11C79-?fileId=22323973" border="0" alt="image" width="724" height="289" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp; Select the Tabular Model you want, then Next.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Creating-a-Power-View-Report-in-Excel-20_11C79-?fileId=22323974"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Creating-a-Power-View-Report-in-Excel-20_11C79-?fileId=22323975" border="0" alt="image" width="460" height="383" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp; Modify the File Name and Friendly Name if you&amp;rsquo;d like, then Finish.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Creating-a-Power-View-Report-in-Excel-20_11C79-?fileId=22323977"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="SNAGHTMLd2f9199" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Creating-a-Power-View-Report-in-Excel-20_11C79-?fileId=22323978" border="0" alt="SNAGHTMLd2f9199" width="532" height="394" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;4.&amp;nbsp; Change the radio button to Power View Report (instead of the default PivotTable Report).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Creating-a-Power-View-Report-in-Excel-20_11C79-?fileId=22323979"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="SNAGHTMLd3183b5" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Creating-a-Power-View-Report-in-Excel-20_11C79-?fileId=22323980" border="0" alt="SNAGHTMLd3183b5" width="325" height="308" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You probably also want to visit the Properties pane.&amp;nbsp; By default, the checkbox to &amp;ldquo;Refresh data when opening the file&amp;rdquo; is not selected.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Creating-a-Power-View-Report-in-Excel-20_11C79-?fileId=22323981"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Creating-a-Power-View-Report-in-Excel-20_11C79-?fileId=22323982" border="0" alt="image" width="430" height="467" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you leave the &amp;ldquo;Refresh data when opening the file&amp;rdquo; option unchecked (which is the default), when the file is reopened Power View will render a message &lt;strong&gt;&lt;em&gt;&amp;ldquo;Please refresh to see the data for this Power View sheet.&amp;rdquo; &lt;/em&gt;&lt;/strong&gt;Doing a Refresh fixes it, but it&amp;rsquo;s one extra click every single time you open the file.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Creating-a-Power-View-Report-in-Excel-20_11C79-?fileId=22323983"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Creating-a-Power-View-Report-in-Excel-20_11C79-?fileId=22323984" border="0" alt="image" width="796" height="525" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Inherently what this means is that Power View cannot be used as a tool for snapshot reporting.&amp;nbsp; With an Excel PivotTable, unless you choose to refresh the data you see the last saved state.&amp;nbsp; Power View, however, does not behave the same way &amp;ndash; it won&amp;rsquo;t render the last saved state.&amp;nbsp; It must be refreshed.&amp;nbsp; Therefore, this means to save a snapshot at a point in time the report would have to be exported.&lt;/p&gt;
&lt;p&gt;To change the setting after it&amp;rsquo;s been set up, go to Connections on the Data menu, then choose Properties.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Creating-a-Power-View-Report-in-Excel-20_11C79-?fileId=22323985"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Creating-a-Power-View-Report-in-Excel-20_11C79-?fileId=22323986" border="0" alt="image" width="491" height="144" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=z4tvDUBj3MQ:dD35xcfGblM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=z4tvDUBj3MQ:dD35xcfGblM:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?i=z4tvDUBj3MQ:dD35xcfGblM:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=z4tvDUBj3MQ:dD35xcfGblM:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlChick-MelissaCoates/~4/z4tvDUBj3MQ" height="1" width="1"/&gt;</description><wfw:commentRss>http://www.sqlchick.com/entries/rss-comments-entry-33174700.xml</wfw:commentRss><feedburner:origLink>http://www.sqlchick.com/entries/2013/3/30/creating-a-power-view-report-in-excel-2013-which-uses-an-ext.html</feedburner:origLink></item><item><title>Using a Trace File to Troubleshoot Errors in PowerPivot</title><category>PowerPivot</category><category>SQLServerPedia Syndication</category><dc:creator>Melissa Coates</dc:creator><pubDate>Sun, 24 Mar 2013 15:59:29 +0000</pubDate><link>http://feedproxy.google.com/~r/SqlChick-MelissaCoates/~3/1rPGIX5Q2mU/using-a-trace-file-to-troubleshoot-errors-in-powerpivot.html</link><guid isPermaLink="false">656900:7653852:33114951</guid><description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;Overview:&lt;/em&gt;&lt;/strong&gt;&amp;nbsp; How to produce a trace file for the IT or BI Support team to review when troubleshooting an error within PowerPivot running on an individual user machine.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s say you&amp;rsquo;ve been working with PowerPivot for a while and suddenly an error starts to occur.&amp;nbsp; Perhaps this error has popped up when you try to refresh the data.&amp;nbsp; In the following screen shot, the error message states &lt;strong&gt;&amp;ldquo;We couldn&amp;rsquo;t refresh the connection.&amp;nbsp; Please go to existing connections and verify they connect to the file or server.&amp;rdquo;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Troubleshooting-Errors-in-PowerPivot_8A99-?fileId=22268036"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Troubleshooting-Errors-in-PowerPivot_8A99-?fileId=22268037" border="0" alt="image" width="580" height="666" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the above screen shot, the Work Item of &amp;ldquo;AutoSales&amp;rdquo; is the friendly name given in the PowerPivot model for the first table it&amp;rsquo;s trying to process &amp;ndash; it&amp;rsquo;s not the actual name of the data connection.&amp;nbsp; So, the friendly table name may or may not be descriptive enough to infer what the actual data source is.&amp;nbsp; In this situation, you will probably be able to resolve this issue by going to Existing Connections on the Home tab &amp;gt; select the appropriate PowerPivot Data Connection and choose Edit &amp;gt; then Test Connection.&amp;nbsp; The test will almost certainly fail if the data refresh failed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Troubleshooting-Errors-in-PowerPivot_8A99-?fileId=22268038"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Troubleshooting-Errors-in-PowerPivot_8A99-?fileId=22268039" border="0" alt="image" width="589" height="564" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The screen shot above which displays the Server and Database name is excellent information to provide to the IT/BI team for troubleshooting connectivity.&lt;/p&gt;
&lt;p&gt;But&amp;hellip;what if it&amp;rsquo;s not so simple?&amp;nbsp; What if you need more information to figure out what the workbook is actually doing?&amp;nbsp; Enter the trace file&amp;hellip;&lt;/p&gt;
&lt;h2&gt;Creating a PowerPivot Trace File&lt;/h2&gt;
&lt;p&gt;PowerPivot has an option to create a trace (*.trc) file which will describe, in excruciating detail, each step that is happening behind the scenes.&amp;nbsp; In certain situations, having all of this detail this can be tremendously helpful.&lt;/p&gt;
&lt;p&gt;To generate a trace file, go to the PowerPivot menu in the Excel window (not the PowerPivot window) &amp;gt; select the &amp;ldquo;Client tracing is enabled&amp;rdquo; checkbox.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Troubleshooting-Errors-in-PowerPivot_8A99-?fileId=22268040"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Troubleshooting-Errors-in-PowerPivot_8A99-?fileId=22268041" border="0" alt="image" width="595" height="636" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This will enable tracing for this one workbook, while it remains open - i.e., for this session only.&amp;nbsp; This behavior is nice because you don&amp;rsquo;t have to remember to turn the tracing off; it terminates when the workbook is closed.&lt;/p&gt;
&lt;h2&gt;Finding Information in the Trace File&lt;/h2&gt;
&lt;p&gt;In our situation, we can quickly scroll down and spot the error in the trace file.&amp;nbsp; The descriptive message appears at the bottom of the window for each line.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Troubleshooting-Errors-in-PowerPivot_8A99-?fileId=22268042"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Troubleshooting-Errors-in-PowerPivot_8A99-?fileId=22268043" border="0" alt="image" width="822" height="403" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The full error is a mouthful, but the description from the trace does give more info than the initial PowerPivot screen did:&amp;nbsp;&amp;nbsp; &lt;strong&gt;OLE DB or ODBC error: Login timeout expired; HYT00; A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.; 08001; Named Pipes Provider: Could not open a connection to SQL Server [53]. ; 08001. A connection could not be made to the data source with the DataSourceID of 'b3c4d1db-0d27-477c-bff6-8a020d0841c4', Name of 'SqlServer SQLIMAGE2012 AutoSalesSourceDW'. An error occurred while processing table 'AutoSales'. The current operation was cancelled because another operation in the transaction failed.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If you scroll up to earlier entries in the trace file, we can find the actual query being executed against the source:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Troubleshooting-Errors-in-PowerPivot_8A99-?fileId=22268044"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Troubleshooting-Errors-in-PowerPivot_8A99-?fileId=22268045" border="0" alt="image" width="597" height="350" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It also captures information such as how calculated measures are being created:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Troubleshooting-Errors-in-PowerPivot_8A99-?fileId=22268048"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Troubleshooting-Errors-in-PowerPivot_8A99-?fileId=22268049" border="0" alt="image" width="605" height="387" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There&amp;rsquo;s can be a lot of volume to scroll through, but there is lots of excellent information captured by a trace file.&amp;nbsp; In some cases, sending the trace file to the IT/BI Support Team will provide enough details to figure out what&amp;rsquo;s gone wrong.&lt;/p&gt;
&lt;h2&gt;Reading a Trace File&lt;/h2&gt;
&lt;p&gt;An application which is able to read a *.trc file is required.&amp;nbsp; Common applications like Notepad or Excel cannot read all the contents of a trace file:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Troubleshooting-Errors-in-PowerPivot_8A99-?fileId=22268050"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Troubleshooting-Errors-in-PowerPivot_8A99-?fileId=22268051" border="0" alt="image" width="598" height="188" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To read *.trc files on your machine, you&amp;rsquo;ll need the SQL Server Profiler which comes as part of a SQL Server installation.&amp;nbsp; If you are a business user who uses PowerPivot but not SQL Server, installing the Developer Edition of SQL Server is probably overkill, but it is an option if you don&amp;rsquo;t have IT support to help.&lt;/p&gt;
&lt;h2&gt;Finding More Information&lt;/h2&gt;
&lt;p&gt;PowerPivot-info-.com &amp;ndash; &lt;a href="http://powerpivot-info.com/post/381-q-how-can-i-see-what-internal-commands-powerpivot-executes-in-its-engine" target="_blank"&gt;How can I see what internal commands PowerPivot executes in its engine?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Denny Lee&amp;rsquo;s blog &amp;ndash; &lt;a href="http://dennyglee.com/2010/01/30/reading-your-powerpivot-profiler-trace/" target="_blank"&gt;Reading Your PowerPivot Profiler Trace&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;TechNet &amp;ndash; &lt;a href="http://technet.microsoft.com/en-us/library/gg399091.aspx" target="_blank"&gt;PowerPivot Options &amp;amp; Diagnostics Box&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=1rPGIX5Q2mU:ujqKzJQBEBo:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=1rPGIX5Q2mU:ujqKzJQBEBo:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?i=1rPGIX5Q2mU:ujqKzJQBEBo:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=1rPGIX5Q2mU:ujqKzJQBEBo:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlChick-MelissaCoates/~4/1rPGIX5Q2mU" height="1" width="1"/&gt;</description><wfw:commentRss>http://www.sqlchick.com/entries/rss-comments-entry-33114951.xml</wfw:commentRss><feedburner:origLink>http://www.sqlchick.com/entries/2013/3/24/using-a-trace-file-to-troubleshoot-errors-in-powerpivot.html</feedburner:origLink></item><item><title>Corporate BI and Self-Service BI - One Size Does Not Fit All</title><category>BI User Group</category><category>SQLServerPedia Syndication</category><category>Self-Service BI</category><dc:creator>Melissa Coates</dc:creator><pubDate>Sat, 16 Mar 2013 02:39:50 +0000</pubDate><link>http://feedproxy.google.com/~r/SqlChick-MelissaCoates/~3/Sm6ZImNddf4/corporate-bi-and-self-service-bi-one-size-does-not-fit-all.html</link><guid isPermaLink="false">656900:7653852:33050546</guid><description>&lt;p&gt;Data.&amp;nbsp; Analytics.&amp;nbsp; Business Intelligence.&amp;nbsp; Every company, large or small, needs it.&amp;nbsp; The depth of analytics required will vary wildly from company to company though.&amp;nbsp; As an organization grows in size, we start differentiating its needs for Corporate BI and Self-Service BI.&amp;nbsp; Does a mid to large size company need both?&amp;nbsp; Probably.&amp;nbsp; Are Corporate BI and Self-Service BI somewhat at odds with each other?&amp;nbsp; Sometimes, but not always.&lt;/p&gt;
&lt;p&gt;The following charts depict one way of viewing levels of Business Intelligence within an organization.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-2ec6d50a846d_12E5C-?fileId=22196778" border="0" alt="image" width="663" height="475" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-2ec6d50a846d_12E5C-?fileId=22196779"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-2ec6d50a846d_12E5C-?fileId=22196780" border="0" alt="image" width="662" height="476" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-2ec6d50a846d_12E5C-?fileId=22196781"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-2ec6d50a846d_12E5C-?fileId=22196783" border="0" alt="image" width="663" height="487" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Where the organization wants to plot itself on the above axes depends on many things. The top right is not necessarily the &amp;ldquo;ideal&amp;rdquo; or &amp;ldquo;best&amp;rdquo; for every company. The bottom left is not always &amp;ldquo;bad.&amp;rdquo; Ultimately, the desired level of maturity depends on what the company needs and wants in terms of analytic capabilities. It also depends on the individual business units.&amp;nbsp; Perhaps the Purchasing Department gets by quite nicely with Corporate BI capabilities; however, the Competitive Pricing Department may have significant need for advanced Self-Service BI tools and techniques.&lt;/p&gt;
&lt;p&gt;This is one situation where Corporate BI and Self-Service BI can co-exist quite nicely within an individual organization.&amp;nbsp; Different business units have unique and evolving needs; therefore, each unit&amp;rsquo;s level of BI capabilities can and should adapt accordingly.&amp;nbsp; Put another way: one size doesn&amp;rsquo;t fit all.&lt;/p&gt;
&lt;p&gt;If you like this topic, then be sure to attend the April meeting of the &lt;a href="http://charbigroup.com/" target="_blank"&gt;Charlotte BI Group&lt;/a&gt; so we can continue the conversation.&amp;nbsp; Javier Guill&amp;eacute;n (&lt;a href="http://javierguillen.wordpress.com/" target="_blank"&gt;Blog&lt;/a&gt; | &lt;a href="www.linkedin.com/in/javierguillen/" target="_blank"&gt;LinkedIn&lt;/a&gt;) and I will be facilitating a roundtable conversation titled &lt;strong&gt;&lt;em&gt;&amp;ldquo;Corporate BI + Self-Service BI:&amp;nbsp; Friends or Foes?&amp;rdquo;&lt;/em&gt;&lt;/strong&gt;&amp;nbsp; Hint: Javier doesn't always share the same viewpoint I have, so this will be fun! &amp;nbsp;Please join us if you can - we would love to hear your thoughts on this subject.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=Sm6ZImNddf4:crx3oNBSk6Q:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=Sm6ZImNddf4:crx3oNBSk6Q:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?i=Sm6ZImNddf4:crx3oNBSk6Q:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=Sm6ZImNddf4:crx3oNBSk6Q:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlChick-MelissaCoates/~4/Sm6ZImNddf4" height="1" width="1"/&gt;</description><wfw:commentRss>http://www.sqlchick.com/entries/rss-comments-entry-33050546.xml</wfw:commentRss><feedburner:origLink>http://www.sqlchick.com/entries/2013/3/15/corporate-bi-and-self-service-bi-one-size-does-not-fit-all.html</feedburner:origLink></item><item><title>Importing Data Into Master Data Services 2012 – Part 3</title><category>Integration Services</category><category>Master Data Services</category><category>SQL Server 2012</category><category>SQLServerPedia Syndication</category><dc:creator>Melissa Coates</dc:creator><pubDate>Sun, 17 Feb 2013 02:45:43 +0000</pubDate><link>http://feedproxy.google.com/~r/SqlChick-MelissaCoates/~3/xx9quw5Ee-M/importing-data-into-master-data-services-2012-part-3.html</link><guid isPermaLink="false">656900:7653852:32817691</guid><description>&lt;p&gt;Welcome to Part 3 of a 3-part series on using the new Entity-Based Staging Process in Master Data Services (MDS) 2012.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sqlchick.com/entries/2013/2/16/importing-data-into-master-data-services-2012-part-1.html"&gt;Part 1: Overview of the Staging Process&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sqlchick.com/entries/2013/2/16/importing-data-into-master-data-services-2012-part-2.html"&gt;Part 2: Loading a Model Where All Attributes Come From a Source System&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Part 3: Loading a Model Where Some Attributes Are Maintained Directly in MDS&lt;/p&gt;
&lt;h2&gt;Sample Model&lt;/h2&gt;
&lt;p&gt;This builds upon the model built in Part 2 (so please review &lt;a href="http://sqlchick.com/entries/2013/2/16/importing-data-into-master-data-services-2012-part-2.html"&gt;that blog entry&lt;/a&gt; if you&amp;rsquo;ve not done so already).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Conceptually the Account Model looks like this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Importing-Data-Into-Master-Data-Services_11B9F-?fileId=21948453"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image_thumb[4]" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Importing-Data-Into-Master-Data-Services_11B9F-?fileId=21948454" border="0" alt="image_thumb[4]" width="462" height="287" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Account Entity in MDS looks like this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Importing-Data-Into-Master-Data-Services_11B9F-?fileId=21948455"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image_thumb[5]" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Importing-Data-Into-Master-Data-Services_11B9F-?fileId=21948456" border="0" alt="image_thumb[5]" width="726" height="287" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In Part 2 we assumed that &lt;span style="text-decoration: underline;"&gt;all&lt;/span&gt; of the attribute values come from a source system.&amp;nbsp; However, in Part 3 we are changing that up a little.&amp;nbsp; We are going to say that the Account Type is maintained directly in MDS.&lt;/p&gt;
&lt;h2&gt;When MDS is the System of Record&lt;/h2&gt;
&lt;p&gt;One of the most common use cases for MDS is to augment the data which comes from your source system(s) with additional context.&amp;nbsp; This could be groupings or descriptive information not stored elsewhere.&lt;/p&gt;
&lt;p&gt;For purposes of Part 3, the &lt;strong&gt;&lt;em&gt;Account Type entity&lt;/em&gt;&lt;/strong&gt; is maintained in MDS &lt;span style="text-decoration: underline;"&gt;only&lt;/span&gt;.&amp;nbsp; When an attribute is maintained directly in MDS, we need to alter the process described in Part 2 just a bit to ensure the values are preserved during the import process.&lt;/p&gt;
&lt;p&gt;In Part 2 we said all the values come from the source.&amp;nbsp; Put another way, all data is pushed to MDS.&amp;nbsp; Conceptually, that looks like this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Importing-Data-Into-Master-Data-Services_11B9F-?fileId=21948458"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Importing-Data-Into-Master-Data-Services_11B9F-?fileId=21948459" border="0" alt="image" width="447" height="84" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;However, if one or more values come from MDS, we need to add a step to retrieve those values.&amp;nbsp; Otherwise, we&amp;rsquo;ll lose them.&amp;nbsp; Two reasons for this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If we use an ImportType of 2, which allows updates to occur for existing records, then a null value in the staging table will overwrite an existing value.&lt;/li&gt;
&lt;li&gt;The stored procedures provided to populate an MDS Model are not parameterized to allow us to specify which attribute(s) are loaded.&amp;nbsp; Since all attributes are part of the import process, we need to make sure all data is present in staging to preserve the existing values.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Think of it this way:&amp;nbsp; We need to retrieve the values out of MDS &amp;ndash; as if it were any other source system &amp;ndash; to load staging before the stored procedure executes.&amp;nbsp; Conceptually, that looks like this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Importing-Data-Into-Master-Data-Services_11B9F-?fileId=21948460"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Importing-Data-Into-Master-Data-Services_11B9F-?fileId=21948461" border="0" alt="image" width="452" height="175" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;SSIS Package&lt;/h2&gt;
&lt;p&gt;We&amp;rsquo;re going to use the same SSIS Package from Part 2.&amp;nbsp; (Below only shows the modifications to it, so please refer back to Part 2 for any details not listed here.)&lt;/p&gt;
&lt;p&gt;Note the same 5 steps are present.&amp;nbsp; Loading the Account Type Entity is not present in the SSIS package, because it&amp;rsquo;s maintained directly in MDS.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Importing-Data-Into-Master-Data-Services_11B9F-?fileId=21948462"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Importing-Data-Into-Master-Data-Services_11B9F-?fileId=21948464" border="0" alt="image" width="708" height="754" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Importing-Data-Into-Master-Data-Services_11B9F-?fileId=21948465"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;" title="image" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Importing-Data-Into-Master-Data-Services_11B9F-?fileId=21948466" border="0" alt="image" width="29" height="46" align="left" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Step 2 is where the important change occurs.&amp;nbsp; Within the data flow for the Account entity, we need to query MDS to pull back the existing values for Account Type.&amp;nbsp; If we skip this step and leave it null in staging, those null values will indeed overwrite the existing values because we&amp;rsquo;re using an ImportType of 2.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How you retrieve the data out of MDS depends on your personal preference.&amp;nbsp; In this example I used the Lookup data flow transformation in SSIS.&amp;nbsp; I don&amp;rsquo;t want to do a cross-database join in my source query, so I matched up the data from MDS after the source data is in my SSIS pipeline.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a rel="lightbox" href="http://www.sqlchick.com/resource/Windows-Live-Writer-Importing-Data-Into-Master-Data-Services_11B9F-?fileId=21948468"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="SNAGHTML14529a07" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Importing-Data-Into-Master-Data-Services_11B9F-?fileId=21948469" border="0" alt="SNAGHTML14529a07" width="767" height="630" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Prerequisite for this step:&amp;nbsp; A subscription view must exist for the entity to export the data out of MDS.&amp;nbsp; A subscription view is what&amp;rsquo;s used to extract data out of MDS.&amp;nbsp; Another reminder we&amp;rsquo;re not to interact directly with the MDS source tables.&amp;nbsp; In my situation, I want a subscription view for the main Account entity &amp;ndash; this is where the accounts are actually mapped to the values.&amp;nbsp; The Account Type entity is just a distinct list of lookup values, and doesn&amp;rsquo;t give me the mappings to actual accounts.&lt;/p&gt;
&lt;p&gt;And that&amp;rsquo;s it!&amp;nbsp; Once you know to identify the source of all MDS attributes before you begin creation of a staging package, then it&amp;rsquo;s smooth sailing from there on.&lt;/p&gt;
&lt;h2&gt;Finding More Information&lt;/h2&gt;
&lt;p&gt;&lt;a href="http://sqlchick.com/entries/2013/2/16/importing-data-into-master-data-services-2012-part-1.html"&gt;Part 1 of this series (Overview of the Staging Process)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sqlchick.com/entries/2013/2/16/importing-data-into-master-data-services-2012-part-2.html"&gt;Part 2 of this series (discusses Loading a Model Where All Attributes Come From a Source System)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;MSDN &amp;ndash; &lt;a href="http://msdn.microsoft.com/en-us/library/ee633726.aspx" target="_blank"&gt;Importing Data (Master Data Services)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;MSDN &amp;ndash; &lt;a href="http://msdn.microsoft.com/en-us/library/ee633741.aspx" target="_blank"&gt;Exporting Data (Master Data Services)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=xx9quw5Ee-M:Iud8fpPAiVc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=xx9quw5Ee-M:Iud8fpPAiVc:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?i=xx9quw5Ee-M:Iud8fpPAiVc:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=xx9quw5Ee-M:Iud8fpPAiVc:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/SqlChick-MelissaCoates/~4/xx9quw5Ee-M" height="1" width="1"/&gt;</description><wfw:commentRss>http://www.sqlchick.com/entries/rss-comments-entry-32817691.xml</wfw:commentRss><feedburner:origLink>http://www.sqlchick.com/entries/2013/2/16/importing-data-into-master-data-services-2012-part-3.html</feedburner:origLink></item></channel></rss>
