<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tags 'PowerPivot' and 'Excel'</title><link>http://sqlblog.com/search/SearchResults.aspx?o=DateDescending&amp;tag=PowerPivot,Excel&amp;orTags=0</link><description>Search results matching tags 'PowerPivot' and 'Excel'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Common request: export #Tabular model and data to #PowerPivot</title><link>http://sqlblog.com/blogs/marco_russo/archive/2013/06/19/common-request-export-tabular-model-and-data-to-powerpivot.aspx</link><pubDate>Wed, 19 Jun 2013 12:04:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:49713</guid><dc:creator>sqlbi</dc:creator><description>&lt;p&gt;I received &lt;a href="https://connect.microsoft.com/SQLServer/feedback/details/790217/export-tabular-model-and-data-to-powerpivot"&gt;this&lt;/a&gt; request in many &lt;a href="http://www.ssasworkshop.com/"&gt;courses&lt;/a&gt;, messages and also &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/sqlkjpowerpivotforexcel/thread/b0058dd2-9ca1-4e82-b4ba-e0c4e6eeb6ff/"&gt;forum&lt;/a&gt; discussions: having an Analysis Services Tabular model, it would be nice being able to extract a correspondent PowerPivot data model. In order of priority, here are the specific feature people (including me) would like to see:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Create an empty PowerPivot workbook with the same data model of a Tabular model&lt;/li&gt;    &lt;li&gt;Change the connections of the tables in the PowerPivot workbook extracting data from the Tabular data model&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;Every table should have an &lt;em&gt;EVALUATE ‘TableName’&lt;/em&gt; query in DAX&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;Apply a filter to data extracted from every table&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;For example, you might want to extract all data for a single country or year or customer group&lt;/li&gt;      &lt;li&gt;Using the same technique of applying filter used for role based security would be nice&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;Expose an API to automate the process of creating a PowerPivot workbook&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;Use case: prepare one workbook for every employee containing only its data, that he can use offline&lt;/li&gt;      &lt;li&gt;Common request for salespeople who want a mini-BI tool to use in front of the customer/lead/supplier, regardless of a connection available&lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt;  &lt;p&gt;This feature would increase the adoption of PowerPivot and Tabular (and, therefore, Business Intelligence licenses instead of Standard), and would probably raise the sales of Office 2013 / Office 365 driven by ISV, who are the companies who requests this feature more. If Microsoft would do this, it would be acceptable it only works on Office 2013. But if a third-party will do that, it will make sense (for their revenues) to cover both Excel 2010 and Excel 2013.&lt;/p&gt;  &lt;p&gt;Another important reason for this feature is that the “Offline cube” feature that you have in Excel is not available when your PivotTable is connected to a Tabular model, but it can only be used when you connect to Analysis Services Multidimensional.&lt;/p&gt;  &lt;p&gt;If you think this is an important features, you can &lt;a href="https://connect.microsoft.com/SQLServer/feedback/details/790217/export-tabular-model-and-data-to-powerpivot"&gt;vote this Connect item&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>DAX Studio for Excel 2013 finally available! #dax #excel #powerpivot #ssas #tabular</title><link>http://sqlblog.com/blogs/marco_russo/archive/2013/05/04/dax-studio-for-excel-2013-finally-available-dax-excel-powerpivot-ssas-tabular.aspx</link><pubDate>Sat, 04 May 2013 05:49:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:48963</guid><dc:creator>sqlbi</dc:creator><description>&lt;p&gt;I'm so happy that &lt;a href="http://www.sqlbi.com/tools/dax-studio/"&gt;DAX Studio&lt;/a&gt; finally supports Excel 2013! As &lt;a href="http://geekswithblogs.net/darrengosbell/archive/2013/05/04/new-release---dax-studio-1.2-with-excel-2013-support.aspx"&gt;Darren Gosbell described in his blog&lt;/a&gt;, this release has a few internal changes that will better support future enhancements. I will port the code to capture the query plan for a query in this new release, but unfortunately it will require some weeks because I'm traveling a lot in these days.&lt;/p&gt;&lt;p&gt;If you write DAX formulas and queries for PowerPivot or Analysis Services Tabular, DAX Studio is a must have tool: do you really want to live without a DAX Editor? There are a lot of possible improvements and I hope other contributors will give their help to &lt;a href="http://daxstudio.codeplex.com/"&gt;this Codeplex project&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>PowerPivot Workbook Size Optimizer #powerpivot #tabular</title><link>http://sqlblog.com/blogs/marco_russo/archive/2013/04/30/powerpivot-workbook-size-optimizer-powerpivot-tabular.aspx</link><pubDate>Tue, 30 Apr 2013 10:50:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:48929</guid><dc:creator>sqlbi</dc:creator><description>&lt;p&gt;Microsoft released the &lt;a href="http://www.microsoft.com/download/details.aspx?id=38793"&gt;Workbook Size Optimizer for Excel&lt;/a&gt;, the first version of an Excel add-in for &lt;strong&gt;Excel 2013&lt;/strong&gt; that inspects the data model and suggest possible optimizations. Fundamentally, it tries to apply the best practices descripted in a &lt;a href="http://sqlblog.com/blogs/marco_russo/archive/2013/04/03/optimize-memory-in-powerpivot-and-ssas-tabular.aspx"&gt;white paper I mentioned&lt;/a&gt; a few weeks ago, removing useless columns and changing granularity to those that could reduce the overall memory cost of a table.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://sqlblog.com/blogs/marco_russo/image_600F7B61.png"&gt;&lt;img title="image" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;float:left;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="image" align="left" src="http://sqlblog.com/blogs/marco_russo/image_thumb_6D095B72.png" width="96" height="97" /&gt;&lt;/a&gt;There are different setup available in the &lt;a href="http://www.microsoft.com/download/details.aspx?id=38793"&gt;download page&lt;/a&gt;, depending on operating system (Windows 7 or Windows 8) and on Office version (32 or 64 bit). Once installed, you have a new tab in the Excel ribbon, called Workbook Size Optimizer, showing a single button that starts a wizard.&lt;/p&gt;  &lt;p&gt;I tried to run the optimizer with a workbook where I imported several tables from Adventure Works Data Warehouse sample database. The first page shows a few information about the workbook size and the option of automatic detection or manual choice of rules. The latter is an option you can request also later, so I started with the default.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://sqlblog.com/blogs/marco_russo/image_24DB9F96.png"&gt;&lt;img title="image" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="image" src="http://sqlblog.com/blogs/marco_russo/image_thumb_5CADE3B9.png" width="620" height="423" /&gt;&lt;/a&gt;&lt;/p&gt;        &lt;p&gt;After a short analysis, I received three smart suggestions (considered the model I have). We might wonder that removing UnitCost is a smart thing, because it could be required in order to perform calculations and rounding the value might be not correct for our analysis. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://sqlblog.com/blogs/marco_russo/image_575EFD08.png"&gt;&lt;img title="image" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="image" src="http://sqlblog.com/blogs/marco_russo/image_thumb_763570E6.png" width="620" height="423" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Since I requested to apply some changes, I have the option of changing which rules to apply. This corresponds to the choice you have if you choose “Let me choose the rules myself” in the first screen of the wizard.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://sqlblog.com/blogs/marco_russo/image_2E07B50A.png"&gt;&lt;img title="image" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="image" src="http://sqlblog.com/blogs/marco_russo/image_thumb_4CDE28E8.png" width="620" height="423" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;I kept all the rules and after I click Next I had to wait several seconds in order to complete the optimization process. The result shows a few information about the result of the job.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://sqlblog.com/blogs/marco_russo/image_3DC74A0E.png"&gt;&lt;img title="image" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="image" src="http://sqlblog.com/blogs/marco_russo/image_thumb_0A8B10A5.png" width="620" height="423" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;This is a good starting point. Don’t blindly trust any suggestion and try to consider carefully the rules to apply in order to avoid losing important data for your analysis. Moreover, you might have a better knowledge of your data model than a wizard and consider the deletion of many useless columns (for your analysis) that are not identified by the wizard. My article &lt;a href="http://www.sqlbi.com/articles/checklist-for-memory-optimizations-in-powerpivot-and-tabular-models/"&gt;Checklist for Memory Optimizations in PowerPivot and Tabular Models&lt;/a&gt; contains several best practices that you can apply to your data model.&lt;/p&gt;</description></item><item><title>LASTNONBLANK and FIRSTNONBLANK functions work with any column #dax #powerpivot #ssas #tabular</title><link>http://sqlblog.com/blogs/marco_russo/archive/2013/04/19/lastnonblank-and-firstnonblank-functions-work-with-any-column-dax-powerpivot-ssas-tabular.aspx</link><pubDate>Fri, 19 Apr 2013 10:28:50 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:48789</guid><dc:creator>sqlbi</dc:creator><description>&lt;p&gt;During a &lt;a href="http://www.powerpivotworkshop.com/"&gt;PowerPivot Workshop&lt;/a&gt; course we received an interesting question from a student: “Can I use LASTNONBLANK (and FIRSTNONBLANK) with a column which is not a date column?”&lt;/p&gt;  &lt;p&gt;The reason is that we introduce LASTNONBLANK in the Advanced Time Intelligence module, because its typical use case is on a date column. However, you can use these functions on any column, which raises the question about what happens at that point. The sort order used is the one that depends on the data type of the column. If it is a Text column, the alphabetical sort order is the reference order. If it is a number, then the numeric order is the reference.&lt;/p&gt;  &lt;p&gt;What happens if a column has the “Sort By Column” property set to another column? This sort order is &lt;strong&gt;*not considered*&lt;/strong&gt; by LASTNONBLANK and FIRSTNONBLANK functions. Even if a PivotTable shows you data sorted according to Sort by Column property, any DAX formula ignores such a sort order. Thus, be careful writing your DAX queries if you have to do some assumptions on the sort order of a column using DAX functions that rely on sort order, such as LASTNONBLANK and FIRSTNONBLANK.&lt;/p&gt;</description></item><item><title>New PowerPivot 2013 book available! #excel #powerpivot</title><link>http://sqlblog.com/blogs/marco_russo/archive/2013/04/02/new-powerpivot-2013-book-available-excel-powerpivot.aspx</link><pubDate>Tue, 02 Apr 2013 11:25:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:48472</guid><dc:creator>sqlbi</dc:creator><description>&lt;p&gt;Our new book about PowerPivot 2013 is finally available in printed edition, too!&lt;/p&gt;  &lt;p&gt;&lt;a href="http://sqlblog.com/blogs/marco_russo/excel2013powerpivot_2250BF29.png"&gt;&lt;img title="excel2013powerpivot" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;float:left;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="excel2013powerpivot" align="left" src="http://sqlblog.com/blogs/marco_russo/excel2013powerpivot_thumb_5F2540FB.png" width="204" height="240" /&gt;&lt;/a&gt;The title is &lt;strong&gt;&lt;a href="http://www.sqlbi.com/books/excel-2013-building-data-models-with-powerpivot/"&gt;Microsoft Excel 2013: Building Data Models with PowerPivot&lt;/a&gt; &lt;/strong&gt;and it is a partial rewriting of the previous book about &lt;a href="http://www.sqlbi.com/books/powerpivot-for-excel-2010-give-your-data-meaning/"&gt;PowerPivot for Excel 2010&lt;/a&gt;. In the previous book we had a target audience that included advanced Excel users and BI developers, because at that time there was no option to get the same engine in Analysis Services. But 30 months are elapsed, a new version of Analysis Services has been released and in this new book we focused mainly on Excel users. For this reason, we wrote a comprehensive book of all the feature of PowerPivot, but most important we tried to pass concepts of data modeling that might be pretty obvious for a DBA and a BI developer, but are completely new to an Excel user that never had the ability to create a data model with more than one table.&lt;/p&gt;  &lt;p&gt;This book is focused on Excel 2013, so we included specific feature of this release related to PowerPivot, such as writing DAX queries and linked back tables, and features unique to Excel 2013, such as Power View. However, all of the PowerPivot features (so the 85% of the book) are good also for &lt;a href="http://www.microsoft.com/en-us/bi/powerpivot.aspx"&gt;PowerPivot for Excel 2010&lt;/a&gt; in its latest release (&lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=29074"&gt;SQL Server 2012 SP1 PowerPivot for Microsoft Excel 2010&lt;/a&gt;), so you can safely use this book for both version of Excel.&lt;/p&gt;  &lt;p&gt;You can download the first chapter of the book from the &lt;a href="http://www.sqlbi.com/books/excel-2013-building-data-models-with-powerpivot/"&gt;book page on SQLBI web site&lt;/a&gt;. And if you want to attend a training in a classroom or online, look at the complete list of available trainings on &lt;a href="http://www.powerpivotworkshop.com/"&gt;PowerPivot Workshop&lt;/a&gt; web site. The next &lt;a href="http://www.powerpivotworkshop.com/courses/#online"&gt;online courses&lt;/a&gt; are scheduled on April 22-24, 2013 and June 17-19, 2013 (following online workshops are every other month).&lt;/p&gt;  &lt;p&gt;Here are the links to directly order the book on Amazon around the world:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Amazon.com: &lt;a href="http://www.amazon.com/gp/product/0735676348/?tag=se04-20"&gt;hardcopy&lt;/a&gt; – &lt;a href="http://www.amazon.com/gp/product/B00BWYPAGC/?tag=se04-20"&gt;kindle&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Amazon.ca: &lt;a href="http://www.amazon.ca/gp/product/0735676348/?tag=s087a1-20"&gt;hardcopy&lt;/a&gt; – &lt;a href="http://www.amazon.ca/gp/product/B00BWYPAGC/?tag=s087a1-20"&gt;kindle&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Amazon.co.uk: &lt;a href="http://www.amazon.co.uk/gp/product/0735676348/?tag=wwwsqlbicom08-21"&gt;hardcopy&lt;/a&gt; – &lt;a href="http://www.amazon.co.uk/gp/product/B00BWYPAGC/?tag=wwwsqlbicom08-21"&gt;kindle&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Amazon.de: &lt;a href="http://www.amazon.de/gp/product/0735676348/?tag=wwwsqlbicom00-21"&gt;hardcopy&lt;/a&gt; – &lt;a href="http://www.amazon.de/gp/product/B00BWYPAGC/?tag=wwwsqlbicom00-21"&gt;kindle&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Amazon.es: &lt;a href="http://www.amazon.es/gp/product/0735676348/?tag=wwwsqlbicom0f-21"&gt;hardcopy&lt;/a&gt; – &lt;a href="http://www.amazon.es/gp/product/B00BWYPAGC/?tag=wwwsqlbicom0f-21"&gt;kindle&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Amazon.fr: &lt;a href="http://www.amazon.fr/gp/product/0735676348/?tag=wwwsqlbicom06-21"&gt;hardcopy&lt;/a&gt; – &lt;a href="http://www.amazon.fr/gp/product/B00BWYPAGC/?tag=wwwsqlbicom06-21"&gt;kindle&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Amazon.it: &lt;a href="http://www.amazon.it/gp/product/0735676348/?tag=wwwsqlbicom-21"&gt;hardcopy&lt;/a&gt; – &lt;a href="http://www.amazon.it/gp/product/B00BWYPAGC/?tag=wwwsqlbicom-21"&gt;kindle&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;    &lt;p&gt;And here is the list of chapters:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Chapter 1 Introduction to PowerPivot&lt;/li&gt;    &lt;li&gt;Chapter 2 Using the unique features of PowerPivot&lt;/li&gt;    &lt;li&gt;Chapter 3 Introducing DAX&lt;/li&gt;    &lt;li&gt;Chapter 4 Understanding data models&lt;/li&gt;    &lt;li&gt;Chapter 5 Publishing to SharePoint&lt;/li&gt;    &lt;li&gt;Chapter 6 Loading data&lt;/li&gt;    &lt;li&gt;Chapter 7 Understanding evaluation contexts&lt;/li&gt;    &lt;li&gt;Chapter 8 Understanding CALCULATE&lt;/li&gt;    &lt;li&gt;Chapter 9 Using Hierarchies&lt;/li&gt;    &lt;li&gt;Chapter 10 Using Power View&lt;/li&gt;    &lt;li&gt;Chapter 11 Shaping the Reports&lt;/li&gt;    &lt;li&gt;Chapter 12 Performing Date Calculations in DAX&lt;/li&gt;    &lt;li&gt;Chapter 13 Using Advanced DAX&lt;/li&gt;    &lt;li&gt;Chapter 14 Using DAX as a Query Language&lt;/li&gt;    &lt;li&gt;Chapter 15 Automating Operations Using VBA&lt;/li&gt;    &lt;li&gt;Chapter 16 Comparing Excel and SQL Server Analysis Services &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;This book should help you starting with PowerPivot at the very beginning, and you will probably use only the first chapters at that point. Over time, you will use following chapters and will learn more advanced techniques. This is not a book you can digest in a couple of days (after all, it is 500 pages long!), it will be your companion for several months, until you will master PowerPivot!&lt;/p&gt;</description></item><item><title>New PowerPivot Workshop for Excel 2013 available! #powerpivot #excel2013 #excel</title><link>http://sqlblog.com/blogs/marco_russo/archive/2013/02/04/new-powerpivot-workshop-for-excel-2013-available-powerpivot-excel2013-excel.aspx</link><pubDate>Mon, 04 Feb 2013 12:23:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:47462</guid><dc:creator>sqlbi</dc:creator><description>&lt;p&gt;The Microsoft has launched the new Office 2013, we are proud to announce the availability of the new &lt;strong&gt;&lt;a href="http://www.powerpivotworkshop.com/"&gt;PowerPivot Workshop for Excel 2013&lt;/a&gt;&lt;/strong&gt;! We have a fresh new website that offers all the training options: online and classroom courses. The target of this training are Excel Advanced Users and there are &lt;a href="http://www.powerpivotworkshop.com/courses/"&gt;two versions of the workshop&lt;/a&gt;: the BASIC version is 2-day long and is good for everyone who want to start his experience with PowerPivot; the FULL version is 3-day long and the additional day is dedicated to more DAX content and practice, so also the more advanced users can satisfy his needs. All these versions are based on our upcoming &lt;a href="http://www.powerpivotworkshop.com/the-book/"&gt;Microsoft Excel 2013: Building Data Models with PowerPivot&lt;/a&gt; book that will be available in March 2013 (workshop’s attendees receive a free copy of that book).&lt;/p&gt;  &lt;p&gt;The &lt;a href="http://www.powerpivotworkshop.com/courses/#online"&gt;PowerPivot Workshop online&lt;/a&gt; is delivered every other month by &lt;a href="http://www.powerpivotworkshop.com/about"&gt;me or Alberto&lt;/a&gt; and has different time scheduling depending on the delivery dates. We provide homework to students and use the available time online to teach content and answer attendees’ questions. The first &lt;strong&gt;online course&lt;/strong&gt; will be delivered on &lt;strong&gt;February 19-21, 2013&lt;/strong&gt;, and you have just one week to register using the use the Early Bird discount – more info for &lt;a href="http://www.sqlbi.com/courses/powerpivot-workshop-basic-online-feb2013/"&gt;Basic&lt;/a&gt; and &lt;a href="http://www.sqlbi.com/courses/powerpivot-workshop-full-online-feb2013/"&gt;Full&lt;/a&gt; version following links.&lt;/p&gt;  &lt;p&gt;We established partnerships with several authorized training centers around the world to deliver &lt;a href="http://www.powerpivotworkshop.com/courses/#classroom"&gt;PowerPivot Workshop in classroom&lt;/a&gt;: in this case hands-on-labs assisted by the teacher are part of the course. Moreover, the PowerPivot course can be delivered in local languages: we report date, city, state, country and language of the Workshop in the list of courses available on &lt;a href="http://www.powerpivotworkshop.com/"&gt;our web site&lt;/a&gt;. We will publish more dates and locations in the coming weeks. Please note &lt;strong&gt;we are &lt;a href="http://www.powerpivotworkshop.com/training-centers/"&gt;looking for training centers&lt;/a&gt;&lt;/strong&gt; in states and countries we still don’t cover – we already have many ongoing discussions, but if you are interested just &lt;a href="mailto:info@powerpivotworkshop.com"&gt;write us&lt;/a&gt; to get more info.&lt;/p&gt;  &lt;p&gt;We'll also have more news for PowerPivot users in the coming weeks and months, which will be useful also to SSAS Tabular BI developers. The 2013 will be a long year!&lt;/p&gt;</description></item><item><title>Linked Table, Reverse Linked Table and Linkback Table in Excel 2013 #powerpivot</title><link>http://sqlblog.com/blogs/marco_russo/archive/2013/01/21/linked-table-reverse-linked-table-and-linkback-table-in-excel-2013-powerpivot.aspx</link><pubDate>Mon, 21 Jan 2013 13:35:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:47188</guid><dc:creator>sqlbi</dc:creator><description>&lt;p&gt;Kasper de Jonge wrote a &lt;a href="http://www.powerpivotblog.nl/implementing-histograms-in-excel-2013-using-dax-query-tables-and-powerpivot"&gt;blog post&lt;/a&gt; last year introducing an interesting new feature in Excel 2013: you can write a DAX query that extracts data from the PowerPivot model and returns a table in Excel. Such a table can be used as a Linked table for the same PowerPivot model, creating an interesting opportunity to inject data in a data model mixing existing data and calculations obtained with Excel formulas.&lt;/p&gt;  &lt;p&gt;I wrote an &lt;a href="http://www.sqlbi.com/articles/linkback-tables-in-powerpivot-for-excel-2013/"&gt;article on SQLBI&lt;/a&gt; that describes this feature in more detail and we discuss this capability also in the book &lt;a href="http://www.sqlbi.com/books/excel-2013-building-data-models-with-powerpivot/"&gt;Excel 2013 Building Data Models with PowerPivot&lt;/a&gt; that will be available in March 2013 (you can already &lt;a href="http://www.amazon.com/dp/0735676348/?tag=se04-20"&gt;order it&lt;/a&gt;). Because data can flow back and forth between Excel tables and the PowerPivot data model, we created a particular definition for each type of “connected” table:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;Linked Table &lt;/strong&gt;&lt;em&gt;(Excel –&amp;gt; PowerPivot)&lt;/em&gt;: the classical Linked Table &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Reverse Linked Table &lt;/strong&gt;&lt;em&gt;(PowerPivot –&amp;gt; Excel)&lt;/em&gt;: this is an Excel Table contained data resulting from a DAX query to the data model. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Linkback Table &lt;/strong&gt;&lt;em&gt;(PowerPivot –&amp;gt; Excel –&amp;gt; PowerPivot)&lt;/em&gt;: this is a Linked Table based on a Reverse Linked Table (usually integrating some new columns filled with constants and/or Excel formulas).&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;The &lt;a href="http://www.sqlbi.com/articles/linkback-tables-in-powerpivot-for-excel-2013/"&gt;article&lt;/a&gt; shows how to create a Linkback table step-by-step, applying different Excel calculations to different rows (something you cannot do on calculated columns in DAX), and it also contains some consideration about refresh order that is applied to Linkback tables.&lt;/p&gt;</description></item><item><title>PowerPivot Compatibility across versions</title><link>http://sqlblog.com/blogs/marco_russo/archive/2013/01/14/powerpivot-compatibility-across-versions.aspx</link><pubDate>Mon, 14 Jan 2013 12:44:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:47140</guid><dc:creator>sqlbi</dc:creator><description>&lt;p&gt;There are several versions of PowerPivot available and starting with Excel 2013 there are also several versions of Excel. It is useful to look at the compatibility between the different versions of Excel and PowerPivot available now.&lt;/p&gt;  &lt;p&gt;As a general rule when you have a PowerPivot workbook saved with a specific version of PowerPivot:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;You can upgrade a workbook to a newer version of PowerPivot &lt;/li&gt;    &lt;li&gt;You can upgrade a workbook to a newer version of Excel &lt;/li&gt;    &lt;li&gt;You cannot open a workbook using a previous version of PowerPivot &lt;/li&gt;    &lt;li&gt;You cannot open a workbook using a previous version of Excel, if it contains PowerPivot data &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;strong&gt;First caveat&lt;/strong&gt;: you can open an Excel 2010 workbook containing a PowerPivot data model in Excel 2013, but &lt;strong&gt;once you save it in Excel 2013, you can no longer open it in Excel 2010&lt;/strong&gt;. This is because a different file format for PowerPivot data used by Excel 2013 that cannot be understood by Excel 2010. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Second caveat&lt;/strong&gt;: A file saved in Excel 2010 with PowerPivot 2012 (RTM or SP1) cannot be opened by an Excel 2010 running PowerPivot 2008 R2.&lt;/p&gt;  &lt;p&gt;Each workbook has a compatibility level for PowerPivot data that corresponds to the PowerPivot version used to save the data. Here is the list of currently available compatibility levels:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;1050 (2008 R2) &lt;/li&gt;    &lt;li&gt;1100 (2012 RTM/SP1) &lt;/li&gt;    &lt;li&gt;1103 (Excel 2013) &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;The following table tells you what happens when you try to open an Excel 2010 file in a certain compatibility level (columns) with a certain version of PowerPivot (rows):&lt;/p&gt;  &lt;p&gt;   &lt;table cellspacing="0" cellpadding="0"&gt;       &lt;tr&gt;         &lt;td&gt;&amp;nbsp;&lt;/td&gt;          &lt;td&gt;           &lt;p&gt;1050&lt;/p&gt;         &lt;/td&gt;          &lt;td&gt;           &lt;p&gt;1100&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td&gt;           &lt;p&gt;2008 R2&lt;/p&gt;         &lt;/td&gt;          &lt;td&gt;           &lt;p&gt;Read/Modify&lt;/p&gt;         &lt;/td&gt;          &lt;td&gt;           &lt;p&gt;Not Supported&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td&gt;           &lt;p&gt;2012 RTM&lt;/p&gt;         &lt;/td&gt;          &lt;td&gt;           &lt;p&gt;Read/Upgrade++&lt;/p&gt;         &lt;/td&gt;          &lt;td&gt;           &lt;p&gt;Read/Modify&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td&gt;           &lt;p&gt;2012 SP1&lt;/p&gt;         &lt;/td&gt;          &lt;td&gt;           &lt;p&gt;Read/Upgrade++&lt;/p&gt;         &lt;/td&gt;          &lt;td&gt;           &lt;p&gt;Read/Modify/Upgrade&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;     &lt;/table&gt; &lt;/p&gt;  &lt;p&gt;++ It is important to call out that it is *&lt;b&gt;not&lt;/b&gt;* supported editing 1050 PowerPivot models in the 2012 release – you *&lt;b&gt;have to&lt;/b&gt;* upgrade the model to 110x before you can edit/refresh the model.&lt;/p&gt;  &lt;p&gt;A detailed list of errors you can have opening different a workbook with a different compatibility level than the current version of PowerPivot you have is available in the article &lt;a href="http://office.microsoft.com/en-us/excel-help/version-compatibility-between-powerpivot-data-models-in-excel-2010-and-excel-2013-HA103929426.aspx"&gt;Version compatibility between PowerPivot Data Models in Excel 2010 and Excel 2013&lt;/a&gt;. As the article mention, PowerPivot for SharePoint can open PowerPivot workbooks of previous compatibility levels, but in order to upgrade the data on the server (scheduling a data refresh) you need to upgrade the workbook to the newer format.&lt;/p&gt;  &lt;p&gt;You have to be careful using PowerPivot in mixed environment, especially when you want to share an Excel file containing PowerPivot data. Once you refresh PowerPivot data, you need to upgrade the compatibility level if you opened the workbook with a newer version of PowerPivot, and once you do that, your colleague with a previous version of PowerPivot can no longer open the same workbook. Saving the file on SharePoint makes it possible to navigate into data, but you need a correspondent or newer version of PowerPivot on SharePoint than that used to save the file.&lt;/p&gt;  &lt;p&gt;For these reasons, when we provide the examples for our &lt;a href="http://www.powerpivotworkshop.com"&gt;PowerPivot Workshop&lt;/a&gt; and our &lt;a href="http://www.sqlbi.com/books/powerpivot-for-excel-2010-give-your-data-meaning/"&gt;book for Excel 2010&lt;/a&gt;, the sample files are saved with the older version of PowerPivot (2008 R2). Now that we are working on the &lt;a href="http://www.sqlbi.com/books/excel-2013-building-data-models-with-powerpivot/"&gt;Excel 2013 version of the book&lt;/a&gt; and of the workshop (soon to be available!), we are finally going to release samples using a newer version of Excel and PowerPivot.&lt;/p&gt;</description></item><item><title>Community Events in K&amp;#246;ln (October) and Copenhagen November #ssas #tabular #powerpivot</title><link>http://sqlblog.com/blogs/marco_russo/archive/2012/09/12/community-event-in-copenhagen-on-november-21-2012.aspx</link><pubDate>Wed, 12 Sep 2012 10:12:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:45128</guid><dc:creator>sqlbi</dc:creator><description>&lt;p&gt;Short update about community events in Europe where I will speak.&lt;/p&gt;&lt;p&gt;On October 11 I will present DAX in Action in Köln - all details in the PASS local chapter here: &lt;a href="http://www.sqlpass.de/Regionen/Deutschland/K%C3%B6lnBonnD%C3%BCsseldorf.aspx"&gt;http://www.sqlpass.de/Regionen/Deutschland/K%C3%B6lnBonnD%C3%BCsseldorf.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I will be speaking at a community event in Copenhagen on November 21, 2012. The session will be &lt;strong&gt;Excel 2013 PowerPivot in Action&lt;/strong&gt; and details about time and location are available here: &lt;a href="http://msbip.dk/events/30/msbip-mode-nr-9/"&gt;http://msbip.dk/events/30/msbip-mode-nr-9/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I will be in Köln and Copenhagen to teach the &lt;a href="http://ssasworkshop.com"&gt;SSAS Tabular Workshop&lt;/a&gt;. The workshop in Köln is the first in Germany and I look forward to meet new BI developers there.&lt;/p&gt;&lt;p&gt;Copenhagen is the second edition after another we delivered this spring. It is a convenient location also for people coming from Malmoe and Göteborg in Sweden. Last event in Copenhagen were conflicting with a large event in Sweden, maybe this time I'll meet more people coming from the other side of the Øresund Bridge!&lt;/p&gt;&lt;p&gt;Many other dates and location are available on the &lt;a href="http://ssasworkshop.com"&gt;SSAS Tabular Workshop&lt;/a&gt; website.&lt;/p&gt;</description></item><item><title>Running Excel 2013 in a separate instance #excel #powerpivot</title><link>http://sqlblog.com/blogs/marco_russo/archive/2012/07/24/running-excel-2013-in-a-separate-instance-excel-powerpivot.aspx</link><pubDate>Tue, 24 Jul 2012 16:04:39 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:44417</guid><dc:creator>sqlbi</dc:creator><description>&lt;p&gt;The new &lt;a href="http://www.microsoft.com/office/preview"&gt;Excel 2013 preview&lt;/a&gt; is publicly available and it introduces &lt;a href="http://www.microsoft.com/en-us/bi/Products/OfficePreview.aspx"&gt;many new features&lt;/a&gt;, like an integrated version of PowerPivot and Power View. These two add-ins are automatically installed but not enabled by default. You just have to go in Excel Options / Add-Ins and choose COM Add-ins from the Manage combo box, then press the Go… button; at this point, you can enable both PowerPivot and Power View add-ins. There are many other posts in the blogosphere that describe the feature and the capabilities of these two tools, and I will cover some deeper consideration about specific new features in the future. In this post, I just want to highlight a new behavior of Excel that is not directly related to these add-ins, but still may affect their behavior.&lt;/p&gt;  &lt;p&gt;One important new feature of Excel 2013 is that it no longer supports MDI (Multiple Document Interface) and it now uses the SDI (Single Document Interface) paradigm, just following a trend that other Office applications, like Word, started a few years ago. With this new behavior, every Excel document opens a window handled by the same Excel process. This is not different from previous versions of Excel and corresponds to the behavior you experienced whenever you loaded more documents within the same Excel process. However, until Excel 2010 it was very easy to create a separate Excel process so that it was possible to manipulate a document during a complex calculation in another workbook. Fundamentally, every time you opened a new Excel window, you always obtained a new Excel process and the same Excel process would have been used only by opening an existing document when another Excel document were already opened.&lt;/p&gt;  &lt;p&gt;Usually having multiple documents within the same process can save several resources (RAM in particular). However, this approach can also block user interaction whenever a long and complex calculation is requested to Excel. In order to solve this issue, you may decide to explicitly open a new Excel instance, so that a long running operation on one Excel document does not block user interaction with other documents.&lt;/p&gt;  &lt;p&gt;With Excel 2013, the default you have is to create a new window within the existing Excel process. In order to force the creation of a separate instance of the Excel process, you have these options:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;From the command prompt, run EXCEL /X and you will open Excel window as a new instance. The /X command switch forces the creation of a new instance.&lt;/li&gt;    &lt;li&gt;Right click on the Excel Tab in Windows taskbar keeping the ALT key pressed. And &lt;strong&gt;without&lt;/strong&gt; releasing the ALT key, click on “Microsoft Excel 2013” option from the context menu. Excel will ask you if you require opening Excel as a new instance. You might press YES.&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;Please not you cannot use this technique to open an existing document – you have to create the new Excel process first, and then open the existing workbook from there&lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt;  &lt;p&gt;Knowing this technique can be particularly important if you are a PowerPivot user, especially if you use a 32-bit version of Excel. All PowerPivot data of different workbooks are loaded within the same virtual address space, which is limited to 2 or 3Gb in a 32-bit application. If you want to avoid being short on RAM with complex models and you want to be able to isolate a long running calculation without blocking you from using Excel with another workbook, knowing how to create a separate Excel instance is an important skill you need in Excel 2013.&lt;/p&gt;</description></item></channel></rss>