I am working on tracking the activities on the PowerBI service like Viewing the report to the queries that the report triggered on the gateway.
To start with, I used the Admin REST API to get the activity for the specific time and user. I found the 'View Activity' on the report, I visited in that timeframe. The API call returns a lot of information about the report, workspace, requestID, etc.
Thereafter in looked into the GatewayLogs for QueryExecutionReport/QueryStatReport. I could identify the query that came from that Report (referenced above) around the same time as activity time. But the requestID on the GatewayLogs are not same as on the PowerBI Admin API call for activities.
Kindly help me in identifying the traceability from PowerBI services to Gateway.
Additional Information: Data Source is SSAS server and On Prem Gateway is used to allow the interaction between SSAS and PowerBi Reports.