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: 
ajmalh
Contributor
Contributor

Set expression to get current month values

Hi All,

I'm getting zero value while using the below set expression. I'm trying to show the current month values in the expression.

Kindly help.

=count({<canonical_date ={"$(=monthname(today()))"}>} If(WildMatch(platform_name_a, '*ABC*'),pfas_id))

 

Also, I have attached the table snap.

Labels (2)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master II
Partner - Master II

Try below.

Count({$<canonical_date={"$(='>='& Date(MonthStart(Max(canonical_date)))&'<='&Date(Max(canonical_date)))"},platform_name_a={"*ABC*"}>}pfas_id)

View solution in original post

1 Reply
BrunPierre
Partner - Master II
Partner - Master II

Try below.

Count({$<canonical_date={"$(='>='& Date(MonthStart(Max(canonical_date)))&'<='&Date(Max(canonical_date)))"},platform_name_a={"*ABC*"}>}pfas_id)