Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deldersveld/fbf7955bb51b23d677c4643c14d95940 to your computer and use it in GitHub Desktop.
Save deldersveld/fbf7955bb51b23d677c4643c14d95940 to your computer and use it in GitHub Desktop.
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