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: 
Krish2459_58
Creator
Creator

Set Help

Hi,

The below setanlysis is not giving correct data.Could you please help me to find out the issue in below set.

 

Avg({<[Lease Data Type]={'Current'}>} {$-<[Sublease Data Type]={"*"}>}{$-<[SLRR Data Type]={"*"}>} [Property Code])

 

Thanks..

Labels (2)
4 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Can you explain what you are trying to accomplish? It appears that you want all rows where [Lease Data Type]={'Current'} and then exclude rows that have any value in [Sublease Data Type] or [SLRR Data Type]. Is my understanding correct?

-Rob
http://www.easyqlik.com
http://masterssummit.com
http://qlikviewcookbook.com

Krish2459_58
Creator
Creator
Author

@rwunderlich , Yes exactly that's what I'm looking.

Krish2459_58
Creator
Creator
Author

The below logic is already written by someone, here I don't understand the "$-".

 

Avg({<[Lease Data Type]={'Current'}>} {$-<[Sublease Data Type]={"*"}>}{$-<[SLRR Data Type]={"*"}>} [Property Code])

Gabbar
Specialist
Specialist

Lets Say you have RN as Primary Key. 
Try This Expression :-


Avg({<[Lease Data Type]={'Current'},RN=e({<[Sublease Data Type]={"*"}>+<[SLRR Data Type]={"*"}>})>}  [Property Code])