Replies: 1 comment 1 reply
-
You can use table extension. Table extension works based on Tabpy and enable you to run your python code at datasource level and generate a full table as output. The best part is the input of your python code can be a table generated by tableau data model. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I might be asking too much of Tabpy, but is it possible to create calculated fields in Tableau using Python? I'm using Tableau desktop. I have hundreds of calculations I need to create in Tableau and I usually do it with a macro key program to click through the various menus in Tableau and copy data from Excel. I want something that is more reliable and I thought Tabpy can do it by reading my Excel sheet with my calculations and building them in Tableau. I got this far:
I've tried lots of ways to make it work, but I think I'm stuck on finding the sheet name for some reason. I've tried just pointing to the workbook, but I'm not even sure if it's possible to do this.
the specific error I'm getting on this code is:
Any help on the possibility of this would be most helpful.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions