Archive

Archive for the ‘PowerPivot’ Category

Microsoft SQL Server Code Name “Denali” Community Technology Preview 3 (CTP3)

July 12th, 2011 1 comment

Finally the long wait (for me at least) is over. As of today you can download the CTP3 PowerPivot and BIDS. CTP means Community Technology Preview meaning that this is a preview of the final product. But it is very rich in features ! I will do multiple blogpost over the next weeks explaining a lot of the new features.

My collegue Kay Unkroth has created a great blogpost summarizing the release which you can find here. Another big part of this release is Project Crescent which uses PowerPivot and Tabular projects as source. Read this blog post by the RS team for more information about Crescent.

Download PowerPivot 64 bits here.

Download SSAS server including the tabular service, BIDS and Crescent here.

Have fun with the CTP and let me know what you think ! Ow and most of all don’t forget to file bugs / suggestions on connect if you want your voice to be heard by the product team, see here why and how.  To directly go to the SQL server connect page go here: https://connect.microsoft.com/SQLServer/Feedback  and add your feedback.

Categories: PowerPivot Tags:

PowerPivot and SharePoint 2010 SP1: Get it now !

June 28th, 2011 No comments

Hot from the press: SharePoint 2010 SP1 has been released. With it come some great performance gains for PowerPivot in SharePoint.

Check out the details here.

Get SP1 here.

Sample Application Released: Analytics for Twitter

June 13th, 2011 No comments

Last week, Microsoft released Microsoft Analytics for Twitter, an awesome PowerPivot application to query Twitter within Excel 2010 and perform ad-hoc analysis on Tweet statistics, such as time and frequency of tweets, top tweets, top tweeters, and so forth. The Microsoft Analytics for Twitter application even detects the tone score (see screenshot) based on keywords that you can customize in the workbook.

Useful links:

Download Microsoft Analytics for Twitter http://go.microsoft.com/fwlink/?LinkId=221191
Wiki Help for Troubleshooting http://go.microsoft.com/fwlink/?LinkId=221192

Categories: DAX, PowerPivot Tags: ,

Using SharePoint List Data in PowerPivot

June 8th, 2011 3 comments

My colleague Uday Unni created a very interesting white paper on “Using SharePoint List Data in PowerPivot”:

One of the many features of Microsoft SQL Server PowerPivot is the range of data sources that can be used to import data. Anything, from Microsoft SQL Server relational databases, Oracle databases, and Microsoft Access databases, to text documents, can be used as data sources in PowerPivot. In this paper, I explain one of the new and upcoming data sources that people are excited about – SharePoint list data in the form of Atom feeds. This white paper goes on to explain the different ways you can import SharePoint list data into PowerPivot, what types of lists are supported, various components that need to be installed to use this feature, and where to get those components.

download the entire whitepaper here.

 

Categories: PowerPivot Tags:

PowerPivot import from multiple Identical Structure Excel Files

June 6th, 2011 1 comment

Often users want to import multiple identical Excel files into PowerPivot as one table. Unfortunately PowerPivot does not have native support for this.

The good thing is that there is a nice work around which someone else already blogged about. You can find out how to do it here: PowerPivot from Identical Structure Excel Files

PowerPivot DAX case: Resouce planning report with selecting a date parameter

May 23rd, 2011 5 comments

I had an interesting question on my ask a questions page, one that I have (or something similar) heard a few times before. So I decided to do make a blog post on how to solve it

Our company tracks changes in the resource planning using a data warehouse. An example would be:

Assignment 1: Ian 8 hours planned for 3-Jun; valid from 1-jan-2011 until 1-feb-2011.
Assignment 1: Ian 6 hours planned for 3-Jun; valid from 2-feb-2011 until 15-feb-2011.
Assignment 1: Ian 7 hours planned for 3-jun; valid from 16-feb-2011 until infinity.

I what to enable our end-user to select any date level (Date, Week, Month, year) and get the current planning for that planned date (3-jun).

First of all I created a table in Excel to represent the data:

Next I create a date table that I can use to select dates at different levels using a slicer:

I did not create a relationship between the two tables because I want to use the values of the date table to search for values in the planning table. So far i have prepared the tables, next is creating the report.

First I created a workbook and a new pivottable with the slicers from the date table and put the employee name on rows:

 

now for the interesting part, on to the DAX formula. We want to use the values from the slicers to determine the date we want to search the planning table on. We can use values(columnname) to get the current value of the slicer and create a date from that on the fly. For example values(‘Date’[year]) will get the current value of years from the slicer. IF you join all 3 together you can create a new Date: Date(values(‘Date’[year]),values(‘Date’[Month]),values(‘Date’[Day]))

Slicers can have multiple values selected at the same time so we need to make sure that only one is selected at the same time, otherwhise we cannot create this date. We can do this with the following formula’s:

=if( countrows(values(‘Date’[year])) = 1 &&countrows(values(‘Date’[Month])) = 1 &&countrows(values(‘Date’[Day])) = 1,

Now on to creating the DAX formula to finding the right values in the planning table:

=if( countrows(values('Date'[year])) = 1
&&
countrows(values('Date'[Month])) = 1
&&
countrows(values('Date'[Day])) = 1,
CALCULATE(sum(Rates[Hours]),
	FILTER(Rates,
	Rates[Startdate] <= Date(values('Date'[year]),values('Date'[Month]),values('Date'[Day]))
	&&
	(Rates[Enddate] >= Date(values('Date'[year]),values('Date'[Month]),values('Date'[Day]))
	|| ISBLANK(Rates[Enddate]))
	)
	)
,Blank()
)

Let’s look at this step by step:

First we want to calculate the sum of Hours.

CALCULATE (sum(Rates[Hours]),

for the rows in the selected date range:

FILTER(Rates,
Rates[Startdate] <= Date(values(‘Date’[year]),values(‘Date’[Month]),values(‘Date’[Day]))
&&
(Rates[Enddate] >= Date(values(‘Date’[year]),values(‘Date’[Month]),values(‘Date’[Day])) || ISBLANK(Rates[Enddate])) )

Filter the Rates table to return only the rows where
the Rates[Startdate] <= the selected date
AND
Rates[Enddate] >=the selected date OR the Rates[Enddate] is empty.

When this formula is used we get the value we wanted based on the slicer we selected:

Make sure you turn the following “Visually indicate items with no data”  for each slicer (right mouse click, slicer settings):

 

Another blog post with a similar question and answer you can find here: http://www.powerpivotblog.nl/get-values-within-a-start-and-end-date-using-powerpivot-dax

 

Crushed by Your Calendar? Use PowerPivot to analyze why !

April 27th, 2011 No comments

Today the Microsoft’s Business Intelligence team released a very cool PowerPivot app that shows you the power of PowerPivot  from a direction you wouldn’t expect:

REDMOND, Wash. — April 27, 2011 — As tools, email and calendars go one of two ways for many people.

“Your calendar can be on top of you, or you can be on top of your calendar,” said Tom Casey, corporate vice president of Microsoft’s Business Platform Division.

To ensure he continues to operate in the latter group, Casey and his executive assistant, Melissa Krohn, are beta testers for a new business intelligence app called Calendar Analytics. The PowerPivot application retrieves meeting and other information from Exchange and presents it in a simple, easy-to-read dashboard they can use to analyze (and sometimes even change) how the executive uses his time compared to his priorities.

In honor of Administrative Professionals’ Day today, Microsoft’s Business Intelligence team is offering the application free along with an informational video to introduce the app.

For Casey and Krohn, the information analysis helps ensure day-to-day work is contributing to larger goals.

“At the end of the day, it’s helping him, and it’s helping me manage his calendar better, and making sure I am scheduling meetings that are going to align with his commitments,” Krohn said.

On a day that most people give administrative professionals flowers, today they can have “the magic of software,” said Bruno Aziza, director of Microsoft’s Business Intelligence.

In an email-and-calendar-driven world, having a tool for everyone from administrative professionals to information workers to executives to analyze how time is spent is invaluable, he said.

“We only have a set amount of hours available throughout the week,” Aziza said, adding that the biggest difference in competitive business environments can be how effectively people use their time.

 

So what happens here, a Excel add-in will download information from your Exchange (or Office 365) into Excel. This information will be uploaded into PowerPivot that feeds the Dashboards:

 

You can download the workbook for free from MS here. Happy Analyzing :)

Categories: PowerPivot Tags: ,

TFS OData Service, load your TFS data into PowerPivot

April 11th, 2011 No comments

Always wanted to play around with the data that is stored inside your TFS server? This has now become much easier. The TFS team have announced a special OData service to be released for the product.

The purpose of this project is to help developers work with data from Team Foundation Server on multiple types of devices (such as smartphones and tablets) and operating systems. OData provides a great solution for this goal, since the existing Team Foundation Server 2010 object model only works for applications developed on the Windows platform. The Team Foundation Server 2010 application tier also exposes a number of web services, but these are not supported interfaces and interaction with these web services directly may have unintended side effects. OData, on the other hand, is accessible from any device and application stack which supports HTTP requests. As such, this OData service interacts with the client object model in the SDK (it does not manipulate any web services directly).

Download the beta: OData Service for Team Foundation Server 2010
Provide feedback on the beta: TFSOData@Microsoft.com

Watch a video about it here.

TFS Odata Service, load your TFS data into PowerPivot
Categories: BI general, PowerPivot Tags: ,