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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Refrencing a column calculation

Dear all

I am facing a problem i have an expression which are given below having label 'Last date'

max({<Flag={'Disbursal'}>}Date

when ever i reference the column in other  expression which are given below

=Sum({<Flag={'Disbursal'},Date={'[Last date]'}>}AMOUNT

)

it give me 0 rather than given me the amount of that date


6 Replies
amit_saini
Master III
Master III

Asif,

Try this:

=Sum({<Flag={"Disbursal"},Date={"[Last date]'"}>}AMOUNT)



Thanks,

AS

Not applicable
Author

it cant works return 0

when i reference the column [Last date] it gives number rather than date

martinpohl
Partner - Master
Partner - Master

It doesn't work with set analysis only, you have to mix it with the max date for each dimension (in that case by customer.

sum( if( aggr(nodistinct max({<Flag={'Disbursal'}>}Date), Customer) = Date, Amount, 0))

Regards

chrislofthouse
Partner Ambassador
Partner Ambassador

Try this:

Sum({<Flag={'Disbursal'},Date={"$(=max({<Flag={'Disbursal'}>}Date) )"}>}AMOUNT)

Not applicable
Author

Thanks it works

jagan
Partner - Champion III
Partner - Champion III

Hi,

Try this expression

=Sum({<Flag={'Disbursal'},Date={'$(=Date(max({<Flag={"Disbursal"}>}Date)))'}>}AMOUNT)


Regards,

Jagan.