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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources 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

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

May be try this

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