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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
susanjac
Contributor
Contributor

Filtering a measure

Hi,

I would like to filter out a set of dates created as measures from a table. Please help me with this.

Dimension is ticket ids from JIRA tool and dates are pulled out from JIRA with formula using set analysis. Using if function I have highlighted certain items in red by comparing two dates derived using set analysis. I would like to filter out the ones highlighted in red. 

Any way to do it?

susanjac_0-1611754793284.png

Thanks in advance.

 

 

Labels (2)
4 Replies
agigliotti
Partner - Champion
Partner - Champion

Hi @susanjac ,

How does your measure expression looks like?

susanjac
Contributor
Contributor
Author

Hi,

My expression looks like Max({<'conditions'>} 'date field from JIRA')

agigliotti
Partner - Champion
Partner - Champion

you should use a calculated dimension, you can't filter on measures value.

sonkumamon
Creator
Creator

Agigliotti is right. You need to create a new field for those dates in the script.

For example:

If(Match([PB Approval], 04 Nov 2020, 30 Dec 2020),[PB Approval]) as [PB Approval Calc]

and use this field for you measure.