Forum Discussion
bbbbbiiiii
Helper II
4 years agoPower 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
Resident Rockstar
4 years agobbbbbiiiii, It does provide you DashboardId and DashboardName for the 'ViewDashboard' activity.
bbbbbiiiii
Helper II
4 years agoHi 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 ago
Resident Rockstar
- bbbbbiiiii4 years ago
Helper 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! 🙂