SQL Manual
SQL Manual
#SQLSatMadrid
Power BI Hacks
BIG Thanks to SQLSatMadrid sponsors
Platinum
Gold
#SQLSatMadrid
Sponsor sessions at 10:15 & 13:00
Don’t miss them, they might be getting distributing
some awesome prizes!
#SQLSatMadrid
Head of BI @ DevScope
https://ruiromanoblog.wordpress.com
@RuiRomano
https://www.linkedin.com/in/ruiromano #SQLSatMadrid
Agenda
This session is not
• Intro to Power BI
• Advanced DAX/M Tips
• Deep-Dive on anything
This session is
• Fast-paced, full of demos
• Learn useful techniques on Power BI
• Learn some productivity Hacks
#SQLSatMadrid
DevScope’s Suite of Power BI tools
#SQLSatMadrid
Tip – Keyboard Shortcuts on DAX Editor
See Link: xxlbi.com or biinsight.com
My Favorites:
CTRL + SHIFT + L Find and Replace ALL highlighted text
CTRL + D Find and replace highlighted text
SHIFT + ENTER New Line with Indent
CTRL + ALT + UP/Down Enter multiple lines at once
CTRL + SPACE Activate Intellisense
CTRL + K + C/U Comment/Uncomment multiple lines
ALT + UP/Down Move lines up/down
CTRL + G Go to line number
#SQLSatMadrid
Tip – Use the Barcode Scanner
Little effort, big impact
IOS only
PowerApps as alternative
Vote!
#SQLSatMadrid
Tip – Parameters
PBIX Templates
Change the values after Publish
Change the Database without Re-Publish
Change the Query without Re-Publish
#SQLSatMadrid
Tip – Folder Proxy
Local Folder
Redirects to: OR
FileSystem
or
Online Source(ex: Sharepoint) Folder Proxy
#SQLSatMadrid
Tip – “Incremental Loading” w/ “Report Refresh”
Not Perfect
#SQLSatMadrid
Tip – Measure as Image
A lot of flexibility on KPI’s
#SQLSatMadrid
Tip – Import Data from Online DataSets (powerbi.com)
Get the connection string from “Analyse in Excel”
Use “Get-Data” from OLEDB w/ DAX query Sales
(Workspace 1)
CRM
(Workspace 2)
Import
#SQLSatMadrid
Tip – Excel Tables w/ DAX Queries
DAX query as a regular Excel Table
PowerQuery or Drillthrough*
*Drillthrough Steps:
1. Analyse in Excel
2. Drillthrough
3. Edit Query
4. Write Dax
*Supported ☺
#SQLSatMadrid
Tip – Excel + Power BI Desktop
PBIDesktop has an Analysis Services Instance
#SQLSatMadrid
Tip – Export Data from Power BI Desktop
Export all data from PBIDesktop to CSV / SQL Server *Not Supported!
Very useful for:
Data Science data wrangling
Moving Data
PowerBIPS.Tools
Why?
More space (+1GB/file)
More control => partitioning, perspectives, translations, scripting,…
Better DevOps => Source Control
Merge multiple Power BI models into singular AS Model
How?
- Using WebDesigner in Azure Portal (less control)
OR
- Using PowerBIPS.Tools - Convert-PowerBIToASTabular
More Contral, but Not Supported!
Examples:
Export all pbix from PowerBI.com to Folder
Bulk Create Multiple Workspaces using Folders and Files
Sync between Workspaces: (ex: Dev to Prod)
https://tinyurl.com/pbivoting
https://bit.ly/2HVi5ej
#SQLSatMadrid
Session Votes – Thank You!
#SQLSatMadrid
DevScope Suite of Power BI tools
#SQLSatMadrid
Contacts
▪ https://ruiromanoblog.wordpress.com/
▪ @RuiRomano
https://devscope.net
Links
https://powerbitiles.com/?app=Pro
https://github.com/DevScope/powerbi-powershell-modules
#SQLSatMadrid