BookmarkSubscribeRSS Feed
ksachar
Obsidian | Level 7

My Aggregated post-manipulation data looks like this:

 

<please see attachment>

 

There and thousands of customers, multiple products, 60 + months. Profit is calculated using a complex formula.

I want to plot the return using bar-chart/ Histogram and have a list control on the side as a filter so that check a check box provides me that specific product. If I select multiple Product types in the list control. SAS-VA will sum (aggregate it). But since net profit is a %. The sum of % will not make any sense.  I can calculate %  for all product type combinations in the ETL:

 

<please see attachment>

 

Is there any way that I can create a functionality where I select multiple product type say X and Y in list-control and (by using a parameter or something else) the bar chart shows me  13% as compared to 15% (which will be summing up 2 returns) ?

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