Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
flyhigh15
Contributor III
Contributor III

Count set Analysis measures Aggr function

Hi All,

I want a measure where i need to find Count of  field1 on basis of basis another filed2  value which is greater than some value ?

**Field1 is dimension1  && Field2 is Amount field

I tried below measure but it is wrong 

Count(  {<[FISCAL YEAR]=,[FISCAL MONTH]=,[FISCAL QUARTER]=,
DATE={">=$(=Date(monthstart(today())))<=$(=Date(today()))"}

, field2 >{'100'}>}  distinct field1) 

Can Someone answer Please ?

Labels (5)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master
Partner - Master

Perhaps like this:

Count( {<[FISCAL YEAR]=,[FISCAL MONTH]=,[FISCAL QUARTER]=,
DATE={">=$(=Date(monthstart(today())))<=$(=Date(today()))"}

,field2 ={'>100'} >} distinct field1)

 

View solution in original post

1 Reply
BrunPierre
Partner - Master
Partner - Master

Perhaps like this:

Count( {<[FISCAL YEAR]=,[FISCAL MONTH]=,[FISCAL QUARTER]=,
DATE={">=$(=Date(monthstart(today())))<=$(=Date(today()))"}

,field2 ={'>100'} >} distinct field1)