Sandeep Pawar creates a chart:
Semantic Link Labs v0.8.3 has
list_activities
method to get the list of all activities in your Fabric tenant. It uses the same Power BIAdmin - Get Activity Events
API but this API now also includes Fabric activities. Note that this is an Admin API so you need to be a Fabric administrator. Check the API details.To answer the above question, I will use the
admin.list_activity_events
, loop over the last 30 days and plot the results by Fabric item type in my personal tenant:
Click through for that code. Though if you’re going to do something similar in your environment, I recommend not using a line chart for this visual, as line charts indicate a flow over time and this is definitely point-in-time categorical data. A bar chart or dot plot would be better in that case.
Leave a Comment