How do I calculate percentage in SAS viya using data item (calculation)
There are built-in calculations. Have you tried those to see if they meet your needs?
https://go.documentation.sas.com/doc/en/vacdc/8.5/vareportdata/p1vsphor4qnevcn13p4bepmj5wwx.htm
-------------------------------------------------------------------------
Four tips to remember when you contact SAS Technical Support
Tricks for SAS Visual Analytics Report Builders
SAS Visual Analytics Learning Center
Thanks a ton for your reply
I need to calculate percentage of subtotal and show in line chart . I tried this method but i am not getting the option of percentage of subtotal. I am using SAS viya 3.5
Could you please share screenshot of your data to understand exact
requirement?
try to calculate column as per attached document.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.