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: 
raghavsurya
Partner - Specialist
Partner - Specialist

Issue with Expression of a bar chart

Hi All,

I have requirement in Account Receivable trends wherein I have to show the result of

(OverdueAmount/Total Receivables)

In this case Overdue Amount is the amount which has crossed the credit limit. The overdue amount will fall into various buckets like

Less than 30

31-60

61-90 and so on

I have also provided Aging buckets as list box for selection.

The expression I have used is = Sum(Overdue)/Sum(Amount)

Say for example

Total receivables is $100 and Overdue amount is $70 with the below break-up

31-60 is 20

61-90 is 30

Above 180 days is 20

when I click on 31-60 in the list box I want Expression to calcuate as (20/100), but it is picking up 20/20 and giving me 100%.

Can anyone suggest how can I make denominator to always pick total outstanding and ignore the aging bucket selections.

Regards,

Raghav

2 Replies
tresesco
MVP
MVP

Hi Raghav,

I think the "Total" keyword would play the trick. You can try the denominator as: sum(total Amount )

Regards,

tresesco

raghavsurya
Partner - Specialist
Partner - Specialist
Author

Hi Tresesco,

I have already tried using function "TOTAL". The denominator still changes for each aging bucket.

Regards,

Raghav