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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to get Ratio % not exceed 100%

Hi Guys,

i need to calculate 2 fields and their ratio must never be above 100%

e.g:

FieldA = 3446

/

FieldB = 943

Ratio: 365%

so i want it to be 100%

Thanks.

2 Replies
kuczynska
Creator III
Creator III

Hi Thabiso,

You can apply simple IF condition, something like the below:

IF(FieldA >= FieldB, 1, FieldA/FieldB)

and format the number as % in the numbers tab. Hope that helps.

simenkg
Specialist
Specialist

Rangemin(FieldA/FieldB,1)