I'm trying to build a simple calculated field in a List Table, that derives out of 2 columns. The formula is pretty straight-forward: New_Field = A / (A + C), however the data coming to New_Field is not correct. The data in the list table is filtered by a few drop-downs for Year, Month and Date and aggregated on a half-hourly basis. There should be something very basic I'm missing here... Any ideas?
I think you are using the calculated item field that calculates on dataline level.
What you need is an Aggregated Measure, because this one can calculates on group level.
This functionality is present in VA 6.2 and not in 6.1
It looks like this.
Shure this will solve your problem.
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.