<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www2.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 tag 'Excel'</title><link>http://www2.sqlblog.com/search/SearchResults.aspx?o=DateDescending&amp;tag=Excel&amp;orTags=0</link><description>Search results matching tag '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://www2.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://www2.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://www2.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://www2.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://www2.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>Exploring earnings data for the UK [Open Data]</title><link>http://www2.sqlblog.com/blogs/jamie_thomson/archive/2013/02/11/exploring-earnings-data-for-the-uk-open-data.aspx</link><pubDate>Mon, 11 Feb 2013 13:34:02 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:47637</guid><dc:creator>jamiet</dc:creator><description>&lt;p&gt;I have a burgeoning interest in the world of Open Data which wikipedia describes as:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;&lt;b&gt;Open data&lt;/b&gt; is the idea that certain &lt;/em&gt;&lt;a href="http://en.wikipedia.org/wiki/Data"&gt;&lt;em&gt;data&lt;/em&gt;&lt;/a&gt;&lt;em&gt; should be freely available to everyone to use and republish as they wish, without restrictions from &lt;/em&gt;&lt;a href="http://en.wikipedia.org/wiki/Copyright"&gt;&lt;em&gt;copyright&lt;/em&gt;&lt;/a&gt;&lt;em&gt;, &lt;/em&gt;&lt;a href="http://en.wikipedia.org/wiki/Patent"&gt;&lt;em&gt;patents&lt;/em&gt;&lt;/a&gt;&lt;em&gt; or other mechanisms of control. The goals of the open data movement are similar to those of other &amp;quot;Open&amp;quot; movements such as &lt;/em&gt;&lt;a href="http://en.wikipedia.org/wiki/Open_source"&gt;&lt;em&gt;open source&lt;/em&gt;&lt;/a&gt;&lt;em&gt;, &lt;/em&gt;&lt;a href="http://en.wikipedia.org/wiki/Open_hardware"&gt;&lt;em&gt;open hardware&lt;/em&gt;&lt;/a&gt;&lt;em&gt;, &lt;/em&gt;&lt;a href="http://en.wikipedia.org/wiki/Open_content"&gt;&lt;em&gt;open content&lt;/em&gt;&lt;/a&gt;&lt;em&gt;, and &lt;/em&gt;&lt;a href="http://en.wikipedia.org/wiki/Open_access_(publishing)"&gt;&lt;em&gt;open access&lt;/em&gt;&lt;/a&gt;&lt;em&gt;. The philosophy behind open data has been long established&lt;/em&gt;&lt;em&gt;, but the term &amp;quot;open data&amp;quot; itself is recent, gaining popularity with the rise of the &lt;/em&gt;&lt;a href="http://en.wikipedia.org/wiki/Internet"&gt;&lt;em&gt;Internet&lt;/em&gt;&lt;/a&gt;&lt;em&gt; and &lt;/em&gt;&lt;a href="http://en.wikipedia.org/wiki/World_Wide_Web"&gt;&lt;em&gt;World Wide Web&lt;/em&gt;&lt;/a&gt;&lt;em&gt; and, especially, with the launch of open-data government initiatives such as &lt;/em&gt;&lt;a href="http://en.wikipedia.org/wiki/Data.gov"&gt;&lt;em&gt;Data.gov&lt;/em&gt;&lt;/a&gt;&lt;em&gt;.        &lt;br /&gt;&lt;/em&gt;&lt;a title="http://en.wikipedia.org/wiki/Open_data" href="http://en.wikipedia.org/wiki/Open_data"&gt;&lt;em&gt;http://en.wikipedia.org/wiki/Open_data&lt;/em&gt;&lt;/a&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;To that end I follow &lt;a href="https://twitter.com/londondatastore" target="_blank"&gt;@LondonDatastore&lt;/a&gt; on Twitter as they are actively publishing Open Data pertaining to the city in which I live, London. Four days ago they &lt;a href="https://twitter.com/londondatastore/status/299543409553711104" target="_blank"&gt;announced&lt;/a&gt; that a new dataset had been released that provided earnings information, not just for London but for the whole country and going back many years too. The provided link, &lt;a title="http://data.london.gov.uk/datastore/package/earnings-workplace-borough" href="http://data.london.gov.uk/datastore/package/earnings-workplace-borough"&gt;http://data.london.gov.uk/datastore/package/earnings-workplace-borough&lt;/a&gt;, brings up a page from where one can download an Excel workbook containing some data. Unfortunately the data in that workbook is not, in my opinion, provided in such a manner that makes it easily explorable (&lt;a href="http://sqlblog.com/blogs/jamie_thomson/archive/2012/08/13/using-pivot-tables-in-the-office-excel-web-app.aspx" target="_blank"&gt;which I have complained about before on this blog&lt;/a&gt;); the data is spread over multiple worksheets:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://sqlblog.com/blogs/jamie_thomson/image_3BDA8261.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://sqlblog.com/blogs/jamie_thomson/image_thumb_5B1D2934.png" width="383" height="37" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Worse, the data is already aggregated and pivoted:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://sqlblog.com/blogs/jamie_thomson/image_330A7A15.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://sqlblog.com/blogs/jamie_thomson/image_thumb_66663D71.png" width="577" height="138" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;In other words the workbook does not contain the raw row-level data from which this pivoted data is produced. Thankfully a link (&lt;a title="https://www.nomisweb.co.uk/query/construct/summary.asp?mode=construct&amp;amp;version=0&amp;amp;dataset=99" href="https://www.nomisweb.co.uk/query/construct/summary.asp?mode=construct&amp;amp;version=0&amp;amp;dataset=99"&gt;https://www.nomisweb.co.uk/query/construct/summary.asp?mode=construct&amp;amp;version=0&amp;amp;dataset=99&lt;/a&gt;) is provided from where the raw data can be downloaded. I found the interface there to be slightly clunky but that’s a minor quibble – that raw data is available should be considered a major boon. I downloaded earnings data for:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Local Authority &lt;/li&gt;    &lt;li&gt;Gender &lt;/li&gt;    &lt;li&gt;Full Time or Part Time &lt;/li&gt;    &lt;li&gt;Year (1999-2012) &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;and have made that raw data available in a publicly accessible Excel workbook. You can view that workbook online (only a browser required) at &lt;a href="http://sdrv.ms/VPvjcD" target="_blank"&gt;AnnualPay_by_YearGenderLocalAuthorityPartorfulltime.xlsx&lt;/a&gt; (from there you can also download for your own analysis).&lt;/p&gt;  &lt;p&gt;&lt;a href="http://sqlblog.com/blogs/jamie_thomson/image_6521A492.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://sqlblog.com/blogs/jamie_thomson/image_thumb_6E9A6308.png" width="634" height="372" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The workbook also provides summaries over the raw data by way of pivot tables and charts. Arguably its clear to see, for example, that a gender imbalance exists although perhaps the gap may be lessening somewhat&lt;/p&gt;  &lt;p&gt;&lt;a href="http://sqlblog.com/blogs/jamie_thomson/image_088E232B.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://sqlblog.com/blogs/jamie_thomson/image_thumb_112E7BB7.png" width="904" height="470" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Its interesting to note that the average salary for Males dropped off in 2009/2010. Perhaps the economic events of 2008 are the cause for that, checking out data for only City of London (the traditional financial hub of the UK) suggests that may well be the case:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://sqlblog.com/blogs/jamie_thomson/image_5666D2E0.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://sqlblog.com/blogs/jamie_thomson/image_thumb_662667E4.png" width="901" height="441" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;There will be many more nuggets of information available in this data, all we need to do is set the data free so that people can find it for themselves. That is the aim of this blog post so hit the link: &lt;a title="http://sdrv.ms/VPvjcD" href="http://sdrv.ms/VPvjcD" target="_blank"&gt;AnnualPay_by_YearGenderLocalAuthorityPartorfulltime.xlsx&lt;/a&gt; and see what other nuggets you can find! If &lt;a href="https://twitter.com/search?q=dataviz" target="_blank"&gt;dataviz&lt;/a&gt; is an area that interests you then this is a cracking dataset to explore!&lt;/p&gt;  &lt;hr /&gt;  &lt;p&gt;One other point I want to make is that the raw data is provided as a mean average which means that each aggregated figure is a mean average of some mean averages. This isn’t good as it distorts the data as I demonstrate with this simple example:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://sqlblog.com/blogs/jamie_thomson/image_0C1E8DDA.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://sqlblog.com/blogs/jamie_thomson/image_thumb_0B4627F0.png" width="384" height="82" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;We have an average salary for both male and female (5000 &amp;amp; 9000 respectively) and the average of those two averages is 7000. However if we take the total “total salary” / total “tally of people asked” (127000 / 23) then the average is quite different – 5521.73.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;That’s a large discrepancy even for only two rows of data and it highlights the problem of providing averages rather than the figures that created those averages. To me this is a data quality issue – the raw source data does not provide the requisite level of detail to enable accurate analysis. Quality of data is paramount.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://twitter.com/jamiet" target="_blank"&gt;@Jamiet&lt;/a&gt;&lt;/p&gt;</description></item><item><title>New PowerPivot Workshop for Excel 2013 available! #powerpivot #excel2013 #excel</title><link>http://www2.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>Execute a #DAX Query on #SSAS #Tabular in #Excel</title><link>http://www2.sqlblog.com/blogs/marco_russo/archive/2013/01/31/execute-a-dax-query-on-ssas-tabular-in-excel.aspx</link><pubDate>Thu, 31 Jan 2013 12:54:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:47196</guid><dc:creator>sqlbi</dc:creator><description>&lt;p&gt;Apparently Excel does not offer a way to import data in Excel by using a DAX query on Analysis Services. The Data Connection Wizard seems to offers only the ability to create a PivotTable when you connect to Tabular, but not a Table (see the Table option disabled in the next picture).&lt;/p&gt;  &lt;p&gt;&lt;a href="http://sqlblog.com/blogs/marco_russo/F04_0F96C2AB.png"&gt;&lt;img title="F04" 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="F04" src="http://sqlblog.com/blogs/marco_russo/F04_thumb_4E884346.png" width="325" height="300" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;However, the workaround is to create a connection file and changing it with an editor (such as Notepad) so that you can write your own DAX query (or MDX, too!) and import data in an Excel table.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://sqlblog.com/blogs/marco_russo/F07_7FA77DE6.png"&gt;&lt;img title="F07" 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="F07" src="http://sqlblog.com/blogs/marco_russo/F07_thumb_454C0805.png" width="558" height="462" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;You can write a step-by-step guide on the article &lt;a href="http://www.sqlbi.com/articles/import-data-from-tabular-model-in-excel-using-a-dax-query"&gt;Import Data from Tabular Model in Excel Using a DAX Query&lt;/a&gt; I published on SQLBI web site.&lt;/p&gt;</description></item><item><title>Linked Table, Reverse Linked Table and Linkback Table in Excel 2013 #powerpivot</title><link>http://www2.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://www2.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></channel></rss>