Forum Discussion
bbbbbiiiii
4 years agoHelper II
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 ...
- 4 years ago
SivaMani
4 years agoResident Rockstar
bbbbbiiiii, It does provide you DashboardId and DashboardName for the 'ViewDashboard' activity.
bbbbbiiiii
4 years agoHelper 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.
- SivaMani4 years agoResident Rockstar
- bbbbbiiiii4 years agoHelper II
Thk u very much Siva for pointing this out! Truely that the DashboardID is returned by this api. I've found that in Power Query, Advanced Editor, the "DashbordID" is missing from my M Codes. Once, I add that in, things worked. Thank u once again! 🙂