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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

trying to do sums with count I need some help please?

count({sum((BILL_DOLLARS)/sum(AVAIL_DOLLARS))<=$(vBillSlider)}EmployeeID)  any help would be appreciated please

3 Replies
sujeetsingh
Master III
Master III

Why using count when already using SUM()

Not applicable
Author

try this

Count(if((BILL_DOLLARS / AVAIL_DOLLARS)<=$(vBillSlider),EmployeeID))

kumarnatarajan
Partner - Specialist
Partner - Specialist

Hi,

Try this one.

Ex:

=Count(DISTINCT if((sum(BILL_DOLLARS)/sum(AVAIL_DOLLARS))<=$(vBillSlider),EmployeeID))

Else

try this in set analysis.

=count(DISTINCT {$<EmployeeID={"=$(=(sum(BILL_DOLLARS)/sum(AVAIL_DOLLARS)) <= $(vBillSlider))"}>}EmployeeID)