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.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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