Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hi,
I have a table in Power BI which I would like to do some aggregation and data transformation on it using pandas and save the output as a new table in Power BI. Is there anyway to do this in Power BI?
Thanks
Solved! Go to Solution.
No. The python visual is supposed to plot something, it will not return anything back except that plot.
Very new to Power BI and Jupyter but came across what looks like a way to create a table (with data) using Python and get it into Power BI. Curious if this would work because using Python to manipulate Power BI seems like a good combination.
https://blog.enterprisedna.co/power-bi-with-python-scripting-to-create-date-tables
After creating a table in Jupyter
Go back to Power BI:
Click Get Data and select Text/CSV
click Transform Data in the Home tab
go to the Transform tab and click Run Python Script
Go back to your Jupyter Notebook and copy the syntax from the cell. Then, paste it into the script editor.
No. The python visual is supposed to plot something, it will not return anything back except that plot.
Thank you @lbendlin , Is there any way to apply python functions to table data in Power BI and get a dataframe back in return?
Only in Power Query. Not in the UI part.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 37 | |
| 31 | |
| 27 |