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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 1478 views
  • 3 likes
  • 3 in conversation