BookmarkSubscribeRSS Feed
PatrykSAS
Obsidian | Level 7

Hello. I have a problem with showing the information that the report should contain. I want to show how many ID has changed its indicator value to another specific indicator in a certain time period. The table is similar to the one below.

 

ID DATE INDICATOR (X,Y,Z)
1

2020-09

0
1 2020-10 1
1 2020-11 1
2 2020-09 0
2 2020-10 1
3 2020-10 3
3 2020-11 1

 

So example, report user wants to check how many IDs has changed their indicator from 0 to 1 between 2020-09:2020-10. The answer is 2 (ID 1 and 2). However, if he wanted to change the time range to 2020:09-2020-11 then the answer is 1 (ID 2 didn't appear in 2020-11 date so we don't count that). The user should also be able to change the display options to a different value of the indicator. Now he wants to show number of ID's that changed indicator from 3 to 1 between 2020-10:2020-11 and then is shown 1 (case ID 3)

 

I am asking for help in finding solutions. Can I do it directly in VA or should I redo the table somehow. However, I do not want to modify the task in such a way that it requires adding new columns each time data arrives. If there is a new month, December, January, etc., the report should recalculate automatically.

 

SAS VA 7.5

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 0 replies
  • 1262 views
  • 0 likes
  • 1 in conversation