Getting Started with SAS Viya Copilot for SAS Visual Analytics
Recent Library Articles
Turn data into insights faster with AI-powered summaries, translations, and more. This post covers how SAS Visual Analytics leverages copilot and walks through its capabilities and interface, best practices for writing prompts, as well as some tips on responsible use.
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.
I happy to be able to access my team's SAS environment, however, as my team's lead I have not been able to access the Engage Catalog. Whenever I try it errors out. catalog.engage.sas.com took too long to respond ERR_CONNECTION_TIMED_OUT
... View more
How to find the optimal Christmas gift for your children?
This is probably the most challenging question for most of us right now. This question as well as a lot of other things has become so much easier. The combination of SAS Viya and Claude and using the SAS Viya MCP Server as Claude's way to communicate with Viya you can now easily fully automate complex decision process utilizing the entire analytical life cycle. Here I will show how to implement Santa's Christmas present web page. The purpose of this Juletip is to inspire you all to start using the Viya MCP server.
The result is never better than the prompt. I prefer to work with Claude as my new colleague and give him clear instructions within the boundaries of his knowledge/skils. Here is the initial prompt. Did I remember all instructions?
The initial Claude promt
Claude will now do exactly this, generate all the new content as illustrated below based on the prompts. Especially the way it builds the decision flow with the combination of business rules and models is quite impressive.
The analytical life cycle for christmas presents
After some minutes Claude respond back that everything is ready and I get the link to the VA report that holds the web page for selecting presents.
The initial Christmas present web page
Looking at the web page I am first satisfied with how it looks, but I see that something is wrong. The winner among the presents is to clear. Most children always wish a lot of presents, it is not like one thing is way better than the rest. I answer back to Claude:
Second prompt for adjusting the data and models
And as expected Claude goes back, rebuilds the data and the models and quite soon I have the next iteration ready. Now it looks much more balanced, the children are now interested in multiple presents.
Santa's webpage for Christmas presents
It you are curious on what happened on the Viya side, it looks pretty much the same as if someone had developed all the steps themselves, the key difference is that it goes so much faster and that you don't need to be an expert in all the Viya tools. Here is some snapshots of the content.
Example screenshots and code snippets
This Juletip showed the real process for making the solution including the additional iteration. The purpose is to show how easy Viya development with MCP is. Errors are still made, but adjusting also got a lot easier. Claude is much better redoing things than us humans.
The Viya MCP server is open source and available for everyone to use. You will find it here (https://github.com/sassoftware/sas-mcp-server) with all the instruction you need to get started. I also encourage you to take a look at the first Juletip to see a bit more on how to install it.
If you need any guidance or help in using the MCP server, just contact me or ask in the thread of this post🎄
Some good articles for getting started:
Connecting Claude Code CLI to SAS Viya with the SAS Viya MCP Server
Connecting GitHub Copilot to SAS Viya with the SAS Viya MCP Server
Putting the SAS MCP Server to Work in Claude Code CLI
Model Context Protocol: What it is and why it matters
... View more
Are you aware of the Inside SAS 9 Newsletter? Below is one copy of the newsletter. Scroll to the bottom of the newsletter and subscribe to future versions of the newsletter. dsqjvx52uljvw.cloudfront.net/f/cisasusp/fba13848-508f-4bd5-8aa0-9e8ecff01eab.html
... View more
Hi All , I am migrating SAS Enterprise Guide (EG) 9.4 projects to SAS Viya 4 and facing an issue while importing an Excel file using the Import File node in SAS Viya. One of the Excel columns, TransactionDes_ACSC, contains mixed values: Date values displayed in Excel, such as 22-Sep-24 and 20-Sep-24. Character descriptions, such as adtasfsakHF. Blank values. In SAS Viya, the date values are imported as Excel serial numbers (for example, 22-Sep-24 is imported as 45557), while the character descriptions and blank values remain unchanged. I checked the imported dataset using PROC CONTENTS. The column is defined as a character variable with length 100 and format $100.. Expected result: I want the date values to remain in the same display format as in Excel (22-Sep-24), while preserving the character descriptions and blank values. Actual result: The date values are imported as numeric-looking character values (for example, 45557), instead of the expected date format. I would prefer to resolve this during the import process, if possible, rather than modifying the Excel source file or applying a separate DATA step after import. My questions: Is this expected behaviour in SAS Viya 4 when importing Excel columns containing mixed date and character values? Is there any Import File node configuration or SAS option that can preserve the original Excel date display format? Is there an alternative recommended approach to handle mixed-type Excel columns during import in SAS Viya Flows? Any suggestions or references to official SAS documentation would be appreciated. Thank you. Regards Adesh Gatkal
... View more
Alyssa Farrell, Director of Product Marketing at SAS, and PJ Walters, CEO at Katalyze, held a recent conversation on the importance of decision intelligence in today's fast-paced business world. As the amount of customer and organizational data increases, it's critical that businesses find ways to make better decisions, faster.
They also shared insights around SAS Decision Builder on Microsoft Fabric, which helps helps organizations connect analytics, business rules and organizational judgment from their OneLake data to make more consistent, governed decisions.
They also discuss:
Why insights don’t always translate into action and business outcomes – and how decision intelligence helps.
How business rules, predictive models, organizational judgment and governance work together.
How to address disconnected workflows, manual processes and unclear decision ownership.
How SAS Decision Builder on Microsoft Fabric orchestrates governed decision workflows using data in Microsoft OneLake.
How SAS and Katalyze can help identify high-value decisioning opportunities in the pharmaceutical, financial services and legal industries.
You can watch the recording on demand here: https://www.sas.com/en_us/webinars/beyond-analytics-turning-microsoft-fabric-insights-into-decisions.html
Finally, we encourage you to get started with SAS Decision Builder. Start for free with the in-app trial today: https://app.fabric.microsoft.com/workloadhub/detail/SAS.DecisionBuilder.SASDecisionBuilder?experience=fabric-developer
... View more