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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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 II
Partner - Master II

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 II
Partner - Master II

Perhaps like this:

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

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