Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
arethaking
Creator II
Creator II

Only({<[All Status]*={'A','B'}>}[All Status])

Hi All,

What is the meaning of this expression

Only({<[All Status]*={'A','B'}>}[All Status])

3 Replies
vinieme12
Champion III
Champion III

How to use - Only()

Set Analysis: syntaxes, examples

You can search for content using the search bar, you will find answer to most of your questions this way

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Anil_Babu_Samineni

Aretha,

This expression getting only All Status Values where All Status is A & B

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
trdandamudi
Master II
Master II

You only want to show values for [All Status] ={A.B}. When you want to do this with set analysis, you need to aggregate it, but you can't without an aggregation function. So, fortunately, only() is an aggregation function, so you can write this as:

Only({<[All Status]*={'A','B'}>}[All Status])


Regarding the Intersection of the fields it is the same that has been explained in the following link:

https://community.qlik.com/thread/226311


Hope this helps...