Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
10 years ago
Solved

Direct connect vs import, SQL server vs SSAS source

Hi, Currently evaluating a dashboard solution. Data source is an on-premises SQL server. Trying to explorer whether I use direct query or import for the solution. Pros and Cons etc. for me, import ...
  • jirineoral's avatar
    10 years ago

    Hi Anonymous

    there are multiple factors to consider. 

    Frequency: with import you are limited to 8 times per day and my personal experience is, that you can't depend on times exactly. It runs in approximate time frame as close to scheduled time depending on how utilized the service is. If you need to refresh more often. You'll need to go for live connection.

    Data size: 1 GB file limit for import, and even if not, how often would you like to bring data in. 

    Live connection limitations: If you would go for live connection against source system. It could have negative impact on source system as well as performance on aggregated data could be better if preaggregated.

    Live connection against SSAS model works quite good and that's why we use it at work. However you need enterprise edition of SQL Server in background. Although SSAS Multidimensional is supported in Standard SQL, Power BI issues DAX queries against it and this is not supported in Standard (untill SQL Server 2016).

    Import from SSAS would work a little strange against SSAS, because you'll need to recreate potentially existing logic in your SSAS model. For example if you insert percentage measure. This is computed on detailed level when using import and if you want correct percentage, you'll need to recalculate it in your model.

    Security is another concern. If you would import data to multiple files from same datasource, you'll need to recreate logic for roles every single time. In comparisson when using live connection you set it up once on data source side

    My personal preference is

    Use import against SQL Server for precalculating data for better query performance

    Live against SSAS not to duplicate logic on report level, that already exists in your data model on premises.

     

    Jiri