#DataBISummit
Power BI Tips &
Tricks
Rui Romano
DevScope
Rui.Romano@DevScope.net
https://ruiromanoblog.wordpress.com
@RuiRomano
#DataBISummit
Session Overview
• Power BI Tips & Tricks
• Modeling
• Eficiency
• Governance
• Integration
• Automation
This session is not
• Intro to Power BI
• Full of tips on DAX/M
• Deep-Dive on anything ☺
This session is
• Fast-paced, full of demos (+20)
• Learn useful techniques
• To Lazy People
#DataBISummit
Power BI: experience your data
Any data, any way, anywhere
#DataBISummit
Tip - Think like a Modeler (not a DBA ☺)
• Entities not Tables
• Power BI is not MS Access!
• Denormalize as much as possible => Star Schema
• Only load what you really need
#DataBISummit
Tip - Naming
• Be coherent
• Use business meaningful names => Less friction from Users
#DataBISummit
Tip – Optimize your model size
• Focus on columns w/ high distinct count
• Use Status Bar, DMV’s or tools like VertiPaq Analyser
• Split column for less distincts (ex: DateTime Columns)
• Separate queries for distinct counts (ex: Transaction Count)
#DataBISummit
Tip – Filter first, Transform later
• Know “Query Folding” concept
• Some transformations don’t “fold” the query
• Filter ASAP (as second step if possible)
#DataBISummit
Tip – “Incremental Loading” w/ Power BI
• Loaded on first refresh
• Useful for Static Data (history)
• *Alternative to “Incremental Loading”
• Not Perfect
• Use DAX to avoid duplicating tables
• If there’s attributes to slice on the fact, then use UNION
Learn more: link1
#DataBISummit
Tip – Measures as Dimension
• One dashboard for multiple measures
• Build Scorecards
• Reusability: YTD, LY,… over all the measures
• *Performance hit
#DataBISummit
Tip – Emoji Support
• UNICHAR(<number>)
• https://emojipedia.org + HexConverter
#DataBISummit
Tip – Dynamic Security
• Evaluate your scenario, probably the basic approach is enough
• Simple to manage
• Versus standard security model with relationships
• Don’t work w/ DirectQuery
Standard Security Model Lookup Security Model
Users Table
DAX Expression in the Roles
#DataBISummit
Tip – Calendar/Date table
• Generate your calendar table with M Script or DAX
• Use Relative *Period fields => Dynamic Filter Reports over Time
Learn more: link1
#DataBISummit
Tip – Parameters
• Scenarios
• PBIX Templates
• Change the values after Publish
• Change the Database without Re-Publish
• Change the Query without Re-Publish
• Set the Type (don’t use “Any”)
• Change values on UI or REST API (PS)
• Set-PBIDatasetParameters
Learn more: link1
#DataBISummit
Tip – Use the Barcode Scanner
• Little effort, big impact
• IOS only 
• Use PowerApps
#DataBISummit
Tip – “Grow up” your PBIX
• Why?
• Need more space (pbi.com limited to 1GB/file)
• More control => partitioning, scripting, source control
• Model merging & centralization
• Developer Collaboration
• Convert to Analysis Services (SQL or Azure)
• Using WebDesigner in Azure Portal
• Using PowerBIPS.Tools - Convert-PowerBIToASTabular
#DataBISummit
Tip – Power BI Report Rebind
• In a conversion there could be hundred of existing reports
• Created by BI Team or End-User
• Power BI Desktop
• Remove all queries => Get-Data => Tabular (live)
• Power BI Service
• PowerBIPS
• Set-PBIReportsDataSet -sourceDataSetName “DS1" -targetdatasetName “DS2"
Learn more: link1, link2
#DataBISummit
Tip – Know Power BI Embedding
• See Ted Pattinson github
• Why?
• Integrate w/ your apps
• Lower development costs
• Extend Power BI capabilities
#DataBISummit
Tip – Power BI + Real Time!
• Multiple ways => Choose the best for you!
1. Streaming DataSets
2. REST API
3. Power BI Embedded + DirectQuery / AS
Learn more: link1, link2
#DataBISummit
Tip – Real-Time Session Voting
https://tinyurl.com/pbivoting
https://bit.ly/2HVi5ej
#DataBISummit
Tip – Power BI *DevOps
• Create Multiple Workspaces from file system
• Sync between Workspaces: Dev => Prod
Learn more: link1
#DataBISummit
Tip – Export Power BI Reports from Workspaces
• Easily export all your PBIX => Backup? Governance?
Learn more: link1
#DataBISummit
Tip – Governance – DataSet Refresh Monitoring
• Use RESTAPI to collect the refresh history
• Build a Power BI Report over that data
#DataBISummit
Tip – Governance – Use AuditLogs
• Who see’s what, when and how?
• Activate Tenant setting of Office365
• Export & Explore with PowerBI
#DataBISummit
Tip – Explore Power BI Desktop w/ Excel
• Great for data validation & table export
• PBIDesktop has an Analysis Services Instance
• Discover the TCP Port using netstat, powershell, DaxStudio
• Connect with any OLAP client (Excel, SSMS, PowerBIDesktop…)
#DataBISummit
Tip – Get Data from PowerBI.com
• Not Supported! But it works ☺
• Get the connection string from “Analyse in Excel”
• Remove the “ClaimsToken”
• Use “Get-Data” from OLEDB w/ DAX query
• Only works w/ Personal Gateway?
#DataBISummit
Tip – Export Data from Power BI Desktop
• *one-time-only scenarios
• Export to CSV / SQL Server
• Very handy for one-time-only scenarios
• ex: Data Science data wrangling
Learn more: link1
#DataBISummit
Thank You!
Questions?

More Related Content

PDF
Tuga IT - Power BI for Developers
PDF
20200610 - Power BI Tips, Tricks & Hacks @ RADACAD
PPTX
Power BI for Developers @ SQLSaturday #420 (Paris)
PPTX
Power BI for Developers @ SQLSaturday #369
PPTX
The citizen integrator
PPTX
Logic Apps – Deployments
PPTX
Azure Integration in Production with Logic Apps and more
PPTX
Create a modern(ish) BAM portal in (roughly) one hour!
Tuga IT - Power BI for Developers
20200610 - Power BI Tips, Tricks & Hacks @ RADACAD
Power BI for Developers @ SQLSaturday #420 (Paris)
Power BI for Developers @ SQLSaturday #369
The citizen integrator
Logic Apps – Deployments
Azure Integration in Production with Logic Apps and more
Create a modern(ish) BAM portal in (roughly) one hour!

What's hot (20)

PPTX
Public v1 real world example of azure functions serverless conf london 2016
PPTX
Microsoft Flow in Real World Projects: 2 Years later & What's next
PPTX
CREATE RELIABLE AND LOW-CODE APPLICATION IN SERVERLESS MANNER
PDF
CDS + Power Apps
PPTX
Microsoft Azure and Microsoft 365 - How Will They Help You
PPTX
Be a Modern SharePoint Developer
PPTX
Introduction to Azure Functions - Tutorial
PPTX
Why you shouldn't probably care about Machine Learning
PDF
Understanding SharePoint Framework Extensions
PPTX
Deploy your Websites and Web Applications on Azure
PPTX
Introduction to Power Platform
PPTX
SPSNL16 - Building Office 365 and SharePoint solutions using modern developer...
PPTX
Machine Learning with ML.Net
PPT
Leveraging The Cloud In 2009
PPTX
Model Driven PowerApps
PPTX
Rencore Webinar: SharePoint Customizations - the most overlooked road block t...
PPTX
Advanced PowerShell for Office 365
PDF
2018-10-17 J1 7A - Microsoft Flow advanced - Serge Luca
PDF
O365Con18 - Microsoft Graph, a Walk-through - Adis Jugo
PPTX
2018-10-17 J1 6D - Draw your imagination with Microsoft Graph API - Dipti Chh...
Public v1 real world example of azure functions serverless conf london 2016
Microsoft Flow in Real World Projects: 2 Years later & What's next
CREATE RELIABLE AND LOW-CODE APPLICATION IN SERVERLESS MANNER
CDS + Power Apps
Microsoft Azure and Microsoft 365 - How Will They Help You
Be a Modern SharePoint Developer
Introduction to Azure Functions - Tutorial
Why you shouldn't probably care about Machine Learning
Understanding SharePoint Framework Extensions
Deploy your Websites and Web Applications on Azure
Introduction to Power Platform
SPSNL16 - Building Office 365 and SharePoint solutions using modern developer...
Machine Learning with ML.Net
Leveraging The Cloud In 2009
Model Driven PowerApps
Rencore Webinar: SharePoint Customizations - the most overlooked road block t...
Advanced PowerShell for Office 365
2018-10-17 J1 7A - Microsoft Flow advanced - Serge Luca
O365Con18 - Microsoft Graph, a Walk-through - Adis Jugo
2018-10-17 J1 6D - Draw your imagination with Microsoft Graph API - Dipti Chh...
Ad

Similar to PUGML06 - Power BI Tips & Tricks from the Trenches (20)

PDF
Top 10 of Data & BI Summit Series: Power BI Tips & Tricks from the Trenches
PPTX
Power bi introduction
PDF
Data Analysis with Microsoft Power Bi - eBook PDF
PDF
Instant ebooks textbook Data Analysis with Microsoft Power Bi Brian Larson do...
PDF
Where can buy Data Analysis with Microsoft Power Bi Brian Larson ebook with c...
PDF
Data Analysis with Microsoft Power Bi - eBook PDF
PDF
Data Analysis with Microsoft Power Bi Brian Larson
PDF
Data Analysis with Microsoft Power Bi Brian Larson
PDF
Data Analysis with Microsoft Power Bi Brian Larson
PPTX
Building your first Analysis Services Tabular BI Semantic model with SQL Serv...
PDF
Taming the shrew Power BI
PDF
Learn How to Use Microsoft Power BI for Office 365 to Analyze Salesforce Data
PDF
powerbioverview-191114161542.pdf
PDF
Download Data Analysis with Microsoft Power Bi - eBook PDF ebook All Chapters...
PDF
Instant Download Data Analysis with Microsoft Power Bi - eBook PDF PDF All Ch...
PPTX
Power BI Overview
PPTX
Power BI data analysis power point file.
PPTX
CRM UG Belux March 2017 - Power BI and Dynamics 365
PDF
Data Analysis with Microsoft Power Bi - eBook PDF
Top 10 of Data & BI Summit Series: Power BI Tips & Tricks from the Trenches
Power bi introduction
Data Analysis with Microsoft Power Bi - eBook PDF
Instant ebooks textbook Data Analysis with Microsoft Power Bi Brian Larson do...
Where can buy Data Analysis with Microsoft Power Bi Brian Larson ebook with c...
Data Analysis with Microsoft Power Bi - eBook PDF
Data Analysis with Microsoft Power Bi Brian Larson
Data Analysis with Microsoft Power Bi Brian Larson
Data Analysis with Microsoft Power Bi Brian Larson
Building your first Analysis Services Tabular BI Semantic model with SQL Serv...
Taming the shrew Power BI
Learn How to Use Microsoft Power BI for Office 365 to Analyze Salesforce Data
powerbioverview-191114161542.pdf
Download Data Analysis with Microsoft Power Bi - eBook PDF ebook All Chapters...
Instant Download Data Analysis with Microsoft Power Bi - eBook PDF PDF All Ch...
Power BI Overview
Power BI data analysis power point file.
CRM UG Belux March 2017 - Power BI and Dynamics 365
Data Analysis with Microsoft Power Bi - eBook PDF
Ad

Recently uploaded (20)

PDF
Guide to Food Delivery App Development.pdf
PDF
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
PDF
BoxLang Dynamic AWS Lambda - Japan Edition
PPTX
Full-Stack Developer Courses That Actually Land You Jobs
DOCX
Modern SharePoint Intranet Templates That Boost Employee Engagement in 2025.docx
PDF
The Dynamic Duo Transforming Financial Accounting Systems Through Modern Expe...
PPTX
CNN LeNet5 Architecture: Neural Networks
PDF
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
PDF
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
PPTX
Weekly report ppt - harsh dattuprasad patel.pptx
PPTX
GSA Content Generator Crack (2025 Latest)
PPTX
Airline CRS | Airline CRS Systems | CRS System
PDF
iTop VPN Crack Latest Version Full Key 2025
PDF
Visual explanation of Dijkstra's Algorithm using Python
PPTX
most interesting chapter in the world ppt
PDF
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
PPTX
Cybersecurity-and-Fraud-Protecting-Your-Digital-Life.pptx
PDF
Autodesk AutoCAD Crack Free Download 2025
PDF
MCP Security Tutorial - Beginner to Advanced
PDF
Salesforce Agentforce AI Implementation.pdf
Guide to Food Delivery App Development.pdf
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
BoxLang Dynamic AWS Lambda - Japan Edition
Full-Stack Developer Courses That Actually Land You Jobs
Modern SharePoint Intranet Templates That Boost Employee Engagement in 2025.docx
The Dynamic Duo Transforming Financial Accounting Systems Through Modern Expe...
CNN LeNet5 Architecture: Neural Networks
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
Weekly report ppt - harsh dattuprasad patel.pptx
GSA Content Generator Crack (2025 Latest)
Airline CRS | Airline CRS Systems | CRS System
iTop VPN Crack Latest Version Full Key 2025
Visual explanation of Dijkstra's Algorithm using Python
most interesting chapter in the world ppt
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
Cybersecurity-and-Fraud-Protecting-Your-Digital-Life.pptx
Autodesk AutoCAD Crack Free Download 2025
MCP Security Tutorial - Beginner to Advanced
Salesforce Agentforce AI Implementation.pdf

PUGML06 - Power BI Tips & Tricks from the Trenches

  • 1. #DataBISummit Power BI Tips & Tricks Rui Romano DevScope
  • 3. #DataBISummit Session Overview • Power BI Tips & Tricks • Modeling • Eficiency • Governance • Integration • Automation This session is not • Intro to Power BI • Full of tips on DAX/M • Deep-Dive on anything ☺ This session is • Fast-paced, full of demos (+20) • Learn useful techniques • To Lazy People
  • 4. #DataBISummit Power BI: experience your data Any data, any way, anywhere
  • 5. #DataBISummit Tip - Think like a Modeler (not a DBA ☺) • Entities not Tables • Power BI is not MS Access! • Denormalize as much as possible => Star Schema • Only load what you really need
  • 6. #DataBISummit Tip - Naming • Be coherent • Use business meaningful names => Less friction from Users
  • 7. #DataBISummit Tip – Optimize your model size • Focus on columns w/ high distinct count • Use Status Bar, DMV’s or tools like VertiPaq Analyser • Split column for less distincts (ex: DateTime Columns) • Separate queries for distinct counts (ex: Transaction Count)
  • 8. #DataBISummit Tip – Filter first, Transform later • Know “Query Folding” concept • Some transformations don’t “fold” the query • Filter ASAP (as second step if possible)
  • 9. #DataBISummit Tip – “Incremental Loading” w/ Power BI • Loaded on first refresh • Useful for Static Data (history) • *Alternative to “Incremental Loading” • Not Perfect • Use DAX to avoid duplicating tables • If there’s attributes to slice on the fact, then use UNION Learn more: link1
  • 10. #DataBISummit Tip – Measures as Dimension • One dashboard for multiple measures • Build Scorecards • Reusability: YTD, LY,… over all the measures • *Performance hit
  • 11. #DataBISummit Tip – Emoji Support • UNICHAR(<number>) • https://emojipedia.org + HexConverter
  • 12. #DataBISummit Tip – Dynamic Security • Evaluate your scenario, probably the basic approach is enough • Simple to manage • Versus standard security model with relationships • Don’t work w/ DirectQuery Standard Security Model Lookup Security Model Users Table DAX Expression in the Roles
  • 13. #DataBISummit Tip – Calendar/Date table • Generate your calendar table with M Script or DAX • Use Relative *Period fields => Dynamic Filter Reports over Time Learn more: link1
  • 14. #DataBISummit Tip – Parameters • Scenarios • PBIX Templates • Change the values after Publish • Change the Database without Re-Publish • Change the Query without Re-Publish • Set the Type (don’t use “Any”) • Change values on UI or REST API (PS) • Set-PBIDatasetParameters Learn more: link1
  • 15. #DataBISummit Tip – Use the Barcode Scanner • Little effort, big impact • IOS only  • Use PowerApps
  • 16. #DataBISummit Tip – “Grow up” your PBIX • Why? • Need more space (pbi.com limited to 1GB/file) • More control => partitioning, scripting, source control • Model merging & centralization • Developer Collaboration • Convert to Analysis Services (SQL or Azure) • Using WebDesigner in Azure Portal • Using PowerBIPS.Tools - Convert-PowerBIToASTabular
  • 17. #DataBISummit Tip – Power BI Report Rebind • In a conversion there could be hundred of existing reports • Created by BI Team or End-User • Power BI Desktop • Remove all queries => Get-Data => Tabular (live) • Power BI Service • PowerBIPS • Set-PBIReportsDataSet -sourceDataSetName “DS1" -targetdatasetName “DS2" Learn more: link1, link2
  • 18. #DataBISummit Tip – Know Power BI Embedding • See Ted Pattinson github • Why? • Integrate w/ your apps • Lower development costs • Extend Power BI capabilities
  • 19. #DataBISummit Tip – Power BI + Real Time! • Multiple ways => Choose the best for you! 1. Streaming DataSets 2. REST API 3. Power BI Embedded + DirectQuery / AS Learn more: link1, link2
  • 20. #DataBISummit Tip – Real-Time Session Voting https://tinyurl.com/pbivoting https://bit.ly/2HVi5ej
  • 21. #DataBISummit Tip – Power BI *DevOps • Create Multiple Workspaces from file system • Sync between Workspaces: Dev => Prod Learn more: link1
  • 22. #DataBISummit Tip – Export Power BI Reports from Workspaces • Easily export all your PBIX => Backup? Governance? Learn more: link1
  • 23. #DataBISummit Tip – Governance – DataSet Refresh Monitoring • Use RESTAPI to collect the refresh history • Build a Power BI Report over that data
  • 24. #DataBISummit Tip – Governance – Use AuditLogs • Who see’s what, when and how? • Activate Tenant setting of Office365 • Export & Explore with PowerBI
  • 25. #DataBISummit Tip – Explore Power BI Desktop w/ Excel • Great for data validation & table export • PBIDesktop has an Analysis Services Instance • Discover the TCP Port using netstat, powershell, DaxStudio • Connect with any OLAP client (Excel, SSMS, PowerBIDesktop…)
  • 26. #DataBISummit Tip – Get Data from PowerBI.com • Not Supported! But it works ☺ • Get the connection string from “Analyse in Excel” • Remove the “ClaimsToken” • Use “Get-Data” from OLEDB w/ DAX query • Only works w/ Personal Gateway?
  • 27. #DataBISummit Tip – Export Data from Power BI Desktop • *one-time-only scenarios • Export to CSV / SQL Server • Very handy for one-time-only scenarios • ex: Data Science data wrangling Learn more: link1