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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Call SQL procedure every time the report is viewed

Hello all

 

Every report we have offers usage metrics. Unfortunately this data is only stored 90 days and we already have a table in our database to store our views to any reports. There is also a stored procedure to write in said table.

 

Is it possible in Power BI to do something (in this case call procedure) every time a report is opened?

If not, any suggestions?

 

Many thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @Anonymous ,

Nope, you can't do custom with usage metric function.
AFAIK, power bi will trace these requests to specific dataset and storage to azure side(not save to database side), so it is impossible to use sql storage procedure to trace these records.

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @Anonymous ,

Nope, you can't do custom with usage metric function.
AFAIK, power bi will trace these requests to specific dataset and storage to azure side(not save to database side), so it is impossible to use sql storage procedure to trace these records.

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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