Prep the Data Flashcards
Extract, profile, clean, transform, and load data from different sources (52 cards)
What is power query?
It is the query editor in power bi where we shape and transform data
What is the underlying code for the query editor?
M code
In power query what does the column profiling default to be based on?
Top 1000 rows
How does power bi store data
in a structured column
What are the 3 types of structured columns?
List
Record
Table
What is a list structured column?
a column where each row holds a list of values like [1,2,3] it is the simplest structured column
What is a record structured column?
a column where each row holds a dictionary of key-value pairs like [FirstName = Adam, LastName = Smith, HireDate=1/1/21]
What is a table structured column?
a column where each row holds a table of data, normally the current row has a one to many relationship with another table
What are the steps for connecting to a JSON file?
- Connect to source JSON file
- Convert the the source to a table
- Use double arrow to expand the attributes into the columns
- Convert the data types
What are the steps for connecting to SQL Server Database?
- Enter Server Name
- Optionally enter database name
- Choose between Import and DirectQuery storage mode
- Optionlly open advanced options and fill out command time out and sql statement (sql statement requires database)
What are the steps to connecting to an Excel workbook locally?
Get data > from excel workbook > choose file > select sheet or table
What are the steps to connect to a folder
Get Data > from folder > choose folder > transform data > combine files
What is a PBIDS file?
Power BI Data Source file
Power BI Data Source Files
they are files that store data source connection settings making data sources easier to share with others
How many data sources can a Power BI Data Source file support?
They only support a single data source connection per file. So think of connecting to a single db or a single excel work book
What happens when you open a power bi data source file for the first time?
You will be prompted for authentication credentials since the file does not store that information
How do you create a PBIDS file?
File
Options and Settings
Data Source Settings
Choose your data source
Click Export PBIDS
How do you connect to a data source using a PBIDS file?
Just click the file and open
What is the dataverse?
a cloud data storage platform for the Microsoft power platform with both predefined tables for typical use cases for an organization and custom tables that you can create and populate
How do you connect to a dataverse instance?
Click Data verse icon
Type the environment domain
Choose the connectivity mode
What is SSAS?
Sql Server Analysis Services, it holds multiple tabular models
What are the two methods for connecting to SSAS models?
Import and Live Connection
If you have a live connection what is needed to publish to the power bi service?
a data gateway
What is SharePoint?
An internal website to store and organize information