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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
cimxfang
Contributor
Contributor

How to use condition in script to satisfy a filter of two fields with same value

Hi Guys,

I tried to create a measure with the script below, the syntax is fine but not working as expect

count({<event_type={a},start_time=query_time>} distinct user_name)

It seems start_day=query_day does not work and may I know is it the right way to have a filter on the condition that two fields with the same value.

 

Labels (1)
1 Reply
micheledenardi
Specialist II
Specialist II

Try this:

count({<event_type={a},start_day=p(query_day)>} distinct user_name)

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.