cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver I
Resolver I

Direct Query limitations vs Import

Hello,

I am new to PBI Report Server and to DirectQuery. I have used PBI for about 2 years and have always parked my data in a folder somewhere. I have queried my data (import) from my parking location. Everything worked well.

 

I have quickly learned that when using DirectQuery I cannot create a table. I should be able to create a table if I convert my query from DirectQuery to Import. I tried this and it resulted in some failure and corrupted my file (there's a nut loose behind my computer so I'll blame it on that) (that's an attempt at humor).

 

It also appears that when using PBI Report Server all DAX functions are not available. Is this correct?

 

In my case, I closed query editor and applied pending changes. Since I cannot create a calendar table when using DirectQuery, I created new column. I want to separate and format the month from my date column.

 

When I type FORMAT, the function does not appear. MONTH appears to convert month into a month number, and YEAR appears to give me a 4 digit year, but FORMAT does not appear to convert month into an abbreviated text version of the month.

 

Is the absence of FORMAT a limitation of the use of DirectQuery or is it a limitation of PBI Report Server?

 

Is there a list of functions that are not available in PBI Report Server?

 

Please help with coffee, some form of carbohydrates (donuts, cookies), and a DAX solution.   : )

 

Thx in advance for all your help.

Sincerely,

Rich Ard, Houston, Texas

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User IV
Super User IV

Re: Direct Query limitations vs Import

You should be able to create a composite model these days (directquery and import) depending on what version you are using and what data source you are using for DirectQuery:

https://docs.microsoft.com/en-us/power-bi/desktop-composite-models

 

Look at the end to see incompatible data sets.

 

But, yes, Power BI does not support certain functions in DirectQuery mode. See this page:

https://docs.microsoft.com/en-us/analysis-services/tabular-models/dax-formula-compatibility-in-direc...


---------------------------------------

Putting square pegs in round holes since 1972.

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Highlighted
Super User IV
Super User IV

Re: Direct Query limitations vs Import

You should be able to create a composite model these days (directquery and import) depending on what version you are using and what data source you are using for DirectQuery:

https://docs.microsoft.com/en-us/power-bi/desktop-composite-models

 

Look at the end to see incompatible data sets.

 

But, yes, Power BI does not support certain functions in DirectQuery mode. See this page:

https://docs.microsoft.com/en-us/analysis-services/tabular-models/dax-formula-compatibility-in-direc...


---------------------------------------

Putting square pegs in round holes since 1972.

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Highlighted
Resolver I
Resolver I

Re: Direct Query limitations vs Import

Thanks Gregg. I'll review what you sent when I have a moment.

 

By the way, you may not recall but months ago I asked for ideas on how to promote PBI in my organization over Tableau. You provided me some ideas. It's been a battle but I've had success institutionalizing PBI. If I can be successful with PBI Report Server I think it will spell the end for Tableau in my organization. I'm in Commercial Development and have our CCO and CFO's support. Thx as always for your help!

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors