BookmarkSubscribeRSS Feed
0 Likes
The UI for condition rules authoring in SAS VI Data Object on SAS Viya is limiting.
 
For example, I am unable to achieve this expression below using the SAS VI user interface when defining a condition for a Data Object - I cannot set the parentheses correctly around the OR condition so I am highlighting the problem below in bold:
 
((VAR1='v1') or (VAR2='v2') or (VAR3='v3')) and (VAR4='v4') and (VAR5='v5')
 
1 Comment
pmvi
SAS Employee
Status changed to: Suggestion Under Review

Thanks for raising this suggestion.
Based on current capabilities, more complex logic like this may require restructuring the condition across multiple rule groups, rather than expressing it directly with nested parentheses.
To better understand the requirement and where this becomes challenging, could you clarify:

  • Is the main gap the inability to group conditions (AND/OR precedence), or are there additional expression needs beyond this?
  • Does restructuring the logic into multiple condition groups work for your scenario?
  • How complex do these rules typically get (e.g., number of fields or combinations)?
  • Is this a pattern you need to use regularly, or only in specific scenarios?