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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
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"