Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Arrow Over a Expression.

Dear Friends. I am having Table chart, using expression SUM([Debit Amount] to show Amounts for all months and Year well.

5-27-2014 3-13-42 PM.png

I want to use a Arrow Marks ups and downs to show up that last month Amount is more than current month and vice versa.

I am using this expression on the lable field of Expression

=if(Max([Debit Amount],Month) < max([Debit Amount],Month-1),'qmem://<bundled>/BuiltIn/arrow_n_r.png',)

which is not working. Please help

14 Replies
antoniotiman
Master III
Master III

Hi Vivian,

my e-mail  mancini@teseo.it

Regards

Not applicable
Author

Dear All.

Thank you for views and support.

I have Followd ANTONIO MANCINI suggession, and its successfully working.

Here is the CODE given by ANTONIO MANCINI for reference

If(RowNo() > 0 and Dimensionality() > 0,

if(Before(sum([Debit Amount])) > sum([Debit Amount]),

'qmem://<builtin>/Arrow_S_R.png','qmem://<builtin>/Arrow_N_G.png'))

Not applicable
Author

Dear ANTONIO,

I also want to skip arrow if the value is zero,

i tried this, it worked for down arrow, but not up arrow.

If(RowNo() > 0 and Dimensionality() > 0,

if(After(sum([Debit Amount])) > sum([Debit Amount]) and sum([Debit Amount])>0,

'qmem://<bundled>/BuiltIn/arrow_s_g.png'),

If(RowNo() > 0 and Dimensionality() > 0,

if(After(sum([Debit Amount])) < sum([Debit Amount]) and sum([Debit Amount])>0,

'qmem://<bundled>/BuiltIn/arrow_n_r.png')))

antoniotiman
Master III
Master III

if(RowNo() > 1 and Dimensionality() > 0 and [Debit Amount] <> 0,...........

Not applicable
Author

Dear ANTONIO,

Thank you, its working