Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
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 (3)
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.