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: 
Not applicable

Select max value of a child

[English first,

French below]

Hi everyone,

I got a problem to select the max value of a child.

I know its not very clear, ill try to explain my thought.

Data:

a Domain own a DomainStatus and a few Rules ( each Rule may have more than one exec )

a Rule own a RuleStatus and an ExecutionDate.

In the bellow exemple, the Domain only have 1 Rule, but that Rule ave 4 executions.

I forgot to mention that for the first table, depending status :

OK : green

KO : red

- : yellow

Capture.PNG.png

I want my first table to display the RuleStatus of the most recent execution only and ignore older executions.

Iv tried some things but coulnd figure it out.

What would be the definition of the expression of RuleStatus ?

Thanks!

Ulysse

_______________________________________________________________________________

Bonjour à tous,

J'ai un soucis pour ne selectionner que la valeur max d'un child d'un enregistrement.

Bon c'est pas très clair, je vais essayer de détaillé ça :

Données:

un Domain possède un StatusDomain et un ensemble de plusieurs Rule (et une Rule peut avoir plusieurs executions).

une Rule possède un StatusRule et une date d'execution.

Dans l'exemple, le Domaine n'a qu'une seule Rule, mais cette dernière a plusieurs date d'execution.

Capture.PNG.png

Actuellement , je souhaite avoir dans le tableau du haut uniquement le StatusRule de l'execution la plus récente.

En soit c'est tout simple, n'afficher que le StatusRule where max DateExec.

J'ai fait plusieurs essais infructueux, raison pour laquelle je me tourne vers la communanuté

Quel serait la définition de l'expression de StatusRule ?

Merci d'avance,

Ulysse

Ce message a été modifié par : Ulysse ROLAND english written

10 Replies
MarcoWedel

vous êtes les bienvenus