Skip to content

Instantly share code, notes, and snippets.

@whizzalan
Created March 3, 2017 03:15
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 whizzalan/b78d38a63cd69f94f88f7507a3c0eeb3 to your computer and use it in GitHub Desktop.
Save whizzalan/b78d38a63cd69f94f88f7507a3c0eeb3 to your computer and use it in GitHub Desktop.

PowerBI Vizuals 共筆

共筆 2

Step1: 起手式 ... 註冊假郵件帳號!

http://10minutemail.net/ https://randomuser.me/ http://www.fakenamegenerator.com/ http://passwordsgenerator.net/

Step2: 開 Power BI 帳號

https://powerbi.microsoft.com/en-us/get-started/

Step3: Install nodejs

Diffirent Versions https://github.com/nodejs/node/releases

nvm for windows https://github.com/coreybutler/nvm-windows

nvm https://github.com/creationix/nvm

Windows https://nodejs.org/en/download/

Linux & Unix

# Mac
brew uninstall nodejs; brew clearup
brew install nodejs
# Ubuntu
sudo apt install nodejs

Step4: install CLI Tools

https://github.com/Microsoft/PowerBI-visuals/blob/master/tools/README.md#installation

npm install -g powerbi-visuals-tools

(恭喜你踩雷了!)

npm install -g powerbi-visuals-tools@1.4.3

Step5:

Sample Repo: https://github.com/Microsoft/PowerBI-visuals-sampleBarChart

git clone https://github.com/Microsoft/PowerBI-visuals-sampleBarChart.git
cd PowerBI-visuals-sampleBarChart
npm install

Step6 : install SSL Certification

https://github.com/Microsoft/PowerBI-visuals/blob/master/tools/CertificateSetup.md


pbiviz --install-cert

Add Certificates on Linux

http://kb.kerio.com/product/kerio-connect/server-configuration/ssl-certificates/adding-trusted-root-certificates-to-the-server-1605.html http://askubuntu.com/questions/73287/how-do-i-install-a-root-certificate

Double click on the new certificate:

Go To PowerBI

[WorkAround]

http://icarus4.logdown.com/posts/175092-nodejs-installation-guide

Mac

brew install nvm

nvm use --delete-prefix v7.5.0
 

媽媽樂....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment