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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

week compare

Dear ALL,

    Please find the attached  xl sheet, in  this we have the data for all weeks from  '1/30' to '6/11' we compare the value of every comming week with startweek value ie by using the formule eg:(week6/11value /week1/30 -1) in xl sheet and convert it into percentage.Please suggest an expression.

1 Solution

Accepted Solutions
christophebrault
Specialist
Specialist

Hi,

I attached an example from your data, but i have a licenced edition.

Step to step :

Create a pivot table chart with Date as dimension and others if you want.

Set Date dimension horizontaly in the graph.

Create an expresssion sum(Value) to show the sum for the Date.

Create a second one : sum(Value)/before(sum(Value),columnno()-1,1)-1 and set in % in number

This chart will adapt automaticaly  to your time selection.

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

View solution in original post

3 Replies
christophebrault
Specialist
Specialist

Hi,

I attached an example from your data, but i have a licenced edition.

Step to step :

Create a pivot table chart with Date as dimension and others if you want.

Set Date dimension horizontaly in the graph.

Create an expresssion sum(Value) to show the sum for the Date.

Create a second one : sum(Value)/before(sum(Value),columnno()-1,1)-1 and set in % in number

This chart will adapt automaticaly  to your time selection.

Inscrivez vous à ma Newletter Qlik
DoNotMissQlik- Connect with me on Linkedin
Anonymous
Not applicable
Author

hi Christophebrault

Thanks for correct replay,it is what i am looking in the abow file.

Thanks

arunreddy

Anonymous
Not applicable
Author

Hi Christophebrault,

Is it posible to bring the same values in line chart,how to calculate the

values for before(sum(Value),columnno()-1,1)-1 in line chart.

ie : sum(Value)/before(sum(Value),columnno()-1,1)-1 and set in % in number

Thanks

arunreddy