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

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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