Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
TomasKE
Contributor
Contributor

set analysis interval select

Hello,

I have following problem:

In one table I have min-max intervals.

OWNERMinSMaxSrate
A0100 0000,30%
A100 001250 0000,28%
A250 001500 0000,25%
A500 0001 000 0000,20%
B01 000 0000,20%
B1 000 0011 400 0000,40%

 

in another :

OWNER      TAmount                          Filed3   

A                      300 000                          should be 0,25%
B                  1 200 000                          should be 0,40%

and need to write expression for field3: corresponding rate based on OWNER and   TAmount (between MinS and MaxS)

Could you help me, please ?

 

Labels (1)
2 Replies
MayilVahanan

HI Tomas,

Instead of doing set analysis, try with intervalmatch concept in script like below sample

https://help.qlik.com/en-US/sense/February2021/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPref...

 

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
TomasKE
Contributor
Contributor
Author

I need to have it in set analysis