Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Lucky1
Creator
Creator

Calculating percentage

Hi I have to show my values in percentage

 

My Dimention is product

my measure is

count({<Flag={0}, Closed_QuarterSerial= {"$(=Maxstring([Closed_QuarterSerial])-1)"}>}Item_Id)

 

I have used expression to calculate % like below but iam getting wrong numbers

count({<Flag={0}, Closed_QuarterSerial= {"$(=Maxstring([Closed_QuarterSerial])-1)"}>}Item_Id)

/

count(Total {<Flag={0}, Closed_QuarterSerial= {"$(=Maxstring([Closed_QuarterSerial])-1)"}>}Item_Id)

 

Please help me on this

 

 

Lucky1_0-1690290621481.png

 

Labels (6)
3 Replies
MartW
Partner - Specialist
Partner - Specialist

@Lucky1 , when you are in editmode please go to the table and change the numberformating to percentage.

Qlik will automatically change this to percentages.

MartW_0-1690292341362.png

 

 

Lucky1
Creator
Creator
Author

Hi MartW,

i have selected % but it is giving wrong percentage

Lucky1
Creator
Creator
Author

Hi MartW,

 

Iam calculating percentage for my previous quarter sales. for Totals it should show 100% and for Access/entitlements it should show 0.00 (26/23465) 

for - nulls it should show 97%(22994/23465)  but it is showing wrong numbers

Lucky1_1-1690297285862.png