
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Abscisse
Bonjour,
J'aimerais mettre 7 jours sur l'axe des abscisses. J'ai essayé de mettre une limitation nombre fixe 7 pour avoir 7 jours sur le graphe. Mais en abscisse j'ai + de 7 jours, je ne comprends pas pourquoi ? Avez vous une idée de comment faire ?
MErci
- « Previous Replies
-
- 1
- 2
- Next Replies »

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
J'aimerais avoir ces valeurs ici de ce tableau sur mon graphe


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Restrict the number of dates in your measure as below
Max({<Date={">=$(=Date(Max(Date)-7,'YYYY-MM-DD'))"}>}Duration)
If a post helps to resolve your issue, please accept it as a Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks !!
But I think we can't put a meeasure


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
replace YourDatefield, YourDurationField with appropriate field names as-in your data model
Max({<YourDatefield={">=$(=Date(Max(YourDatefield)-7,'YYYY-MM-DD'))"}>}YourDurationField)
If a post helps to resolve your issue, please accept it as a Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a warning => dimension non valide.
But the expression is good

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bonjour @eprehu
il faut mettre la fonction de @vinieme12 dans la mesure et non en dimension
l'objectif que la mesure soit visible seulement pour les valeurs date inférieur à 7
Taoufiq ZARRA
"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "
(you can mark up to 3 "solutions") 😉

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bonjour,
Oui mais sur cette visualisation seule les dimensions sont a mettre pour les lignes.
J'ai ma dimension date de base en ligne et ma mesure duration. Je ne peux pas mettre une mesure pour la date car qlik attend une dimension.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@eprehu si j'ai bien compris
dans la dimension date tu mettra la date sans modification de dimension (champ date je pense dans ton cas)
et dans la mesure duration tu remplace la mesure (Max(duration) je pense dans ton cas ) par
Max({<YourDatefield={">=$(=Date(Max(YourDatefield)-7,'YYYY-MM-DD'))"}>}YourDurationField)
YYYY-MM-DD à changer également par le format par defaut des date en france je pense dd/mm/yyyy
Taoufiq ZARRA
"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "
(you can mark up to 3 "solutions") 😉


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
if you want it as a calculated dimension then wrap it in AGGR() as below
=Aggr(Max({<Date={">=$(=Date(Max(Date)-7,'YYYY-MM-DD'))"}>}[Reload Duration]),Date)
If a post helps to resolve your issue, please accept it as a Solution.

- « Previous Replies
-
- 1
- 2
- Next Replies »