Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
soniasweety
Master
Master

add percentage

Hi all,

 

I have a column avg score with values like

AvgScore( in percentage)

76

60

55

80

45

based on this column I want to  get the new column    if  avg score is  <60%    fail else pass.

and I want to add % to  above column how to add...

Labels (3)
2 Solutions

Accepted Solutions
Taoufiq_Zarra

@soniasweety  if I understood correctly to add pourcentage you can use for example

Num(YOURAVGFORMULA,'#0%')

and for fail and pass you can for example use

if(YOURAVGFORMULA<60,'fail','pass')

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉

View solution in original post

MayilVahanan

Hi @soniasweety 

Try like below

Num(YOURAVGFORMULA /100,'#0%')
and 

if(YOURAVGFORMULA<60,'fail','pass')
or if(YOURAVGFORMULA/100<0.60,'fail','pass')

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

3 Replies
Taoufiq_Zarra

@soniasweety  if I understood correctly to add pourcentage you can use for example

Num(YOURAVGFORMULA,'#0%')

and for fail and pass you can for example use

if(YOURAVGFORMULA<60,'fail','pass')

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉
soniasweety
Master
Master
Author

Hi,
if I use this Num(YOURAVGFORMULA,'#0%') im getting result values is 4500% 5500% like that ..

MayilVahanan

Hi @soniasweety 

Try like below

Num(YOURAVGFORMULA /100,'#0%')
and 

if(YOURAVGFORMULA<60,'fail','pass')
or if(YOURAVGFORMULA/100<0.60,'fail','pass')

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.