Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Good day.
I'm pulling a report from Salesforce.com into Power BI desktop. Then I want to use Python script work on this Salesforce report (to produce a data frame for visuals).
How can I used Python to read the imported Salesforce report?
Thank you.
Here shows a way when Python to read a local Excel file, and I'm wondering what's the way to use Python to read Salesforce report.
Solved! Go to Solution.
Hi @JohnnyK
In the Power Query editor you can click on Run Python Script from the Transform section of the Ribbon
You need to have Python installed on your PC for this to work.
Any reason you are using Python for this? Can't you do whatever you need just by using Power Query?
Regards
Phil
Proud to be a Super User!
Yes, there is. Here is an out-of-the-box solution providing exactly what you described: https://vidi-corp.com/connect-salesforce-reports-to-power-bi/
Hi @JohnnyK
In the Power Query editor you can click on Run Python Script from the Transform section of the Ribbon
You need to have Python installed on your PC for this to work.
Any reason you are using Python for this? Can't you do whatever you need just by using Power Query?
Regards
Phil
Proud to be a Super User!
@PhilipTreacyHi Philip, thank you for your reply!
The visual I need requires part of pivot table (a few line of pivot table, together with some 'manual' calculated rows) produced from the Salesforce report imported, so I am thinking Python might help in such case.
User | Count |
---|---|
93 | |
85 | |
78 | |
68 | |
62 |
User | Count |
---|---|
113 | |
99 | |
96 | |
64 | |
58 |