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.
We are converting our legacy Flask/AngularJS dashboard since Google has deprecated AngularJS and are considering either Flask/React or Flask/PowerBI. Was wondering if anyone had implemented such a dashboard in Flask/PowerBI allowing logged in tenant to populate charts across few pages, and if so what their experience was with the creation, maintenance, and its performance.
Thanks
M.
PS: If there are any consultants willing to have further conversations feel free to ping me.
Hi @Mersh ,
I'm not quite sure what you mean. Please refer to the following topic to see if it helps you.
Embed power bi dashboard into Flask Application
I will focus on the second method (it will require pro account):
Step 1: Register your power BI application here. Moreover, copy your application id.
Step 2: Then grant permissions to the application in azure portal.
Step 3: Collect the following variable details while performing the the above two steps -
Step 4: You can use the sample flask web app provided by Microsoft for embedding.(Github link).
In this project you will have to provide the details (collected in step 3) in the file "config.py". However, this method requires a Pro license. The files that contain embedding code are in the folder Service and Models. The folder static and templates contains the front-end html and css code. Which you can always change as per your webpage, and the routes are managed in app.py
If you don't own a pro license then you can simply publish the report the on the web (which is not secure and everyone on the internet can view it). Then you will get an iframe code which you can inculcate in the html code of your flask web app (or any other web app).
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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.