Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
suvechha_b
Creator III
Creator III

Please Suggest

How to write it in qlikview?

max(100%-f)

Note:

f=e/b

I have already calculated f

5 Replies
suvechha_b
Creator III
Creator III
Author

sorry i have given the expression wrong :

the expression will be :

max(0,100 %- f)

How to write it in qlikview ?

CELAMBARASAN
Partner - Champion
Partner - Champion

I guess you need something like this

RangeMax(0, 1-f)

Can you explain your requirement if it is not?

suvechha_b
Creator III
Creator III
Author

How to write the expression in qlikview ?

max( 0, 100 % - f )

Note:

f= e/b

I have already calculated f

suvechha_b
Creator III
Creator III
Author

i.e max ( 0 , -20 )

result will be 0 %

again if

max( 0, 50)

result will be 50 %

now, hw to get -20 or 50

it is calculated by ( 100 % - f)

CELAMBARASAN
Partner - Champion
Partner - Champion

Try with this

RangeMax(0, 100-f)