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: 
Not applicable

count in a pie chart

hi

i have 3 list boxes name,emp id, and gender. i want to show the total no of male emp and female emp in pie chart.

can count be used for it??

if yes waht would be the syntax for it?/

1 Solution

Accepted Solutions
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     You can use count.

     Have Gender as Dimesion.

     Count(Distinct [emp id]) as expression

Celambarasan

View solution in original post

4 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     You can use count.

     Have Gender as Dimesion.

     Count(Distinct [emp id]) as expression

Celambarasan

Not applicable
Author

how do we decide what to choose as a dimension and what to keep in expression?

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     If we need the results based on some category means then that category will be the dimension.

Celambarasan

jagan
Partner - Champion III
Partner - Champion III

Hi,

The static values Like Department, Year, Month, Country, City like values are used as dimension.

The calculated values are used as expression.  For example

=Sum(Sales)    - Total Sales

=Count(Employees) - Count of employees

Hope this helps you.

Regards,

Jagan.