Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Division/Multiplication between 2 rows of same dimension.....

Hi i have a pivot table like this , with one dimension and 6 expression.

Capture.PNG.png

i want to show the data for 28th august as numbers, but the other 2 days need to be expressed as percentages with respect to 28th august.

ie for Expression one the values should be  49, 48/49, 60/49

Is there any way to achieve this??

1 Solution

Accepted Solutions
christophebrault
Specialist
Specialist

Hi,

try this :

if(ColumnNo()=1, sum(Value),

sum(Value)/Before(sum(Value),ColumnNo()-1,1))

Inscrivez vous à ma Newletter Qlik
DoNotMissQlik- Connect with me on Linkedin

View solution in original post

1 Reply
christophebrault
Specialist
Specialist

Hi,

try this :

if(ColumnNo()=1, sum(Value),

sum(Value)/Before(sum(Value),ColumnNo()-1,1))

Inscrivez vous à ma Newletter Qlik
DoNotMissQlik- Connect with me on Linkedin