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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

invalid expression

Hi,

I am getting this error.

Invalid expression

Concatenate (BIOGraph)

Load UID,

     'Baselined' as Category,

     if( [BaselineSaveDate] > '1998/09/09' ,1,0) as value,

     if( [BaselineSaveDate] > '1998/09/09',count(UID))/count(UID) as PercentValue

Resident ProjectTracker

what is the issue?

Thanks

1 Solution

Accepted Solutions
rubenmarin

Hi Amit, you are using count() without a Group by, try something like:

Concatenate (BIOGraph)

Load UID,

     'Baselined' as Category,

     if( [BaselineSaveDate] > '1998/09/09' ,1,0) as value,

     if( [BaselineSaveDate] > '1998/09/09',count(UID))/count(UID) as PercentValue

Resident ProjectTracker

Group by UID, [BaselineSaveDate];

View solution in original post

2 Replies
rubenmarin

Hi Amit, you are using count() without a Group by, try something like:

Concatenate (BIOGraph)

Load UID,

     'Baselined' as Category,

     if( [BaselineSaveDate] > '1998/09/09' ,1,0) as value,

     if( [BaselineSaveDate] > '1998/09/09',count(UID))/count(UID) as PercentValue

Resident ProjectTracker

Group by UID, [BaselineSaveDate];

Not applicable
Author

Hi Ruben,

Thanks a lot.