Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import sys
print('Power BI Desktop Connection')
print(str(sys.argv[1]))
print(str(sys.argv[2]))
print('')
conn = "Provider=MSOLAP;Data Source=" + str(sys.argv[1]) + ";Initial Catalog='';"
print(conn)
input()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.