Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
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
Luminary Alumni
Luminary Alumni

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.