You are on page 1of 46
06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him Ssas Print SAS® Visual Analytics 1 for SAS® Viya®: Basics Activities and Practices Course code EYVA11D, prepared date: Tue, Feb 22 2022 Copyright © 2022 SAS Institute Inc., Cary, NC, USA. All rights reserved. hitps:vle.sas.comipluginfle.ohp/1238652imod_scoricontent/apsaln him 146 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him SAS® Visual Analytics 1 for SAS® Viya®: Basics Lesson 01, Section 2 Activity: Using SAS Drive Be sure to sign in to SAS Viya before completing these steps. 1. Where can you find which applications you can access in SAS Viya? Use the Side menu of SAS Drive to see the applications you can access. 2. Add the Product Report object (located in the SAS. Content/Courses/YVA1/ folder) to the Quick Access area of SAS Drive. Navigate to the SAS Content > Courses > YVA‘1 folder. Right-click the Product Report object and select Pin to Quick Access. The Product Report should appear in the Quick Access area. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 2146 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him SAS® Visual Analytics 1 for SAS® Viya®: Basics Lesson 01, Section 3 Practice: Viewing a Report in Visual Analytics Practice: Viewing a Report in Visual Analytics Be sure to sign in to SAS Viya before completing these steps. 1. Open and interact with the Product Report in SAS Visual Analytics. © Navigate to the SAS Content/Courses/YVA1 folder. © Double-click Product Report. The Product Report opens in Visual Analytics. 2. View the Product Analysis page. © Click the image next to the Product Analysis information or click the Product Analysis tab at the top of the report. 3. View information about the page. What links are available for the Product Analysis page? Double-clicking a product group in the bar chart displays details about products in that group. © Click the Click here for more information about this page button in the upper right comer of the report. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 3146 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him 4, View report objects and use actions between the graphs to answer the following questions: a) Which product category has the fewest number of orders? The lowest total profit? b) Which product groups are included in the Indoor Sports category? c) How many products are in the Fitness product group? d) Do any fitness products generate a loss? ¢) What are the top two cities by orders for fitness products? By profit? a) Indoor Sports has the fewest number of orders (11,755). Team Sports has the lowest total profit ($133, 185.52). b) Fitness, Gymnastic Clothing, and Top Trim are groups in the Indoor Sports category. ¢) There are 45 products in the Fitness product group. d) The following fitness products generate a loss: Letour Mag Plus Bike-Buy Now Paper Letour Spinner Bike Letour 757 Home Exerciser Lift Weights 15 Kg Dumbbell e) Madrid (243) and Milano (205) are the top two cities by orders. London ($523.38) and Houston ($278.20) are the top two cities by profit. 5. Export the data for the dual axis time series plot filtered by Indoor Sports and Fitness, © Right-click the dual axis time series plot and select Export > Data. Accept the defaults and click Export. At the bottom of the browser window, click Profit and Orders by Time.xisx. If necessary, click Enable Editing Select File > Save As to save a copy of the workbook Navigate to the desktop. Accept the default name and click Save. Close the workbook 6. Close the report. © Inthe upper right comer, select More > Close to close the report. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 4186 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him SAS® Visual Analytics 1 for SAS® Viya®: Basics Lesson 01, Section 3 Activity: Viewing a Report Be sure to sign in to SAS Viya before completing these steps. 1. Open the Product Report (located in the SAS Content/Courses/YVA1 folder) and view the Product Analysis page. 2. Right-click the treemap and select Change Treemap to, What is the recommended object? Bar chart 1. Navigate to the Courses > YVA1 folder. 2. Double-click Product Report to open it. 3. Click the Product Analysis page tab. 4, Right-click the treemap and select Change Treemap to. The report designer can set the level of viewer customization. By default, viewers can perform comprehensive edits (change object types). Viewer customization levels are discussed in more detail in a later lesson. For more information about Viewer Customization, see "Specify Options for a Report” in the SAS Visual Analytics: Working with Report Content documentation. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 5146 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him SAS® Visual Analytics 1 for SAS® Viya®: Basics Lesson 02, Section 1 Activity: Using Suggestions Be sure to sign in to SAS Viya before completing these steps. 1. Create a new report using the PRODUCTS_CLEAN table. Note: If the PRODUCTS_CLEAN table is not listed on the Available tab, follow these steps: In the Choose Data window, click the Data Sources tab. Double-click the CAS server. Double-click the library. Right-click PRODUCTS_CLEAN.sashdat and select Load. When the load is complete, click the Available tab to select the table. a. From SAS Drive, click Applications menu and select Explore and Visualize. b. Select Start with Data, c. In the Choose Data window, select PRODUCTS_CLEAN 2. Which objects are suggested for the table? Add one or two of the suggested objects to the canvas. Suggested objects will vary. Click and drag one of the suggested objects, from the Suggest pane, to the canvas. Suggested objects are generated in the following ways: © Correlated measures- A correlation query runs against the data source. The suggested object has the lowest cardinality data item and the two most correlated measures. This can generate a butterfly chart, a dual axis bar chart, or a dual axis bar-line chart. © Lowest cardinality. The lowest cardinality data item, a category with at least six distinct values, in the data source is used to create the suggested object using frequency. This can generate a bar chart, a dot plot, a line chart or needle plot, a pie chart, a treemap, or a word cloud. © Custom data items- Custom data items are detected in the following order: hierarchies, custom categories, calculated items. Suggested objects are generated for each custom data item, The generated objects are the same as those listed for lower cardinality. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im eas 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him © Date data items- If the data source contains a date or time data item, a suggested object (typically a time series plot) is generated using a random measure. © Single measures- A histogram or key value object is generated for a single measure Note: The Suggestions pane is not available if the Bypass retrieving cardinality values for the Data pane or Bypass retrieving correlation values for the Data pane setting is selected. For more information about the suggested objects, see "About the Suggestions Pane" in the SAS Visual Analytics: Working with Report Content documentation. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 7146 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him SAS® Visual Analytics 1 for SAS® Viya®: Basics Lesson 02, Section 1 Practice: Accessing and Investigating Data Practice: Accessing and Investigating Data Be sure to sign in to SAS Viya before completing these steps. 1. Access SAS Visual Analytics. © To access SAS Visual Analytics, click the Applications menu button and select Explore and Visualize. 2. Open the VA1- Practice2.1 report in the SAS Content/Courses/YVA1/Practices (HR) folder. © Click All Reports. © Navigate to the Courses/YVA1/Practices (HR) folder. © Double-click the VA1-Practice2.1 report to open it. 3. View the Data pane, a) How many unique values does Company have? Job Title? b) What is the type (or classification) of Employee ID? a) Company has 12 distinct values. Job Title has 9 distinct values b) Employee ID is identified as a measure data item. © Click the Data button in the left pane. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im e146 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him 4, View the list table of all data items on Page 1. a) What is the case of Employee Country? b) Which employee represents sales over the internet or through the catalog? c) Which data item can be used to determine whether an employee is active (currently employed) or retired (formerly employed)? a) Employee Country is lowercase. b) Internet/Catalog Sales ©) If Employee Termination Date is missing, the employee is active (currently employed). If Employee Termination Date is not missing, the employee is retired (formerly employed). 5. View the crosstab of Department and Job Title on Page 2 Which department contains the missing job title? Stock & Shipping 6. Create an auto chart of Company (on the right side of the crosstab). a) What is the largest company, based on the number of employees? b) The smallest? a) Orion USA is the largest company (120 employees) b) Logistics is the smallest company (1 employee). © In the left pane, click the Data button © Drag Company from the Data pane to the right side of the canvas. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 9146 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him 7. View the measure details (from the Data pane). a) What is the minimum total profit generated by an employee? b) The maximum? c) The average? 4d) The total profit generated by all employees? a) The minimum total profit generated by an employee is 11.10. b) The maximum total profit generated by an employee is 19,146,779.62 c) The average total profit generated by an employee is 109,148.07. d) The total profit generated by all employees is 70,727,947.65 © In the left pane, click the Data button. © Click the Data source menu button (next to the table name) and select View measure details © In the table at the top of the Measure Details window, select Total Profit. 8, Save the report. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 10146 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him SAS® Visual Analytics 1 for SAS® Viya®: Basics Lesson 02, Section 2 Practice: Preparing Data Practice: Preparing Data Be sure to sign in to SAS Viya before completing these steps. 1. Open and run the VA1- Practice2.2 plan in the SAS Content/Courses/YVA1/Practices (HR) folder. To access SAS Data Studio, click the Applications menu button and select Prepare Data. Click Open Plan. Navigate to the SAS Content/Courses/YVA1/Practices (HR) folder. Double-click VA1- Practice2.2 to open the plan Click Run to execute the plan. 2. View properties for the result table. How many rows are in the EMPLOYEES table after the actions of the plan are applied? 647 rows (one for each employee at Orion Star) © Inthe right pane, click the Properties for the result table button. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 1M6 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him 3. View details about the steps performed in the plan. a) How many convert column actions were performed? On which column (or columns)? b) Which column was changed to uppercase? c) What filter was applied to the table? d) What is the name of the new output table created from the plan? Hint: On the Plan pane, select Options > Save as to view the name of the output table. Note: You do not need to save the plan. a) One convert column action was performed on the Employee_ID column. b) Employee_Country c) Department in ‘Purchasing’, 'Sales’) d) EMPLOYEES_CLEAN © In the right pane, click the Plan button. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 126 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him SAS® Visual Analytics 1 for SAS® Viya®: Basics Lesson 03, Section 1 Practice: Working with Data Items Practice: Working with Data Items Be sure to sign in to SAS Viya before completing these steps. 1, Open the VA1- Practice3.1 report from the SAS. Content/Courses/YVA1/Practices (HR) folder. Click the Applications menu button and select Explore and Visualize. Click All Reports. Navigate to the Courses/YVA1/Practices (HR) folder. Double-click the VA1- Practice3.1 report to open it. 2. View the data items in the Data pane. a) What is the classification of Employee ID? Manager at 1. level? b) What does the Frequency data item represent? a) Employee ID has a classification of category. Manager at 1. level has a classification of measure. b) Because there is one row per employee in the EMPLOYEES_CLEAN data source, Frequency represents the number of employees 3. Change the classification for Manager at 1. level to Category © In the Measure group, click the Edit properties button next to Manager at 1. level © Select Category for the Classification field 4. Change the format for Annual Salary to Dollar13.2. © Inthe Measure group, click the Edit properties button next to Annual Salary. Click the Edit button for the Format field In the Format window, verify that 13 is specified for the Width field. Enter 2 for the Decimals field. Click OK. hitps:vle.sas.comipluginfle.ohp/1238652imod_scoricontent/apsaln him 196 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him 5. Rename the following data items: Old name New name Employee ID 1D Employee Name _|Name Manager at 1. level | Manager ID Frequency Number of Employees Note: Click the Data source menu button at the top of the Data pane (next to the table name) and select Refresh EMPLOYEES CLEAN to collapse data item properties. In the Category group, click the Edit properties button next to Employee ID. © Enter ID in the Name field and press Enter. © Inthe Category group, click the Edit properti button next to Employee Name. Enter Name in the Name field and press Enter. In the Category group, click the Edit properties button next to Manager at 1. level. Enter Manager ID in the Name field and press Enter. In the Measure group, click the Edit properties button next to Frequency. Enter Number of Employees in the Name field and press Enter. If necessary, click the Data source menu button at the top of the Data pane (next to the table name) and select Refresh EMPLOYEES CLEAN to collapse data item properties. 6. Save the report hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im aise 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him SAS® Visual Analytics 1 for SAS® Viya®: Basics Lesson 03, Section 2 Activity: Viewing Automated Explanation Be sure to sign in to SAS Viya before completing these steps. Open the VA1-Activity3.01 report (in the SAS Content/Courses/YVA1 folder), 1. What is the average of Days to Delivery? 14 2. Which factor is the most related to Days to Delivery? Order Type 3. Which country has the highest average for Days to Delivery? Serbia hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 15146 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him SAS® Visual Analytics 1 for SAS® Viya®: Basics Lesson 03, Section 2 Practice: Exploring Data - Part 1 Practice: Exploring Data - Part 1 Be sure to sign in to SAS Viya before completing these steps. 1, Open the VA1- Practice3.2a report from the SAS Content/Courses/YVA1/Practices (HR) folder. Click the Applications menu button and select Explore and Visualize. Click All Reports. Navigate to the Courses/YVA1/Practices (HR) folder. Double-click the VA1- Practice3.2a report to open it 2. Create an automatic chart using the following data items: © Annual Salary © Frequency Percent © In the left pane, click the Data button. © Click the following data items to select them: Annual Salary Frequency Percent © Drag the data items to the canvas. 3. Modify the following options for the automatic chart: Name Distribution of Salary Bin range Measure values Set a fixed bin count | Bin count 4 In the right pane, click the Options button. In the Object group, enter Distribution of Salary in the Name field. In the Histogram group, select Measure values for the Bin range field Select Set a fixed bin count. Enter 4 in the Bin count field and press Enter. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 1646 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him 4. Maximize the histogram. Into which range do a majority of salaries fall? Hint: After answering the question, click the Restore button in the upper right corner of the chart More than 75% of salaries fall within the $25K to $30K range. © In the upper right comer of the chart, click the Maximize button to view additional details. © Click the highest bar in the graph. © Inthe upper right corner of the chart, click the Restore button. 5. Add a bar chart on the right of the automatic chart by assigning the following data items to the specified roles: Category | Job Title Measure | Annual Salary Group | Department © In the left pane, click the Objects button © Drag the Bar chart object, from the Graphs group, to the right side of the canvas. © Inthe right pane, click the Roles button © For the Category role, select Add > Job Title. © For the Measure role, select Number of Employees > Annual Salary. © For the Group role, select Add > Department. 6. Specify Total Salary by Job and Department as the name of the bar chart. © In the right pane, click the Options button. © In the Object group, enter Total Salary by Job and Department in the Name field. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 786 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him 7. Answer the following questions: a) In which department are a majority of our salary costs spent? For which job title? b) What could be some reasons why salary costs are so much higher for this group? a) Most of our salary costs are spent in the Sales Department, with a majority going toward the Sales Rep. | job tile b) Salary costs could be higher for this group either because this job fitle pays more or there are more employees with this job title. Because the Sales Rep |. job title is the lowest level of all sales reps, there are probably more employees with this job title. 8. Save the report. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 106 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him SAS® Visual Analytics 1 for SAS® Viya®: Basics Lesson 03, Section 2 Practice: Exploring Data - Part 2 Practice: Exploring Data - Part 2 Be sure to sign in to SAS Viya before completing these steps. 1, Open the VA1- Practice3.2b report from the SAS. Content/Courses/YVA1/Practices (HR) folder. Click the Applications menu button and select Explore and Visualize. Click All Reports. Navigate to the Courses/YVA1/Practices (HR) folder. Double-click the VA1- Practice3.2b report to open it. 2. On Page 2, create a box plot by assigning the following data items to the specified roles: Category | Job Title Measures | Annual Salary In the upper left corner of the report, click the Page 2 tab. In the left pane, click the Objects button. Drag the Box plot object, from the Graphs group, to the canvas. In the right pane, click the Roles button. For the Category role, select Add > Job Title. For the Measures role, select Add > Annual Salary and click OK. 3. Modify the following options for the box plot: Name _|Salary Analysis by Job Title Outliers | Show Outliers Averages | In the right pane, click the Options button. In the Object group, enter Salary Analysis by Job Title in the Name field. In the Box Plot group, select Show Outliers for the Outliers field. Select Averages. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 196 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him 4, Maximize the box plot and answer the following questions: a) Which job title has the highest average salary? The lowest? b) Which job title has the largest number of outliers? a) Purchasing Agent II has the highest average salary ($35,070.00). Trainee has the lowest average salary ($25,260.80). b) Sales Rep. | has more outliers than other job titles. 5, Save the report. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 2046 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him SAS® Visual Analytics 1 for SAS® Viya®: Basics Lesson 03, Section 3 Practice: Creating Data Items Practice: Creating Data Items Be sure to sign in to SAS Viya before completing these steps. 1, Open the VA1- Practice3.3a report from the SAS Content/Courses/YVA1/Practices (HR) folder. Click the Applications menu button and select Explore and Visualize. Click All Reports. Navigate to the Courses/YVA1/Practices (HR) folder. Double-click the VA1- Practice3.3a report to open it 2. Create a new data item, Employee Status, by assigning the following labels to the values: Employee Status | Employee Termination Date (label) (value) Active Retired © In the left pane, click the Data button, © In the Data pane, select New data item > Custom category. © In the New Custom Category window, enter Employee Status in the Name field © Select Employee Termination Date in the Based on field © Select Value Group 1, type Active, and press Enter. © Drag . (missing value) from the left pane to the Drag values here area on the right. © Inthe Remaining Values area, enter Retired in the Group as field. © Click OK to create the new custom category. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 26 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him 3. On Page 3, create a bar chart by assigning the following data items to the specified roles: Category | Job Title Measure | Years of Service Group _ | Employee Status In the upper left corner of the report, click the Page 3 tab. In the left pane, click the Objects button. Drag the Bar chart object, from the Graphs group, to the canvas. In the right pane, click the Roles button, For the Category role, select Add > Job Title. For the Measure role, select Number of Employees > Years of Service, © For the Group role, select Add > Employee Status. 4. Specify Years of Service by Job Title and Status as the name of the bar chart, © Inthe right pane, click the Options button, © In the Object group, enter Years of Service by Job Title and Status in the Name field. 5. Change the aggregation for Years of Service to Average © Inthe right pane, click the Data button. © Click the Edit properties button next to Years of Service © Select Average for the Aggregation field. 6. Answer the following questions: a) Which job title has the highest average years of service among active employees? b) Among retired employees? a) Purchasing Agent III has the highest average years of service among active employees. b) Sales Rep. II has the highest average years of service among retired employees. 7. Save the report hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 2246 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him SAS® Visual Analytics 1 for SAS® Viya®: Basics Lesson 03, Section 3 Activity: Creating Periodic Data Items Be sure to sign in to SAS Viya before completing these steps. Open the VA1-Activity3.06 report (in the All Reports/Courses/YVAM folder). + For Profit, create a new calculation that calculates the difference from the previous period. Hint: On the Data pane, right-click Profit and select New calculation + Add the new aggregated measure to the crosstab. 1. What type of difference is calculated for each value of Order Month in the crosstab? Difference from previous month or a one-month change in Profit 2. What type of difference is calculated for Total in the crosstab? Difference from previous year or a one-year change in Profit 3. Which operator is used to calculate the aggregated measure? RelativePeriod © In the left pane, click the Data button. © Right-click Profit (Difference from previous period) 1, in the Category group, and select Edit hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 2046 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him SAS® Visual Analytics 1 for SAS® Viya®: Basics Lesson 03, Section 3 Practice: Applying Filters Practice: Applying Filters Be sure to sign in to SAS Viya before completing these steps. 1. Open the VA1- Practice3.3b report from the SAS. Content/Courses/YVA1/Practices (HR) folder. Click the Applications menu button and select Explore and Visualize. Click All Reports. Navigate to the Courses/YVA1/Practices (HR) folder. Double-click the VA1- Practice3.3b report to open it. 2. Add a data source filter to filter for active employees in the Sales Department. Hint: Use the AND operator (in the Boolean group) to filter for multiple conditions. After the data source filter is applied, 429 observations should be returned. In the left pane, click the Data button. In the Data pane, click the Data source menu button (next to the table name) and select Apply data filter. Click Operators on the left side of the window. Expand Boolean Double-click AND to add it to the expression. On the left, click Data Items. Expand Character. Select Employee Status In the Conditions area, double-click Employee Status = 'x' to add it to the first condition in the expression area. Enter Active as the string for the first condition. © Inthe Character group, select Department. © Inthe Conditions area, double-click Department second condition in the expression area. © Enter Sales as the string for the second condition © Click OK to apply the data source filter. to add it to the hitps:vle.sas.comipluginfle.ohp/1238652imod_scoricontent/apsaln him 20146 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him 3. Change the classification for Employee Country to Geography > Country or Region ISO 2-Letter Codes. In the left pane, click the Data button. Click the Edit properties button next to Employee Country. Select Geography for the Classification field. Verify that Geographic name or code lookup is selected for the Geography data source field. Select Country or Region ISO 2-Letter Codes for the Name or code context field, Click OK. 4. On Page 4, create a geo coordinate map by assigning the following data items to the specified roles: Geography | Employee Country Size Total Profit Color Number of Employees © In the upper left comer of the report, click the Page 4 tab. In the left pane, click the Objects button. Drag the Geo coordinate object, from the Geo maps group, to the canvas. In the right pane, click the Roles button. For the Geography role, select Add > Employee Country. For the Size role, select Add > Total Profit. For the Color role, select Add > Number of Employees. 5, Maximize the geo map and answer the following questions: a) Management has decided that one possible criterion for promotion is profit generated. Which two countries generate the highest profit? b) Why do they have such high profits? Hint: After answering the questions, click the Restore button in the upper right comer of the chart a) United States ($9,490,871.30) and Germany ($6,705,983,90) generate the highest total profit. b) United States and Germany have more employees than other countries, which could explain the higher profits. hitps:vle.sas.comipluginfle.ohp/1238652imod_scoricontent/apsaln him 25146 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him . In the geo map, specify Average Profit for the Size role. © Verify that the geo map is selected on the canvas. © In the right pane, click the Roles button. © For the Size role, select Total Profit > Average Profit. Specify Average Profit and Number of Employees by Country as the name of the geo map. © Inthe right pane, click the Options button. © In the Object group, enter Average Profit and Number of Employees by Country in the Name field. . Maximize the geo map and answer the following questions: a) Which country has the highest average profit? b) Which country has the highest number of employees? a) France has the highest average profit ($144,087.39). b) United States has the highest number of employees (73) . Save the report. hitps:vle.sas.comipluginfle.ohp/1238652imod_scoricontent/apsaln him 2016 06104122, 17:19 SAS® Vis htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him ual Analytics 1 for SAS® Viya®: Basics Lesson 03, Section 4 Practice: Analyzing Data Practice: Analyzing Data Be sure to si 4, Open ti ign in to SAS Viya before completing these steps. he VA1- Practice3.4a report from the SAS Content/Courses/YVA1/Practices (HR) folder. Click the Applications menu button and select Explore and Visualize. Click All Reports. Navigate to the Courses/YVA1/Practices (HR) folder. Double-click the VA1- Practice3.4a report to open it 2. On Page 5, create a treemap by assigning the following data items to the specified roles: Tile ‘Company Size Years of Service Color Average Profit Data tip values | add Number of Employees In the upper left corner of the report, click the Page 5 tab. In the left pane, click the Objects button. Drag the Treemap object, from the Graphs group, to the canvas. In the right pane, click the Roles button. For the Tile role, select Add > Company. For the Size role, select Number of Employees > Years of Service. For the Color role, select Add > Average Profit. For the Data tip values role, select Add > Number of Employees and click OK. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 2746 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him 3. Create a new hierarchy, Employee Hierarchy, that contains the following categories: © Company © Job Title © Group © In the left pane, click the Data button. © In the Data pane, select New data item > Hierarchy. © In the New Hierarchy window, enter Employee Hierarchy in the Name field. © Double-click the following data items, in the specified order, in the Available items list to move them to the Selected items list: Company Job Title Group © Click OK to create the hierarchy. 4. In the treemap, specify Employee Hierarchy for the Tile role and navigate through the hierarchy to answer the following questions: a) Which two companies have the highest average profit generated (one possible criterion for promotion)? b) For these two companies, which job titles have the highest average years of service and average profit generated? a) Orion France and Orion USA have the highest average profit generated. b) For Orion France, the Sales Rep. IV job title has the highest average years of service and highest average profit generated. For Orion USA, the Sales Rep. II job title has the highest average years of service and the highest average profit generated © Ifnecessary, click the treemap on the canvas to select it. © Inthe right pane, click the Roles button. © For the Tile role, select Company > Employee Hierarchy 5. Save the report. hitps:vle.sas.comipluginfle.ohp/1238652imod_scoricontent/apsaln him 2016 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him SAS® Visual Analytics 1 for SAS® Viya®: Basics Lesson 03, Section 4 Practice: Adding Data Analysis Practice: Adding Data Analysis Be sure to sign in to SAS Viya before completing these steps. 1. Open the VA1- Practice3.4b report from the SAS. Content/Courses/YVA1/Practices (HR) folder. Click the Applications menu button and select Explore and Visualize. Click All Reports. Navigate to the Courses/YVA1/Practices (HR) folder. Double-click the VA1- Practice3.4b report to open it. 2. On Page 6, create a correlation matrix by assigning the following data items to the specified roles: Measures | Annual Salary Total Orders Total Profit Years of Service © In the upper left comer of the report, click the Page 6 tab. © In the left pane, click the Objects button. © Drag the Correlation matrix object, from the Graphs group, to the canvas. © In the right pane, click the Roles button. © For the Measures role, click Add. © In the Add Data Items window, select the following measures: Annual Salary Total Orders Total Profit Years of Service © Click OK. 3. Answer the following question: What is the degree of correlation between Total Orders and Total Profit? Total Orders and Total Profit have a correlation of 0.8783 (strong, positive correlation). hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 2046 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him 4, Create a scatter plot, on the right of the correlation matrix, by assigning the following data items to the specified roles: Measures | Total Profit Years of Service Color Job Title © In the left pane, click the Objects button. © Drag the Scatter plot object, from the Graphs group, to the right side of the canvas. © In the right pane, click the Roles button. © For the Measures role, click Add. © In the Add Data Items window, select Total Profit and Years of Service and click OK. © For the Color role, select Add > Job Title. 5. Answer the following question: Using years of service and profit generated as promotion criteria, do you notice any differences between job titles? Based on the promotion criteria of high years of service and high profit generated, we want to focus on employees in the upper right quadrant of the scatter plot. In that area, there seems to be an equal representation of Sales Rep. |, Sales Rep. ll, and Sales Rep. Ill job titles. 6. Save the report. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 3046 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him SAS® Visual Analytics 1 for SAS® Viya®: Basics Lesson 04, Section 1 Activity: Ugly Report 1. Visit www.sas.com/beautifulreports to view tips for creating effective reports. 2. Sign in to SAS Viya 3. Open Ugly Report (located in the Courses > YVA1 folder). What are some issues with this report? + Pages do not have meaningful names. + Inconsistent fonts, sizes, and colors. * Difficult to determine data story. + Objects do not have meaningful names or titles. + The graph used for the data isn't appropriate. + No guidance for viewers for pages or objects on a page. + No instructions for prompts, actions, and links * Objects are not laid out in a clear manner. + Too many objects on some pages. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im a6 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him SAS® Visual Analytics 1 for SAS® Viya®: Basics Lesson 04, Section 1 Practice: Creating a Simple Report Practice: Creating a Simple Report Be sure to sign in to SAS Viya before completing these steps. 1. Open the VA1- Practice4.1 report from the SAS Content/Courses/YVA1/Practices (HR) folder. Click the Applications menu button and select Explore and Visualize. Click All Reports. Navigate to the Courses/YVA1/Practices (HR) folder. Double-click the VA1- Practice4.1 report to open it. 2. Create a geo coordinate map to the left of the bar chart. Modify the following options for the geo map: Object: Name ‘Average Profit by Country Object: Custom title | Average Profit by Country Object Geo Coordinate Legend: Visibility _ [Off In the left pane, click the Objects button. Drag the Geo coordinate object, from the Geo maps group, to the left side of the canvas. © Inthe right pane, click the Options button. © In the Object group, enter Average Profit by Country in the Name field. © Ifnecessary, select Custom title for the Title field. © Enter Average Profit by Country in the Title field © Inthe Legend group, select Off for the Visibility field. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 246 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him 3. Assign the following data items to the specified roles: Geography | Employee Country Color Average Profit Data tip values | add Number of Employees In the right pane, click the Roles button. For the Geography role, select Add > Employee Country, For the Color role, select Add > Average Profit. For the Data tip values role, select Add > Number of Employees and click OK. 4, Maximize the geo map and answer the following questions: a) Which country has the highest average profit? The lowest? b) Which country has the highest number of employees? The lowest? a) Germany (DE) has the highest average profit ($101,306.73). Denmark (Dk) has the lowest average profit ($30,493.46). b) United States (US) has the highest number of employees (123). Denmark (DK) has the lowest number of employees (37). 5. Create a dual axis bar-line chart at the bottom of the canvas. Assign the following data items to the specified roles: Category Anniversary Month Measure (bar) [Number of Employees Measure (line) | Average Profit In the left pane, click the Objects button. Drag the Dual axis bar-line chart object, from the Graphs group, to. the bottom of the canvas. In the right pane, click the Roles button. For the Category role, select Add > Anniversary Month For the Measure (bar) role, select Add > Number of Employees. For the Measure (line) role, select Add > Average Profit hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im sas. 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him 6. Modify the following options for the dual axis bar-line chart: Object: Name Employees and Profit by Anniversary Month Object: Custom title | Employees and Profit by Anniversary Month Line: Markers In the right pane, click the Options button. In the Object group, enter Employees and Profit by Anniversary Month in the Name field. If necessary, select Custom title for the Title field. Enter Employees and Profit by Anniversary Month in the Title field. In the Line group, select Markers. 7. Sort the bars by Anniversary Month in ascending order. In the dual axis bar-line chart, right-click Anniversary Month on the horizontal axis and select Sort > Anniversary Month: Ascending. 8. Maximize the dual axis bar-line chart and answer the following questions: a) In which month were the most employees hired? b) Which anniversary month contains employees that generate the highest average profit? a) January (162) b) July ($101,237.03) 9. Save the report. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 046, 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him SAS® Visual Analytics 1 for SAS® Viya®: Basics Lesson 04, Section 2 Practice: Working with Pages Practice: Working with Pages Be sure to sign in to SAS Viya before completing these steps. 1. Open the VA1- Practice4.2a report from the SAS Content/Courses/YVA1/Practices (HR) folder. Click the Applications menu button and select Explore and Visualize. Click All Reports. Navigate to the Courses/YVA1/Practices (HR) folder. Double-click the VA1- Practiced.2a report to open it 2. Set the Viewer Customization level so that users cannot change the data or the type of chart used in the report. In the right pane, click the Options button. Use the drop-down list, at the top of the Options pane, to select the report. In the Viewer Customization group, select Simple edits for Capability level 3. Add a new page to the report. © Change the name of the new page to Profit Analysis. © Change the name of Page 1 to Employee Analysis, In the upper left comer of the report, click the New page button next to Page 1 Double-click the Page 2 heading to make it editable. Enter Profit Analysis and press Enter. Click Page 1 to make it active. Double-click the Page 1 heading to make it editable. Enter Employee Analysis and press Enter. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 3846 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him 4, Create a bar chart on the Profit Analysis page by assigning the following data items to the specified roles: Category | Group Measure | Total Profit If necessary, click Profit Analysis to make it active. In the left pane, click the Objects button. Drag the Bar chart object, from the Graphs group, to the canvas. In the right pane, click the Roles button. For the Category role, select Add > Group. For the Measure role, select Number of Employees > Total Profit. 5. Specify Total Profit by Group as the name and title of the bar chart. In the right pane, click the Options button. In the Object group, enter Total Profit by Group in the Name field. If necessary, select Custom title for the Title field. Enter Total Profit by Group in the Title field. 6. Sort the bars by Group in ascending order. © Inthe bar chart, right-click Group on the vertical axis and select Sort > Group: Ascending. 7. Maximize the bar chart and answer the following questions: a) Which group produces the highest total profit? b) Which group produces the lowest total profit? a) Outdoors ($10,966,493.96) b) Temporary ($300,808.87) 8, Save the report. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 3046 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him SAS® Visual Analytics 1 for SAS® Viya®: Basics Lesson 04, Section 2 Practice: Working with Prompts and Actions Practice: Working with Prompts and Actions Be sure to sign in to SAS Viya before completing these steps. 1. Open the VA1- Practice4.2b report from the SAS Content/Courses/YVA1/Practices (HR) folder. © Click the Applications menu button and select Explore and Visualize. © Click All Reports. © Navigate to the Courses/YVA1/Practices (HR) folder. © Double-click the VA1- Practice4.2b report to open it 2. Add a report prompt that uses a button bar to select the employee status. © In the upper right corner of SAS Visual Analytics, click the More button and select Expand report controls. In the left pane, click the Objects button. Drag the Button bar object, from the Controls group, to the Drop a data item or control to create a report prompt area In the right pane, click the Roles button. For the Category role, select Add > Employee Status. 3. Modify the following options for the button bar: Name | Employee Status Selector Title | Select an employee status: In the right pane, click the Options button. In the Object group, enter Employee Status Selector in the Name field If necessary, select Custom title for the Title field. Enter Select an employee status: in the Title field. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im ams 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him 4, Add the following actions between objects on the Employee Analysis page: © The geo map filters the bar chart and the dual axis bar-line chart. © The bar chart highlights the dual axis bar-line chart. If necessary, click the Employee Analysis page to make it active Click the geo map on the page to select it. In the right pane, click the Actions button. In the Actions pane, expand Object Links, if necessary. Select Average Profit by Job Title (the bar chart). Verify that the Filter action is selected Select Employees and Profit by Anniversary Month (the dual axis bar-line chart) Verify that the Filter action is selected On the canvas, click the bar chart to select it. In the right pane, click the Actions button. Select Employees and Profit by Anniversary Month (the dual axis bar-line chart) © Select the Linked selection action. 5. On the Profit Analysis page, add a rank to the list table to show the top five employees by Total Profit. Hint: Add a rank for all visible categories. Click the Profit Analysis page to make it active. On the canvas, click the list table to select it In the right pane, click the Ranks button In the Ranks pane, select New rank > All visible categories. Verify that Top count is specified. Enter 5 for the Count field. Verify that Total Profit is specified for the By field 6. Save the report. hitps:vle.sas.comipluginfle.ohp/1238652imod_scoricontent/apsaln him 3046 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him 7. View the report and answer the following questions: a) Which job title has the highest average profit among active employees in Australia? b) For Orion USA, which active sales representative has the highest total profit generated for the Indoor Sports group? c) For Orion France, how many active sales representatives sold items for the Racket Sports group? a) Sales Rep. II b) Tywanna Mcdade ($178,299.60) c) One employee (Marc Zampa) © In the upper left comer, click the View report button. 8. Close the report. © Inthe upper right comer, click the More button and select Close. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 946 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him SAS® Visual Analytics 1 for SAS® Viya®: Basics Lesson 04, Section 2 Practice: Working with Hidden Pages and Links Practice: Working with Hidden Pages and Links Be sure to sign in to SAS Viya before completing these steps. 1. Open the VA1- Practice4.2c report from the SAS. Content/Courses/YVA1/Practices (HR) folder. © Click the Applications menu button and select Explore and Visualize. © Click All Reports. © Navigate to the Courses/YVA1/Practices (HR) folder. © Double-click the VA1- Practice4.2c report to open it 2. Change Page 3 to a pop-up page and rename the page to Employee Details. Click Page 3 to make it active. Click the Page menu button on the page tab and select Page type > Pop-up to make the page a pop-up page. Double-click the Page 3 heading to make it editable. Enter Employee Details and press Enter. 3. Modify the following options for the hidden page, Employee Details: Window width (percentage) |75 Window height (percentage) |75 © In the right pane, click the Options button © Inthe General group, enter 75 in the Window width (percentage) field. © Enter 75 in the Window height (percentage) field. 4, Add a page prompt to the Employee Details page that uses a slider control to select a range of values for years of service. © On the Employee Details page, click the Page menu button on the page tab and select Expand page controls. In the left pane, click the Objects button. Drag the Slider control, from the Controls group, to the Drop a data item or control to create a page prompt area In the right pane, click the Roles button. For the Measure/Date role, select Add > Years of Service hitps:vle.sas.comipluginfle.ohp/1238652imod_scoricontent/apsaln him 4046 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him 5. Modify the following options for the slider control: Object: Name Years of Service Selector Object: Title Select a range of years: Slider: Act on aggregated data in filtered objects Slider: Minimum 0 Slider: Maximum 45 Hint: Select the entire range of years for the slider control In the right pane, click the Options button. In the Object group, enter Years of Service Selector in the Name field. © Ifnecessary, select Custom title for the Title field. © Enter Select a range of years: in the Title field. In the Slider group, select Act on aggregated data in filtered objects. Enter 0 in the Minimum field. Enter 45 in the Maximum field. For the slider control, move the left and right circles to select the entire range of years. 6. Add a page link from the bar chart on the Employee Analysis page to the Employee Details page. Click the Employee Analysis page to make it active, Click the bar chart to make it active. In the right pane, click the Actions button. In the Actions pane, expand Page Links, if necessary. Click Employee Details. T. Save the report. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im a6, 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him 8. View the report and answer the following questions: a) How many employees retired in Italy with the Sales Rep. III job title? b) Management has decided to start promotions with active employees in the United States with the Sales Rep. | job title. Of the active employees with 25 or more years of service, how many generate a total profit more than $200,000? a) Two employees (Giulia Buonocunto and Giuseppe Franco Scoditti) b) Six employees © In the upper left corner, click the View report button. 9. Close the report. © In the upper right corner, click the More button and select Close. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 4246 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him SAS® Visual Analytics 1 for SAS® Viya®: Basics Lesson 04, Section 3 Practice: Working with Report-Level and Graph-Level Display Rules Practice: Working with Report-Level and Graph- Level Display Rules Be sure to sign in to SAS Viya before completing these steps. 1, Open the VA1- Practice4,3 report from the SAS. Content/Courses/YVA1/Practices (HR) folder. © Click the Applications menu button and select Explore and Visualize. © Click All Reports. © Navigate to the Courses/YVA1/Practices (HR) folder. © Double-click the VA1- Practice4.3 report to open it. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 404s, 06104122, 17:19 2. Add a report-level display rule for Job Title by assigning the following colors htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him to the values: Job Title Color Sales Rep. |, Il, Ill, V Deep blue Temp. Sales Rep., Trainee, Purchasing Agent |, Purchasing | Deep Agent Ill orange Verify that no object in the report is selected In the right pane, click the Rules button. In the Display Rules pane, select New rule, In the New Display Rule window, enter Sales Rep. | as the first value. Click the Select a style button on the left of the value. Choose Deep blue as the color. Click the Add button and enter Sales Rep. Il. Click the Select a style button on the left of the value. Choose Deep blue as the color. Click the Add button and enter Sales Rep. Ill Click the Select a style button on the left of the value. Choose Deep blue as the color. Click the Add button and enter Sales Rep. IV. Click the Select a style button on the left of the value. Choose Deep blue as the color. Click the Add button and enter Temp. Sales Rep.. Click the Select a style button on the left of the value. Choose Deep orange as the color. Click the Add button and enter Trainee. Click the Select a style button on the left of the value. Choose Deep orange as the color. Click the Add button and enter Purchasing Agent I. Click the Select a style button on the left of the value. Choose Deep orange as the color. Click the Add button and enter Purchasing Agent Ill Click the Select a style button on the left of the value. Choose Deep orange as the color. Click OK. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 4046, 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him 3. Add three expression display rules to the bar chart on the Profit Analysis page by assigning the following colors to the ranges of Total Profit: Total Profit Ranges Color Total Profit < 200,000 Red 200,000 < Total Profit < 500,000 | Yellow Total Profit > 500,000 Green Note: Apply the display rule to the bars of the chart. Click the Profit Analysis page to make it active. Click the bar chart to make it active. If necessary, in the right pane, click the Rules button. In the Display Rules pane, select New rule > Total Profit. Select < (less than) for the Operator field. Enter 200,000 for the Value field Select Graph for the Style Area field. For the Style field, click the Select a style button. Choose Red as the color. Click OK. In the Display Rules pane, select New rule > Total Profit. Select £xS for the Operator field Enter 200,000 for the Min field. Enter 500,000 for the Max field Select Graph for the Style Area field. For the Style field, click the Select a style button Choose Yellow as the color. Click OK. In the Display Rules pane, select New rule > Total Profit. Select > (greater than) for the Operator field Enter 500,000 for the Value field. Select Graph for the Style Area field. For the Style field, click the Select a style button. Choose Green as the color. Click OK. 4, Save the report. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 4846 06104122, 17:19 htps:vle.sas.com/pluginfle.php/1238552/med_scom/content/8lapsoln him 5. View the report and answer the following questions: a) How many employees retired in Spain? b) How many employees in Spain retired with the Sales Rep. | job title? c) View the Profit Analysis page. Among active employees in Orion Spain, how many groups generated a total profit above $500,000? a) Twelve employees retired in Spain. b) Four employees retired in Spain with the Sales Rep. | job title. c) Three groups (Assorted Sports Articles, Golf, and Shoes) © In the upper left corer, click the View report button. 6. Close the report. © Inthe upper right comer, click the More button and select Close. hitpsfvle.sas.comipluginfle.php/1238552imod_scormicontent/8iapsoin im 4646

You might also like