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: 
deepakqlikview_123
Specialist
Specialist

Calculating percentage

Hi All,

I want to calculate percentage for employee absenteeism.

Can you please tell me what would be the different ways for achieving the same.

Thanks

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

To format in %

In tables and charts you can use Number tab

In text object

NUM(YourExpression, '#,##0.00%')

or

NUM(YourExpression, '#,##0%')

View solution in original post

5 Replies
MK_QSL
MVP
MVP

Can you please elaborate little more on your requirements?

deepakqlikview_123
Specialist
Specialist
Author

There is employee absentee count for number of employee who are absent on particular day.

I need to show percentage count of absent employee for the same.

Thanks,

Deepak

MK_QSL
MVP
MVP

COUNT({<Flag = {'Absent'}>}Employee)/COUNT(Total {<Flag = {'Absent'}>}Employee)


or


COUNT({<Flag = {'Absent'}>}Employee)/COUNT(Total Employee)

is this what you are looking for?

deepakqlikview_123
Specialist
Specialist
Author

Thanks manish

but how to format number in this case.

MK_QSL
MVP
MVP

To format in %

In tables and charts you can use Number tab

In text object

NUM(YourExpression, '#,##0.00%')

or

NUM(YourExpression, '#,##0%')