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: 
srinivasa1
Creator II
Creator II

set anaylysis

Hi

can any one guide me how i can  add variable =   num($(vCalc)*100,'#.#') in below set analysis need to replace val1 and val2  with variable..

=MaxString({$<Id={'E01'},Key={'$(=$(vKey))'}, Type={$(vType)}, Val1={"<=7.1"}, val2{">=7.1"}>}id)

Thanks

10 Replies
Not applicable

can u post the value(expression) of vCalc ?

Not applicable

Hi,

try like this

 

=

MaxString({$<Id={'E01'},Key={'$(=$(vKey))'}, Type={$(vType), Val1={>=${=<$(Var)}}>}id)

srinivasa1
Creator II
Creator II
Author

Hi thanks for quick response.

it will be 7.1 .

but i need add >=vCalc and >= vCal

Thanks

srinivasa1
Creator II
Creator II
Author

Thanks for reply its shows some script error.

Not applicable

MaxString({$<Id={'E01'},Key={'$(=$(vKey))'}, Type={$(vType), Val1={>${=<$(Var)}}>}id)

still if it is not working post your app with sample data

srinivasa1
Creator II
Creator II
Author

Hi

Thanks for replay i have attached file.pls dont worry about data.just i need change font color based on val1 and val2..for Value

thanks in advance

srinivasa1
Creator II
Creator II
Author

hi

Any guidence.

srinivasa1
Creator II
Creator II
Author

hi

chanred2 did you got my attached file.

Not applicable

Hi,

I have got somewhat. check the attached file.. i didn't use setanalysis but i implement through if statement.. if you want to see the formula the

go to expressiontab--> expandexpression there you can find textcolour..

regards,

Chandra