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

Hi, I'm migrating an excel report to SAS Visual Analytics. On the report there is an KPI that is calculated comparing results using the first line as reference:

 

price   diff

10       0

20       10

30        20

 

The challeng is that there are a lot of filters and this first number will change when the filters are used on report.

 

Thanks!

 

Rogério

 

 

Rogerio Alves
1 ACCEPTED SOLUTION

Accepted Solutions
Rogerio_Alves
Obsidian | Level 7

Thanks to answer, it works for me!

Rogerio Alves

View solution in original post

4 REPLIES 4
FredrikE
Rhodochrosite | Level 12

Maybe the aggregate function FIRST can help you?

 

image.png

//Fredrik

Rogerio_Alves
Obsidian | Level 7
Thanks to answer!


Will it running inside of VA? Do you have some example?

Thanks.
Rogerio Alves
FredrikE
Rhodochrosite | Level 12

Hi!

This is an example using sashelp.class:

 

image.png

 

Might help you 🙂

//Fredrik

Rogerio_Alves
Obsidian | Level 7

Thanks to answer, it works for me!

Rogerio Alves

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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