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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
kiranpatil123
Contributor III
Contributor III

Based on Filter Selection Show condition

Hi All , 

I have the filter ( field ) called "Week " and it contains data like
Year-Weekno-Month

2019-Week 1 -Jan

2019-Week 2-Jan

Requirement is based on the selection of the filter ( Week ) in  new  text box i need Dates of the Week to be shown  

Ex - If 2019-Week1-Jan is selected , then it needs to be shown 1 , 2 , 3, 4 , 5 , 6, 7 ( Dates of Jan 1st week )

I tried giving 

if(Getfieldselection(Week),Date( createddate ))

I know its some where between getfieldselection , but not able to execute it ( Let me know if any other way )  

 

Advance thanks

Labels (1)
1 Solution

Accepted Solutions
Vegar
MVP
MVP

I would use getselectedcount() instead. https://help.qlik.com/en-US/sense/February2019/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/Field...

if(getselectedcount(Week)>0, concat(day(createddate), ', ') )

View solution in original post

2 Replies
Vegar
MVP
MVP

I would use getselectedcount() instead. https://help.qlik.com/en-US/sense/February2019/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/Field...

if(getselectedcount(Week)>0, concat(day(createddate), ', ') )
kiranpatil123
Contributor III
Contributor III
Author

Thanks a lot worked 🙂
Just added distinct to my solution