Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi Guys - Happy New Year
I'm connecting Desktop to a SQL database
have set up a number of queries to import data into desktop - the queries include some T-SQL example below
each time teh data is refreshed I'm prompted to authorise the refresh of each Native QUERY" manually
is there any way to automate this ?
= Sql.Database("XX.XXX.XX.XX", "Database",(Query=Select SE_Start_Date, Service_ENC_REC_ID,DIM.Diagnosis
#(If) #(If) WHERE
SE_Start_Date>= ' "&Startdate&" '
#(If) And
SE_Start_Date<= ' "&Enddate&" '
" ])
have already tried changing the last line to
" , CreateNavigationProprerties=false]) but this has no impact
Many thanks in advance Adam
Go to File --> Options and settings --> Options --> Global --> Security, and uncheck "Require user approval for new native database queries".
Proud to be a Super User!
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 26 | |
| 23 | |
| 19 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 46 | |
| 46 | |
| 43 | |
| 36 | |
| 31 |