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: 
Karineyumi
Contributor II
Contributor II

Sum of Value with Distinct on another category

Hey guys,

I really need your help..

I have this case:

Karineyumi_0-1665596616372.png

 

Basicaly the Booking is the key that unites both databases (the Main database has a lot more columns then the example), and for one particular table i need to have the Sum of the Value Revenue but distincting the Bookings from the Main database.

 

I cannot separate the databases from each other, because I use information from the main database as well.

 

i tried many formulas using aggr/sum/distinct, but nothing has worked.

 

really appreciate your help!

 

thanks

 

Labels (1)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master II
Partner - Master II

Perhaps this

=Sum(Aggr(Only([Value Revenue]),Booking,[Value Revenue])

View solution in original post

2 Replies
BrunPierre
Partner - Master II
Partner - Master II

Perhaps this

=Sum(Aggr(Only([Value Revenue]),Booking,[Value Revenue])

Karineyumi
Contributor II
Contributor II
Author

Perfect, it worked!

 

Thank youuuuuuuu