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

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

Help need with a % calculation

Hi Experts,

i have an issue with data while calculating the percentage.

the below two pivot table should show the same % value but, the second table is showing slighlty different data than the firat one. the correct data is the one in the first table. the expression used in both the table are given below. . i have several Rooms, but for example i have given only 2 Rooms.

Pivot Tbale1, in this Room is a dimension and Minute is Expression. and used Pivot option.

MinutesRoom1
015.75%
1-1518.04%
16-3015.30%

expression is =count(cases)/count(TOTAL Case)

this table should show the % based on the selction on Minutes, it should give the % of count in that particular Room. Minutes and Room is dimension and used one expression given below , then pivoted.

MinutesRoom1
0

  16.20%

1-1518.54%
16-3015.73%

count(cases)/count(TOTAL<Room> Case)


please help... I am not able to find the cause of this difference in data.

4 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi,

Can you share sample file, so that it would be easier to analyse.

I think you need to use the Room dimension then only it will split accordingly.  Since you are using same dimension in both the charts but different expression, I think you will get different results.

Regards,

Jagan.

Not applicable
Author

Hi jagan,

thanks for your reply. but sorry i am uanbel to share a sample app due different reasons.

ultimately both the expression shopulf give the same result. i need data to be represented like table 2. but for testing i created the table1. then only i found the difference.

What i need is on clicking 0 , the % of the count(cases ) for each and every Room should be diaplayed horizontally.

jagan
Partner - Champion III
Partner - Champion III

Hi,

It is difficult to suggest, attach some sample data and your expected ouput.

Regards,

Jagan.

help4qv123
Creator II
Creator II

u can prepare a sample data . we r not asking you to send ur actual data. send sample data would not be a problem for.

Not able to analyses your requirement. If you need help then plz prepare a sample.