Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to set default value for a column

Hi all,

i don't have source to a column,but i want to set the default value to the column. i tried in tmap to set the value, however i am getting Column 'abc' cannot be null.

regards,

keshav

Labels (3)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@keshav1991 , You can set constant column value like abc using tJavaRow or tMap.

 

in tJavarow:-

 

output_row.coulmn="abc"

 

in tMap:-

 

in the output section for the column in expression you just spcify "abc"

 

View solution in original post

1 Reply
manodwhb
Champion II
Champion II

@keshav1991 , You can set constant column value like abc using tJavaRow or tMap.

 

in tJavarow:-

 

output_row.coulmn="abc"

 

in tMap:-

 

in the output section for the column in expression you just spcify "abc"