Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
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.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
| User | Count |
|---|---|
| 16 | |
| 9 | |
| 8 | |
| 7 | |
| 7 |