Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I have an App on PowerBI services, In this app I have 5 unrelated reports.
I want to export to PDF 1 page from each report in the app.
What is the best way to do that ?
HI @MAwwad,
You can use get reports API to get correspond reports from app, then you can write a loop to invoke export API with previous results:
Apps - Get Reports - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Reports - Export To File - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Regards,
Xiaoxin Sheng
Hello,
I know that you can do this but my question is that how can I refresh the Auth token since it works only for 3600 second !
Hi @MAwwad,
You can store the token and expiry into variables and create function to check the expiry datetime and update token, then you can add this function into the loop and use it before invoke API.
Regards,
Xiaoxin Sheng
Can you help with that ?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
2 | |
2 | |
1 | |
1 |