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!!
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.