Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

total in straight table

Hi,

I have a straight table that shows the top 50 SKUs. Here's the image:

straight table.png

When I show the total FY201 and FY2011 columns give me the correct totals but the total in %Change, %YAGO and %Share doesn't give me the correct total. I want to show the total of 50 SKUs.. How can I do this?

10 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Change the option to that expression Sum of rows.

     Chart Properties-->Expression Tab-->Under Total Mode Check the Sum of rows.

Celambarasan

Not applicable
Author

I already used that option, still gives me the wrong output

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Can you post your expression ?

Celambarasan

jagan
Luminary Alumni
Luminary Alumni

Hi,

What are your percentage expressions?

Try using

=Sum(Your Percentage expression here)

and select Chart Properties-->Expression Tab-->Under Total Mode Check the Sum of rows.

Hope it helps you.

Regards,

Jagan.

Not applicable
Author

here are my Percentage expressions:

For,

%Change:

( Sum({<fin_year={$(vMaxFinYear)}>}extended_price) - Sum({<fin_year={$(vPrevFinYear)}>}extended_price) )

/ Sum({<fin_year={$(vPrevFinYear)}>}extended_price)

%YAGO:

Sum({<fin_year={$(vMaxFinYear)}>}extended_price) / Sum({<fin_year={$(vPrevFinYear)}>}extended_price)

%Share:

Sum({$<fin_year={$(vMaxFinYear)}>}extended_price) / Sum(TOTAL extended_price)

Not applicable
Author

can somebody help me??

Not applicable
Author

straight table.png

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Try your expression as

     if(Rowno()>0,

( Sum({<fin_year={$(vMaxFinYear)}>}extended_price) - Sum({<fin_year={$(vPrevFinYear)}>}extended_price) )

/ Sum({<fin_year={$(vPrevFinYear)}>}extended_price),

( Sum(TOTAL {<fin_year={$(vMaxFinYear)}>}extended_price) - Sum( TOTAL {<fin_year={$(vPrevFinYear)}>}extended_price) )/Sum(TOTAL {<fin_year={$(vPrevFinYear)}>}extended_price))

Celambarasan

Not applicable
Author

It still gives me the wrong output