BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Derick
Obsidian | Level 7

I have a barchart where Category set to Customer, while Measure set to Amount.  I need to show Top 10 record in barchart.  How I can do that?  Please help.

1 ACCEPTED SOLUTION

Accepted Solutions
PetriRoine
Pyrite | Level 9

Hello @Derick 

 

Have your tried to use Rank? You can use the Ranks to subset the data in your visualizations. A rank selects either the top (greatest) or the bottom (least) aggregated value for a category.

 

Rank.JPG

 

Best regards,

Petri

 

 

View solution in original post

6 REPLIES 6
koyelghosh
Lapis Lazuli | Level 10

Please post a little more detail.

Derick
Obsidian | Level 7

I have attached my current bar chart.  Now it show all customer record in the bar chart,  I need show only Top 10 amount in barchart

instead of all customer record.

 

 

barchart.png

 

Derick
Obsidian | Level 7

I just use SAS VA, didn't use any coding.   How I use the coding in SAS VA?

PetriRoine
Pyrite | Level 9

Hello @Derick 

 

Have your tried to use Rank? You can use the Ranks to subset the data in your visualizations. A rank selects either the top (greatest) or the bottom (least) aggregated value for a category.

 

Rank.JPG

 

Best regards,

Petri

 

 

PeterClemmensen
Tourmaline | Level 20

Ah ok, Didn't see that. I have no idea about VA 🙂

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 6 replies
  • 3409 views
  • 3 likes
  • 4 in conversation