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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Get MAX(index) FROM table [tMysqlRow]

Hi all,
I'm trying to get the maximum value of a column which contains INT values.
Therefore, I use a tMysqlRow with the following query:
"SELECT MAX(id_partner) FROM BI_DWH_dimension_partner"

Then I try to link this tMysqlRow with a tMap, but during the execution of the job we can see that the value of the row loaded is null.
What am I doing wrong here?
Thank you for your advice 0683p000009MACn.png
0683p000009MCd2.png 0683p000009MCFu.png 0683p000009MCgz.png
Labels (2)
11 Replies
Anonymous
Not applicable
Author

Yes indeed, I am sorry, I forgot to tell you that I changed the Lookup Model as "Reload at each row" (screenshot below).
But I am still facing the same error.
The third screenshot is just to confirm that I have data in the table so I am not suppose to get any java NullPointerException.
Thank you for following me up on this issue.
  
0683p000009MCf3.png 0683p000009MCeU.png 0683p000009MBkc.png
0683p000009MClP.png
0683p000009MCk8.png
0683p000009MCg1.png
Anonymous
Not applicable
Author

Hi @jlolling,
Any update on my issue ?
I looked into it, but I don't understand why this error is raised.
I added to my previous post 3 other screenshot for each tMysqlInput.
Maybe it will helps to understand that issue.
Thx.