Business Intelligence Blogs

View blogs by industry experts on topics such as SSAS, SSIS, SSRS, Power BI, Performance Tuning, Azure, Big Data and much more! You can also sign up to post your own business intelligence blog.

«November 2015»

DirectQuery in Power BI Desktop

In the latest Power BI Desktop a new Preview features was released that now allows you to connect using DirectQuery to either SQL Server or Azure SQL Databases.  DirectQuery is a really neat feature that allows you to point to the live version of the data source rather than importing the data into a data model in Power BI Desktop. 

Normally when you want to get an updated dataset in the Power BI Desktop you would have to manually click the refresh button (this can be automated in the Power BI Service), which would initiate a full reimport of your data.  This refresh could take a variable amount of time depending on how much data your have.  For instance, if you’re refreshing a very large table you may be waiting quite a while to see the newly added data. 

With DirectQuery data imports are not required because you’re always looking at a live version of the data.  Let me show you how it works!

Turning on the DirectQuery Preview

Now, because DirectQuery is still in Preview you must first activate the feature by navigating to File->Options and settings->Options->Preview Features then check DirectQuery for SQL Server and Azure SQL Database


Once you click OK you may be prompted to restart the Power BI Desktop to utilize the feature.

Using DirectQuery in Power BI Desktop

Next make a connection either to an On-Premises SQL Server or Azure SQL database.

Go to the Home ribbon and select Get Data then SQL Server.


Provide your Server and Database names then click OK. ***Do not use a SQL statement.  It is not currently supported with DirectQuery***


From the Navigator pane choose the table(s) you would like to use.  I’m just going to pick the DimProduct table for this example and then click Load.  You could select Edit and that would launch the Query Editor where you could manipulate the extract.  This would allow you to add any business rules needed to the data before visualizing it.


Next you will be prompted to select what you want to connect to the data. Again, Import means the data

Read more

The Big Data Blog Series

Over the last few years I’ve been speaking a lot on the subject of Big Data. I started by giving an intermediate session called “Show Me Whatcha’ Workin’ With”. This session was designed for people who had attended a one hour introductory session that showed you how to load data, to look at possible applications … Continue reading The Big Data Blog Series
Read more

T-SQL Tuesday #014!!! Resolutions!!! Yeah, baby!!!

  • 10 January 2011
  • Author: Jason Bacani
  • Number of views: 4343







T-SQL Tuesday #014!!! Resolutions!!! Yeah, baby!!! (Imagine that said in the tone of Austin Powers, and you get the vibe of this post!)

Yeah, baby!...

So first, the formalities. The original post is hosted by However, the topic for T-SQL #014 is found here on 

So it looks like Jen McCown from SQL Awesomesauce (Twitter | Blog ) had the grand idea of picking resolutions as the topic for T-SQL Tuesday #014… While cool and all, I do wonder what next year’s January host will pick, now that Resolutions has been chosen… Could it be, 2012 Resolutions in the face of world annihilation?... I just wonder…

T-SQL Tuesday January 2012, anyone???...

So for me, resolutions, eh?... To be honest, I dislike resolutions. I mean, I ought to be improving myself regularly if not daily; I must strive to better myself professionally and personally, as well as emotionally and spiritually. But since this is about T-SQL or anything SQL related, let’s stick to the professional.

So I bought during Christmas as a gift to myself a new laptop. Nothing to wow at, but it’s a basic I3 Sony 15.5" VAIO. Yes, I like my brand names, so I got my new Sony laptop at a reasonable price. Mind you, now, I’ve been working at home with Windows Vista and Mac Leopard OS, so Windows 7 is actually quite new. But one of the many reasons in the laptop purchase was to get more familiarity with Windows 7. But really, the laptop would mean much, much more that gaining experience with Windows 7. To me, it was just a bold step to learning more and more about MS BI.

 Star Trek Poster

To boldy go...

So I know my strengths… I am good at T-SQL… However, it’s coupled with being an SME on the data at my company. And that data resides on SQL Server 2000. Yes… 2000. We do have three production SQL Server 2005 servers: (1) for applications, (2) for SSRS, and (3) for MS BizTalk. But we still have more of a reliance on data in 2000 servers over 2005. Bottom line: I am not learning the new stuff…

So I got myself a new laptop with Windows 7. Over the holiday break, I installed a virtual machine. That went well for it being the first time I ever done something like this. I then proceeded to install SQL Server 2008 R2, and now I can also honestly say, I have my own copy of the AdventureWorks database! Yay!

Ice Age 4, Continental Drift, movie, poster 

From the ice ages to...

Now I am sure many are thinking that this is old news to them, but to me, it’s all new. I am used to having a DBA have the environment all set up. I would quote-unquote "data mine" and learn about the data and the data structures within. I would leverage my T-SQL skills set to build new SPs and enhance existing ones. I would be able to find data discrepancies, and be able to create queries to find data efficiently within the systems. But again, I was still working in the Ice Ages of SQL Server 2000. Sure, there’s the web for learning, and SQL Saturdays and Code Camps and Pass Summit and SQL Rally, but now it’s time for me to get my hands wet on the real deal…


...To the future

So wrapping it and tying it together. I got a new laptop. I got VM running. I got SQL Server 2008 R2 up and running. I even got a few books.  I am signed up for SQL Saturday #62 in Tampa this weekend, and I'll be at the PreCon for Business Intelligence End-to-End.  Now, with my ‘resolution’, so to speak, I need to practice what I am learning here at BIDN, SQLServerCentral, SQLServerPedia, et cetera… I need to practice on my own what I am learning from free training from SQL Saturday,, SQLPass, Pragmatic Works, SSWUG, Idera, MSSQLTips, and the like. I need to shore up my experience with SSRS by working with 2008 R2; I need to spend more time learning more and more about SSIS on 2008 R2; And I need to get started with SSAS 2008 R2. The laptop is just the tool. The rest, are my resolutions.

Thanks for listening, and look for more on what I am doing to learn more and more. And for those going, see you at SQL Saturday in Tampa on January 15!!!

SQL Saturday 

Categories: Analysis Services
Rate this article:
No rating

Please login or register to post comments.