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

macro exp into qlikview chart exp.need help please??

hi all,

Can someone help me out the conversion of following  macro exp into qlikview chart exp.

which of the following is correct??

(a3 * K ^ 3)= pow((a3 * K),3)

(a3 * K ^ 3)= (a3 *pow( K , 3))

regards,

Sahana

1 Solution

Accepted Solutions
jagan
Partner - Champion III
Partner - Champion III

Hi Sahana,

This is the correct expression

(a3 * K ^ 3)= (a3 *pow( K , 3))


Regards,

Jagan.

View solution in original post

5 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi,

Try like this in qlikview

=pow((a3 * K),3)

=a3 * pow(K,3)

Regards,

Jagan.

Not applicable
Author

hi Jagan thanks for the response.

but I want to know which of the two expressions are correct?? ie in between power and multiplication which comes first so that accordingly we can put the brackets.

regards,

Sahana

tresesco
MVP
MVP

'^' has the greater precedence than '*' . So,correct one is- (a3 *pow( K , 3))

jagan
Partner - Champion III
Partner - Champion III

Hi Sahana,

This is the correct expression

(a3 * K ^ 3)= (a3 *pow( K , 3))


Regards,

Jagan.

Not applicable
Author

thanks a lot