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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to do percent with a field text

Hello every body!

I need to do a percent in a field text but i could not

I have a situation below:

Project Situation

Test - Progress

Test1 - within

Test2 - Late

Test3 - Late

So i want in my graphic show Situation Late with 50%

I puted

Count ([DISTINCT Projeto])/ Count (TOTAL [DISTINCT Projeto])

but is not correct.

Can you help me?

Regards,

Ricardo

6 Replies
Not applicable
Author

Hi,

i think you've written brackets in wrong place. Try to write like this:

count

Milda

(distinct Projeto) / count (total distinct Projeto)

Not applicable
Author

Again:

count (distinct Projeto) / count (total distinct Projeto)

Not applicable
Author

((Count ([DISTINCT Projeto])/ Count (TOTAL [DISTINCT Projeto]) ) * 100 ) & ' %'

Not applicable
Author

i used this example bellow and is ok

count (distinct Projeto) / count (total distinct Projeto)

thank you for help

Best Regards,

msteedle
Partner - Creator
Partner - Creator

It's also missing any logic to count only "Late" projects in the numerator.

Not applicable
Author

of course Michael

Thank you.