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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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