Module 2 PDF
Module 2 PDF
Dashboard Creation: Creating a basic dashboard involves data preparation, report building
with visualizations, pinning visuals to a dashboard, and sharing the dashboard with
collaborators.
Business Value: Organizations like the Miami Heat basketball team have used Power BI to boost
sales, reduce operational costs, and make accurate attendance predictions, resulting in
improved business outcomes.
16
POWER BI
6 In Power BI, what is the difference between shared and dedicated capacities?
a) Shared capacities are free, and dedicated capacities require a subscription.
b) Shared capacities are fully committed to a single customer, and dedicated
capacities are shared.
c) Shared capacities are shared with other customers, while dedicated capacities
are fully committed to a single customer.
d) Shared capacities are used for workspaces, and dedicated capacities are used for
datasets.
9 Which view in Power BI Desktop allows you to add visualizations and arrange them for
reports?
a) Data view
b) Report view
c) Model view
d) Query view
11 Which Power BI component is used to connect to and import data from various sources?
a) Power BI Desktop
b) Power BI Service
c) Power BI Mobile
d) Power Query Editor
12 How can you share a Power BI report with a colleague who has a Power BI account?
a) By sending them an email attachment
b) By exporting the report to PDF
c) By sharing a link to the report in Power BI Service
d) By saving the report as an Excel file
17
POWER BI
14 What is the main difference between Reading view and Editing view in Power BI reports?
a) Reading view allows only data viewing, while Editing view allows data editing.
b) Reading view displays visuals, while Editing view is for data transformation.
c) Reading view is for mobile devices, while Editing view is for desktop.
d) Reading view is for creating reports, while Editing view is for consuming reports.
Answers
1 b)
2 b)
3 b)
4 c)
5 d)
6 c)
7 c)
8 d)
9 b)
10 b)
11 a)
12 c)
13 d)
14 a)
15 b)
18
POWER BI
2 Which tool is primarily used to create datasets and reports in Power BI?
a) Power BI Mobile app
b) Excel
c) Power BI Desktop
d) Power BI Service
31
POWER BI
9 What is the common flow of work in Power BI, starting with Power BI Desktop?
a) Create a dataset, then view dashboards
b) Create a dataset, publish to Power BI Service, and share dashboards
c) View dashboards, then create a dataset
d) Share dashboards, then create a dataset
32
POWER BI
15 Which Power BI element is a selected group of visuals that provide quick insights into data?
a) Dataset
b) Report
c) Dashboard
d) Tile
Answers
1 c) Desktop, Web, and Mobile
2 c) Power BI Desktop
3 c) To view and interact with shared dashboards and reports on mobile devices
4 c) A visual representation of data, like a chart or map
5 c) A collection of data used to create visualizations
6 b) To organize visualizations onto one or more pages
7 c) A selected group of visuals that provide quick insights
8 b) The rectangular boxes that hold individual visuals on a dashboard
9 b) Create a dataset, publish to Power BI Service, and share dashboards
10 b) To group related reports and dashboards for distribution
11 c) By scheduling up to eight refreshes per day
12 c) Power BI Desktop
13 b) To organize visualizations
14 c) To view and interact with shared dashboards and reports on mobile devices
15 c) Dashboard
1 What is Power BI, and how does it help turn disparate data sources into actionable insights?
2 What are the three main elements that make up Microsoft Power BI, and how do they work
together?
3 How might your usage of Power BI differ from that of a colleague in a different role?
4 What is the common flow of work in Power BI, from data ingestion to consumption?
5 What are visualizations in Power BI, and why are they important in data analysis?
6 How do reports differ from dashboards in Power BI, and what role do they play in presenting
data?
7 What is the significance of tiles in Power BI dashboards, and how can they be customized?
33
POWER BI
SUMMARY
• Power BI Desktop Overview: Users learn about Power BI Desktop's capabilities and its
integration with Power BI Service for report sharing.
• Exploring Power BI Desktop: This section provides a hands-on exploration of the user
interface, creating visuals, publishing reports, and pinning visuals to dashboards.
• Getting Data from Excel: Users are guided on importing Excel data into Power BI for report
creation.
• Combining Data: Users learn to merge data from multiple sources using Power Query
Editor.
52
POWER BI
7 How can you publish a report to the Power BI service from Power BI Desktop?
a) Clicking the Publish button on the Home ribbon
b) Clicking the Transform Data button
c) Clicking the Create Report button
d) Clicking the Export as PDF button
8 What does the "Pin a visual to a dashboard" feature in Power BI service allow you to do?
a) Share the visual on social media
b) Print the visual
c) Add the visual to a dashboard
d) Export the visual as an image
9 How can you connect to different types of data sources in Power BI Desktop?
a) By typing the data source URL
b) By selecting "Transform Data" from the File menu
c) By clicking "Get Data" on the Home tab
d) By using the Visualizations pane
10 Which window in Power BI Desktop displays the tables or entities of your data source and
allows you to preview their contents?
a) Query Settings
b) Visualizations pane
c) Navigator
d) Report view canvas
53
POWER BI
11 What does the "Transform Data" option in Power BI Desktop allow you to do before
importing data?
a) Create reports
b) Filter data
c) Rename columns
d) Apply filters
13 Which tool in Power Query Editor allows you to write custom query expressions?
a) Power Pivot
b) Power Query
c) M Language Editor
d) Add Custom Column
15 How can you combine data from multiple sources into a single report in Power BI Desktop?
a) By using Power Pivot
b) By importing data separately into each visual
c) By using the Append Queries tool in Query Editor
d) By creating a new Power BI Desktop file for each source
Answers
1 B) Gathering, transforming, and visualizing data
2 C) Power BI Desktop
3 A) Microsoft Store on the Windows tab
4 B) By signing in with your email address on app.powerbi.com
5 B) Dragging a field onto the Report view canvas
6 C) To change visualizations, customize colors, and apply filters
7 A) Clicking the Publish button on the Home ribbon
8 C) Add the visual to a dashboard
9 C) By clicking "Get Data" on the Home tab
10 C) Navigator
54
POWER BI
11 B) Filter data
12 D) By using the "Get Data" option in Power BI Desktop
13 D) Add Custom Column
14 C) To swap rows into columns
15 C) By using the Append Queries tool in Query Editor
1 What is the primary purpose of Power BI Desktop, and how does it integrate with the Power
BI Service?
2 Can you name at least three different types of data sources that Power BI Desktop can
connect to?
3 In Power BI Desktop, how do you create a new visual on the report canvas? Provide a
step-by-step process.
4 What is the role of Power Query Editor in data analysis within Power BI Desktop, and why is
it important?
5 Explain the concept of "cleaning data" in the context of Power BI, and provide an example of
a data cleaning operation you might perform.
6 How can you combine data from multiple sources in Power BI Desktop, and why might you
need to do this in a real-world data analysis scenario?
7 What are the key advantages of using Power BI Desktop over traditional spreadsheet
software like Microsoft Excel for data analysis and visualization?
8 Describe the steps involved in publishing a report from Power BI Desktop to the Power BI
Service.
9 How can you transform data using the Power Query Editor, and why is data transformation
important for effective analysis?
10 When should you consider using the "Transpose" function in Power Query Editor, and what
benefits does it offer in data preparation?
55
POWER BI
SUMMARY
• Organizations frequently store data in flat files, including CSV, TXT, and Excel files. Power BI
can import and analyze data from these files efficiently.
• Dynamic reports empower users to customize data views by applying filters and
selecting specific parameters, reducing the need for multiple static reports.
• Some organizations use NoSQL databases, which offer flexibility but differ from traditional
relational databases. Power BI can retrieve data from these sources.
• Power BI can consolidate data from various online services like SharePoint, Google
Analytics, and Dynamics 365 to generate comprehensive insights and reports.
• Power BI provides options for importing data into datasets or using DirectQuery to query
data directly from the source, ensuring the most up-to-date information is accessible.
• Azure Analysis Services offers cloud-based data modeling capabilities, allowing users to
combine data from multiple sources and perform ad hoc analysis with Power BI.
• Power BI may encounter data import errors due to various factors, including data source
discrepancies and hardware issues. The document highlights common error messages
and offers guidance on handling them.
1 What is the first step in creating reports in Power BI when dealing with data from various
sources?
a) Building reports
b) Extracting data
c) Cleaning data
d) Publishing reports
92
POWER BI
3 What is the benefit of using cloud options like OneDrive or SharePoint for data storage in
Power BI?
a) Enhanced data security
b) Real-time data synchronization
c) Cost-effective data storage
d) Improved data cleaning capabilities
5 Which of the following options is NOT a valid sign-in option when connecting to a relational
database?
a) Windows
b) Database
c) Gmail
d) Microsoft account
6 What is the best practice when writing an SQL query to import data into Power BI?
a) Use the wildcard character (*) in the SELECT statement
b) Avoid using the WHERE clause
c) Include unnecessary columns in the query
d) Specify only the required columns and rows
8 How can you create dynamic reports for multiple values using parameters in Power BI?
a) By using the wildcard character (*) in SQL queries
b) By disabling the "Enable load" option for Query1
c) By connecting to an Excel worksheet with a table of values
d) By using the "Transform Data" feature
93
POWER BI
10 How should you handle JSON data from a NoSQL database when importing it into Power BI?
a) Import it directly without any transformation
b) Normalize the data before loading it into Power BI
c) Convert it into a CSV file format
d) Use the "DirectQuery" option to connect to it
12 In the provided scenario, why does Tailwind Traders want to establish a connection to
SharePoint within Power BI?
a) To import sales data into SharePoint
b) To create a direct connection to sales data
c) To access Power Query Editor
d) To use Microsoft account credentials
13 Which category in Power BI Desktop should you select when connecting to data in an
application like SharePoint Online List?
a) Excel
b) Online Services
c) Database
d) Web
14 What should you enter when prompted for your SharePoint URL in Power BI when
connecting to an online list?
a) Full file path
b) Site URL only
c) Username and password
d) API key
94
POWER BI
15 Which storage mode allows you to query data in the data source directly without importing
a copy into Power BI?
a) Import
b) Dual (Composite)
c) DirectQuery
d) Incremental
17 Which tool is used to address performance issues when running Power BI reports?
a) Performance Analyzer
b) Query Diagnostics
c) Power Query Editor
d) Data Transformer
18 What is the process by which Power Query Editor optimizes performance by tracking
transformations as native queries?
a) Query Tracking
b) Data Optimization
c) Query Folding
d) Transformation Monitoring
19 What should you do if you encounter a "Query timeout expired" error in Power BI?
a) Reduce the number of tables
b) Increase data complexity
c) Use DirectQuery exclusively
d) Avoid using query folding
20 How can you resolve the "We couldn't find any data formatted as a table" error when
importing data from Excel into Power BI?
a) Highlight the data and press Ctrl-T
b) Convert the data to JSON format
c) Export data to CSV format
d) Use Power Query Editor
95
POWER BI
Answers
1 b. Extracting data
2 b. CSV
3 b. Real-time data synchronization
4 a. Use the "Get data" feature and select the appropriate database option
5 c. Gmail
6 d. Specify only the required columns and rows
7 c. To allow users to filter data based on their preferences
8 c. By connecting to an Excel worksheet with a table of values
9 b. NoSQL database
10 b. Normalize the data before loading it into Power BI
11 C) To produce meaningful insights and reports
12 B) To create a direct connection to sales data
13 B) Online Services
14 B) Site URL only
15 C) DirectQuery
16 C) Always viewing the most recent data
17 A) Performance Analyzer
18 C) Query Folding
19 A) Reduce the number of tables
20 A) Highlight the data and press Ctrl-T
96
POWER BI
SUMMARY
• Power Query Editor allows you to transform imported data by renaming columns,
changing data types, removing unnecessary rows, and more. Data should be shaped to
meet specific needs and report requirements.
• When importing data from multiple sources, you can use Power Query Editor to change
table and column names for consistency and user-friendliness. This step simplifies the
data structure.
• It's important to review and correct data types, especially when dealing with flat files
where manual entry errors may occur. Incorrect data types can lead to performance
issues.
• Combining queries allows you to merge or append tables when dealing with complex
data models, similar roles, or when you want to use columns from different tables in a
custom column.
• Profiling data involves studying data nuances, identifying anomalies, and examining
data statistics to shape and organize it for easier interaction and report development.
• Power Query steps are created in the M language, even if generated through the
graphical interface. The Advanced Editor allows you to read and modify M code,
providing customization options for advanced users, although it's not always necessary.
1 What is one of the challenges that can make imported data unprepared for analysis in
Power BI?
a) Inconsistent column headers
b) Excessive data volume
c) Lack of data visualization
d) Inaccurate data source
124
POWER BI
3 How can you promote the first row of data as column headers in Power Query Editor?
a) Select the "Use First Row as Headers" option on the Home tab.
b) Manually type the headers in the Query Settings pane.
c) Right-click on the header row and choose "Promote Headers."
d) It is not possible to promote headers in Power Query Editor.
8 When should you use the Pivot Column feature in Power Query?
a) To add new columns to the dataset
b) To summarize data by aggregating values
c) To remove duplicate rows
d) To change column data types
9 Where can you find a record of all the steps taken to shape your data in Power Query
Editor?
a) In the Power Query Editor ribbon
b) In the Query Settings pane
c) In the Transform tab
d) In the Queries pane
125
POWER BI
11 How can you replace values in a selected column using Power Query Editor?
a) Right-click on the values and select "Replace."
b) Select "Replace Values" on the Home tab.
c) Use the "Find and Replace" tool in Excel.
d) It is not possible to replace values in Power Query Editor.
13 How can you remove duplicate values from a column in Power Query Editor?
a) Right-click on the duplicates and select "Delete."
b) Use the "Remove Duplicates" feature on the Transform tab.
c) Manually edit the column in the source file.
d) It is not possible to remove duplicates in Power Query Editor.
14 What is a best practice for naming tables, columns, and values in Power BI?
a) Use excessively short abbreviations
b) Avoid using prefixes or suffixes
c) Use underscores instead of spaces
d) Use common terminology within your organization
15 What should you consider when replacing values in Power Query Editor?
a) Use acronyms to save space
b) Ensure values are as short as possible
c) Think about how values will appear in reports
d) Replace values in the source data file
126
POWER BI
17 When should you change the data type of a column in Power Query Editor?
a) After loading the data into a Power BI data model
b) Before evaluating the column data types
c) In the Power BI Desktop Report view
d) After creating a calculated measure
19 How can you identify data anomalies and statistics in Power Query Editor?
a) By using the Query Dependencies feature
b) By selecting the Data Profiling option
c) By examining the Model tab in Power BI Desktop
d) By modifying M code in the Advanced Editor
Answers
1 A) Inconsistent column headers
2 D) It produces more accurate results.
3 A) Select the "Use First Row as Headers" option on the Home tab.
4 C) To make column names more descriptive
5 B) Select "Remove Rows > Remove Top Rows" on the Home tab.
6 B) Before establishing relationships between tables
7 C) To simplify the data structure
8 B) To summarize data by aggregating values
9 B) In the Query Settings pane
10 C) To improve user-friendliness
11 B) Select "Replace Values" on the Home tab.
12 C) To maintain data consistency
13 B) Use the "Remove Duplicates" feature on the Transform tab.
14 D) Use common terminology within your organization
15 C) Think about how values will appear in reports
127
POWER BI
1 What is the primary purpose of using Power Query Editor in Power BI Desktop?
2 Why is it essential to shape data during the data preparation process for reports?
3 In what situations might you need to change column names in Power Query Editor?
4 How can incorrect data types in columns impact the performance of your Power BI model?
5 When is it advisable to evaluate and modify column data types in Power Query Editor?
6 What benefits does combining multiple tables into a single table offer in data modeling?
7 Why is data profiling important, and what kind of insights can it provide?
8 What role does the M code play in Power Query transformations, and when might you use
the Advanced Editor to modify it?
9 How does simplifying the data structure contribute to a more user-friendly data model in
Power BI?
128
POWER BI
• Matrices and tables are used to display numerical data and can be customized to
show totals and sort data.
• Scatter, waterfall, and funnel charts are effective for comparing and visualizing data
with different measures and scales.
• Modifying colors in charts and visuals is possible through various formatting options,
including conditional formatting.
• Page layout and formatting options include adjusting page size, orientation, and
adding static elements like text boxes, images, and shapes.
• Managing element overlap and z-order helps organize visuals on report pages
effectively.
• You can also duplicate report pages for consistency and efficiency in report
creation.
2 Which type of chart is suitable for comparing two or more different values in Power BI?
a) Scatter chart
b) Funnel chart
c) Bubble chart
d) Waterfall chart
148
POWER BI
4 What does the Page View menu in Power BI allow you to do?
a) Change the data source for a report
b) Change the page layout and formatting
c) Create new visuals
d) Add static elements to a report
5 Which type of chart is used to visualize changes in a specific value over time in Power BI?
a) Funnel chart
b) Scatter chart
c) Waterfall chart
d) Bubble chart
7 How can you change the colors of elements in a visual in Power BI?
a) By selecting the Default color option in the Visualizations pane
b) By using the Bring forward and Send backward buttons
c) By changing the report page size
d) By dragging and dropping fields onto the canvas
9 Which type of visualization allows report users to segment data by a specific value?
a) Bubble chart
b) Funnel chart
c) Slicer
d) Scatter chart
149
POWER BI
12 Which type of map visualization in Power BI shows the outline of a geographic area?
a) Bubble map
b) Shape map
c) Heat map
d) Scatter map
13 What are some examples of cosmetic changes you can make to a visual in Power BI?
a) Adding slicers and filters
b) Changing the page layout
c) Adjusting the data source
d) Modifying background, alignment, and data colors
Answers
1 b. To enhance report-creating knowledge
2 c. Bubble chart
3 b. Select the Slicer button in the Visualizations pane.
4 b. Change the page layout and formatting
5 c. Waterfall chart
6 b. To filter and segment data in a report
7 a. By selecting the Default color option in the Visualizations pane
8 b. To visualize multiple measures with different scales in a single chart
9 c. Slicer
10 b. The order of layers in a report, determining how elements overlap
150
POWER BI
1 What is the significance of visuals in Power BI, and how do they enhance data
presentation?
2 Can you name some common types of visuals available in Power BI for data
representation?
3 What is the purpose of the initial part of the module, which covers basic visualizations like
bar charts and pie charts?
4 How can you create a new visualization in Power BI Desktop, and what are the two primary
methods mentioned in the content?
5 Explain how you can customize visuals in Power BI, including resizing and changing types.
6 What are slicers in Power BI, and how do they contribute to the effectiveness of reports?
7 Describe the different types of map visualizations available in Power BI and their
applications.
8 What is the difference between matrices and tables in Power BI, and how can you
customize them for data presentation?
9 How can you create scatter, waterfall, and funnel charts in Power BI, and when would you
use each of these visualization types?
10 What options are available for modifying colors in charts and visuals in Power BI, and what
is conditional formatting used for?
151
POWER BI
2 Which of the following is NOT a category that you can customize when creating a custom
theme in Power BI?
a) Theme name and color settings
b) Text settings
c) Visual settings
d) Data extraction settings
4 Which file format is used to export and share custom themes in Power BI?
a) PDF
b) PNG
c) JSON
d) CSV
5 What does the "Personalize Visuals" feature in Power BI allow individual consumers to do?
a) Change the data source of a report
b) Customize the report layout
c) Make minor design changes to better understand the data
d) Share reports with others
6 Which of the following can consumers change when using the "Personalize Visuals" feature
in Power BI?
a) Report authorship
b) Visualization type
c) Report title
d) Data source connection
161
POWER BI
9 Which tool in Power BI Desktop measures how long report elements take to update and
refresh?
a) Data Extractor
b) Performance Analyzer
c) Report Designer
d) Theme Builder
11 In Power BI Desktop, how can you set the tab order for keyboard navigation?
a) From the Format menu
b) From the Home tab
c) From the View tab
d) From the Data tab
12 What is the purpose of setting tab order for visuals in Power BI?
a) To control the printing order of visuals
b) To determine which visual is displayed first in a report
c) To specify the order in which keyboard users navigate through visuals
d) To apply color formatting to visuals
13 Which scripting languages can be used to create custom visuals in Power BI?
a) JavaScript and HTML
b) Python and R
c) SQL and C#
d) Ruby and Perl
162
POWER BI
15 Which of the following is NOT a best practice for designing Power BI reports for
accessibility?
a) Providing captions and transcripts for videos and audio
b) Using colorblind-friendly color schemes
c) Including jargon and acronyms
d) Setting sort order for visuals
Answers
1 c) Ensuring a cohesive look and feel for reports
2 d) Data extraction settings
3 b) From the View tab
4 c) JSON
5 c) Make minor design changes to better understand the data
6 b) Visualization type
7 c) From the Options menu, select "Personalize visuals"
8 c) Limit visuals per page
9 b) Performance Analyzer
10 a) Adding alternative text to images and visuals
11 c) From the View tab
12 c) To specify the order in which keyboard users navigate through visuals
13 b) Python and R
14 c) To schedule automatic updates of report data
15 c) Including jargon and acronyms
163
POWER BI
2 Which Microsoft technology is integrated into Power BI Desktop for data transformation?
a) Microsoft Word
b) Microsoft Power Query for Excel
c) Microsoft PowerPoint
d) Microsoft Access
3 How can you easily share Power BI Desktop reports with others?
a) Send them as email attachments
b) Upload them to the Power BI service
c) Share them on social media
d) Print them as PDFs
4 Which of the following is NOT one of the primary views in Power BI Desktop?
a) Report view
b) Data view
c) Query view
d) Model view
6 Which tab in Power Query Editor allows you to perform common data transformation
tasks?
a) Home
b) Transform
c) View
d) Tools
179
POWER BI
7 What is the tool in Power BI Desktop used to view and edit the code generated for each step
in data transformation?
a) Code Editor
b) Power Query Editor
c) Advanced Analyzer
d) Query Inspector
8 How can you save your work in Power BI Desktop once you've finished shaping your data?
a) By selecting "Exit"
b) By clicking "Save As"
c) By pressing Ctrl+S
d) By choosing "Close & Apply"
11 Which view in Power BI Desktop allows users to create compelling visualizations for reports?
a) Data view
b) Model view
c) Report view
d) Query view
12 In Power BI Desktop, what does the Transform tab offer access to?
a) Data modeling
b) Data transformation tasks
c) Visualizations
d) Report sharing
13 Which pane in Power BI Desktop displays the number of active queries and their names?
a) Left (Queries) pane
b) Center (Data) pane
c) Right (Query Settings) pane
d) Bottom (Advanced Editor) pane
180
POWER BI
14 What happens when you select a right-click menu item in Power BI Desktop's Query
Settings pane?
a) It changes the underlying data.
b) It saves the step as part of the query.
c) It deletes the entire query.
d) It closes Power BI Desktop.
15 Which tab in Power Query Editor lets you see and edit the code generated for each step in
data transformation?
a) Code View
b) Query Editor
c) Advanced Editor
d) Script Editor
Answers
1 B. Data analysis and reporting
2 B. Microsoft Power Query for Excel
3 B. Upload them to the Power BI service
4 C. Query view
5 B. Data modeling and relationships management
6 B. Transform
7 B. Power Query Editor
8 D. By choosing "Close & Apply"
9 C. .pbix
10 C. Connecting to data
11 C. Report view
12 B. Data transformation tasks
13 A. Left (Queries) pane
14 B. It saves the step as part of the query.
15 C. Advanced Editor
181
POWER BI
1 What is the primary purpose of combining multiple files with the same schema in Power BI
Desktop?
a) To reduce file storage space
b) To improve data visualization
c) To create a single logical table
d) To generate data backups
2 How can you access the Combine Files feature in Power Query Editor?
a) By clicking "Save As"
b) By selecting "Home > Combine Files"
c) By using the "Print" option
d) By clicking "Refresh All"
3 In the Combine Files feature, what does the "Content" column represent?
a) File names
b) File size
c) File content type
d) File date of creation
4 What is the purpose of the exemplar query in the Combine Files transformation?
a) To delete unwanted files
b) To select specific files to combine
c) To perform data extraction steps in a single file
d) To apply advanced transformations
5 Which query type is linked to the exemplar query in the Combine Files transformation?
a) Function query
b) Subquery
c) Conditional query
d) Aggregate query
6 When can you easily combine all files within a folder using the Combine Files feature in
Power BI Desktop?
a) When files have different structures
b) When files have different content types
c) When files share the same file type and structure
d) When files have different file names
189
POWER BI
7 What does the Folder connector in Power Query Desktop allow you to do?
a) Create new folders
b) Delete folders
c) Connect to a folder and access its files
d) Rename folders
8 In Power Query Online, what is the purpose of selecting an on-premises data gateway
when connecting to a folder?
a) To download additional files
b) To enable cloud storage
c) To secure the folder connection
d) To access online folders
9 What should you ensure when using the folder connector for combining files to avoid
issues?
a) Consistent file formats and structures
b) Varying file content types
c) Different file names
d) Complex folder hierarchies
10 What action should you take if you need to exclude specific files when using the folder
connector for combining?
a) Delete the files physically
b) Use the "Transform data" option
c) Rename the files
d) Change the file format
11 What is the function of the Combine Files icon next to the "Content" column in Power Query
Editor?
a) To delete files
b) To add new files
c) To initiate file combination
d) To change file formats
12 When combining files in Power Query Editor, what is the purpose of the linked exemplar and
function queries?
a) To merge queries
b) To create a backup of the data
c) To apply advanced transformations
d) To perform data extraction and ensure changes propagate
190
POWER BI
13 In Power Query Desktop, what is the outcome of selecting "Combine & Load" when
connecting to a folder?
a) The files are combined, but not loaded into the Power Query Editor
b) The files are combined and loaded directly into the app
c) The files are loaded as-is without combining
d) The files are deleted
14 What is the primary advantage of connecting to a folder using the Folder connector in
Power Query Desktop?
a) Faster data extraction
b) Greater data security
c) Simplified file management
d) Access to cloud-based files
15 When should you use the "Transform data" option instead of "Combine" in the folder
connector to ensure specific files are excluded?
a) When you want to delete the files
b) When you need to perform advanced transformations
c) When you want to load the files directly into the app
d) When you want to filter and exclude files before combining
Answers
1 C) To create a single logical table
2 B) By selecting "Home > Combine Files"
3 C) File content type
4 C) To perform data extraction steps in a single file
5 A) Function query
6 C) When files share the same file type and structure
7 C) Connect to a folder and access its files
8 C) To secure the folder connection
9 A) Consistent file formats and structures
10 B) Use the "Transform data" option
11 C) To initiate file combination
12 D) To perform data extraction and ensure changes propagate
13 B) The files are combined and loaded directly into the app
14 C) Simplified file management
15 D) When you want to filter and exclude files before combining
191
POWER BI
1 What are the two primary types of grouping operations available in Power Query?
a) Row grouping and Page grouping
b) Column grouping and Row grouping
c) Filter grouping and Sort grouping
d) Aggregate grouping and Join grouping
3 Which option allows you to select multiple columns for grouping in Power Query?
a) Basic option
b) Standard option
c) Advanced option
d) Premium option
4 To summarize the total units sold at the country and sales channel level, which aggregate
function should you use in Power Query?
a) Average
b) Count
c) Sum
d) Maximum
5 In the context of Power Query, what do "row level operation" and "column level operation"
refer to?
a) The order in which operations are applied
b) The type of data source being used
c) Two categories of operations in Group by
d) The level of user access
6 How can you extract the top-performing product from grouped data in Power Query?
a) By using the Filter operation
b) By creating a custom column with the Table.Max function
c) By sorting the data by product name
d) By using the Remove Duplicates operation
204
POWER BI
8 What is the Jaccard similarity algorithm used for in Power Query's fuzzy grouping?
a) Measuring the similarity between pairs of text strings
b) Sorting data alphabetically
c) Calculating the sum of numeric values
d) Grouping data based on exact matches
11 What is the purpose of the "Group by combining text parts" option in fuzzy grouping?
a) It combines numeric values within a group.
b) It merges text parts to form new group names.
c) It separates grouped data into multiple tables.
d) It creates subgroups within a larger group.
12 What does the "Show similarity scores" option provide in fuzzy grouping results?
a) It displays the total number of groups created.
b) It shows a visual representation of the data.
c) It presents similarity scores between input values and computed representative values.
d) It calculates the average similarity score of the grouped data.
205
POWER BI
14 What is the minimum requirement for the column names in a transformation table used for
fuzzy grouping in Power Query?
a) They must be different from the original column names.
b) They must be in uppercase letters only.
c) They must match the original column names ("From" and "To").
d) They must be in reverse order compared to the original column names.
15 What happens when you enable the "Use fuzzy grouping" option in Power Query's Group by
dialog box?
a) It triggers an exact text matching operation.
b) It initiates a hierarchical clustering process.
c) It activates numeric calculations.
d) It enables case sensitivity.
Answers
1 b) Column grouping and Row grouping
2 d) In three places: Home tab, Transform tab, and shortcut menu
3 c) Advanced option
4 c) Sum
5 c) Two categories of operations in Group by
6 b) By creating a custom column with the Table.Max function
7 c) To handle approximate text matching
8 a) Measuring the similarity between pairs of text strings
9 b) How similar two values must be to be grouped together
10 c) Ignores letter case when comparing text strings
11 b) It merges text parts to form new group names.
12 c) It presents similarity scores between input values and computed representative values.
13 c) It maps values to replace text strings, helping to group similar entries.
14 c) They must match the original column names ("From" and "To").
15 b) It initiates a hierarchical clustering process.
206
POWER BI
2 Which connector is used to initiate the process of creating a custom function in Power
Query?
a) Web
b) Folder
c) Database
d) Excel
3 What should you rename a query created from the binary value of a file when setting up a
custom function?
a) Original Data
b) File Parameter
c) Transform Sample file
d) Sample File
4 What is the relationship between a query and a custom function in Power Query?
a) They are entirely independent of each other.
b) Queries can only reference built-in functions, not custom ones.
c) A query can be linked to a custom function, allowing updates to propagate.
d) A query can only reference custom functions, not built-in ones.
5 What are some common initial transformations applied to a sample query when creating
a custom function?
a) Sorting and filtering
b) Renaming columns
c) Interpreting binary data as CSV
d) Calculating averages
6 When updating a custom function, what happens if you manually modify the function's
code?
a) It results in an error.
b) It creates a new function.
c) It has no impact on the function.
d) It enhances the function's performance.
224
POWER BI
7 How can you resolve parameter errors when updating a custom function in Power Query?
a) Delete the custom function and recreate it.
b) Ignore the errors; they won't affect the function.
c) Manually enter missing parameter values.
d) Contact Microsoft Support for assistance.
9 In which scenario might creating a custom function for data transformation be useful?
a) When working with static data
b) When dealing with data stored in a single file
c) When frequently repeating a set of data transformations
d) When creating complex data visualizations
10 Which connector is used to access data from a web source in Power Query?
a) Folder
b) Web
c) Excel
d) Database
11 What does Power Query automatically add after promoting column headers in a data
transformation?
a) Sort step
b) Filter step
c) Changed Type step
d) Aggregate step
13 What happens when you select "Invoke Custom Function" in Power Query?
a) It creates a new custom function.
b) It invokes all available functions.
c) It adds a new column based on the custom function.
d) It deletes the current query.
225
POWER BI
14 What is the primary benefit of using a custom function to encapsulate data transformation
logic in Power Query?
a) It simplifies data extraction from web sources.
b) It makes query performance faster.
c) It allows for centralized and reusable transformations.
d) It enables real-time data updates.
15 Which query element displays a warning when its function requires multiple parameters?
a) The original query
b) The custom function
c) The applied steps
d) The parameter list
Answers
1 C) To encapsulate and reuse data transformation logic
2 B) Folder
3 D) Sample File
4 C) A query can be linked to a custom function, allowing updates to propagate.
5 C) Interpreting binary data as CSV
6 A) It results in an error.
7 C) Manually enter missing parameter values.
8 C) They allow you to apply the same transformations to multiple queries.
9 C) When frequently repeating a set of data transformations
10 B) Web
11 C) Changed Type step
12 C) It ensures parameter consistency.
13 C) It adds a new column based on the custom function.
14 C) It allows for centralized and reusable transformations.
15 B) The custom function
226
POWER BI
SUMMARY
Step-level errors, which can halt the entire query, are explored in detail. Components of
step-level errors, including error reason, message, and detail, are explained. Common
step-level errors like "Can't find the source" and "The column of the table wasn't found" are
highlighted, along with practical solutions for resolving them.
Cell-level errors, which do not prevent query execution but appear as error values, are covered
extensively. Strategies for removing, replacing, or keeping cell-level errors are discussed.
Common cell-level errors like data type conversion errors, operation errors, and nested value
errors are identified, and solutions for addressing them are provided.
3 In Power Query, what is the primary purpose of the "Go to error" button?
a) It provides suggestions for fixing errors.
b) It displays a detailed error report.
c) It navigates to the first step where the error occurred.
d) It removes errors from the query.
4 What is a common cause of the step-level error "Can't find the source" in Power Query?
a) Incorrect data transformation functions
b) Insufficient data source credentials
c) Merging data from multiple sources
d) Unsupported file formats
237
POWER BI
5 To address a step-level error related to a missing column, what should you consider doing?
a) Ignore the error and proceed with the query.
b) Rename the column in the query.
c) Modify the data source to include the missing column.
d) Delete the entire query and start over.
7 When encountering cell-level errors in Power Query, what is one approach to handle them?
a) Delete the entire column with errors.
b) Replace errors with a fixed value.
c) Ignore the errors and proceed with the query.
d) Convert errors into step-level errors.
8 What does the "Keep errors" option in Power Query allow you to do?
a) Automatically fix cell-level errors.
b) Retain rows with cell-level errors.
c) Delete all rows with errors.
d) Convert cell-level errors into step-level errors.
10 What is a possible solution for a data type conversion error in Power Query?
a) Modify the data source to include the missing column.
b) Delete the entire query.
c) Convert the column to a different data type.
d) Ignore the error and proceed with the query.
238
POWER BI
13 Which of the following solutions is recommended for resolving nested value errors in Power
Query?
a) Remove the column that contains the error.
b) Flatten the tables before merging.
c) Convert all columns to the Any data type.
d) Ignore the error and continue with the query.
14 What is the primary goal when handling step-level errors in Power Query?
a) Remove all errors to ensure query execution.
b) Understand the error reasons, messages, and details to fix issues.
c) Replace errors with the "Error" value to maintain data integrity.
d) Convert step-level errors into cell-level errors.
15 In Power Query, what is the recommended action when encountering a step-level error
related to data source access?
a) Delete the entire query.
b) Modify the error message.
c) Check data source credentials and accessibility.
d) Convert the error into a cell-level error.
Answers
1 B) Step-level errors and cell-level errors
2 C) Error reason, error message, error detail
3 C) It navigates to the first step where the error occurred.
4 B) Insufficient data source credentials
5 C) Modify the data source to include the missing column.
6 B) To display error values in cells
7 B) Replace errors with a fixed value.
8 B) Retain rows with cell-level errors.
9 C) Data type conversion error
10 C) Convert the column to a different data type.
11 C) When applying an unsupported operation, like multiplying text by a number
12 B) Mismatched data privacy levels
13 B) Flatten the tables before merging.
14 B) Understand the error reasons, messages, and details to fix issues.
15 C) Check data source credentials and accessibility.
239
POWER BI
SUMMARY
• Enabling Data Profiling Tools: Learners will learn how to activate the data profiling
tools in both Power Query Desktop and Power Query Online through the View tab,
gaining access to powerful data analysis capabilities.
• Column Quality Analysis: Understand how to utilize the Column Quality feature to
categorize data into five categories (Valid, Error, Empty, Unknown, Unexpected Error).
Interpret visual cues and percentages for effective data quality assessment and
troubleshooting.
• Column Distribution Insights: Explore the Column Distribution tool, which provides
visuals illustrating the frequency and distribution of column values. Master the ability
to analyze data characteristics such as distinct counts and unique values while
applying various data analysis operations.
• Column Profiling: Attain a deep grasp of column data through the Column Profile
feature, which includes statistics and value distribution charts. Learn how to filter,
copy, and group data, enabling further in-depth data analysis and transformation
1 How can users enable data profiling tools in Power Query Editor?
a) Through the Data tab
b) Through the Edit tab
c) Through the View tab
d) Through the Home tab
2 What are the five categories used by the Column Quality feature to label data values?
a) Good, Bad, Empty, Unknown, Undecided
b) Valid, Invalid, Null, Unknown, Ambiguous
c) Valid, Error, Empty, Unknown, Unexpected Error
d) Correct, Incorrect, Missing, Unidentified, Abnormal
3 What is the main purpose of visual indicators and percentages when using the Column
Quality feature?
a) To add visual appeal to the data
b) To calculate statistical measures
c) To identify and address data quality issues
d) To create data charts
247
POWER BI
4 Which tool provides visuals depicting the frequency and distribution of column values?
a) Column Quality
b) Column Profiling
c) Data Distribution
d) Column Distribution
5 What type of data characteristics can users explore when working with the Column
Distribution tool?
a) Unique identifiers
b) Data types
c) Distinct counts and unique values
d) Data format errors
6 What does the Column Profile feature offer in addition to value distribution charts?
a) Data categorization
b) Statistical insights and value distribution
c) Data filtering options
d) Data transformation capabilities
7 How can users filter data when using the Column Profile feature?
a) By sorting values in ascending order
b) By selecting distinct values
c) By using the ellipsis button (...)
d) By interacting with the value distribution chart
8 Which option allows users to copy the data displayed in either the column statistics or
value distribution sections?
a) Right-clicking
b) Selecting the Filter option
c) Using the Group by feature
d) Selecting the ellipsis button (...)
9 What additional feature is available when users select the ellipsis button (...) in the value
distribution chart besides copying data?
a) Renaming the column
b) Grouping values
c) Deleting the column
d) Group by
248
POWER BI
10 Why might a user want to group data by value using the Group by feature in the Column
Profile tool?
a) To create new columns
b) To merge columns
c) To perform advanced calculations
d) To analyze data based on specific characteristics
11 In Power Query Editor, where can users find the option to enable data profiling tools?
a) Data tab
b) Edit tab
c) View tab
d) Transform tab
12 Which category of data values is indicated by dashed red lines in the Column Quality
feature?
a) Valid
b) Error
c) Empty
d) Unknown
13 What information does the Column Distribution tool display in descending order?
a) Values with the highest quality
b) Values with the lowest frequency
c) Values with the highest frequency
d) Values with the lowest quality
14 What action can users perform when they hover over the value distribution chart in the
Column Profile tool?
a) Delete values
b) Add new values
c) Get information about the data in the column
d) Create pivot tables
15 What does the ellipsis button (...) in the Column Profile tool allow users to do besides
copying data?
a) Export data to Excel
b) Perform advanced statistical analysis
c) Group data by value
d) Share data on social media
249
POWER BI
Answers
1 C) Through the View tab
2 C) Valid, Error, Empty, Unknown, Unexpected Error
3 C) To identify and address data quality issues
4 D) Column Distribution
5 C) Distinct counts and unique values
6 B) Statistical insights and value distribution
7 D) By interacting with the value distribution chart
8 D) Selecting the ellipsis button (...)
9 D) Group by
10 D) To analyze data based on specific characteristics
11 C) View tab
12 B) Error
13 C) Values with the highest frequency
14 C) Get information about the data in the column
15 C) Group data by value
250
POWER BI
1 What is the primary purpose of Microsoft Power Query's "get data" feature?
a) Data visualization
b) Data transformation and retrieval
c) Data encryption
d) Data compression
2 Which programming language is informally known as "M" in the context of Microsoft Power
Query?
a) Python
b) Java
c) R
d) M
3 In which Microsoft products can you find the integration of the Power Query formula
language (M)?
a) Word and PowerPoint
b) Excel, Power BI, Analysis Services, and Dataverse
c) Visual Studio
d) Windows Operating System
5 Which M language concept represents a set of name/value pairs and allows names to be
written without quotes?
a) Primitive values
b) Functions
c) Records
d) Lists
264
POWER BI
13 What does the M formula language aim to achieve for computer language theorists?
a) Pure functional programming
b) Object-oriented programming
c) Imperative programming
d) Procedural programming
265
POWER BI
15 What does the try expression convert errors and proper values into in M?
a) New expressions
b) Metadata records
c) Lazy evaluations
d) Record values indicating error handling
Answers
1 b) Data transformation and retrieval
2 d) M
3 b) Excel, Power BI, Analysis Services, and Dataverse
4 c) Valid texts
5 c) Records
6 b) Access metadata records for values
7 c) Numbers, text values, and records
8 d) Define auxiliary values for complex expressions
9 a) Eager evaluation
10 c) Errors are handled using the try expression
11 c) Conditional evaluation
12 d) Modularity (not yet leveraged by Power Query)
13 a) Pure functional programming
14 a) Metadata records
15 d) Record values indicating error handling
266
POWER BI
1 What is the primary purpose of the "Parameter Values" parameter in table functions?
a) Sorting data
b) Naming output columns
c) Filtering rows
d) Handling missing columns
2 In table functions, what are the various options for specifying the sort order in the
"Comparison Criteria"?
a) Numeric values, key selectors, comparer functions, and custom logic
b) Text values only
c) Date and time values only
d) Logical values only
3 How is the count of rows to be returned determined in table functions that use "Count or
Condition Criteria"?
a) It is determined randomly
b) It is specified as a condition
c) It is specified as a numeric value
d) It depends on the number of columns in the table
4 What does the "Handling of extra values" parameter in table functions indicate?
a) How to handle missing values
b) How to handle values that exceed a certain limit
c) How to handle extra values in a row
d) How to handle duplicate values
5 When and where is the "Missing Column Handling" parameter typically used in table
functions?
a) In row operations
b) In sorting operations
c) In column or transformation operations
d) In list functions only
6 What are the two options mapped by the "Sort Order" parameter in table functions?
a) Ascending and descending
b) Random and sequential
c) Increasing and decreasing
d) Odd and even
273
POWER BI
7 In the context of table functions, what are "Equation Criteria," and how can they be
specified?
a) Criteria for mathematical equations
b) Criteria for sorting tables
c) Criteria for filtering rows
d) Criteria for equality comparisons, specified using key selectors or comparer functions
8 Which of the following data types is NOT considered a comparable data type in ordering
functions for lists?
a) Number
b) Text
c) Logical
d) Currency
9 What is the purpose of the "Occurrence Specification" parameter in list functions, and what
are its possible values?
a) It specifies column names in lists (values, keys)
b) It determines the occurrence of specific values in lists
c) It sets the order of sorting in lists
d) It specifies how many occurrences to consider (First, Last, All)
10 How are replacement operations defined in list functions, and what should each item in the
replacement list contain?
a) Defined by specifying the old and new values; each item in the list contains two values
b) Defined by specifying the old and new columns; each item in the list contains column names
c) Defined by specifying numeric values; each item in the list contains a single number
d) Defined by specifying sorting criteria; each item in the list contains sorting rules
12 Which of the following is NOT a possible value for the "Handling of extra values" parameter
in table functions?
a) ExtraValues.List
b) ExtraValues.Error
c) ExtraValues.Skip
d) ExtraValues.Ignore
274
POWER BI
13 In list functions, what is the primary purpose of the "Sort Order" parameter?
a) To control the order of rows
b) To specify column names
c) To indicate how the results should be sorted
d) To filter rows based on conditions
14 What are the key factors that determine whether values are comparable in list functions?
a) Values must belong to the same datatype and cannot include null
b) Values must be numeric and not include null
c) Values must be sorted in ascending order
d) Values must include null to be comparable
15 In replacement operations within list functions, what does each item in the replacement list
contain?
a) A single value to be replaced
b) A key selector for sorting
c) Two items: the old value to be replaced and the new value to replace it
d) A condition to determine replacements
Answers
1 B. Naming output columns
2 A. Numeric values, key selectors, comparer functions, and custom logic
3 C. It is specified as a numeric value
4 C. How to handle extra values in a row
5 C. In column or transformation operations
6 A. Ascending and descending
7 D. Criteria for equality comparisons, specified using key selectors or comparer functions
8 D. Currency
9 D. It specifies how many occurrences to consider (First, Last, All)
10 A. Defined by specifying the old and new values; each item in the list contains two values
11 D. To define how values are compared and sorted
12 C. ExtraValues.Skip
13 C. To indicate how the results should be sorted
14 A. Values must belong to the same datatype and cannot include null
15 C. Two items: the old value to be replaced and the new value to replace it
275
POWER BI
SUMMARY
• Installation and Setup: Users can install Power BI Desktop from the Power BI service or
Microsoft Store. Once installed, it runs as an application with three main views:
Report, Data, and Model.
• Connecting to Data Sources: Users can connect to various data sources, such as
web data, by selecting "Get Data" and specifying the data source URL. Power Query
Editor allows for data transformation and refinement.
• Data Shaping with Power Query Editor: Power Query Editor helps users shape data by
renaming columns, changing data types, removing rows, and more. Applied steps
are recorded, ensuring data is consistently shaped when loaded.
• Combining Data Sources: Users can merge queries to combine data sources. This
can be done by selecting "Merge Queries" and defining matching columns. The
merged data can be expanded to include the desired columns.
• Saving and Applying Changes: Once data is shaped and merged, users can save
the Power BI Desktop file. The changes can be applied by selecting "Close & Apply" in
Power Query Editor.
2 Where are the steps for shaping data recorded in Power Query Editor?
a) In the original data source
b) In the Applied Steps list
c) In the Transform ribbon
d) In the Navigator window
287
POWER BI
3 How can you change the data type of a column in Power Query Editor?
a) Right-click the column header and select "Delete"
b) Select the column and press Ctrl+C
c) Right-click the column header and select "Change Type"
d) Click the column header and press Enter
5 How can you remove a step from the shaping process in Power Query Editor?
a) Right-click the step and select "Delete"
b) Press Ctrl+Z
c) Use the Ctrl key to select the step and press Delete
d) Select the step and press Enter
6 What is the purpose of the "New Source > Web" option in Power Query Editor?
a) To delete web data
b) To add web data as a data source
c) To rename a web data source
d) To change the data type of web data
7 How do you remove the top three rows from a table in Power Query Editor?
a) Right-click the rows and select "Delete"
b) Use the Ctrl key to select the rows and press Delete
c) Select the rows and press Enter
d) Use the "Remove rows > Remove Top Rows" option
288
POWER BI
10 What are the two primary ways of combining queries in Power Query Editor?
a) Renaming and appending
b) Merging and deleting
c) Shaping and transforming
d) Merging and appending
11 When should you use the "Merge Queries" option in Power Query Editor?
a) To add rows to an existing query
b) To rename columns in a query
c) To combine data from different sources
d) To delete queries
13 How can you undo an unwanted expansion of a merged table in Power Query Editor?
a) Press Ctrl+Z
b) Delete the merged table
c) Remove the "Expand" step from the Applied Steps list
d) Close and reopen Power Query Editor
14 What is the final step to apply changes in Power Query Editor and load them into Power BI
Desktop?
a) Close and Apply
b) Delete and Discard
c) Save and Exit
d) Reset and Reopen
15 In Power BI Desktop, which of the following is NOT one of the three main views?
a) Report
b) Data
c) Model
d) Query
289
POWER BI
Answers
1 b) To adjust the data for presentation
2 b) In the Applied Steps list
3 c) Right-click the column header and select "Change Type"
4 c) To change data types
5 a) Right-click the step and select "Delete"
6 b) To add web data as a data source
7 d) Use the "Remove rows > Remove Top Rows" option
8 b) To exclude it from the list
9 c) Use the "Rename Columns" option in the Transform tab
10 d) Merging and appending
11 c) To combine data from different sources
12 c) To include selected columns from the merged query
13 c) Remove the "Expand" step from the Applied Steps list
14 a) Close and Apply
15 d) Query
1 What are the three main steps involved in working with Power BI Desktop?
2 What is the file format used to save work in Power BI Desktop, and how can it be shared?
3 Where can you download Power BI Desktop, and what are the alternative installation
options?
4 Describe the three main views available in Power BI Desktop and how to switch between
them.
5 How do you connect to data sources in Power BI Desktop, and what types of data sources
can you connect to?
6 What is Power Query Editor, and how does it help with data transformation?
7 Explain the concept of "shaping data" in Power BI Desktop and why it is important.
8 What are "applied steps" in Power Query Editor, and how do they impact data shaping?
9 What is the process of combining two queries in Power BI Desktop, and what are the
primary ways to do it?
10 How can you save your work in Power BI Desktop, and why is it important to do so?
290
POWER BI
1 What is one of the key features of publishing a Power BI report to the Power BI Service?
a) Creating static snapshots
b) Collaboration and sharing with other users
c) Exporting data to PowerPoint
d) Embedding in custom applications
2 Which output option in Power BI is best suited for creating static snapshots of your report
for sharing, printing, or archiving?
a) Export to PDF
b) Export to Excel
c) Publish to Web
d) Power BI Embedded
3 Which Power BI output option generates a PowerPoint presentation based on your report
visuals for presentations?
a) Publish to Power BI Service
b) Export to PowerPoint
c) Export Data
d) Email Subscription
5 Which Power BI output option should you use when you want to share your report publicly
or embed it in a website or blog?
a) Export to Excel
b) Publish to Web
c) Print Reports
d) File Distribution
6 What can users do with the "Publish to web" option in Power BI?
a) Collaborate with others
b) Share the .PBIX file
c) Embed the report in custom applications
d) Access the report publicly on the internet
295
POWER BI
7 Which Power BI output option is beneficial for users who prefer working with data in Excel or
need to perform additional analysis?
a) Export to PowerPoint
b) Export Data
c) Email Subscription
d) Power BI Embedded
8 What can you do with the email subscription feature in Power BI?
a) Export the report to PDF
b) Set up automatic data refresh schedules
c) Share the .PBIX file
d) Receive regular email updates with a link to the report
9 What is the primary purpose of the "Print Reports" option in Power BI?
a) Exporting the report to Excel
b) Creating physical copies for meetings or documentation
c) Sharing with the public
d) Embedding in custom applications
11 When might you share the .PBIX file of your Power BI report with others?
a) For setting up email subscriptions
b) To publish to the Power BI Service
c) To embed in a website
d) For collaborative work using Power BI Desktop
12 Which output option allows you to create interactive access to your Power BI report via a
web browser?
a) Export to PDF
b) Publish to Web
c) Export Data
d) File Distribution
13 What does Power BI's "Export to Excel" option allow you to do?
a) Share your report on the internet
b) Export underlying data from visuals to Excel
c) Create PowerPoint presentations
d) Set up email subscriptions
296
POWER BI
14 Which Power BI output option requires development and Azure resources for integration
into custom applications?
a) Publish to Power BI Service
b) Export to Excel
c) Power BI Embedded
d) Print Reports
15 What is the primary advantage of exporting a Power BI report to the Power BI Service?
a) Creating static snapshots
b) Collaborative access and sharing
c) Embedding in custom applications
d) Exporting data to Excel
Answers
1 B) Collaboration and sharing with other users
2 A) Export to PDF
3 B) Export to PowerPoint
4 C) Further analysis in Excel or CSV
5 B) Publish to Web
6 D) Access the report publicly on the internet
7 B) Export Data
8 D) Receive regular email updates with a link to the report
9 B) Creating physical copies for meetings or documentation
10 C) Embedding Power BI reports into custom applications
11 D) For collaborative work using Power BI Desktop
12 B) Publish to Web
13 B) Export underlying data from visuals to Excel
14 C) Power BI Embedded
15 B) Collaborative access and sharing
297
PYTHON
1 Which of the following is the correct way to concatenate two lists, list1 and list2, in Python?
a) list1.append(list2)
b) list1.extend(list2)
c) list1 + list2
d) list1.merge(list2)
3 Which of the following is a valid way to assign the value 25 to a variable named x in Python?
a) x = 25
b) x == 25
c) 25 = x
d) x: = 25
Answers
1: (c) 2: (c) 3: (a) 4: (a) 5: (d)
319
PYTHON
These are just a few examples of the types of EDA techniques that can be employed at some
stage in information evaluation. The choice of strategies relies upon on the information traits,
research questions, and the insights sought from the analysis.
2 Which data structure is fundamental to NumPy for handling numerical data efficiently?
a) Lists
b) Tuples
c) Arrays
d) Dictionaries
4 Which data balancing technique aims to increase the size of the minority class by
generating synthetic data points?
a) Oversampling
b) Under sampling
c) Feature engineering
d) Principal Component Analysis (PCA)
340
PYTHON
Answers
1: (a) 2: (c) 3: (b) 4: (a) 5: (b)
DESCRIPTIVE QUESTIONS
4 What is the main advantage of using NumPy and Pandas for data manipulation?
5 Describe the sampling techniques used while dealing with imbalanced dataset.
341
PYTHON
Annotation is like adding some extra spice to the plot title. The main purpose of the annotation
is to write some information about the plot like its brief explanation or anything important that
the user wants to mention.
1 Which type of plot is best suited for visualizing the relationship between two continuous
variables?
a) Line plot
b) Scatter plot
c) Histogram
d) Bar chart
364
PYTHON
4 What type of time series plot is used to identify potential outliers or anomalies in the data?
a) Line plot
b) Scatter plot
c) Box plot
d) Autocorrelation plot
Answers
1: (b) 2: (b) 3: (c) 4: (c) 5: (a)
DESCRIPTIVE QUESTIONS
365
KNIME
SUMMARY
In conclusion, KNIME Analytics Platform serves as a powerful and versatile tool for data analytics
and machine learning, providing users with a user-friendly Workbench interface to create, edit,
and execute data workflows. Understanding the essential components and terminology of
KNIME is vital for harnessing its full potential. The installation and setup process, as well as the
utilization of nodes, workflows, and the Canvas, are fundamental aspects to grasp. By mastering
these foundational elements, data scientists and analysts can efficiently explore, preprocess,
and analyse data, making informed decisions and generating valuable insights to drive
innovation and solve complex real-world problems. KNIME's flexibility and accessibility make it a
valuable asset in the realm of data science and analytics.
REFERENCE
1 https://www.knime.com/
2 https://www.knime.com/getting-started-guide
3 https://www.knime.com/knimepress
4 KNIME Beginner’s Luck Book by Rosario_Silipo
5 KNIME Advanced Luck A Guide to KNIME Analytics Platform for Advanced Users by Rosario
Silipo, Jeanette Prinz
2 Which of the following is a step typically involved in KNIME installation and setup?
a) Choosing a data visualization tool
b) Installing a web browser
c) Selecting an installation directory
d) Setting up an email account
374
KNIME
7 In KNIME, what is a component that stores information about data sources, files, and
settings?
a) Node
b) Workflow
c) Data Repository
d) Canvas
9 Which menu in KNIME allows you to access various data preprocessing and analysis tools?
a) File
b) Edit
c) Data
d) Help
375
KNIME
14 What is the recommended first step when setting up KNIME Analytics Platform?
a) Open a new blank project
b) Install additional plugins
c) Choose the installation directory
d) Create a new email account
Answers
1 b) Data analytics and machine learning
2 c) Selecting an installation directory
3 b) The main interface for creating and editing workflows
4 b) Nodes are individual processing units that perform specific tasks in a workflow.
5 c) .knar
6 c) Data preprocessing and analysis
7 c) Data Repository
8 a) A glossary of terms used within the platform
9 c) Data
10 c) Creating and modifying workflows
11 b) To organize and access nodes for building workflows
12 b) The main area where you design workflows
13 d) Database
14 c) Choose the installation directory
15 c) Video editing
376
KNIME
5 What can you do to customize the appearance of a KNIME workflow in the editor?
a) Change the font size
b) Apply filters to the data
c) Adjust the canvas size
d) Send the workflow as an email attachment
6 Which part of the Workflow Editor interface allows you to search for nodes and
components?
a) The Canvas
b) The Toolbar
c) The Node Repository
d) The Node Settings panel
382
KNIME
8 What happens when you connect the output of one node to the input of another node in
KNIME?
a) A mathematical equation is formed.
b) Data is transferred from one node to another.
c) The workflow becomes invalid.
d) The nodes change color.
10 How can you configure the input data for a KNIME workflow?
a) By changing the canvas color
b) By configuring node parameters
c) By sending an email
d) By adding more nodes
12 How can you save and export a KNIME workflow for sharing with others?
a) By taking a screenshot
b) By printing it on paper
c) By using the "File" menu options
d) By copying and pasting nodes
Answers
1 a) Adding nodes
2 c) To establish data flow
3 c) It creates clear data flow.
4 b) Workflow Editor
5 c) Adjust the canvas size
6 c) The Node Repository
7 a) The movement of data between nodes in a workflow
8 b) Data is transferred from one node to another.
9 c) Filtering and transforming data
10 b) By configuring node parameters
11 c) To generate results based on the workflow's logic
12 c) By using the "File" menu options
383
KNIME
SUMMARY
In conclusion, mastering the art of data access is foundational to the success of any
data-driven endeavour. The ability to efficiently import, prepare, and clean data within KNIME
not only ensures the integrity and quality of the data but also sets the stage for meaningful
analysis and insights. Moreover, data integration and transformation techniques empower data
professionals to harmonize disparate data sources, making them a valuable asset in the
decision-making process. Equally important is the capability to export data in various formats,
enabling seamless collaboration and reporting with stakeholders and other data analysis tools.
By achieving these objectives, individuals are better equipped to navigate the complexities of
data access, ensuring that data serves as a reliable foundation upon which to build valuable
insights and drive informed decisions across a wide spectrum of industries and applications.
REFERENCE
1 https://www.knime.com/
2 https://www.knime.com/getting-started-guide
3 https://www.knime.com/knimepress
4 KNIME Beginner’s Luck Book by Rosario_Silipo
5 KNIME Advanced Luck A Guide to KNIME Analytics Platform for Advanced Users by Rosario
Silipo, Jeanette Prinz
3 Which of the following is a common source for importing data into KNIME?
a) A video game console
b) A music player
c) An external spreadsheet files
d) A digital camera
394
KNIME
11 How can you share data with others effectively from KNIME?
a) By taking a screenshot of the data
b) By printing it on paper
c) By exporting it in various formats
d) By playing a video
395
KNIME
Answers
1 c) By configuring node parameters
2 b) To handle missing data
3 c) An external spreadsheet files
4 b) To remove duplicate data points
5 b) By replacing missing values with appropriate data
6 b) Handling outliers
7 b) Combining data from multiple sources
8 b) The process of modifying data for analysis
9 c) Aggregating data
10 c) To save data for use in other tools or reports
11 c) By exporting it in various formats
12 a) File
396
KNIME
405
KNIME
11 Which of the following is NOT a benefit of connecting to Big Data sources in KNIME?
a) Access to massive datasets
b) Improved data quality
c) Enhanced data analysis capabilities
d) Faster computer processing speed
12 In KNIME, how does efficient handling of Big Data impact workflow performance?
a) It slows down data processing.
b) It increases the complexity of the workflow.
c) It improves performance by optimizing resource usage.
d) It has no effect on workflow performance.
14 Which of the following is NOT a typical step in Big Data analytics with KNIME?
a) Data exploration
b) Parallelization of tasks
c) Data modeling
d) Sending emails
406
KNIME
15 What does "resource utilization" refer to in the context of Big Data handling in KNIME?
a) The process of collecting data
b) The efficient use of computing resources like CPU and memory
c) The creation of 3D models
d) The management of data sources
Answers
1 b) Extremely large and complex datasets
2 c) Establishing connections to large-scale data systems
3 c) To access and analyse massive datasets
4 c) Efficiently processing and analysing large-scale data
5 c) Improved performance and resource utilization
6 d) To improve scalability and parallelism
7 b) Running tasks concurrently on multiple machines or processors
8 c) By providing tools for data exploration, modeling, and analysis
9 b) Modeling data
10 b) Extracting insights and patterns from large and complex datasets
11 d) Faster computer processing speed
12 c) It improves performance by optimizing resource usage.
13 c) It enhances scalability for processing large datasets.
14 d) Sending emails
15 b) The efficient use of computing resources like CPU and memory
407
KNIME
REFERENCE
1 https://www.knime.com/
2 https://www.knime.com/getting-started-guide
3 https://www.knime.com/knimepress
4 KNIME Beginner’s Luck Book by Rosario_Silipo
5 KNIME Advanced Luck A Guide to KNIME Analytics Platform for Advanced Users by Rosario
Silipo, Jeanette Prinz
413
KNIME
9 Which part of KNIME is typically used for building machine learning workflows?
a) Spreadsheet editor
b) Workflow editor
c) Image editor
d) Web browser
414
KNIME
15 Which of the following is NOT a common machine learning algorithm used in KNIME?
a) Decision trees
b) K-means clustering
c) Web scraping
d) Support vector machines
Answers
1 b) To prepare raw data for analysis
2 b) Explore data patterns and trends
3 c) Creating websites
4 c) To predict future outcomes based on historical data
5 b) Grouping data into categories or classes
6 c) To extract valuable insights and patterns from data
7 c) The process of extracting hidden knowledge and patterns from data
8 a) Descriptive statistics
9 b) Workflow editor
10 b) Predicting numerical values or quantities
11 b) Oversampling the minority class
12 c) Statistical analysis
13 b) Grouping data points into similar clusters or groups
14 b) Extracting valuable patterns and insights from data
15 c) Web scraping
415
KNIME
423
KNIME
9 Which visualization type is often used to display trends over time in KNIME?
a) Pie chart
b) Bar chart
c) Line chart
d) Scatter plot
14 In KNIME, how can you ensure that reports are generated consistently and on schedule?
a) By manually generating reports when needed
b) By changing node colors
c) By automating report generation tasks
d) By sending emails to the reporting team
15 What is the primary purpose of integrating machine learning models into real-world
applications in KNIME?
a) To create interactive dashboards
b) To visualize data patterns
c) To translate predictive insights into practical decision support
d) To generate random data for applications
424
KNIME
Answers
1 c) To convey insights through visual representations
2 c) Musical composition
3 b) Explore data dynamically and interact with visual elements
4 c) To translate predictive models into real-world applications
5 c) By providing integration options for deploying models in production environments
6 c) The automatic execution of workflows and tasks
7 b) Deeper insights through user interaction
8 c) To streamline data analysis workflows and generate reports
9 c) Line chart
10 b) They allow users to explore data dynamically and gain deeper insights.
11 c) It translates predictive insights into actionable outcomes.
12 c) Augmented reality simulations
13 c) It streamlines data analysis workflows by automating repetitive tasks.
14 c) By automating report generation tasks
15 c) To translate predictive insights into practical decision support
This workflow accesses an accounting of a list of projects, on one branch it calculates the
money in budget for each year for each one of the project and on the other branch it
calculates the money actually spent for each project each year.
It then reports the money allocated, the money spent and the money remaining for each
project each year.
II DECISION TREE
The dataset we use in this exercise describes the sale of individual residential properties in
Ames, Iowa from 2006 to 2010. One of the columns is the overall condition ranking, with
values between 1 and 10.
The goal of this exercise is to train a binary classification model, which can predict whether
the overall condition is high or low. To do so, the workflow below reads the data set and
creates the class column based on overall condition ranking, which is called rank and has
the values low if the overall condition is smaller or equal to 5, otherwise high.
425