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

Hello,

I write a job  using dataflux 2.5

in a data job i insert a sql statement where i extract some fiels.

the next node i insert an expression node where i make a filter.

i want that only some fields goes to the next node.

i defined some  variabilies  as hidden but a i don't know how to exclude  the fields that come from sql statement

 

thanks

Sabrina

1 ACCEPTED SOLUTION

Accepted Solutions
db_sabrina
Calcite | Level 5

return false in main expression.

View solution in original post

2 REPLIES 2
db_sabrina
Calcite | Level 5

return false in main expression.

RonAgresta
SAS Employee

Hi,

 

From within an expression node, you can't hide columns coming from parent nodes. You can only use the "hidden" variable option on variables you create in the expression itself. To remove those unwanted fields, you should use a Field Layout node right after the expression node. It will let you limit the columns you want to have passed out to the next node in the job. You can also rename columns here.

 

Ron

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1038 views
  • 0 likes
  • 2 in conversation