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

Fix one dimension in set analysis, let other dynamic

Hello experts, I need to fix one dimension in set analysis but still let others dynamic, E.g. sum({<date={"$(=max(date))"}>}sales)

For the other hand, I need to filter by country or department, but always get the last available date. I need something like  sum({<date={"1(=max(date))"}>}sales) 

 

Thanks!

Labels (3)
1 Solution

Accepted Solutions
sunny_talwar

May be this

Sum({<date = {"$(=Max({1} date))"}>} sales)

View solution in original post

3 Replies
jwjackso
Specialist III
Specialist III

Try the P() function

Sum({<date=P({1<date={"$(=Max(date))"}>}date)>}sales)

MEBG93
Creator
Creator
Author

Thanks @jwjackso but Date it's still dynamic. I want to permanently fix Date as max(Date) and ignore any future Date selections as well

sunny_talwar

May be this

Sum({<date = {"$(=Max({1} date))"}>} sales)