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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
manoranjan_d
Specialist
Specialist

Expression details

=Only({<[primary compare date]=[state2]::[primary compare date]>}amount


can any one explain this expression

Labels (1)
15 Replies
sunny_talwar

suppose if want only particular filed in this expression means how to do this? example year field selection and with state 2

year field from state2 or year field from inherited state?

manoranjan_d
Specialist
Specialist
Author

not from  state2 its from inherited state

sunny_talwar

Then this looks good

=Only({state2<year = $::year>} amount)

Why don't you test these expressions in a sample dashboard... you seem to know what they are doing, but you are looking for confirmation? and what better way to confirm, then by testing it out?

manoranjan_d
Specialist
Specialist
Author

yes

sunny_talwar

So we are all good now?

manoranjan_d
Specialist
Specialist
Author

yes thanks sunny. little confused on both expression now its fine thanks for the explanation