Forum Discussion

simonxiao's avatar
simonxiao
Regular Visitor
9 years ago
Solved

error when merge query: Mixing DirectQuery and imported data is not supported.

I have two queries from Azure SQL Server, with "DirectQuery" mode. Now I created two reference queries based on that 2 queries; and then merge the two refernece refernece queries. In the Merge windo...
  • v-micsh-msft's avatar
    v-micsh-msft
    9 years ago

    Hi simonxiao,

     

    I just tested the merge queries from my side with Azure SQL Database, with Direct query mode. And the merge works.

    What I tried here is, get the two queries separately, click load for both of the two queries, after that, Under Power BI desktop Home tab, click Edit queries. Then do the customizations there.

    One aspect should mention is that the Enable Load(right click the table at the left side of Query Editor) is also the same as import, make sure the queries are all loaded(or queried at the same time). Then the merge should work.

     

    Regards