Optimization Flashcards
What does optimization refer to in regards to Power BI?
Optimizing performance of
1. Data models
2. Reports
3. Dashboards
By
1. Modifying
2. Tuning
3. Streamlining
What might performance issues look like?
- Slow Loading Time
- Slow Dashboard Interaction Response
- Timeouts and Errors
What are some reasons for poor performance?
- Inefficient Data Models
- Complex DAX Calculations
- Inappropriate Visuals
Benefits of optimization
- Enhanced speed and efficiency
- Faster downloading and processing of large data sets
- Timely Informed Decision Making
- Improved user experience
- Timely report generation
What is optimization?
- Transforming
- Cleaning
- Organizing
For best performance
Just writing a really long sentence to left justify
Optimization Techniques
- Sorting
- Filtering
- Indexing
- Data Transformation
What can you do to reduce the size of the model?
- Correct Column Data Types
- Delete Unnecessary Rows and Columns
- Avoid Repeated Values
- Replace Numeric Columns with Measures
- Reduce Cardinalities
- Analyze Model Metadata
- Summarize data where possible
What type of relationship can cause performance issues?
Many-to-Many
What factors contribute to performance issues when working with Many-to-Many relationships?
- Bi-Directional Filters
- Data Model Complexity
- Large Volume of Data
What is high cardinality?
A column with a high number of distinct values
How does high cardinality impact performance?
It slows data models
Can Power BI handle high volumes of data?
Yes
Power BI can handle high volumes of data but sometimes high cardinality will cause performance issues
How can you reduce high cardinality?
- Reduce by summarizing the data during the transformation steps
-
Change decimal columns to fixed decimals. Precision values increase cardinality
3.
How can you summarize data in Power Query?
- Select the column you want to group by
- Transform Tab->Group By
How do you change a column to a Fixed Decimal Number in Power Query?
Transform Tab->Data Type->Fixed Decimal Number
What is metadata?
Data about data
For example, table names, column names, relationship, data types, etc.
How do you check column quality?
Transform Data->View Tab->Column Quality
What does enabling column quality do?
At the top of each column you will see the percentage of values that are
- Valid
- Error
- Empty
What does a percentage of valid less than 100% indicate?
You need to attend to empty cells or errors
How do you check column distribution?
Transform Data->View Tab->Column Distribution
What does column distribution show you?
A bar chart appears at the top of each column. It indicates the frequency of values within your column.
How do you check the column profile?
Transform Data->View Tab->Column Profile