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: 
Anonymous
Not applicable

code error

Hello, I have been trying to figure this out for the past half hour - why is the function code in black? Please see screenshot below:(notice that the sum is black instead of blue?

Please advise, thanks!

W

1 Solution

Accepted Solutions
Not applicable
Author

enclose within square brackets

=pow(sum([Current QTD Sales])/sum([Previous Sales]),1/30)-1

View solution in original post

6 Replies
Not applicable
Author

enclose within square brackets

=pow(sum([Current QTD Sales])/sum([Previous Sales]),1/30)-1

Not applicable
Author

Hi Ramkumar

pow process try

pow(x,y)

=pow(sum([Current QTD Sales]) / sum([Previous Sales]),(1/30)-1)

reds

rudra

sujeetsingh
Master III
Master III

This thread should be marked as answered

Anonymous
Not applicable
Author

Hi, i think they should work. I havent tried yet, it's my morning here.

Thanks!

Not applicable
Author

If you are trying to reference a field with spaces in between them you should enclose the field with [ ]'s.

As shown above.

Regards,
Marius

Anonymous
Not applicable
Author

Hello... something is still not right.. I am getting null even though they are numbers in both fields... why is that?

Thanks!

W