Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Replacing numbers with images in pivot table, but not totals

I have a pivot tables with numbers that represent percentages (0,25,50,75,100). My totals are average of the percentages which might be a number with decimals. I use Show Partial sums option on the Presentation Tab

and my expression is

=(sum(A])/count())/100

I want to replace cell's values with "Consumer Report" like circles. I do it with the if statement on the expression like:

=if (Match(,'100'),'qmem://Image Name/100',

if (Match(,'75'),'qmem://Image Name/75',

if (Match(,'50'),'qmem://Image Name/50',

if (Match(,'25'),'qmem://Image Name/25',

if (Match(,'0'),'qmem://Image Name/0')))))

, but as soon as I do it the totals are also got replaced with images. How can I leave totals as  numbers?

Any Ideas? Thank you

5 Replies
Anonymous
Not applicable
Author

try using column function like

if ( column(1)<20 ,'Image1,

if(column(1)>40,'Image2','Image3')

Hope it helps

Sri1

Not applicable
Author

were would I use this code?

Anonymous
Not applicable
Author

add this as another expression

antoniotiman
Master III
Master III

You try with function Dimensionality() (see Guide).

Row TOTAL is Dimensionality() 0, etc.

if(Dimensionality() > 0,Image1,sum(.......))

Regards

Not applicable
Author

It does not work, Another expression ads another column and also changes total to images