BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
swamgan
Calcite | Level 5

All,

     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?

SAS_VA.jpg

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Ce_Wo
Calcite | Level 5

Hi There,

I think you might be looking for the "New Aggregated Measure";

untitled1.bmp

then your formula should look like this (use the sum group by)

untitled2.bmp

hope that helps

View solution in original post

3 REPLIES 3
Ce_Wo
Calcite | Level 5

Hi There,

I think you might be looking for the "New Aggregated Measure";

untitled1.bmp

then your formula should look like this (use the sum group by)

untitled2.bmp

hope that helps

PeterWijers
Lapis Lazuli | Level 10

Dear swamgan,

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

Calc.jpg

It looks like this.

Calc1.jpg

Shure this will solve your problem.

Greetings

swamgan
Calcite | Level 5

Thanks to you both, apparently I don't have 6.2 yet.

SAS Innovate 2025: Register Now

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!

Tips for filtering data sources in SAS Visual Analytics

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.

Discussion stats
  • 3 replies
  • 1915 views
  • 3 likes
  • 3 in conversation