Forum Discussion

Dhyey29's avatar
Dhyey29
Frequent Visitor
3 years ago

Logs for API calls made with Power query

We are using Query Editor to write a query to fetch data from vendor using REST API call. On refresh, when the query executes, it gets stuck in infinite execution. The same REST API call works with postman. We need to analyse this issue with Power BI logs. We followed the link to enable tracing but were not able to get the logs related to the Query execution. Could you please help us to find those logs?

6 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Dhyey29 ,

    A PowerShell sample is available to help you learn how to filter and retrieve Power BI activity log events. All code fragments and scenarios are annotated with how-to instructions and common gaps or issues to watch out for. Two scenarios are covered:

    • Retrieve a list of users for specific app.
    • Retrieve a list of users for direct report sharing.

    You must meet the following requirements:

    More details: Access the Power BI activity log - Power BI | Microsoft Docs

     

    I have also found a similar post, please refer to it to see if it helps you.

    Solved: power bi log files - Microsoft Power BI Community

     you could go to File>Option and Settings>Options>Diagnostics>tick the Enable tracing > Open traces folder, then you will find the Power BI log files.

     

    If it still does not help, please provide more details.

     

    Best Regards

    Community Support Team _ Polly

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.