We have following use case for non-additive measure. We want to know whether it is possible to handle following use case in Visual analytics 7.1 and if yes then how.
Use case as follows :
We have return data at 3 levels of hierarchy. Below figure shows Parent as 1, 2 and 3 are next level nodes and last 4,5,6,7,9,10 are child nodes. Each child node has return value (shown in green color). At the same time we have return data calculated at node 2 & 3, and node 1 again shown in green color.
What we want to create is return_pct measure with non-additive nature. So ideally when following reports is created (Figure 1), then it shows correct return values. When we drill up to next level, it shows aggregated value for node 2 & 3 (Figure 2), whereas, it should show real pre-calculated values as 2.3 and 1.9 respectively.
We want to know, how to create non-additive measure so that we can create correct report.
I asked the development team about this, and we don't think it is currently possible.
Can you tell us any more about the type of data you are working with or what field you are in?
I don't know if this would be helpful, but you could store the values for the upper level nodes in a separate calculated measure for each level. For your Lev1 above, that might look something like,
IF ( 'Lev1'n = '2' )
IF ( 'Lev1'n = '3' )
If you set the aggregation type to "Min", then that measure would always contain the correct value for your Lev1 level.
Maybe someone else could offer a better workaround.
Sorry I should have posted earlier.
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.
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.