Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Condition d'affichage des dimensions

Bonjour à tous,

Voici ma question :

Dans un tableau simple, j'ai une dimension A pour laquelle j'ai en expression une valeur B.

est-il possible de conditionner l'affichage des lignes de A en fonction des valeurs B ?

En résumé je souhaite afficher uniquement les lignes A supérieur à 1 par exemple.

Merci de votre aide

Christophe

1 Solution

Accepted Solutions
rfe
Employee
Employee

Bonjour,

une solution serait de faire ceci

un graphique de type tableau

dans la partie dimension, il faut mettre une dimension calculée de type

if(aggr(sum(B), A)>1, A)

et dans la partie expression votre expression (dans mon exemple sum(B))

Bonnes fêtes

View solution in original post

27 Replies
rfe
Employee
Employee

Bonjour,

une solution serait de faire ceci

un graphique de type tableau

dans la partie dimension, il faut mettre une dimension calculée de type

if(aggr(sum(B), A)>1, A)

et dans la partie expression votre expression (dans mon exemple sum(B))

Bonnes fêtes

Not applicable
Author

Je suis absent(e) du bureau jusqu'au 02/01/2013

I am out of the office and get back to you when I return.

Remarque : ceci est une réponse automatique à votre message "[Groupe des

Utilisateurs Francophones] - Condition d'affichage des dimensions" envoyé

le 27/12/12 11:08:27.

C'est la seule notification que vous recevrez pendant l'absence de cette

personne.

This message and any attachments (the "message") is

intended solely for the intended addressees and is confidential.

If you receive this message in error,or are not the intended recipient(s),

please delete it and any copies from your systems and immediately notify

the sender. Any unauthorized view, use that does not comply with its purpose,

dissemination or disclosure, either whole or partial, is prohibited. Since the internet

cannot guarantee the integrity of this message which may not be reliable, BNP PARIBAS

(and its subsidiaries) shall not be liable for the message if modified, changed or falsified.

Do not print this message unless it is necessary,consider the environment.

Not applicable
Author

Je suis absent(e) du bureau jusqu'au 02/01/2013

I am out of the office and get back to you when I return.

Remarque : ceci est une réponse automatique à votre message "[Groupe des

Utilisateurs Francophones] - Re: Condition d'affichage des dimensions"

envoyé le 27/12/12 11:26:16.

C'est la seule notification que vous recevrez pendant l'absence de cette

personne.

This message and any attachments (the "message") is

intended solely for the intended addressees and is confidential.

If you receive this message in error,or are not the intended recipient(s),

please delete it and any copies from your systems and immediately notify

the sender. Any unauthorized view, use that does not comply with its purpose,

dissemination or disclosure, either whole or partial, is prohibited. Since the internet

cannot guarantee the integrity of this message which may not be reliable, BNP PARIBAS

(and its subsidiaries) shall not be liable for the message if modified, changed or falsified.

Do not print this message unless it is necessary,consider the environment.

Not applicable
Author

Merci pour votre aide c'est ce que je recherchais.

Excellente fêtes de fin d'années !

Not applicable
Author

Je suis absent(e) du bureau jusqu'au 02/01/2013

I am out of the office and get back to you when I return.

Remarque : ceci est une réponse automatique à votre message "[Groupe des

Utilisateurs Francophones] - Re: Condition d'affichage des dimensions"

envoyé le 27/12/12 11:43:53.

C'est la seule notification que vous recevrez pendant l'absence de cette

personne.

This message and any attachments (the "message") is

intended solely for the intended addressees and is confidential.

If you receive this message in error,or are not the intended recipient(s),

please delete it and any copies from your systems and immediately notify

the sender. Any unauthorized view, use that does not comply with its purpose,

dissemination or disclosure, either whole or partial, is prohibited. Since the internet

cannot guarantee the integrity of this message which may not be reliable, BNP PARIBAS

(and its subsidiaries) shall not be liable for the message if modified, changed or falsified.

Do not print this message unless it is necessary,consider the environment.

martin59
Specialist II
Specialist II

Bonjour Christophe,

La solution énoncée ci-dessous fonctionne bien, mais n'est pas la plus optimisée.

Vous risquez d'être confronté à de longs temps de chargement pour votre tableau si vous êtes face à une volumétrie importante.

Voici ce que je vous recommanderai (cette solution ne fonctionne cependant que depuis la version 11 de QV) :

Allez dans les propriétés de votre tableau simple, onglet "Limites dimensionnelles".

Sélectionnez la dimension "A" si vous en avez plusieurs, et cochez comme ci-dessous :

2012-12-27_16h36_37.png

J'espère être assez clair,

Martin Favier

Not applicable
Author

Je suis absent(e) du bureau jusqu'au 02/01/2013

I am out of the office and get back to you when I return.

Remarque : ceci est une réponse automatique à votre message "[Groupe des

Utilisateurs Francophones] - Re: Condition d'affichage des dimensions"

envoyé le 27/12/12 16:42:50.

C'est la seule notification que vous recevrez pendant l'absence de cette

personne.

This message and any attachments (the "message") is

intended solely for the intended addressees and is confidential.

If you receive this message in error,or are not the intended recipient(s),

please delete it and any copies from your systems and immediately notify

the sender. Any unauthorized view, use that does not comply with its purpose,

dissemination or disclosure, either whole or partial, is prohibited. Since the internet

cannot guarantee the integrity of this message which may not be reliable, BNP PARIBAS

(and its subsidiaries) shall not be liable for the message if modified, changed or falsified.

Do not print this message unless it is necessary,consider the environment.

Not applicable
Author

Merci pour ce retour Martin.

Votre solution semble intéressante puisqu'il est vrai que le temps de chargement à sensiblement augmenté depuis.

Décidement il faut vraiement que je prenne le temps de passer à la V11 (Actuellement V9).

Je testerai dès que possible votre solution.

Merci encore.

Christophe

Not applicable
Author

Je suis absent(e) du bureau jusqu'au 02/01/2013

I am out of the office and get back to you when I return.

Remarque : ceci est une réponse automatique à votre message "[Groupe des

Utilisateurs Francophones] - Re: Condition d'affichage des dimensions"

envoyé le 27/12/12 16:50:31.

C'est la seule notification que vous recevrez pendant l'absence de cette

personne.

This message and any attachments (the "message") is

intended solely for the intended addressees and is confidential.

If you receive this message in error,or are not the intended recipient(s),

please delete it and any copies from your systems and immediately notify

the sender. Any unauthorized view, use that does not comply with its purpose,

dissemination or disclosure, either whole or partial, is prohibited. Since the internet

cannot guarantee the integrity of this message which may not be reliable, BNP PARIBAS

(and its subsidiaries) shall not be liable for the message if modified, changed or falsified.

Do not print this message unless it is necessary,consider the environment.