Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

edg_baltazar
Contributor

Expression Total & Dimension Limits

Hi ALL!

I've developed some report using a Straight Table , the main idea is to show the list of partners that make the sales percentage that you select on a Slider Object, It seems to work as I expected the only Issue that I can't solve is the TOTAL on a column where I show the Quarter over Quarter Growth Percentage because it always show the total Growth even If I'm filtering the list of partners that make the 10% of the sales or any other percentage distinct to 100% , I suspect that this is because the total mode  that I selected for this expressions is 'Expression TOTAL' and this do not take on count the Dimension Limits that is what Im using to display the list of clients according to the percentage on the slider...

Do you know if is there something that I could do to solve this?

Please see the attached images and the sample .QVW

Best Regards!

Selecting 100% of the Sales...

DL100.png

Selecting 50% of the Sales... same QoQ Growth!

DL50.png

Selecting 10% of the Sales... same QoQ Growth!

DL10.png

9 Replies
Not applicable

Re: Expression Total & Dimension Limits

Something like this?

In the expression of QoQ i just changed the "Expression Total" for "Sum of Rows"

Best Regards!!

MVP
MVP

Re: Expression Total & Dimension Limits

Hi

Perhaps you should use column arithmetic here. Then the total calculation will use the total values from each column.

     QoQ = (Column(2) - Column(1)) / Column(1) 

     or

     QoQ = ([Q2] - [Q1]) / [Q1]     // column names

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
edg_baltazar
Contributor

Re: Expression Total & Dimension Limits

Hi Jonathan! , thanks for your response !

Even using the columns or columns names in the expression this doesn't work because it still shows the total Growth as if I have selected 100% in the slider object when I have selected the 50%....

Look at the next image... in that case my expected number is ....(1100/450)-1 = 144.44 % of  Growth.

DL50.png

Best Regards !

Not applicable

Re: Expression Total & Dimension Limits

mine works :C

christian77
Valued Contributor

Re: Expression Total & Dimension Limits

Hi.

There is another way to control what's in the total.

In your expression say:

if( Dimenssionality()=0, your total expression, your regular expression)

You can set only Dimensionality() and see how it acts.

This way you can place whatever you want in the total cell.

Salutes.

edg_baltazar
Contributor

Re: Expression Total & Dimension Limits

Hi Raúl ,

Thanks for your answer but this is not exactly what I'm looking for , because suming the percentajes is not going to retreive me the correct total growth.

Regards!

edg_baltazar
Contributor

Re: Expression Total & Dimension Limits

Hi Christian !  thanks for your answer ,

I've already tried this in the past , but the thing is that neither way the total expression does not respect the Dimension Limits behaivor.

Best Regards!

Not applicable

Re: Expression Total & Dimension Limits

Lo que quieres es que se muestre el porcentaje que pones en el slider en el total de la columna QoQ?

billbois
New Contributor III

Re: Expression Total & Dimension Limits

I realize it's been 11 months since the last post, but was a solution ever found?  I'm having the same issue now.

Community Browser