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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Flask/AngularJS to Flask/PowerBI

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. 

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

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 

    1. Embedding for your organization - Reference link
    2. Embedding for your customers - Reference link

    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 -

    • workspace id
    • report id
    • tenant id
    • client id / application id (from step 1)
    • power bi account username
    • power bi account password

    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.

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