The Visual Analytics Alphabet Series – A is for Aggregated Data!
Recent Library Articles
Today, is brought to you by the letter A… which is for Aggregated Data. Aggregated data sources in SAS Visual Analytics 8.3 create smaller, reusable tables of summarized data across selected categories to help improve report efficiency, with performance verified through benchmarking.
Already a SAS Viya user? Then you know you’ve got a wealth of capabilities at your fingertips. We’ll explore those together, giving you access to all the insights you’ll need. Join us on December 10 at 11 a.m. ET.
Hi, I have a few questions about the answers to the quizzes for ch 1 and 2 of the advanced SAS certification prep guide. Thank you in advance for your comments! Chapter 1, #2. Answer key says A. two statements. But I think the answer should be 3 statements, since "QUIT;" is a statement as well. Chapter 1, #7. answer key says A. But I think the answer should be C. Chapter 2.#5. answer key says B. But I think the answer should be C, "describe table".
... View more
SAS VIYA 4 | RETAIL
SAS Viya Copilot Prompt Library for Retail
Practical prompts to help retail teams discover and prepare governed data, develop and evaluate analytical models, understand business performance, accelerate planning and develop decision logic with SAS Viya Copilot.
Jump to a section
SAS Data Governance
SAS Data and AI Studio
SAS Model Studio
SAS Model Manager
SAS Visual Analytics
SAS Intelligent Decisioning
SAS Intelligent Planning
BEFORE YOU START
Adapt the examples. Replace bracketed placeholders with objects from your SAS environment. Review outputs. Review generated SAS, Python, or R code, analytics, models, reports, recommendations and decision logic before operational use.
GOOD TO KNOW
Use authorized data and assets appropriate to your role and permissions. Treat Copilot output as decision support.
Capabilities vary by SAS product, release, configuration and permissions. Expected outputs describe intended outcomes, not guarantees of availability.
SAS Viya Copilot in SAS Data Governance Find and understand trusted retail data Back to top ↑
DATA GOVERNANCE
USE CASE
PROMPT
EXPECTED OUTPUT
Find demand data
“Find governed data assets relevant to [BUSINESS_QUESTION] that contain unit sales, returns, price, promotion, inventory, product, location, channel, or calendar data.”
Lists potentially relevant governed data assets.
Find retail hierarchies
“Find governed data assets relevant to [USE_CASE] that contain product or location hierarchy information.”
Lists potentially relevant governed data assets.
Find customer data
“Find governed customer or loyalty data assets relevant to [USE_CASE].”
Lists potentially relevant governed data assets.
SAS Viya Copilot in SAS Data and AI Studio Prepare retail data and engineer analytical features Back to top ↑
DATA PREPARATION
USE CASE
PROMPT
EXPECTED OUTPUT
Profile retail data
“Generate [SAS, Python, or R] code to profile [SALES_TABLE] for missing values, duplicate records, invalid dates, negative unit values, unexpected prices, and inconsistent [SKU_KEY] or [LOCATION_KEY] values.”
Generates reviewable profiling code and explains the checks.
Combine retail data
“Generate [SAS, Python, or R] code to join [SALES_TABLE], [INVENTORY_TABLE], [PRODUCT_TABLE], [LOCATION_TABLE], and [PROMOTION_TABLE] using [JOIN_KEYS]. Include checks for unmatched records.”
Generates reviewable join code and checks for unmatched records.
Create modeling data
“Generate [SAS, Python, or R] code to aggregate [TRANSACTION_TABLE] to [SKU_LOCATION_WEEK]. Include unit sales, revenue, returns, average selling price, promotion exposure, ending inventory, and stockout indicators.”
Generates reviewable code at the requested analytical grain.
Engineer demand features
“Generate [SAS, Python, or R] code to create lagged demand, rolling averages, price changes, promotion depth, holiday indicators, and stockout-history features for [TARGET]. Prevent future information from leaking into historical observations.”
Generates reviewable feature-engineering code with time-ordering and leakage-prevention logic.
SAS Viya Copilot in SAS Model Studio Work with machine learning and forecasting in distinct Model Studio experiences Back to top ↑
MACHINE LEARNING
USE CASE
PROMPT
EXPECTED OUTPUT
Build retail pipeline
“Build a machine-learning pipeline to predict [TARGET] using [INPUT_TABLE]. Include appropriate preprocessing and candidate modeling nodes.”
Builds a reviewable machine-learning pipeline with relevant preprocessing and modeling nodes.
Suggest next node
“Review this machine-learning pipeline and suggest the next node I should consider. Explain why it fits the current pipeline.”
Recommends a relevant next pipeline node and explains the recommendation.
Improve model pipeline
“Review this machine-learning pipeline and recommend supported changes that could improve the model. Explain the expected trade-offs before applying changes.”
Recommends pipeline improvements and explains the expected trade-offs for review.
Explain node results
“Explain the available results for [NODE_NAME] in plain language and identify the measures I should review before deciding what to do next.”
Explains available node results and relevant assessment measures in plain language.
VISUAL FORECASTING
USE CASE
PROMPT
EXPECTED OUTPUT
Get forecasting guidance
“For this [FORECASTING_PROJECT], explain the relevant SAS Visual Forecasting workflow or concept for [FORECASTING_TASK].”
Explains relevant forecasting workflows or concepts using supported guidance.
Work with forecasting pipeline
“In this forecasting project, help me understand or work with [PIPELINE_NAME], its nodes, or its available pipeline settings.”
Provides supported assistance for the forecasting pipeline, nodes or related settings.
Review forecast settings
“Explain the available project settings for this forecasting project and what I should consider before changing [SETTING_NAME].”
Explains supported forecasting project settings and relevant considerations.
Explain forecasting node
“Explain what [NODE_NAME] does in this forecasting pipeline and the relevant options or results available for this node.”
Explains the selected forecasting node and available information in context.
SAS Viya Copilot in SAS Model Manager Govern retail analytical models Back to top ↑
MODEL LIFECYCLE
USE CASE
PROMPT
EXPECTED OUTPUT
Understand project
“Show the available information for [RETAIL_MODEL_PROJECT], including its registered models and versions.”
Shows available project and registered-model information.
Manage champion
“Set [MODEL_NAME] as the champion model for [RETAIL_MODEL_PROJECT].”
Sets the selected model as the project champion.
Create model version
“Create a new version of [MODEL_NAME].”
Creates a new version of the selected model.
Find destination
“Show the available publishing destinations for [MODEL_NAME].”
Shows available publishing destinations.
Publish model
“Publish [MODEL_NAME] to [DESTINATION] and show the publishing-job status.”
Publishes the selected model and reports its publishing-job status.
SAS Viya Copilot in SAS Visual Analytics Understand retail performance Back to top ↑
VISUAL ANALYSIS
USE CASE
PROMPT
EXPECTED OUTPUT
Analyze inventory health
“Using the available report data, create an analysis of on-hand inventory, weeks of supply, stockout rate, excess inventory and sell-through by [CATEGORY], [SKU], [LOCATION] and [CHANNEL] for [DATE_RANGE].”
Creates inventory analysis from available report data.
Examine forecast accuracy
“Using the available report data, compare forecast and actual demand using [APPROVED_METRICS]. Show available error and bias results by forecast horizon, product hierarchy, location, channel and promotion status.”
Creates visual comparisons from available forecast-performance data.
Analyze promotions
“Using the available report data, analyze [PROMOTION_DATA] for [DATE_RANGE]. Compare unit sales, revenue, margin and available lift measures by promotion type, category, channel and region. Do not infer causality.”
Creates promotion-performance views that distinguish observed results from causal claims.
Explore channel trends
“Using the available report data, show changes in sales, order frequency, average basket value, returns and fulfillment behavior across [CUSTOMER_SEGMENTS] and [CHANNELS].”
Shows aggregated visualizations and descriptions of observed trends.
Explain retail report
“Explain the principal findings supported by this report. Separate observed trends from hypotheses and identify filters, unusual periods or data-quality issues that could change the interpretation.”
Summarizes supported findings, caveats and follow-up questions.
SAS Viya Copilot in SAS Intelligent Decisioning Find, explain and assess the impact of existing decision assets Back to top ↑
RETAIL DECISIONS
USE CASE
PROMPT
EXPECTED OUTPUT
Find decision assets
“Find existing decision flows, rules, models, or variables related to [RETAIL_DECISION_USE_CASE].”
Lists relevant existing decision assets.
Explain decision flow
“Explain [DECISION_FLOW] in business terms, including its major components and available outcomes.”
Explains the existing decision flow in business terms.
Explain variable
“Explain what [VARIABLE_NAME] represents and the available information about it.”
Explains the existing variable in business terms.
Trace variable usage
“Show where [VARIABLE_NAME] is used across existing decision assets.”
Identifies available Used By relationships for the selected variable.
Assess rule impact
“Show where [RULE_NAME] is used and which existing decision assets could be affected if it changes.”
Identifies available usage and change-impact information.
Explain retail rule
“Explain [RULE_NAME] in business terms, including its available conditions and outcomes.”
Explains the existing rule in business terms.
SAS Viya Copilot in SAS Intelligent Planning Explore planning data and evaluate retail scenarios Back to top ↑
RETAIL PLANNING
USE CASE
PROMPT
EXPECTED OUTPUT
Explore the plan
“Using the planning information available to Copilot, help me understand [FORM], [TABLE] and their relevant dimensions or hierarchy information.”
Summarizes available planning information.
Compare plan to actuals
“Using the planning data available to Copilot, help me compare [PLAN_KPI] with [ACTUAL_KPI] for [TIME_PERIOD] by [PRODUCT_LEVEL] and [LOCATION_LEVEL].”
Summarizes available plan-versus-actual information.
Find retail exceptions
“Using the available planning data, help me identify notable high and low results for [KPI] across [PRODUCT_LEVEL] and [LOCATION_LEVEL] for [TIME_PERIOD].”
Identifies notable results supported by available planning data.
Recommend planning actions
“Based on the planning information available for [PLAN_OR_SCENARIO], identify areas that may warrant attention and suggest possible planning actions. Ground each recommendation in available KPI information. Do not change the plan.”
Suggests planning actions grounded in available planning information.
Explore scenarios
“Using the planning information available to Copilot, compare [SCENARIO_A], [SCENARIO_B] and the base plan for [KPIS]. Explain notable differences supported by the available data.”
Summarizes supported differences among available planning scenarios.
REVIEW AND VALIDATION GUIDANCE
• Data and code: Confirm authorization for referenced data and assets. Review generated SAS, Python, or R code and validate joins, units, calendars, returns, stockouts and time-dependent transformations before use.
• Models and analytics: Validate recommendations, pipeline choices, model performance, bias, report filters, time periods and aggregation levels. Separate observed results from hypotheses or causal conclusions.
• Planning: Ground recommendations in available planning data, distinguish recommendations from execution, and verify scenario assumptions before operational decisions.
• Decisioning: Validate business-rule requirements, variables and customer-treatment logic. Trace variable usage before material changes and maintain appropriate human review for consequential decisions.
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
... View more
Today's DCSUG presentation by Kirk Paul Lafler was a big hit, with 101 live attendees. For anyone who missed it, please enjoy this on-demand recording along with his slides attached below. Happy viewing!
... View more
Being a SAS Administrator involves much more than installing and configuring SAS software. From managing users and security to monitoring system performance and keeping your environment up to date, there is a lot to keep track of!
But did you know that SAS has a dedicated resource page specifically for SAS Administrators?
Visit:
SAS Administrators – SAS Support
Here you'll find a collection of useful resources to help make your day-to-day administration tasks a little easier.
A few things worth exploring:
🎄 Get Started – Find guidance on onboarding, SAS architecture, security, installation and configuration.
🎄 Security – Learn more about authentication, identity management, access management, backup strategies and security bulletins.
🎄 Operations & System Tasks – Find documentation for maintaining your SAS environment, applying updates and hot fixes, managing storage and performing backups.
🎄 Monitoring – Learn how to monitor disk space, memory, CPU usage, network activity, scheduled jobs and SAS servers.
🎄 Best Practices – Explore practical recommendations, technical papers, blogs and resources for optimizing your SAS environment.
And if you're looking to expand your knowledge, you'll also find links to SAS Administrator training, certification, videos and the SAS User Group for Administrators and Architects (SUGA).
So, whether you're a seasoned SAS Administrator or just getting started, take a few minutes to explore the resources available. You might discover a useful tip or tool that makes your job a little easier!
Happy Holidays and happy administering! 🎅🎄
... View more
RikdR's article on Decision Economics of Real-time Signals (https://communities.sas.com/t5/SAS-Communities-Library/Decision-Economics-of-Real-time-Signals/ta-p/994900) lists decision governance as a source of value: being able to show how and why a decision was made. I'd like to ask about one specific part of that: replaying a past decision with only what was known at the time. Some background. In a retrospective study, I reconstructed all 65 Federal Reserve SOMA awards in a sample of U.S. 10-year Treasury auctions from published rules and inputs, with every absolute difference below USD 100. Matching the outcome turned out to be the easy part. The hard part is proving that each input was actually available before the decision, and a full point-in-time replay is still to be validated. A simple case shows the problem. A file describes Monday's state but is only published on Wednesday. For a decision with a Tuesday cutoff, that file must not be used, even though the rule it feeds was already in force on Monday. So each decision needs four separate timestamps: rule effective date, data reference date, data availability time and decision cutoff. In SAS Intelligent Decisioning: 1. Where would you enforce the availability constraint: upstream in the data query, inside the rule conditions, or in a code node? 2. Can an execution be bound to specific versions of the decision, its rule sets and lookup tables, together with the input data as available at the original decision cutoff, to support an auditable point-in-time replay? 3. Beyond rule-fired and path tracking, what would you keep in the execution record to make that replay auditable? I'd be grateful for any experience or pointers to documentation. Piotr Pach
... View more