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: 
sunnybi
Contributor III
Contributor III

expression with calculted dimension

Hi everyone, 

Hope you all good !

I need your help in this situation : 

I got a cross table with this only  dimension : =if(calendrier.num_sem_fisc<=week(today()) , calendrier.num_sem_fisc)

basically it says : if mydimension(N°of week)<=week(today()) then mydimension(N°of week)

when I pick some value into mydimension(N°of week), the filter says : if(calendrier.num_sem_fisc<=week(today()) , calendrier.num_sem_fisc)

Capture d’écran 2025-08-18 161535.png

nonetheless, for some expression in this pivot table , i don't want to this filter to be applied . I tried a lot a things but nothing work so far . 

Do you have any advice ? Feel free to ask any question . 

Thanks in advance for help and support ! 

Labels (1)
1 Solution

Accepted Solutions
marcus_sommer
MVP
MVP

Don't use calculated dimensions. In your case you could add this kind of information already within the calendar, for example (simplified):

pick(sign(week(today()) - WEEK) + 2, 'future', 'current', 'past') as Flag

Nearly no period-related information should be created/adjusted within the UI.

If you then want to ignore some selections you could just these fields into a set analysis, like:

count({< Field1, Field2 >} MyKPI)

View solution in original post

2 Replies
marcus_sommer
MVP
MVP

Don't use calculated dimensions. In your case you could add this kind of information already within the calendar, for example (simplified):

pick(sign(week(today()) - WEEK) + 2, 'future', 'current', 'past') as Flag

Nearly no period-related information should be created/adjusted within the UI.

If you then want to ignore some selections you could just these fields into a set analysis, like:

count({< Field1, Field2 >} MyKPI)

Chanty4u
MVP
MVP

Try this.

Sum({< calendrier.num_sem_fisc = {"<=$(=week(today()))"}>} Value)