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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how do i calculate Percentage

Dear Sir,

Plz help me to count percentage of my  below file.  if i  select field of  response time  i.e 3 days ,it  show me in % out of total  response time by months wise.  

MonthwiseResponse timeStatus
JAN0Processing
JAN0Processing
JAN3 DaysJustified
JAN7 DaysJustified
JAN3 DaysJustified
JAN3 DaysUnjustified
JAN25 DaysUnjustified
JAN25 +DaysJustified
JAN3 DaysJustified
JAN3 DaysJustified
JAN3 DaysUnjustified
JAN0Processing
FEB15 DaysJustified
FEB3 DaysUnjustified
FEB3 DaysUnjustified
FEB15 DaysUnjustified
FEB3 DaysUnjustified
FEB3 DaysJustified
FEB3 Days

Justifie

7 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Use monthwise as dimension and this expression: count({<[Response time]={'3 Days'}>}Status)/count( total <Monthwise> Status)

See attached qvw.


talk is cheap, supply exceeds demand
Not applicable
Author

Hi  Gysbert,

Thanks for your quick response.

I have done the job  explain by you, but I am  not getting result which I need.

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

I misunderstood your question. Try count(Status)/count({<[Response time]=>} total <Monthwise> Status)


talk is cheap, supply exceeds demand
Not applicable
Author

Ok,I will check   and let u know.


Not applicable
Author

yes, it  is working,

however if  I wish to not count '' processing'' in total , then what is formula.

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

In this case this will do:

count(Status)/count({<[Response time]=-{0}>} total <Monthwise> Status)

This will work to specifically exclude status Processing, even if response time were not 0:

count({<Status-={'Processing'}>}Status)/count({<[Response time]=,Status-={'Processing'}>} total <Monthwise> Status)


talk is cheap, supply exceeds demand
Not applicable
Author


thank you , I will check and update to you.

I have query about  sheet .

how do I prevent  field and object   values   is not change while change of   sheet. or  in other way  no change of field and object  in case of change a sheet.