yes , i have tried that way if api secret key is changed then we need to republish this whole process so i have tried with custom query where firstly i was calling login api from that i was passing apikey and apisecret to my report api but using this method when report is published and if someone download our report they can access user id and password
Create your report in desktop app, from blank report. Use Basic authentication to get data (api_key as user, api_secret as password) in datasource configuration. This way you won’t need to specify authorization header on api call
Publish your report on PowerBI
Change semantic model configuration, and add credentials.
After credentials change you will need to update this, but you can do it on “cloud” PowerBI, update on desk side is not needed … api_key / api_secret wouldn’t change often … isn’t?
Indeed Incremental refresh will not work, but manual refresh on desktop, scheduled refresh of published report, specific interval refresh of direct query are all we could get with database connection.