Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Make appear the number of retirement

Hello.

i want to make appear the 'Départ à le retraite' which is the number of retirement but i want the filter stay on Année.

Who can help me.

Best regards

1 Solution

Accepted Solutions
Peter_Cammaert
Partner - Champion III
Partner - Champion III

To the LOAD of FAITDH.qvd, add a single additional column called AnnéeDeRetraite and reload:

LOAD

:

    Charge,

    year(DateRetraite) AS AnnéeDeRetraite

FROM...

Now in your two tables in Départ à la Retraite, change the expression for the currently selected year into:

=Count({<Année=, AnnéeDeRetraite = {"$(=Max(Année))"}>} DISTINCT CleRetraite)

and for the previous year into:

=Count({<Année=, AnnéeDeRetraite = {"$(=Max(Année)-1)"}>} DISTINCT CleRetraite)

Note that you can select multiple values for Année, but the digital displays will only take the maximum year into account.

Good luck,

Peter

View solution in original post

2 Replies
Peter_Cammaert
Partner - Champion III
Partner - Champion III

To the LOAD of FAITDH.qvd, add a single additional column called AnnéeDeRetraite and reload:

LOAD

:

    Charge,

    year(DateRetraite) AS AnnéeDeRetraite

FROM...

Now in your two tables in Départ à la Retraite, change the expression for the currently selected year into:

=Count({<Année=, AnnéeDeRetraite = {"$(=Max(Année))"}>} DISTINCT CleRetraite)

and for the previous year into:

=Count({<Année=, AnnéeDeRetraite = {"$(=Max(Année)-1)"}>} DISTINCT CleRetraite)

Note that you can select multiple values for Année, but the digital displays will only take the maximum year into account.

Good luck,

Peter

Not applicable
Author

Thank you very much Peter. It's work.