Exploring, modeling, predicting and reporting with SAS Visual Analytics and SAS Visual Statistics

Assign numeric parameter to receive input from button bar which contains text selections('TOP 5' ,)

Reply
Occasional Contributor
Posts: 13

Assign numeric parameter to receive input from button bar which contains text selections('TOP 5' ,)

Hi  Folks,

 

I made a button  bar to receive input to display top 5 /top 10 customers and I am forced to use text parameter since my button bar selection contains 'TOP 5' 'TOP 10' etc.I am using this parameter directly in rank filter and rank filter allows only numeric parameter.Could you please provide me a solution for this,.

 

Do you know how to create a numeric paramter from the text parameter or is there any way I can use numeric paramter in button bar which has Text selections('TOP 5').

 

Please provide your valuable thoughts on this.

 

Regards,

J George

Frequent Contributor
Posts: 75

Re: Assign numeric parameter to receive input from button bar which contains text selections('TOP 5'

you should be able to create a calculated item that outputs a numeric value, just make sure its set as a numeric type

 

IF ( 'Rank_Parameter'n = 'Top 5' )
RETURN 1
ELSE 2

 

 

Post a Question
Discussion Stats
  • 1 reply
  • 136 views
  • 1 like
  • 2 in conversation