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

Announcements
Share your agentic AI experience, learn from others, and earn a new badge: Put Agentic AI to Work
cancel
Showing results for 
Search instead for 
Did you mean: 
Riccardo
Partner - Creator III
Partner - Creator III

Test Column(X) with a range values into IF statment

Hi,

I've an issue about matching a calculated formula into a range values defined inside another table.

Please see my Testcase Qlik App.

RANK column should be works fine...

Can you help me?

Thank you very much, best regards.

Riccardo

Riccardo Schillaci
BI Analyst
Datawarehouse & Business Intelligence
Labels (1)
1 Reply
sunny_talwar
MVP
MVP

Try this:

Sum(Aggr(If(RAN_TYPE = 'COST' and Sum(Num)/100 >= RAN_FROM and Sum(Num)/100 <= RAN_TO, Sum(RAN_VALUE)), RAN_FROM, RAN_TO))