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: 
Not applicable

Set Analysis with Variables

I am trying to convert this expression into set analysis.

here vFromDate and vToDate are variables

Can anyone help me in forming the expression for the same in set analysis
Error.jpg

2 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Try this.

     Count({<ACTIVE = {"1"},GOAL_CREATED_DT = {">=$(vFromDate)<=$(vToDate)"}>}GOAL_MEM_RMK)

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
MayilVahanan

Hi

Try like this

Count({<ACTIVE = {"1"},GOAL_CREATED_DT = {">=$(Date(vFromDate))<=$(Date(vToDate))"}>}GOAL_MEM_RMK)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.