Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
marwen_garwachi
Creator II
Creator II

Columns in Pivot chart

Hello,

I have a Pivot chart wich contains 4 lines (A,B,C,D) calculated in dimension (If Field = 1 ,A, If Field = 2, B etc....)  i need to calculate an expression :

If dimension value = A then score = Field_A *2

If dimension value = B then score = Field_A *4

if dimension value = C then score = Field_A *6

if dimension value = D then score = Field_A *10

How can i do it ?

DimensionScore

A

B
C
D

Thanks for your help

1 Solution

Accepted Solutions
marwen_garwachi
Creator II
Creator II
Author

I found it ! i've tried this expression and it works

If rowno() = 1,  Field_A *2,

If rowno() = 2, Field_A *4,

If rowno() = 3, Field_A *6

If rowno() = 4  Field_A *10

Thanks to me

View solution in original post

1 Reply
marwen_garwachi
Creator II
Creator II
Author

I found it ! i've tried this expression and it works

If rowno() = 1,  Field_A *2,

If rowno() = 2, Field_A *4,

If rowno() = 3, Field_A *6

If rowno() = 4  Field_A *10

Thanks to me