Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
kfahri342
Contributor III
Contributor III

Determine if a user has searched for a specific field

Hi Qlikers,

I have two fields, [ID, NAME]. Can I create an expression, where if a user actively searches for an ID or NAME, I return the value 1 otherwise, it would be 0?

Many Thanks

Kozan

3 Replies
Peter_Cammaert
Partner - Champion III
Partner - Champion III

Using the standard tools in QV Desktop I don't think so.

If you enable the Audit logs on your QlikView server however, you may be able to trace user activity and selected/searched values.

kfahri342
Contributor III
Contributor III
Author

I don't want to be able to trace there activity. I just want to be able to use this variable in a expression of mine.

Is there an expression that captures if the search for a Name or ID?

marcus_sommer

In many cases it doesn't matter if the user used FieldA and/or FieldB to select certain data because they are "usually" well connected within the datamodel. But you could of course also query if there are any or certain selections with functions like: getselectedcount/getfieldselections/getcurrentselections() and then react on them.

- Marcus