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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Get value from Row.Column

I try to get a value from a row. I thought it should work like: ((String)globalMap.get("rowX.XXCOLUMNNAMEXX"))
As shown in my example I try a simple print out from row2 like:
System.out.println(globalMap.get("row2.gln_orderedBy"));
Can anybody help me? Where is the error?
Thanks,
Robert
Labels (2)
4 Replies
Anonymous
Not applicable
Author

In order to access data flow, should use tjavarow instead of tjava.
On tjavarow, you can access the column value like:
System.out.println(input_row.columnName);
Anonymous
Not applicable
Author

Hi,
I have a column having sum(spend) in tHash component. I want to find nth percentile value for that whole column. I have a java function getPercentile for percentile ready which takes (int k,float...values) as arguments. How can I pass all values in column sum(spend) to this function?
Thanks and regards,
Himani
Anonymous
Not applicable
Author

Hi Himani  
What are your input parameters of the java function, can you please show us the source code of function?
Regards
Shong
Anonymous
Not applicable
Author

I want to retrieve all the values of tJavaRow return by tFilter using tjava.
I already tried to put these row values into globalMap values but it returned only the values of last row.
If anyone know the solution please suggest me.
0683p000009MCxL.png 0683p000009MClL.png