Hi All
I am currently putting up a list table where I showcase different aggregated measures. While creating the aggreated measure I am not able to specify multiple conditions
For e.g: (Profit %for Active customers for country id1) = (Sum of Profit for Active cutomers) /(Total Profit) where country_ID=1. So typically I want add this additional where clause but not sure how to mae the same in Report Deisgner.
Can anyone help?
You can try with multipule "and" Function in (SASVA)order to aggregate more then one condition.
Pls find the below attached image let me know if you need more clearity on it....
Thanks
Hey guys, hope you're going well.
I'm having some trouble and I hope you would help.
I have this data:
Moth | Code | Money | Plan | Business Unit |
1/1/2019 | 52007 | - 0,50 | - 569,79 | A |
1/1/2019 | 52007 | - 0,04 | - 569,79 | A |
1/1/2019 | 52007 | - 0,22 | - 569,79 | A |
1/1/2019 | 52007 | 1,53 | - 569,79 | A |
1/1/2019 | 52007 | - 1,23 | - 569,79 | A |
1/1/2019 | 52011 | -0,71 | -971,3121737 | A |
1/1/2019 | 52011 | -0,22052 | -971,3121737 | A |
1/1/2019 | 52011 | 10,25 | -971,3121737 | A |
1/1/2019 | 52011 | 2,32 | -971,3121737 | A |
1/1/2019 | 52011 | -0,95887 | -971,3121737 | A |
1/1/2019 | 52011 | -0,05 | -8617,361473 | B |
1/1/2019 | 52011 | -0,00014 | -8617,361473 | B |
1/1/2019 | 52011 | 0,01 | -8617,361473 | B |
1/1/2019 | 52011 | -0,01 | -8617,361473 | B |
1/1/2019 | 52011 | -0,02 | -8617,361473 | B |
1/1/2019 | 52011 | -0,01 | -8617,361473 | B |
1/1/2019 | 52011 | -0,01 | -8617,361473 | B |
1/1/2019 | 52011 | -0,01 | -8617,361473 | B |
1/1/2019 | 52011 | -0,01 | -8617,361473 | B |
1/1/2019 | 52011 | -0,01 | -8617,361473 | B |
1/1/2019 | 52011 | -0,01 | -8617,361473 | B |
1/1/2019 | 52016 | -0,00071 | -7,278911158 | B |
1/1/2019 | 52016 | -0,00004 | -7,278911158 | B |
As you can see, the value column "PLAN" is the same for each month&code&BusinessUnit. I want to create a crosstab in SAS Visual analytics (7.3) that shows "plan" but I don't know how to not-repeat each plan value or sum it. I mean, if I filter a Code, I would like to see this in SAS:
Month | Code | Money | Plan | Business Unit |
1/1/2019 | 52007 | - 0,46 | - 569,79 | A |
This is, I want SAS to effectively SUM the "money" column, but not sum the "plan" column, just put the value (that repeats in EACH line in the original data).
I've been trying and reading lots of things but still can't get it. Anyone knows? Can you help me please?
Thank you in advance!!
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.