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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Dasha
Frequent Visitor

Buttons

Can we have more function on buttons? 
- Custom Python/R scripts run when clicked.
- Mulitple actions on click.
- Integrate Power automate flow as a button action to be used in conjunction with multiple actions on click.

4 REPLIES 4
christinepayton
Most Valuable Professional
Most Valuable Professional

The Power Automate visual in Power BI will do multiple actions on a click if you put multiple actions as steps in the flow. 

 

Scripts I think you could potentially do with the Power Automate button as well, where you pass your data from the PBI report to Power Automate, and then have that run a Power Automate Desktop flow while also passing it the data... PA cloud can run PA desktop flows if you have a gateway and VM set up for it, and Power Automate Desktop has actions to run all sorts of scripts. It's a lot of hoop-jumping to set up though and can get expensive. 

Yeah, That's right. 
Dual or mnulti functionality doesnt support backwards writing on the P/A visual though, so you're limited to P/A multi functionality, and can't do things like change page, or go to a bookmark ETC... 

Example use Case 

Clicks a button to navigate to a "Hidden report page" 
This also triggers a P/A script to write to a data log excel file
and the P/A script also Emails an I.T Admin 

It'd be great if P/A visual was integrated into the standard button visual and dual functionality was supported. 
- Also if you could backwards write python scripts to perform tasks like changing the language of the report/colors etc etc

christinepayton
Most Valuable Professional
Most Valuable Professional

Yeah, that would be kind of cool. My guess is it's a security risk, being able to insert scripts in things in M365 is pretty locked down - e.g. you can't do it in SharePoint pages anymore either. I do wish there were more specifics logged in the audit log though, I don't think it goes down to the page level in the API. 

djurecic
Super User
Super User

https://ideas.fabric.microsoft.com/  is the best place to request these or see if there is an existing idea.

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors