BookmarkSubscribeRSS Feed
vitali_pom
Calcite | Level 5

Hi,

When I try to do the following, I get an exception:

dt1 << Data Filter(

  add Filter(

  columns(:MyCol),

  Where( contains(:MyCol, "A12") > 0)

  ),

  mode(show(1))

) << invert row selection;

And I get the following exception:

The WHERE clause has not been correctly specified. in access or evaluation of 'Greater'

How to accomplish what the code tries to do properly?

2 REPLIES 2
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1003 views
  • 3 likes
  • 2 in conversation