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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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

1 Solution

Accepted Solutions
Clever_Anjos
Employee
Employee

Please try

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

View solution in original post

5 Replies
swuehl
MVP
MVP

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
Employee
Employee

Please try

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

sunny_talwar

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

swuehl
MVP
MVP

Maybe another option without the need for advanced aggregation:

=Rangesum(

     Sum(#LineValue),

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

)