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

Help me on aggr

!Hi,

My requirement is in the UI and backend

I have used in the front end Sum(distinct Actual) and also aggr(Sum(distinct Actual),[Profit Center])

But am not getting what exactly am looking for

PFB for your reference.

Any help will be appriciated.

Labels (1)
4 Replies
gowtham_patnaik
Contributor III
Contributor III

Hi,

Try this expression:

Sum(aggr(Sum(distinct Actual),[Month-Yr],PC,[Profit Center],[Acct Name]))

aggr.PNG

antoniotiman
Master III
Master III

Hi,

May be

If(Dimensionality() > 0,Sum(DISTINCT Actual),Sum(Aggr(Sum(DISTINCT Actual),[Profit Center])))

Regards,

Antonio

satishqlik
Creator II
Creator II
Author

What about in the backend???

I want to see in the data model.

antoniotiman
Master III
Master III

May be

Remove Join in second LOAD (t2 table) and expression :

Sum(Actual)