Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
rafal_walisko
Helper I
Helper I

Report views are different in Portal and from the Rest API

Hello,

I've used powerbi rest api

https://api.powerbi.com/v1.0/myorg/admin/activityevents + &$filter=Activity eq 'viewreport' to obtain all the views from last 30 days.
It worked fine but I see the number of views is different than the number of views in Powerbi Service. Can someone explain why it is?
7 REPLIES 7
watts_jim
Helper II
Helper II

Same user account ?

yes, Im checking it as a Powerbi Admin.

I meant the account that is running the commands in the API - I'm presuming you go through an authentication process though

yes, and it is the same account.

watts_jim
Helper II
Helper II

Are you refreshing them both at the same time ?

yes, in the workspace I see above 400 views for one report

 

rafal_walisko_0-1675776933784.png

 

Where from the API I got only 2 views event's in last 30 days.

Thats a huge difference.

Hey @rafal_walisko,

I faced the same problem yesterday.

The solution for me was to create a while loop checking whether the continuationUri is Null. If not, then send a get request to the continuationUri and get activityEventEntities.

Please tell me if it helps you.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors