Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to use power function in set analysis?

Hi ,

I was trying to use power function in set analysis.I know that the formula but i don't know how to represents power in qlikview.

For example i have to calculate like (a+b)^1/(b-a)-1.

Here a=Sum({<year={'2014'}>}sales),b=Sum({<year={'2015'}>}sales) then how to represents above expression with a,b values and how to put power function here and here power n value should be 1/(b-a)

Thanks for your help in advance.

Yuvi

1 Reply
sunny_talwar

I would use Exp and log functions to do this. May be something like this:

Log(

( (1/(b-a)) * Exp((a+b)) )

)


Log(

( (1/(Sum({<year={'2015'}>}sales) - Sum({<year={'2014'}>}sales))) * Exp((Sum({<year={'2015'}>}sales)+Sum({<year={'2014'}>}sales))) )

)