I have the following data, I'd like to create a report with a cross table.
rec_id | company_id | signals | month |
1000 | 1 | 1 | October |
1001 | 1 | 0 | October |
1002 | 2 | 1 | October |
1003 | 2 | 1 | October |
1004 | 2 | 0 | October |
1005 | 3 | 1 | October |
In the report I would like to have
the count of the rec_id
the distinct count of company_id (which I did with aggregated value and distinct)
the sum of signals
a signal per company_id so for company A 1 signal, B 1 signal (not 2 signals) and C 1 signal
The signal column doesn't have values more than 1.
How can I create such an aggregated value?
Hello @GreyHamster ,
Creating needed variables:
Best regards,
Petri
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.