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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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