Hi!
I'm trying to compare information in my database choosing any two dates and comparing the information absolute and relative way.
I found a way to choose any two dates and make the absolute comparison but i can´t find how to do the relative comparison (%).
Also, i'm showing the information in two tables; one contains the information for both days and the other only has the comparison, that makes the analysis difficult because the user has to scroll both tables.
Some context:
I'm comparing information that can be added and information that can not be added by sum.
The way to choose both dates is using text input and filtering a table that shows the variables for those days.
For the difference between dates i created a new calculated item that put the information positive for one day and negative for the other, everything else is zero and i use it in a new table aggregating the information.
Please provide a representative portion of the data, as SAS data steps, following these instructions: https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat...
Please show us the desired end result.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.