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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
vikasmahajan
MVP
MVP

distinct sum not working

Dear all

I have following expression not giving  any result  i want to sum distinct for opening balance

 

SUM(DISTINCT{$<[Posting Date]={"<$(=min([Posting Date]))"} >} [INV_DOCPAYAMT])

Any one help me pls

Thanks

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
Labels (1)
3 Replies
Not applicable

sum({<[Posting Date]={"<=$(=vMinDate)"} >} distinct [INV_DOCPAYAMT])

LET vMinDate = min([Posting Date])

Try to use this formula....

Hope this will  help you ! ! !

Regards,

Nitin Jain

Not applicable

hi

try it.

sum({$<[Posting Date]={$(#=only([Posting Date])-1)},[Posting Date]=>}DISTINCT [INV_DOCPAYAMT])

hope this helps you.

er_mohit
Master II
Master II

use this expression hope it helps you

SUM( {$([Posting Date]={$(#=min(([Posting Date]))}>}DISTINCT [INV_DOCPAYAMT])