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: 
shivam0703
Contributor III
Contributor III

only function alterative

=Aggr(only(
{$<
Date = {">=$(StartDate)<=$(EndDate)"},
Hierarchy = P(Hierarchy) * P(Hierarchy_S)
>} Lead_ID)
,Lead_UID)

----------------------------------------------------------------------------------------------------------------

I have above expression used in straight table but I have 2 lead id for this so no data is seen how can I get both the lead id so what can be the atlernative expression for this

Labels (1)
3 Replies
sunny_talwar
MVP
MVP

Are you using this as a expression or dimension?

shivam0703
Contributor III
Contributor III
Author

It's a dimension

sunny_talwar
MVP
MVP

Are there two fields Lead_ID and Lead_UID? If there are, may you need this?

=Aggr(
Only({$<Date = {">=$(StartDate)<=$(EndDate)"}, Hierarchy = P(Hierarchy) * P(Hierarchy_S)>} Lead_ID)
, Lead_UID, Lead_ID)