Forum Discussion

bbbbbiiiii's avatar
bbbbbiiiii
Helper II
4 years ago
Solved

Power BI Rest Admin API - Activity Log : How is it linked to a Dashboard

Hi,

 

I've obtain "Activity Log" data from the "Get Activity Events" Rest API. There is a ReportID in the data, which can be used to link to report data. But for Dashboard, there is no DashboardID in it. How can I find out which dashboard is viewed? Thks!

5 Replies

    • bbbbbiiiii's avatar
      bbbbbiiiii
      Helper II

      Hi Siva,

       

      There is no DashboardID but there is a DashBoardName. One of the fields returned by the Get Activity Event is ItemName, it is the DashBoardName. But the problem is there are several dashboards with the same name in the workspace. So the DashBoardName can't be used.

      • SivaMani's avatar
        SivaMani
        Resident Rockstar

        bbbbbiiiii, Can you check your code, by default the API gives DashbordId

         

         

         

         

  • Hi,

     

    There is no DashboardID but there is a DashBoardName. One of the fields returned by the Get Activity Event is ItemName, it is the DashBoardName. But the problem is there are several dashboards with the same name in the workspace. So the DashBoardName can't be used.