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: 
Qliksense_77
Creator
Creator

Count if

Hi,

I have data like below.

How do I make a straigth table which show number of sales per department that is more than 6$?

DepartmentCostumerDateAmount ($)Number of sales 
north costumer101-01-2019101
southcostumer202-01-2019121
westcostumer303-01-201941
eastcostumer404-01-201951
north costumer505-01-201931
north costumer606-01-201921
southcostumer 207-01-201921
north costumer308-01-201971
1 Solution

Accepted Solutions
GaryGiles
Specialist
Specialist

If you add Department as the dimension in your straight table and add the following expression as your message:

count({$<[Amount ($)]={">=6"}>} [Number of sales])

It will give you the number of sales in each department that has an Amount ($) >= 6.

Is that what you were looking for?

View solution in original post

1 Reply
GaryGiles
Specialist
Specialist

If you add Department as the dimension in your straight table and add the following expression as your message:

count({$<[Amount ($)]={">=6"}>} [Number of sales])

It will give you the number of sales in each department that has an Amount ($) >= 6.

Is that what you were looking for?