<?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 'Excel' and 'Tabular'</title><link>http://sqlblog.com/search/SearchResults.aspx?o=DateDescending&amp;tag=Excel,Tabular&amp;orTags=0</link><description>Search results matching tags 'Excel' and 'Tabular'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><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>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>Execute a #DAX Query on #SSAS #Tabular in #Excel</title><link>http://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>DATE function does not support all the dates in DAX by design #powerpivot #tabular #dax</title><link>http://sqlblog.com/blogs/marco_russo/archive/2012/11/05/date-function-does-not-support-all-the-dates-in-dax-by-design-powerpivot-tabular-dax.aspx</link><pubDate>Mon, 05 Nov 2012 12:52:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:45926</guid><dc:creator>sqlbi</dc:creator><description>&lt;p&gt;The &lt;a href="http://msdn.microsoft.com/library/ee634927(v=sql.110).aspx"&gt;DATE&lt;/a&gt; function in DAX has this simple syntax:&lt;/p&gt;  &lt;p&gt;DATE( &amp;lt;year&amp;gt;, &amp;lt;month&amp;gt;, &amp;lt;day&amp;gt; )&lt;/p&gt;  &lt;p&gt;If you are like me, you never read the BOL notes that says in a clear way that it supports dates beginning with March 1, 1900. In fact, I was wrongly assuming that it would have supported any date that can be represented in a &lt;a href="http://office.microsoft.com/en-us/excel-help/data-types-in-data-models-HA102836946.aspx?CTT=5&amp;amp;origin=HA102836919"&gt;Date data type in Data Models&lt;/a&gt;, so all the dates beginning with January 1, 1900. The funny thing is that in some of the BOL documentation &lt;a href="http://msdn.microsoft.com/en-us/library/gg492146.aspx"&gt;you will find&lt;/a&gt; that Date data type supports dates after March 1, 1900 (which seems not including that date, but this is a detail…). But we should not digress. The real issue is that if you try to call the DATE function passing values between January 1 and February 28, 1900, you will see a different day as a result.&lt;/p&gt;  &lt;p style="margin:0cm 0cm 0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;" class="MsoNormal"&gt;&lt;span style="font-family:consolas;color:blue;font-size:9.5pt;"&gt;evaluate&lt;/span&gt;&lt;span style="font-family:consolas;font-size:9.5pt;"&gt; &lt;span style="color:blue;"&gt;row&lt;/span&gt; ( &lt;span style="color:#a31515;"&gt;&amp;quot;x&amp;quot;&lt;/span&gt;, &lt;span style="color:blue;"&gt;DATE&lt;/span&gt;( 1900, 1, 1 ) )&lt;/span&gt;     &lt;/p&gt;  &lt;p style="margin:0cm 0cm 0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;" class="MsoNormal"&gt;&lt;span style="font-family:consolas;color:green;font-size:9.5pt;"&gt;-- return WRONG result     &lt;br /&gt;-- [x] 12/31/1899 12:00:00 AM&lt;/span&gt;     &lt;/p&gt;  &lt;p style="margin:0cm 0cm 0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;" class="MsoNormal"&gt;&lt;span style="font-family:consolas;font-size:9.5pt;"&gt;&amp;#160;&lt;/span&gt;     &lt;/p&gt;  &lt;p style="margin:0cm 0cm 0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;" class="MsoNormal"&gt;&lt;span style="font-family:consolas;color:blue;font-size:9.5pt;"&gt;evaluate&lt;/span&gt;&lt;span style="font-family:consolas;font-size:9.5pt;"&gt; &lt;span style="color:blue;"&gt;row&lt;/span&gt; ( &lt;span style="color:#a31515;"&gt;&amp;quot;x&amp;quot;&lt;/span&gt;, &lt;span style="color:blue;"&gt;DATE&lt;/span&gt;( 1901, 2, 29 ) )&lt;/span&gt;     &lt;/p&gt;  &lt;p style="margin:0cm 0cm 0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;" class="MsoNormal"&gt;&lt;span style="font-family:consolas;color:green;font-size:9.5pt;"&gt;-- return WRONG result     &lt;br /&gt;-- [x] 2/28/1900 12:00:00 AM&lt;/span&gt;     &lt;/p&gt;  &lt;p style="margin:0cm 0cm 0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;" class="MsoNormal"&gt;&lt;span style="font-family:consolas;font-size:9.5pt;"&gt;&amp;#160;&lt;/span&gt;     &lt;/p&gt;  &lt;p style="margin:0cm 0cm 0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;" class="MsoNormal"&gt;&lt;span style="font-family:consolas;color:blue;font-size:9.5pt;"&gt;evaluate&lt;/span&gt;&lt;span style="font-family:consolas;font-size:9.5pt;"&gt; &lt;span style="color:blue;"&gt;row&lt;/span&gt; ( &lt;span style="color:#a31515;"&gt;&amp;quot;x&amp;quot;&lt;/span&gt;, &lt;span style="color:blue;"&gt;DATE&lt;/span&gt;( 1900, 3, 1 ) )&lt;/span&gt;     &lt;/p&gt;  &lt;p style="margin:0cm 0cm 0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;" class="MsoNormal"&gt;&lt;span style="font-family:consolas;color:green;font-size:9.5pt;"&gt;-- return CORRECT result     &lt;br /&gt;-- [x] 3/1/1900 12:00:00 AM&lt;/span&gt;     &lt;/p&gt;  &lt;p&gt;   &lt;p&gt;As usual, this is not a bug. It is “by design”. The DATE function works in this way in Excel. And also in Excel it was “by design”. In this case the design is having the same bug of &lt;a href="http://en.wikipedia.org/wiki/Lotus_123"&gt;Lotus 1-2-3&lt;/a&gt; that handled 1900 a leap year, even though it isn’t. The first release of Lotus 1-2-3 is dated 1983. I hope many of my readers are younger than that. I tried to open a &lt;a href="https://connect.microsoft.com/SQLServer/feedback/details/769455/date-function-does-not-work-correctly-until-feb-29-1900"&gt;bug in Connect&lt;/a&gt;. Please vote it. I would like if Microsoft changed this type of items from “by design” (as we can expect) to “by genetic disease”. Or by “historical respect”, in order to be more politically correct. &lt;img style="border-bottom-style:none;border-left-style:none;border-top-style:none;border-right-style:none;" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://sqlblog.com/blogs/marco_russo/wlEmoticon-smile_7432873F.png" /&gt;&lt;/p&gt;&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></channel></rss>