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

Hello,

 

i need to create aggregates measure in SAS VA between values in different rows.

i attach an example file where you can find my desired result and formulas i need to create in VA.

 

Thank you!

Sara

1 ACCEPTED SOLUTION

Accepted Solutions
Frank_Boekamp
Quartz | Level 8

Hi Sara,

 

I'm not sure about which rows you would like to compare. If you would like to compare different machines with aggregated measures maybe you could try splitting up your measure: one measure for each machine. Splitting the measure you can do by creating a new calculated measure for each machine using an IF-THEN-ELSE construct like:

IF machine='k1'

then WGT_WASTE

else .

 

 

View solution in original post

2 REPLIES 2
Frank_Boekamp
Quartz | Level 8

Hi Sara,

 

I'm not sure about which rows you would like to compare. If you would like to compare different machines with aggregated measures maybe you could try splitting up your measure: one measure for each machine. Splitting the measure you can do by creating a new calculated measure for each machine using an IF-THEN-ELSE construct like:

IF machine='k1'

then WGT_WASTE

else .

 

 

sara112233
Calcite | Level 5

Hi Frank,

thank you for your suggestion. it gives me thew idea to solve my problem.

Sara

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
  • 2 replies
  • 1879 views
  • 0 likes
  • 2 in conversation