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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Merge Queries as New creates an Import query

I'm talking to a remote SQL server and have set up 2 Direct Queries. When creating an inner join on these 2 tables using Merge Queries as New, the resulting query has a storage mode of Import. These are fairly large (1 million+ rows) tables, so the data load on the resulting query takes a while. Is there a way to keep the merged query as a Direct Query?

1 ACCEPTED SOLUTION

@Anonymous Yes. You can do NATURALINNERJOIN in DAX but Power Query is best for this sort of thing in general.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@Anonymous , Merge will create an import mode table. Better to create a view on databases.

 

While creating a connection few connection allows to write a query. See if that can help. I doubt it is allowed for direct query

AdvanceProperty.png

Greg_Deckler
Super User
Super User

@Anonymous No, you would need to create a view or something in the source.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

@Greg_Deckler Thanks. Am I using the best method for inner joining 2 direct queries?

@Anonymous Yes. You can do NATURALINNERJOIN in DAX but Power Query is best for this sort of thing in general.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.