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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
aydiniletisim
Contributor III
Contributor III

Can Someone explain why this function not working?

Hello I put a KPI in dashboard write this formula but it did not bring any results. Can someone explain why it did not work?

=Avg({$<INTERESTRATE<=1.42>}INTERESTRATE)

I want to find average interest rate for interest rates below or equal to 1.42 .

Labels (1)
2 Solutions

Accepted Solutions
BrunPierre
Partner - Master II
Partner - Master II

=Avg({$<INTERESTRATE={"<=1.42"}>}INTERESTRATE)

View solution in original post

aydiniletisim
Contributor III
Contributor III
Author

your formula works when  1.42 changed to 1,42. Thanks.

=Avg({$<INTERESTRATE={"<=1,42"}>}INTERESTRATE)

View solution in original post

3 Replies
BrunPierre
Partner - Master II
Partner - Master II

=Avg({$<INTERESTRATE={"<=1.42"}>}INTERESTRATE)

aydiniletisim
Contributor III
Contributor III
Author

Qlik Sense says your function is correct but gives no result. 

If i write in this form it gives correct result : =avg(if(INTERESTRATE<1.42,INTERESTRATE))

aydiniletisim
Contributor III
Contributor III
Author

your formula works when  1.42 changed to 1,42. Thanks.

=Avg({$<INTERESTRATE={"<=1,42"}>}INTERESTRATE)