Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculate Procent


Hi,

I have a report with a few column:

Total 254

Promotor 30

Passive 163

Detractor 61

I would like to have a extra row that convert the data in  % .

Promotor 11%

Passive 65%

Detractor 24%

Total 100%

Can you explain how I have to do this, I'm new in Qlikview.

Thanks

Yves

6 Replies
alexandros17
Partner - Champion III
Partner - Champion III

The idea is

Sum({$ <myField={'Promotor}>} myValue) / Sum(myValue)

But it depends on you data structure

maxgro
MVP
MVP

perhaps

sum (field) / sum (total field)

another one check relative

remember to format as % in Number tab

1.png

fernando_tonial
Employee
Employee

You create a chart, select a dimension and create a expression

For expression try this.

Num(Sum(FieldValue) / Sum(Total FiledValue),'0%')

Best Regards.

Tonial.

Don't Worry, be Qlik.
MK_QSL
MVP
MVP

Can you please share your sample file ?

In straight table, simply create another same expression and for 2nd expression tick Relative...

For Pivot Table like below

SUM(Sales)/SUM(Total Sales)

Not applicable
Author

Check this file

Not applicable
Author

Ravi,

Your file help me to solve my problem.

Thanks a lot

Greats Yves