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: 
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.