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: 
ivandrago
Creator II
Creator II

Granularity of data, different Value SHowing

Hi,

I have the attached document, I want my text box to show a certain figure but due to the granularity of the data I am unable to get this.

Any ideas?


Thanks

Labels (1)
1 Solution

Accepted Solutions
Clever_Anjos
Support
Support

Please try

='Value'&chr(10)&chr(10)&sum(aggr(only(#UnallocatedAmount),%PK))

View solution in original post

5 Replies
swuehl
Champion III
Champion III

Could you describe a bit closer how you calculated

302930.76

?

alexandros17
Partner - Champion III
Partner - Champion III

Use this value in your text box

='Value'&chr(10)&chr(10)&sum(Aggr(DISTINCT #UnallocatedAmount, %PK))

let me know

Clever_Anjos
Support
Support

Please try

='Value'&chr(10)&chr(10)&sum(aggr(only(#UnallocatedAmount),%PK))

sunny_talwar
MVP
MVP

My bad, I didn't realize this was already mentioned

swuehl
Champion III
Champion III

Maybe another option without the need for advanced aggregation:

=Rangesum(

     Sum(#LineValue),

     Sum( {<Product = {'NOT APPLICABLE'}>} #UnallocatedAmount)

)