Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
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!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 77 | |
| 39 | |
| 31 | |
| 29 | |
| 26 |