Forum Discussion
Power BI Scorecard Not Refreshing Metrics Automatically When Using RLS
- 1 year ago
hi v-csrikanth
Thanks a lot for your time and suport, since Im not a developer and do not work with APIs and similar things, I dont think I can either understand the solution or try it out 🙂 But still, thanks for your support
Try Using Power Automate to trigger a "refresh all metrics" flow after dataset refresh. This automates metric updates while keeping RLS intact.
- OldDogNewTricks1 year agoKudo Collector
Do you happen to know the underlying API that Power Automate is triggering? Or if this is availabe in Semanitic Link Labs? I believe we have a related issue because our semantic models are Direct Lake mode, they are not being "refreshed" so I don't believe we are geting updated metric values from them into the test scorecard I built.
- OldDogNewTricks1 year agoKudo Collector
For anyone else looking for this, I found the APIs. Unfortunatly they do not appear to support SPN authentication yet so I am unable to use.
Scorecards (Preview) - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Goals (Preview) - REST API (Power BI Power BI REST APIs) | Microsoft Learn