Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi all
I would like to know if it is possible to execute a Python script within Power BI in a table that had some columns added by DAX instructions. I know that it is possible with the Advanced Editor but the problem is that some columns created with DAX are not available in this editor so I cannot execute the Python scripts directly from the Advanced Editor.
Thanks in advance
In one word: No. You can use Python to create columns in Power Query and you can have visuals that use Python scripts. You can't calculate anything in Python and then put it in a table.
Thanks @Anonymous . Actually when I execute a Phyton script within the Advanced Editor the result is converted to a table. My question is about doing the same but with a table that was partially modified with DAX and because of that I cannot use this table in the Advanced Editor
You've got the answer above. Nothing more to add.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
11 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
12 | |
11 | |
11 | |
10 |