Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sotoc
Advocate I
Advocate I

Simple Workarounds for Direct Query Limitations

I am fairly new to Power BI and am requesting a reference or tips on how to workaround the Direct Query limitations, as I've only used Import thus far. The very simple description from MSFT here is not helpful to me as a new user:

 

https://docs.microsoft.com/en-us/power-bi/desktop-directquery-about

 

It seems most of the steps I perform in Import mode are exactly those that aren't allowed in Direct Query (duplicate table, unpivot pivot, new columns, and manually creating tables to create relationships for sorting). So I am seeking a source of best practices/ efficient workaround suggestions. Such as, instead of duplicate table/ unpivot use a measure to select columns and union?

 

Perhaps this is something learned with time and experience with DAX as my forum and internet searches aren't coming up with much.

 

Thanks in advance, 
Carly

 

 

1 ACCEPTED SOLUTION
RMDNA
Solution Sage
Solution Sage

Hi @sotoc,

 

There really aren't many workarounds - needing to do those kinds of operations is exactly why you would use Import rather than Direct Query. What are the constraints to you using Import?

 

If changing isn't an option, make your transformations in the datasource so that everything you need is available once you've connected by DQ.

View solution in original post

2 REPLIES 2
RMDNA
Solution Sage
Solution Sage

Hi @sotoc,

 

There really aren't many workarounds - needing to do those kinds of operations is exactly why you would use Import rather than Direct Query. What are the constraints to you using Import?

 

If changing isn't an option, make your transformations in the datasource so that everything you need is available once you've connected by DQ.

Thank you @RMDNA.  Unfortunately I am bound to  Direct Query only with a single table per report. They will only pull the rows for me, they won't conduct any transformations in the source data. 

 

Any idea when the composite model  will be officially launched for the service? We are going to embed our report after I create in the desktop so I can't create the report in the preview version yet. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.