Is it possible to define aggregated measures in computed columns using proc imstat?
I did not find a lot of documentation on computed columns in proc imstat. Following paper did supply a bit of info:
COMPUTED COLUMNS Using computed columns at data load time offers a couple of key advantages. First, computed columns are virtual and exist as code that executes when the table is accessed. In effect, this does not increase your data footprint in HDFS or in the data warehouse. Second, using computed columns in this way may provide you more flexibility in changing the calculation(s) if and when business rules change. Use PROC IMSTAT to add a permanent computed column to an in-memory table:
compute computed1 "computed1=mpg_city/mpg_highway";
It is worth noting that adding calculated columns at load time presents all users with the same calculation and report designers do not need to calculate the measures for every report.
Time is running out to save with the early bird rate. Register by Friday, March 1 for just $695 - $100 off the standard rate.
Check out the agenda and get ready for a jam-packed event featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events.
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.