Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Fred12
Contributor III
Contributor III

MAX in set analysis between week

Hello, I try to have the max value in this set analysis : 

sum({<DATE_SEMAINE={"2023-29","2023-30","2023-31","2023-32","2023-33","2023-34","2023-35","2023-35","2023-36","2023-37","2023-38"}>} VENTES_QTE_HEBDO)

 

I want get the  MAX(ventes_qte_hebdo)  for these 10 week.

For example if the max(ventes_qte_hebdo)  is for the 2023-32, then I GOT the value of the max(VENTES_QTE_HEBDO) for the 2023-32.

I need the max(sum(ventes_qte_hebdo)) for these week

 

I tried a lot of things with bottom, toppom ... and aggr but it returns me never the result I expect.

 

 

Thanks in advance

Labels (4)
1 Solution

Accepted Solutions
agigliotti
MVP
MVP

Hi @Fred12 ,

Maybe this:

Max( Aggr( sum({<DATE_SEMAINE={"2023-29","2023-30","2023-31","2023-32","2023-33","2023-34","2023-35","2023-35","2023-36","2023-37","2023-38"}>} VENTES_QTE_HEBDO),  DATE_SEMAINE ) )

I hope it can helps.

Best Regards

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it

View solution in original post

2 Replies
agigliotti
MVP
MVP

Hi @Fred12 ,

Maybe this:

Max( Aggr( sum({<DATE_SEMAINE={"2023-29","2023-30","2023-31","2023-32","2023-33","2023-34","2023-35","2023-35","2023-36","2023-37","2023-38"}>} VENTES_QTE_HEBDO),  DATE_SEMAINE ) )

I hope it can helps.

Best Regards

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
Fred12
Contributor III
Contributor III
Author

Thanks, it works !