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 nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi, we are working on a report that has pretty involved DAX queries potentially. We would like to be able to leverage Python(if possible) rather than use complex DAX. We have never used Python within Power BI previously. Is it possible to leverage Python such that if we need to filter a report by year, Python can dynamically perform some processing based on the user selection and put the end resultant data into a table.
Thanks
Solved! Go to Solution.
@alongi , You can replace complex columns, not measures using Python.
Share what is measure you think are complex. Maybe someone here can help you with optimized measures.
refer if needed
PowerBI Abstract Thesis: How to make Python work with Power BI: https://youtu.be/5D0BkNsu5CM
@alongi , You can replace complex columns, not measures using Python.
Share what is measure you think are complex. Maybe someone here can help you with optimized measures.
refer if needed
PowerBI Abstract Thesis: How to make Python work with Power BI: https://youtu.be/5D0BkNsu5CM
Appreciate the feedback, we actually figured out the DAX solution
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 | |
| 23 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 58 | |
| 51 | |
| 40 | |
| 30 | |
| 24 |