Hi,
I would like to use parameter for the display rule's interval instead of hard coded it because my interval may change depending on data. May I know how can I achieve this? Thanks
Hi!
One way is to create a calculated item that uses your parameter and then create the display rule on that calculated item.
//Fredrik
Hi Fredrike,
Thanks for you time on my question. But, I would like to have the parameter on the interval eg.(1 >= <= 5 ; 5 > <= 10 ; 10 > <= 15), those number to parameter, understand that it is not possible but is there any other way to achieve this? Thanks
Maybe i am way out here 🙂
but...
IF you create a calculated measure that use your parameter or parameters to create a status and then create a display rule on that status, something like this:
If [parameter] = '1 >= <= 5' and (1 <= [value] <=5) then status = 1
else If [parameter] = '5 >= <= 10' and (5 <= [value] <=10) then status = 1 ***** (or 2 if you want to have different display rules)
else If [parameter] = '10 >= <= 15' and (10 <= [value] <=15) then status = 1 ***** (or 3 if you want to have different display rules)
Won't that work fo you?
//Fredrik
Hi Fredrike,
That was a good idea but it still not achievable on GAUGE right?
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.