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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Need help in expression

Hi,

I had written one expression, but it is showing invalid data. in expression it is ok, but some where it is going wrong.

Pls see the screen shot and help me on this.

Regards,

Kumar

33 Replies
Anonymous
Not applicable
Author

Hi Sunny,

As u suggested i tried, but still i am able to see 0's only.

Anonymous
Not applicable
Author

Hi Manjunath,

I included variables and tried, but no use.

sunny_talwar

Did you try this one?

=Count(DISTINCT{$<[Site Visit Hit Source] -= {'5', '7' ,'8' ,'9'}, [Site Visit Post Page Event] = {0},[Time Full Date]={"$(=Date(Max([Time Full Date]) - 30,'MM/DD/YYYY'))"}>} [Visitor ID])


Is Time Full Date a date field or TimeStamp field?? If it is TimeStamp then your expression will most likely not going to work.

Anonymous
Not applicable
Author

I would step by step

provide an expression just with "sum([Visitor ID), any results?

next provide listbox with [Site Visit Hit Source] and select all values other than 5,7,8,9

next provide listbox with [Site Visit Post Page Event] and select 0, any results

finally provide listbox with ([Time Full Date]) and select last 30 days

if you still get a result, then search for error in expression

if you didnot get a result, than check your data

jonathandienst
Partner - Champion III
Partner - Champion III

jontydkpi wrote:

     [Site Visit Hit Source] -= {5, 7, 8, 9}, ....

I have already given you the  answer, did you try this?

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Anonymous
Not applicable
Author

Yes, it is time stamp only. Do we have any alternate solution to achieve this one.

Anonymous
Not applicable
Author

data is there.

Anonymous
Not applicable
Author

Hi Jonathan,,

I tried already, but it not working.

Anonymous
Not applicable
Author

hi,

please split timestamp field to date and time fields and use date field in expression

Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

Your DISTINCT should be before [Visitor ID]