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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression in Qlik Sense

I used this expression in qlikview and it's working fine.

total revenue:

sum(aggr(((Count(AppointmentID) * sum(VisitAmount))), [Doctor]))

But it doesn't working in qlik sense !!

I need help to calculate the total revenue.

2 Replies
marcus_sommer
MVP
MVP

There is no difference between qlikview and qlik sense related to these kind of expressions - therefore something else must be different - check the syntax (too much parenthesis aren't helpful - it's rather the opposite) and that there no typos and also that fields are case-sensitive.

- Marcus

Not applicable
Author

sum(aggr((Count(AppointmentID) * sum(VisitAmount)), [Doctor]))

should work (have moved your brackets around a little)