Hey everyone,
I am developing a web app using Power Bi Embedded (using javascript sdk), and I have two doubts.
1. It is still not clear how to get the access token. Should I just make a post request to the api (https://api.powerbi.com/v1.0/myorg/groups/{group_Id}/reports/{report_id}/GenerateToken)?
2. I want to be able to filter my report even before it loads, ( I am creating an app so my clients can see their data through a Power Bi report, but I want to filter it by their IDs even before it loads, because one client may not see each other data) is it possible to do so?
Thank you very much.