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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
johnan
Creator III
Creator III

Calculate %

Hi, i have a text like this:

='Utfall: ' & round (Count(if([Antal fel] >=2, ([Package Number])))/count([Package Number])*100,0.01) & ' %'

It's give me 5,62% and i want to show 94,38 % instead of 5,62

 

Where can i put like 100-

 

Br

 

Labels (2)
1 Solution

Accepted Solutions
zhadrakas
Specialist II
Specialist II

try like this:

='Utfall: ' & round (100-Count(if([Expression2] >=2, ([Expression2])))/count([Expression2])*100,0.01) & ' %'

regards

tim

View solution in original post

2 Replies
zhadrakas
Specialist II
Specialist II

try like this:

='Utfall: ' & round (100-Count(if([Expression2] >=2, ([Expression2])))/count([Expression2])*100,0.01) & ' %'

regards

tim

johnan
Creator III
Creator III
Author

Easy, haha. Just blind today 🙂 

Thanx Mate!!