Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
sangeeth8787
Contributor III
Contributor III

Dual Expressions based on User Selection

Hi,

 

I have two filters Month and Date. If user selects any particular Month and Period then I want to execute 

expression1

If user only selects month but not any date then I want to use

Expression2.

 

Expression1 or Expression2 are different calculations

 

Eg :

 

If (UserSelection : Only Month but not any date , Expression1,Expression2)

 

Could you please do let me know if you have any ideas how to resolve this scenario.

 

Thanks

 

 

 

Labels (2)
1 Solution

Accepted Solutions
pradosh_thakur
Master II
Master II

if(getselectedcount([Month]>0 and getselectedcount([Period]) >0 , expression1,expression2)
Learning never stops.

View solution in original post

1 Reply
pradosh_thakur
Master II
Master II

if(getselectedcount([Month]>0 and getselectedcount([Period]) >0 , expression1,expression2)
Learning never stops.