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: 
manu1512
Creator
Creator

LOGICAL HELP

Hii all,

I am new to qlikview. Can any one help me in identifying logic of following expression?

pick( RowNo(),

Sum ({$<Actuality={'Budget'}, Level3={'EBITDA'}>}[PV GC])/1000000,

Sum ({$<Actuality={'Budget'}, Level2={'EBIT'}>}[PV GC])/1000000,

Sum ({$<Actuality={'Budget'}, Level5={'Controllable costs EKS'} >}[PV GC])/1000000,

Sum ({$<DataType={'BU'}, ProdMonth=,ProdYear={$(=Max(Year))}, ProdPeriod={'>=$(=Min(YearPeriod)) <=$(=Max(YearPeriod))'} >} Production),

Avg ({$<DataType={'BU'}, ProdMonth=,ProdYear={$(=Max(Year))}, ProdPeriod={'>=$(=Min(YearPeriod)) <=$(=Max(YearPeriod))'} >} AvailabilityTot)*100,

Sum ({$<DataType={'BU'}, ProdMonth=,ProdYear={$(=Max(Year))}, ProdPeriod={'>=$(=Min(YearPeriod)) <=$(=Max(YearPeriod))'} >} ProdCost)/Sum ({$<DataType={'BU'}, ProdMonth=,ProdYear={$(=Max(Year))}, ProdPeriod={'>=$(=Min(YearPeriod)) <=$(=Max(YearPeriod))'} >} Production)*1000,

Sum ({$<DataType={'BU'}, ProdMonth=,ProdYear={$(=Max(Year))}, ProdPeriod={'>=$(=Min(YearPeriod)) <=$(=Max(YearPeriod))'} >} FreeCashflow),

Sum ({$<DataType={'BU'}, ProdMonth=,ProdYear={$(=Max(Year))}, ProdPeriod={'>=$(=Min(YearPeriod)) <=$(=Max(YearPeriod))'} >} Capex),

)

Regards\

manu

1 Reply
swuehl
MVP
MVP

Basically, the pick() function looks at the first argument, which should be a number N.

Then branches into and executes the N+1th argument.

pick - script and chart function ‒ Qlik Sense

If you Need further help, then please provide context.