SlideShare a Scribd company logo
1 of 10
Download to read offline
PASSMN – Data Saturday #13 – Oct 16, 2021
Power BI / AAS data
model optimization 101
Dan English
Speaker
Background
Dan English
Cloud Solution Architect
Microsoft
http://denglishbi.wordpress.com
@denglishbi
• Published Author / Contributing
Editor
Agenda
• Required Tools
• Steps / Process
• Model Review
• Best Practices
• Resources
• Questions
Required Tools
• DAX Studio
• Vertipaq Analyzer
• Tabular Editor
• Best Practice Analyzer
• Performance Analyzer (Power BI
Desktop)
Initial Step – get metrics & review
DAX Studio
• Connect to data model
• Export metrics (vpax file)
Vertipaq Analyzer
• Open vpax file
• Review tables, columns, DAX
expressions
Key items for Review
• Table sizes (typically target large ‘Fact’ tables)
• Column sizes, cardinality, and data types
• IsAvailableInMDX
• Chris Webb's BI Blog: How The New IsAvailableInMDX Property For Analysis Services Tabular
Can Reduce Memory Usage And Speed Up Processing
• DAX Expressions
• Calculated columns
• DISTINCTCOUNT
• Analyzing the performance of DISTINCTCOUNT in DAX - SQLBI
• Basic math and division (use DIVIDE)
• Multiple measure references in a measure (use variables)
• Optimizing IF conditions by using variables - SQLBI
• Avoid using FILTER as a filter argument in DAX - DAX | Microsoft
Docs
• Evaluate which columns are not referenced in DAX or
used in relationships (in Fact table)
Best
Practices
Star Schema design
Only include what is needed for reporting / analysis
Perform logic / calculations upstream to source as much as possible
Only load granularity needed for reporting
Watch out for precision and type of data
Auto Date/Time (enabled by default in Power BI)
Reduce / simplify reporting
Naming convention and DAX model references
Downloads
• DAX Studio *
• Vertipaq Analyzer
• Tabular Editor *
• Business Ops Installer (External Tools installer)
• One Tool to Install them ALL - (powerbi.tips)
* portable zip version available
Resources
• My CHECKLIST for troubleshooting Power BI Performance - YouTube
• Understand star schema and the importance for Power BI - Power BI |
Microsoft Docs
• Data models within Azure Analysis Services and Power BI | Azure Blog
and Updates | Microsoft Azure
• Best Practice Analyzer for Tabular Editor Update 5/20
• best practices | Search Results | (desertislesql.com) (3 part series)
• 10 Best practice tips to improve your Tabular Model performance |
BI4ALL - Turning Data Into Insights
• (11) Guy in a Cube - YouTube (best practice search)
• Improve Power BI Performance by Optimizing DAX | MAQ Software
Questions

More Related Content

Similar to Power BI / AAS Data Model Optimization 101 v2

CRM UG Belux March 2017 - Power BI and Dynamics 365
CRM UG Belux March 2017 - Power BI and Dynamics 365CRM UG Belux March 2017 - Power BI and Dynamics 365
CRM UG Belux March 2017 - Power BI and Dynamics 365Joris Poelmans
 
Deep Dive into Spark SQL with Advanced Performance Tuning with Xiao Li & Wenc...
Deep Dive into Spark SQL with Advanced Performance Tuning with Xiao Li & Wenc...Deep Dive into Spark SQL with Advanced Performance Tuning with Xiao Li & Wenc...
Deep Dive into Spark SQL with Advanced Performance Tuning with Xiao Li & Wenc...Databricks
 
SharePoint Connections Conference Amsterdam - Pitfalls and success factors of...
SharePoint Connections Conference Amsterdam - Pitfalls and success factors of...SharePoint Connections Conference Amsterdam - Pitfalls and success factors of...
SharePoint Connections Conference Amsterdam - Pitfalls and success factors of...Wilco Turnhout
 
Power BI vs Tableau
Power BI vs TableauPower BI vs Tableau
Power BI vs TableauDon Hyun
 
Improve power bi performance
Improve power bi performanceImprove power bi performance
Improve power bi performanceAnnie Xu
 
Migrating Data and Databases to Azure
Migrating Data and Databases to AzureMigrating Data and Databases to Azure
Migrating Data and Databases to AzureKaren Lopez
 
GPPB2020 - Milan - Power BI dataflows deep dive
GPPB2020 - Milan - Power BI dataflows deep diveGPPB2020 - Milan - Power BI dataflows deep dive
GPPB2020 - Milan - Power BI dataflows deep diveRiccardo Perico
 
Adf and ala design c sharp corner toronto chapter feb 2019 meetup nik shahriar
Adf and ala design c sharp corner toronto chapter feb 2019 meetup nik shahriarAdf and ala design c sharp corner toronto chapter feb 2019 meetup nik shahriar
Adf and ala design c sharp corner toronto chapter feb 2019 meetup nik shahriarNilesh Shah
 
Accelerating Business Intelligence Solutions with Microsoft Azure pass
Accelerating Business Intelligence Solutions with Microsoft Azure   passAccelerating Business Intelligence Solutions with Microsoft Azure   pass
Accelerating Business Intelligence Solutions with Microsoft Azure passJason Strate
 
Tableau and hadoop
Tableau and hadoopTableau and hadoop
Tableau and hadoopCraig Jordan
 
What's new in pandas and the SciPy stack for financial users
What's new in pandas and the SciPy stack for financial usersWhat's new in pandas and the SciPy stack for financial users
What's new in pandas and the SciPy stack for financial usersWes McKinney
 
rough-work.pptx
rough-work.pptxrough-work.pptx
rough-work.pptxsharpan
 
BI 2008 Simple
BI 2008 SimpleBI 2008 Simple
BI 2008 Simplellangit
 
Bdf16 big-data-warehouse-case-study-data kitchen
Bdf16 big-data-warehouse-case-study-data kitchenBdf16 big-data-warehouse-case-study-data kitchen
Bdf16 big-data-warehouse-case-study-data kitchenChristopher Bergh
 
What's New in SPSS Statistics ?
What's New in SPSS Statistics ? What's New in SPSS Statistics ?
What's New in SPSS Statistics ? Luke Farrell
 
Monitoring your Power BI Tenant
Monitoring your Power BI TenantMonitoring your Power BI Tenant
Monitoring your Power BI TenantAngel Abundez
 
Tableau Seattle BI Event How Tableau Changed My Life
Tableau Seattle BI Event How Tableau Changed My LifeTableau Seattle BI Event How Tableau Changed My Life
Tableau Seattle BI Event How Tableau Changed My LifeRussell Spangler
 
Power BI with Essbase in the Oracle Cloud
Power BI with Essbase in the Oracle CloudPower BI with Essbase in the Oracle Cloud
Power BI with Essbase in the Oracle CloudKellyn Pot'Vin-Gorman
 
Sf big analytics_2018_04_18: Evolution of the GoPro's data platform
Sf big analytics_2018_04_18: Evolution of the GoPro's data platformSf big analytics_2018_04_18: Evolution of the GoPro's data platform
Sf big analytics_2018_04_18: Evolution of the GoPro's data platformChester Chen
 

Similar to Power BI / AAS Data Model Optimization 101 v2 (20)

CRM UG Belux March 2017 - Power BI and Dynamics 365
CRM UG Belux March 2017 - Power BI and Dynamics 365CRM UG Belux March 2017 - Power BI and Dynamics 365
CRM UG Belux March 2017 - Power BI and Dynamics 365
 
Deep Dive into Spark SQL with Advanced Performance Tuning with Xiao Li & Wenc...
Deep Dive into Spark SQL with Advanced Performance Tuning with Xiao Li & Wenc...Deep Dive into Spark SQL with Advanced Performance Tuning with Xiao Li & Wenc...
Deep Dive into Spark SQL with Advanced Performance Tuning with Xiao Li & Wenc...
 
SharePoint Connections Conference Amsterdam - Pitfalls and success factors of...
SharePoint Connections Conference Amsterdam - Pitfalls and success factors of...SharePoint Connections Conference Amsterdam - Pitfalls and success factors of...
SharePoint Connections Conference Amsterdam - Pitfalls and success factors of...
 
Power BI vs Tableau
Power BI vs TableauPower BI vs Tableau
Power BI vs Tableau
 
Power bi vs tableau
Power bi vs tableauPower bi vs tableau
Power bi vs tableau
 
Improve power bi performance
Improve power bi performanceImprove power bi performance
Improve power bi performance
 
Migrating Data and Databases to Azure
Migrating Data and Databases to AzureMigrating Data and Databases to Azure
Migrating Data and Databases to Azure
 
GPPB2020 - Milan - Power BI dataflows deep dive
GPPB2020 - Milan - Power BI dataflows deep diveGPPB2020 - Milan - Power BI dataflows deep dive
GPPB2020 - Milan - Power BI dataflows deep dive
 
Adf and ala design c sharp corner toronto chapter feb 2019 meetup nik shahriar
Adf and ala design c sharp corner toronto chapter feb 2019 meetup nik shahriarAdf and ala design c sharp corner toronto chapter feb 2019 meetup nik shahriar
Adf and ala design c sharp corner toronto chapter feb 2019 meetup nik shahriar
 
Accelerating Business Intelligence Solutions with Microsoft Azure pass
Accelerating Business Intelligence Solutions with Microsoft Azure   passAccelerating Business Intelligence Solutions with Microsoft Azure   pass
Accelerating Business Intelligence Solutions with Microsoft Azure pass
 
Tableau and hadoop
Tableau and hadoopTableau and hadoop
Tableau and hadoop
 
What's new in pandas and the SciPy stack for financial users
What's new in pandas and the SciPy stack for financial usersWhat's new in pandas and the SciPy stack for financial users
What's new in pandas and the SciPy stack for financial users
 
rough-work.pptx
rough-work.pptxrough-work.pptx
rough-work.pptx
 
BI 2008 Simple
BI 2008 SimpleBI 2008 Simple
BI 2008 Simple
 
Bdf16 big-data-warehouse-case-study-data kitchen
Bdf16 big-data-warehouse-case-study-data kitchenBdf16 big-data-warehouse-case-study-data kitchen
Bdf16 big-data-warehouse-case-study-data kitchen
 
What's New in SPSS Statistics ?
What's New in SPSS Statistics ? What's New in SPSS Statistics ?
What's New in SPSS Statistics ?
 
Monitoring your Power BI Tenant
Monitoring your Power BI TenantMonitoring your Power BI Tenant
Monitoring your Power BI Tenant
 
Tableau Seattle BI Event How Tableau Changed My Life
Tableau Seattle BI Event How Tableau Changed My LifeTableau Seattle BI Event How Tableau Changed My Life
Tableau Seattle BI Event How Tableau Changed My Life
 
Power BI with Essbase in the Oracle Cloud
Power BI with Essbase in the Oracle CloudPower BI with Essbase in the Oracle Cloud
Power BI with Essbase in the Oracle Cloud
 
Sf big analytics_2018_04_18: Evolution of the GoPro's data platform
Sf big analytics_2018_04_18: Evolution of the GoPro's data platformSf big analytics_2018_04_18: Evolution of the GoPro's data platform
Sf big analytics_2018_04_18: Evolution of the GoPro's data platform
 

More from Dan English

Power BI: Dashboard in an Hour Walk-Through
Power BI: Dashboard in an Hour Walk-ThroughPower BI: Dashboard in an Hour Walk-Through
Power BI: Dashboard in an Hour Walk-ThroughDan English
 
Getting the new year started with Microsoft Power BI!
Getting the new year started with Microsoft Power BI!Getting the new year started with Microsoft Power BI!
Getting the new year started with Microsoft Power BI!Dan English
 
Self-Service BI with SQL Server 2012
Self-Service BI with SQL Server 2012Self-Service BI with SQL Server 2012
Self-Service BI with SQL Server 2012Dan English
 
Inside PerformancePoint
Inside PerformancePointInside PerformancePoint
Inside PerformancePointDan English
 
Intro to BI Semantic Model & Self-Service Reporting with Power View
Intro to BI Semantic Model & Self-Service Reporting with Power ViewIntro to BI Semantic Model & Self-Service Reporting with Power View
Intro to BI Semantic Model & Self-Service Reporting with Power ViewDan English
 
What's New with BI in SQL Server Denali (SQL11)
What's New with BI in SQL Server Denali (SQL11)What's New with BI in SQL Server Denali (SQL11)
What's New with BI in SQL Server Denali (SQL11)Dan English
 
Leveraging PowerPivot
Leveraging PowerPivotLeveraging PowerPivot
Leveraging PowerPivotDan English
 
Leveraging Microsoft BI Toolset to Monitor Performance
Leveraging Microsoft BI Toolset to Monitor PerformanceLeveraging Microsoft BI Toolset to Monitor Performance
Leveraging Microsoft BI Toolset to Monitor PerformanceDan English
 
Leveraging MS BI Toolset to Monitor Performance - TechFuse 2010
Leveraging MS BI Toolset to Monitor Performance - TechFuse 2010Leveraging MS BI Toolset to Monitor Performance - TechFuse 2010
Leveraging MS BI Toolset to Monitor Performance - TechFuse 2010Dan English
 
PASSMN Summit 2009 Upgrade to SSAS 2008
PASSMN Summit 2009 Upgrade to SSAS 2008PASSMN Summit 2009 Upgrade to SSAS 2008
PASSMN Summit 2009 Upgrade to SSAS 2008Dan English
 
SQL Server Integration Services – Enterprise Manageability
SQL Server Integration Services – Enterprise ManageabilitySQL Server Integration Services – Enterprise Manageability
SQL Server Integration Services – Enterprise ManageabilityDan English
 
Spreadmart To Data Mart BISIG Presentation
Spreadmart To Data Mart BISIG PresentationSpreadmart To Data Mart BISIG Presentation
Spreadmart To Data Mart BISIG PresentationDan English
 
Driving BI with SQL Server 2008
Driving BI with SQL Server 2008Driving BI with SQL Server 2008
Driving BI with SQL Server 2008Dan English
 
Make Better Decisions With Your Data 20080916
Make Better Decisions With Your Data 20080916Make Better Decisions With Your Data 20080916
Make Better Decisions With Your Data 20080916Dan English
 
SQL Server 2008 New Features
SQL Server 2008 New FeaturesSQL Server 2008 New Features
SQL Server 2008 New FeaturesDan English
 

More from Dan English (15)

Power BI: Dashboard in an Hour Walk-Through
Power BI: Dashboard in an Hour Walk-ThroughPower BI: Dashboard in an Hour Walk-Through
Power BI: Dashboard in an Hour Walk-Through
 
Getting the new year started with Microsoft Power BI!
Getting the new year started with Microsoft Power BI!Getting the new year started with Microsoft Power BI!
Getting the new year started with Microsoft Power BI!
 
Self-Service BI with SQL Server 2012
Self-Service BI with SQL Server 2012Self-Service BI with SQL Server 2012
Self-Service BI with SQL Server 2012
 
Inside PerformancePoint
Inside PerformancePointInside PerformancePoint
Inside PerformancePoint
 
Intro to BI Semantic Model & Self-Service Reporting with Power View
Intro to BI Semantic Model & Self-Service Reporting with Power ViewIntro to BI Semantic Model & Self-Service Reporting with Power View
Intro to BI Semantic Model & Self-Service Reporting with Power View
 
What's New with BI in SQL Server Denali (SQL11)
What's New with BI in SQL Server Denali (SQL11)What's New with BI in SQL Server Denali (SQL11)
What's New with BI in SQL Server Denali (SQL11)
 
Leveraging PowerPivot
Leveraging PowerPivotLeveraging PowerPivot
Leveraging PowerPivot
 
Leveraging Microsoft BI Toolset to Monitor Performance
Leveraging Microsoft BI Toolset to Monitor PerformanceLeveraging Microsoft BI Toolset to Monitor Performance
Leveraging Microsoft BI Toolset to Monitor Performance
 
Leveraging MS BI Toolset to Monitor Performance - TechFuse 2010
Leveraging MS BI Toolset to Monitor Performance - TechFuse 2010Leveraging MS BI Toolset to Monitor Performance - TechFuse 2010
Leveraging MS BI Toolset to Monitor Performance - TechFuse 2010
 
PASSMN Summit 2009 Upgrade to SSAS 2008
PASSMN Summit 2009 Upgrade to SSAS 2008PASSMN Summit 2009 Upgrade to SSAS 2008
PASSMN Summit 2009 Upgrade to SSAS 2008
 
SQL Server Integration Services – Enterprise Manageability
SQL Server Integration Services – Enterprise ManageabilitySQL Server Integration Services – Enterprise Manageability
SQL Server Integration Services – Enterprise Manageability
 
Spreadmart To Data Mart BISIG Presentation
Spreadmart To Data Mart BISIG PresentationSpreadmart To Data Mart BISIG Presentation
Spreadmart To Data Mart BISIG Presentation
 
Driving BI with SQL Server 2008
Driving BI with SQL Server 2008Driving BI with SQL Server 2008
Driving BI with SQL Server 2008
 
Make Better Decisions With Your Data 20080916
Make Better Decisions With Your Data 20080916Make Better Decisions With Your Data 20080916
Make Better Decisions With Your Data 20080916
 
SQL Server 2008 New Features
SQL Server 2008 New FeaturesSQL Server 2008 New Features
SQL Server 2008 New Features
 

Recently uploaded

Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 

Recently uploaded (20)

Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 

Power BI / AAS Data Model Optimization 101 v2

  • 1. PASSMN – Data Saturday #13 – Oct 16, 2021 Power BI / AAS data model optimization 101 Dan English
  • 2. Speaker Background Dan English Cloud Solution Architect Microsoft http://denglishbi.wordpress.com @denglishbi • Published Author / Contributing Editor
  • 3. Agenda • Required Tools • Steps / Process • Model Review • Best Practices • Resources • Questions
  • 4. Required Tools • DAX Studio • Vertipaq Analyzer • Tabular Editor • Best Practice Analyzer • Performance Analyzer (Power BI Desktop)
  • 5. Initial Step – get metrics & review DAX Studio • Connect to data model • Export metrics (vpax file) Vertipaq Analyzer • Open vpax file • Review tables, columns, DAX expressions
  • 6. Key items for Review • Table sizes (typically target large ‘Fact’ tables) • Column sizes, cardinality, and data types • IsAvailableInMDX • Chris Webb's BI Blog: How The New IsAvailableInMDX Property For Analysis Services Tabular Can Reduce Memory Usage And Speed Up Processing • DAX Expressions • Calculated columns • DISTINCTCOUNT • Analyzing the performance of DISTINCTCOUNT in DAX - SQLBI • Basic math and division (use DIVIDE) • Multiple measure references in a measure (use variables) • Optimizing IF conditions by using variables - SQLBI • Avoid using FILTER as a filter argument in DAX - DAX | Microsoft Docs • Evaluate which columns are not referenced in DAX or used in relationships (in Fact table)
  • 7. Best Practices Star Schema design Only include what is needed for reporting / analysis Perform logic / calculations upstream to source as much as possible Only load granularity needed for reporting Watch out for precision and type of data Auto Date/Time (enabled by default in Power BI) Reduce / simplify reporting Naming convention and DAX model references
  • 8. Downloads • DAX Studio * • Vertipaq Analyzer • Tabular Editor * • Business Ops Installer (External Tools installer) • One Tool to Install them ALL - (powerbi.tips) * portable zip version available
  • 9. Resources • My CHECKLIST for troubleshooting Power BI Performance - YouTube • Understand star schema and the importance for Power BI - Power BI | Microsoft Docs • Data models within Azure Analysis Services and Power BI | Azure Blog and Updates | Microsoft Azure • Best Practice Analyzer for Tabular Editor Update 5/20 • best practices | Search Results | (desertislesql.com) (3 part series) • 10 Best practice tips to improve your Tabular Model performance | BI4ALL - Turning Data Into Insights • (11) Guy in a Cube - YouTube (best practice search) • Improve Power BI Performance by Optimizing DAX | MAQ Software