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

Hi Community,

 

I've a Category with values(AS,NA,EU,OC,SA,EF,AF)

I would like use the "Button Bar" to pass input values with values under

label "Mine"="AS",

"All"="AS,NA,EU,OC,SA,EF,AF"

 

but I'm getting it as "Mine"="AF" and "All" ="AS,NA,EU,OC,SA,EF"

 

how can i add "AF" to "All" label refer the Image attached.

 

Kind Regards

Balraj


doubt.PNG
1 ACCEPTED SOLUTION

Accepted Solutions
MichelleHomes
Meteorite | Level 14

Hi Balraj,

 

I think to achieve what you are after you need to have 2 new data items for 2 button bar objects. Create one as a label with All that has all the categories and create another with just AF by using an expression. Then use the each data items as the underlying data for a button bar object in the report.

 

Kind Regards,

Michelle

//Contact me to learn how Metacoda software can help keep your SAS platform secure - https://www.metacoda.com

View solution in original post

3 REPLIES 3
MichelleHomes
Meteorite | Level 14

Hi Balraj,

 

To understand your question correctly, you want to include the "AF" category in both labels, Mine and All? A category can only be in one group. Essentially being "AF" and all other category values, mutually exclusive.

 

Kind Regards,

Michelle

//Contact me to learn how Metacoda software can help keep your SAS platform secure - https://www.metacoda.com
balraj
Quartz | Level 8

Hi Michelle,

 

You understood it correctly. If that is the case how can I Implement it. Is there any work around for doing it.

 

Kind Regards

Balraj

MichelleHomes
Meteorite | Level 14

Hi Balraj,

 

I think to achieve what you are after you need to have 2 new data items for 2 button bar objects. Create one as a label with All that has all the categories and create another with just AF by using an expression. Then use the each data items as the underlying data for a button bar object in the report.

 

Kind Regards,

Michelle

//Contact me to learn how Metacoda software can help keep your SAS platform secure - https://www.metacoda.com

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
  • 3 replies
  • 945 views
  • 0 likes
  • 2 in conversation