This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Has anyone ever investigated the difference between:
1. A SQL query within Power BI Query Editor (when specifying connection string, selecting advanced and putting code in the SQL Command box)
2. Linking Power BI to a View in the SQL DB with exactly the same code.
I understand the choice between the two depends on the level of access you have to the SQL DB, but is there any difference in terms of performance (i.e. effect on resources) and the associated user experience when refreshing and consuming the actual report?
My assumption here is using Import, not Direct Query (don't know how the latter will affect it).
Hi @Anonymous ,
Actually, by my tests, the query for the two ways is the same in Advanced Editor so I think that there should be not any difference in terms of performance (i.e. effect on resources) and the associated user experience when refreshing for the two ways of connecting.
Best Regards,
Cherry
Hi @v-piga-msft ,
Thanks for the response. Any other comments from the forum?
I understand the query is the same, but I'm wondering whether the data transfer and processing will work exactly the same? E.g:
Thanks!
P.S. I understand this changes completely when using Power BI Report Server, but let's leave that out of this question for now.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.