Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Zahmed14
Contributor III
Contributor III

Max date in data load and in chart

Hello Guys , 

am new to qlik ,  i have hana model which i load data from ,  what i need is to get the latest date in data load and also in charts 

i wrote below but give me error that  PHD_CERT1 not found


PHD_CERT1 :
Load
"PARTNER",
"OBJNR",
"RECNTYPE",
"TXT04",
"BEZ30",
"ZZFULL_NAME_ENG",
"NATIO50",
"CHDAT",
"Contract_Count" ;

Max("CHDAT") as Maxdate Resident PHD_CERT1
Group By "OBJNR","PARTNER","TXT04","BEZ30","ZZFULL_NAME_ENG","NATIO50","Contract_Count";

 

SQL SELECT "PARTNER",
"OBJNR",
"RECNTYPE",
"TXT04",
"BEZ30",
"ZZFULL_NAME_ENG",
"NATIO50",
"Contract_Count",
"CHDAT"

FROM "_SYS_BIC"."XXX.projects.XXX_Datamart/CV_RECN"
where "RECNTYPE" = 'ZH12' and "ZZFULL_NAME_ENG" <> '' ;

 

Also please advise  how to write in chart function 

Labels (2)
12 Replies
Zahmed14
Contributor III
Contributor III
Author

data loaded succesfuly  should i do somthing next before doing the max function ?

lironbaram
Partner - Master III
Partner - Master III

and the table name is PHD_CERT1 ?

Zahmed14
Contributor III
Contributor III
Author

i loaded data in PHD_CERt1  then i wrote max function and its working fine ... finaly he  can see the PHD_CERT1 

do i have put a relation between them in data manager or just put  max date in charts and tables directly  ?