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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
cfountain72
Creator II
Creator II

'Show Column If' based on Date Range

Good Morning,

I have a pivot table with weekly columns stretching back for three years. Within this table, I am trying to use 'Show Column If' to dynamically show only the last seven weeks of activity.  Normally I would use set analysis to limit the measures to certain a data range, but for other reasons, that's not ideal. I have tried using... 

weekstart(PTArrivalDate)>= '2021-10-01'

weekstart(PTArrivalDate)>= today()-49

...but neither of these makes any difference in the table. 

Any suggestions?

Thanks in advance,

Chris

1 Solution

Accepted Solutions
Or
MVP
MVP

What you're trying to do won't work, unfortunately. Show/hide column is evaluated once, for the entire column. It is not evaluated for each specific dimension value.

View solution in original post

1 Reply
Or
MVP
MVP

What you're trying to do won't work, unfortunately. Show/hide column is evaluated once, for the entire column. It is not evaluated for each specific dimension value.