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: 
stekol61
Creator
Creator

Fiter in expression issue

I have an expression with some filters.

When I hardcode a date as 'Week_S={'2019-10'}' the result is OK.

However, I want to always use current date so I have loaded 'CurrentWeek'.

What would be the syntax for using 'CurrentWeek' (or maybe some other solution)?

 

Count({<Week_S={'2019-10'} , wor_country_S >} wor_ticket_ID_S)

 

(Year(Today()) &'-'& Week(Today())) as CurrentWeek,

1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be try this

Count({<Week_S = {"$(=MaxString(Week_S))"}, wor_country_S>} wor_ticket_ID_S)

View solution in original post

1 Reply
sunny_talwar
MVP
MVP

May be try this

Count({<Week_S = {"$(=MaxString(Week_S))"}, wor_country_S>} wor_ticket_ID_S)