Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Max date par mois

Bonjoir,

HELP! Je voudrais selectionner les enregistrements du dernier jour de chaque MoisAnnée dans le script load.

Exemple:

dateenregistrement
01/08/2012text1
06/08/2012text2
01/09/2012

text3

le resultat doit etre :

dateenregistrement
06/08:2012text2
01/09/2012text3

Merci d'avance

28 Replies
Anonymous
Not applicable
Author

Harshita Gaur

thank you

but is not working !

vous faite la formule de calcule dans la table.

moi je veux avoir une resultat finale au restitution , donc je voulais faire manupilation au moment de chargement des données

Not applicable
Author

did you see the latest qvw, attached by me?

Anonymous
Not applicable
Author

Hello again,

i tried that:

load

    MakeDate(Year(Date),Month(Date),Max(day(Date))) as MAxDayPerMonth,

     Enregistrement

resident Table1;

but Error in " Max(day(date))"

my file is:

date                              enregistrement

01/08/2012                         1

02/08/2012                         2

10/08/2012                         3

09/09/2012                         4

i need to get the table:

Date                              enregistrement

10/08/2012                         1

09/09/2012                         4

Thanks for your help

Anonymous
Not applicable
Author

Oui, mais vous faite l'expression

(F1=max(aggr(nodistinct max( F1),month_date)),F3,0)

i need a formule for

Load ....... resident......

not in the graphique !

I need data for every month but JUST the last day for each month !

Anonymous
Not applicable
Author

@andu cheliyan

thanks but i tried , it s not working !

Not applicable
Author

You can try the QVW, this time its in script.Sorry for the confusion.

hope it helps this time

robert99
Specialist III
Specialist III

It worked for me

What was the problem?

robert99
Specialist III
Specialist III

Date                              enregistrement

10/08/2012                         1   ????? shoudl this be 3

09/09/2012                         4

Anonymous
Not applicable
Author

Yes 3

sorry

Anonymous
Not applicable
Author

i want to get all the date with the data just the exception is:

if i have ONE data per Month  -----> ok no change

If i have MORE THAN 1 data per month -------> get the last data for this month