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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

% calculation in straight table

I m using straight table to calculate the total tickets field and resolved ticket field


table ticket  resolved ticket

10                  5

12                 3   

11                 -
13                4

14                 -
  

the data displayed like this. to use the two fields to calculate the %. the % calculating I am using this condition like column(1)/column(2) but data not getting. because in resolved ticket field some data having '- ' like this. I m using suppress to null value but also not getting. how to calculate the %  anyone plz tell me .....urgent 

Labels (1)
6 Replies
sushil353
Master II
Master II

Try this:

alt(column(1)/column(2) ,0)

HTH

Sushil

senpradip007
Specialist III
Specialist III

Could you upload sample qvw?

jagan
Partner - Champion III
Partner - Champion III

Hi,

Attach some sample file, it helps to give solution quickly.

Regards,

Jagan.

amit_saini
Master III
Master III

Subbu,

Like this????

Thanks,

AS

Not applicable
Author

in the above example I m using the your expression but total % sum getting 0.0%.

but I need the total( total tickets )/total(resolved tickets) =%of resolved tickets  means 12/60=% resolved tickets  plz tell me any expression urgent  

Anonymous
Not applicable
Author

Hi Subbu,

see the attached file .

hope this would be help you.